#
…

2021-09-28

00:02bgb_ has joined #asahi
00:11bgb_ has quit [Ping timeout: 480 seconds]
00:23bgb_ has joined #asahi
00:27bgb has joined #asahi
00:27jhweruyuw has quit [Remote host closed the connection]
00:31bgb_ has quit [Ping timeout: 480 seconds]
00:36bgb has quit [Ping timeout: 480 seconds]
00:47bgb has joined #asahi
01:06bgb has quit [Ping timeout: 480 seconds]
01:11riker77_ has joined #asahi
01:15bgb has joined #asahi
01:16riker77 has quit [Ping timeout: 480 seconds]
01:16riker77_ is now known as riker77
01:17tomtastic_ has joined #asahi
01:21tomtastic has quit [Ping timeout: 480 seconds]
01:23bgb has quit [Ping timeout: 480 seconds]
01:30yuyichao_ has quit [Ping timeout: 480 seconds]
01:31bgb has joined #asahi
01:44bgb_ has joined #asahi
01:48bgb has quit [Ping timeout: 480 seconds]
01:54bgb_ has quit [Ping timeout: 480 seconds]
02:00yuyichao_ has joined #asahi
02:03bgb_ has joined #asahi
02:11bgb_ has quit [Ping timeout: 480 seconds]
02:15bgb_ has joined #asahi
02:40phiologe has joined #asahi
02:44PhilippvK has quit [Ping timeout: 480 seconds]
02:57bgb has joined #asahi
03:02bgb_ has quit [Ping timeout: 480 seconds]
03:09marvin24 has joined #asahi
03:12marvin24_ has quit [Ping timeout: 480 seconds]
03:51bgbjannu: for the mac reboot thing: seems this is why arduino terminal always works fine, but console cmd may not. https://forum.arduino.cc/t/solved-problem-with-serial-communication-on-leonardo/139614
03:57bgbwhen I replug the arduino cable, your picocom cmd fails to reboot mac, finally find a solution like this : http://paste.debian.net/1213508/
03:58bgband never fail again
04:05marcanalright, going to take a shower and spend the rest of the day in kernel mode :)
04:05marcanpovik: I also just realized that the pmgr pstate driver needs to be a reset provider too
04:57marcanstreaming over at #asahi-stream shortly
05:51nfbyte has joined #asahi
06:07arahaelI'd be interested in those streams once they have captions. (I'm deaf), but I think google will eventually put on automated captions if you have a "good" accent (american, I think?) so perhaps if I check back in a week or so I might be able to check out the older streams.
06:19marcanI mumble a bit sometimes, I wonder how well it works...
06:43nsklaus_marcan: regarding to that, if i may formulate a little bit of constructive criticism, i think ideas are going fast in your mind and you try to express them as quickly as they go, with your voice. and the result lack a bit of proper pronouciation. i'd say you could improve oral charisma a bit by breathing more and taking more time on your pronouncing words. sometimes you sound like
06:44nsklaus_you're trying to talk as fast as you type
06:47marcannsklaus_: it kind of depends on whether I'm in explaining things mode or in writing code mode
06:50nsklaus_i understand. also, forgive me my frankness
07:21j_eyarahael: I just watched a few mins of some of the older streams that do have captions, theyre not bad. just trip up on technical words mostly
07:21j_eylike kext was 'kecks'
07:22j_eyand a lot of "um"s :P
07:27tophevich[m]for those not in #asahi-stream, marcan is live: https://www.youtube.com/watch?v=-kjQIcXVv0U
08:27FireFox317 has joined #asahi
09:36coderobe has quit [Quit: Ping timeout (120 seconds)]
09:36coderobe has joined #asahi
09:53arahaelj_ey: Nice. :)
10:07bgb has quit [Ping timeout: 480 seconds]
10:13bgb has joined #asahi
10:21bgb has quit [Ping timeout: 480 seconds]
10:30bgb has joined #asahi
10:51bgb has quit [Ping timeout: 480 seconds]
10:57yuyichao_ has quit [Ping timeout: 480 seconds]
11:00bgb has joined #asahi
11:10bgb has quit [Ping timeout: 480 seconds]
11:13yuyichao_ has joined #asahi
11:18bgb has joined #asahi
11:20tomtastic_ has quit [Ping timeout: 480 seconds]
11:33sjg1 has joined #asahi
11:42bgb has quit [Ping timeout: 480 seconds]
12:01aleasto has joined #asahi
12:09bgb has joined #asahi
12:17bgb has quit [Ping timeout: 480 seconds]
12:27bgb has joined #asahi
12:29povik has quit [Quit: Page closed]
12:36bgb has quit [Ping timeout: 480 seconds]
12:46bgb has joined #asahi
12:54tomtastic has joined #asahi
13:08bgb has quit [Ping timeout: 480 seconds]
13:12marvin24_ has joined #asahi
13:15marvin24 has quit [Ping timeout: 480 seconds]
13:17bgb has joined #asahi
13:25bgb has quit [Ping timeout: 480 seconds]
13:30Glanzmannmarcan: When I use the installer it asks me which version I want to use for the setup of the recovery setup, I used the newer one, but if I pick the old one, will that change the code that is used for the dcp (display controller)?
13:30marcanonce 12.0 is released we will only support that version initially
13:30GlanzmannThan I'll try the other version. :-)
13:30marcaneverything older is basically only there because some people don't like installing betas
13:31marcanbut I think alyssa is developing on some 11.x version for now
13:31FireFox317also marcan did you see the bug in the installer that Glanzmann reported yesterday?
13:31marcanlosing the boot picker race?
13:31FireFox3171tr apparantly doesnt have xattr
13:31Glanzmannmarcan: I yester tried to replicate Allysas setup. I got a Debian installed on my mac mini however the kernel with dcp code enabled crashed, once I removed config option, it booted.
13:31marcanoh I saw that
13:31marcan12.0 1TR does
13:31marcan11.6 does not
13:32marcanI could've sworn older 11.x did but I'm not sure
13:32marcanso that's another one for the "12.0 or newer please" :p
13:32FireFox317ahh, i can check tonight. I think I'm still on 11.6 too
13:32Glanzmannmarcan: I rember reading something in the backlog or hearing it in a stream that xattr was missing, but than it doesn't matter.
13:32FireFox317but might be better to just install the 12.0 beta i dunno
13:33Glanzmannmarcan: If I want to go for the old version, I can just delete the 'm1n1' partition again, and run the installer again, and pick the other version?
13:33GlanzmannThan I'll try that and report back if the kernel with the dcp code runs.
13:34bgb has joined #asahi
13:34FireFox317fortunately apple decided that we can have different firmware versions per os install on the m1 \o/
13:35j_eythere was also the question of if the DCP driver can work out the firmware version
13:39Glanzmannmarcan: First I thought the installer is a waste of time, but now I think it is very cool to have 2.5 instead of 80 GB of space wasted and also it is much faster than reinstalling macos. And also uses less bandwidth.
13:40svenj_ey: and i proposed two amazing solutions alyssa just didn't like for some reason :p
13:41svenmore seriously though, i don't expect DCP to have a "get firmware version" call because it's always going to be paired to a kernel anyway
13:41Glanzmannmarcan: I'm getting dark fibre in a few weeks, 1 Gbit/s down, but only 200 Mbit/s up. In Switzerland you can also have 10 Gbit/s sync using xgpon, is that a thing in Tokyo, too? Also I wonder what in Toko the 1 Gbit/s symmetric line costs per month? In switzerland you get 10 Gbit/s for 50 EUR, in Germany I'll way 80 EURs per month for 1 Gbit/s down and 200 Mbit/s up a synchron 1 Gbit/s would cost 1200
13:41marcanyou want #asahi-offtopic ;)
13:41sven(except for that general rtkit version but that stays the same even when the dcp protocol changes)
13:42marcansven: we do know the iBoot version, which should be representative; we can forward that from adt to fdt
13:42j_eycos we still want a single kernel source tree that could work with several versions?
13:42svenoh, true. we don't even need to rely on the firmware hash in the ADT
13:43j_eywe want to support say, macOS 12, but what about when macOS13 comes out, dont want to just rewrite the dcp driver, otherwise macOS12 users couldnt update the kernel
13:45FireFox317j_ey: but the m1 has different firmware per os right? so then the macos version doesn't matter
13:45j_eyFireFox317: right. im saying that the kernel still wants to support several versions at once. because there may be some users with macOS12 firmware and some with macOS13 firmware
13:46marcanj_ey: yes, we will support multiple versions
13:46marcanjust not all versions
13:46marcanalso macos version does not matter
13:47kettenisunless the macOS13 provides important functionality that the macOS12 firmware doesn't, the Asahi Linux installer can continue to bundle the macOS12 firmware
13:47marcanwe are only required to support newer firmware to support new devices, or for important bugfixes
13:47j_eyim using macos verion as a proxy for firmware version
13:57bgb has quit [Ping timeout: 480 seconds]
14:05Glanzmannmarcan / alyssa: I resetup the 'm1n1' partition with 11.4 recompiled the kernel with the dcp code in, but the kernel still crashes, will try macbook air next.
14:05bgb has joined #asahi
14:06GlanzmannBtw, do I get USB a on the macbook air running using a usb-c to usb-a dongle?
14:06svenhopefully
14:06svenonly usb 2 though
14:07sven(i.e. same as on the mini usb c ports)
14:07GlanzmannI see, I'll try it. Than I probably will also use a usb 2 stick.
14:08kettenistype-a connectors can do usb3 just fine
14:09svendon't think the macbook air has those though
14:09klangethe extra pins added to type A connectors were a real baller move
14:10kettenissure, but a good type-c to type-a cable should do superspeed just fine
14:10svensure, but the usb3 phy on the type c ports isn't up
14:11sven... or does that also just work by accident and my c-to-a adapter just sucks?
14:13Glanzmannalyssa: Are you booting m1n1 via https://mrcn.st/alxsh or the 'developer quickstart'?
14:13JoshuaAshton has quit [Ping timeout: 480 seconds]
14:13bgb has quit [Ping timeout: 480 seconds]
14:14kettenishmm, the flash drive on my mini seems to be running at high speed only
14:16Glanzmannmarcan: I just tried the alxsh on my macbook air, and in the boot picker, it does _not_ show me the newly created m1n1 partition. See: https://ab34.de/u/Screenshot_2021-09-28_at_16.16.07.png
14:18svenkettenis: yeah. for usb3 we need a few pokes to this "CIOPHY" thingy and probably also apply tunables from the ADT
14:20j_eyGlanzmann: im sure the script is meant to do more stuff..
14:20* svenis still waiting for someone to just understand how that all works in detail :>
14:22j_eyGlanzmann: the script shouldnt exit at that point either
14:24bgb has joined #asahi
14:32bgb has quit [Ping timeout: 480 seconds]
14:40bgb has joined #asahi
14:45Glanzmannj_ey: It did not exit, in the past I was always presented with m1n1 and the installed os. Than it shutdown (I could not read the step 2 notice)
14:46j_eyGlanzmann: it looks like it exited in the screenshot?
14:46GlanzmannThan I powered on holding the button down, went to 1tr, ran the step2.sh and ended up in m1n1.
14:46Glanzmannj_ey: I tried to drag and drop the movies folder on the top right behind the terminal because of the screenshot so the path of the folder eneded up in the terminal, but it did not exit.
14:47GlanzmannAlso yesteday someone told me about the step2, and I was only seeing the ste2p once I booted back into macos and it reopened my old terminal with the output.
14:48FireFox317 has quit [Quit: Page closed]
14:49GlanzmannNever mind, maybe I should reinstall my macbook air, because it also refuses to apply macos updates. Screenshot follows.
14:49GlanzmannI also got my wife one, so maybe I'll retry with hers as well.
14:56JoshuaAshton has joined #asahi
15:03bgb has quit [Ping timeout: 480 seconds]
15:07marcanGlanzmann: when you pick the boot device, is the installer still running? and once you do, does your computer *shut down* or *reboot*?
15:09psykose has quit [Remote host closed the connection]
15:10psykose has joined #asahi
15:12bgb has joined #asahi
15:21bgb has quit [Ping timeout: 480 seconds]
15:22psykose has quit [Read error: No route to host]
15:22psykose has joined #asahi
15:29Glanzmannmarcan: To my knowledge it is still running and afterwards it is off (led of the mini is off). I than need to turn it off.
15:30GlanzmannBut if you want, I can put a hdmi graber, record the whole thing and send you the video.
15:31bgb has joined #asahi
15:46jbowen has joined #asahi
15:54bgb has quit [Ping timeout: 480 seconds]
16:03GlanzmannThis happens when I try to upgrade macos on my macbook air. I tried at least 6 times by now, each time downloading 3.6 GB. https://ab34.de/u/Screenshot_2021-09-28_at_16.50.23.png https://ab34.de/u/Screenshot_2021-09-28_at_17.31.19.png https://ab34.de/u/Screenshot_2021-09-28_at_17.35.23.png
16:07aleasto has quit [Ping timeout: 480 seconds]
16:10jbowen has quit [Ping timeout: 480 seconds]
16:19nevexo has joined #asahi
16:21cfleming has quit [Ping timeout: 480 seconds]
16:30aleasto has joined #asahi
16:38bgb has joined #asahi
16:42jbowen has joined #asahi
16:51jbowen has quit [Ping timeout: 480 seconds]
16:53alyssaGlanzmann: developer quickstart, since I set it up before the installer was a thing
16:54alyssasven: "more seriously though, i don't expect DCP to have a "get firmware version" call because it's always going to be paired to a kernel anyway"
16:55alyssaworst case we just key m1n1 to the installed version in asahi-installer
16:56alyssawhich is... gross but meh
16:56alyssawould be in line with apple's approach
16:58sorearis there any metadata that can be extracted from calls and/or reading memory, that could be checksummed as a consistency check?
16:58svensee marcan's reply. we should be able to use the iboot version from the ADT
17:00bgb has quit [Ping timeout: 480 seconds]
17:03svennow... do i want to look into usb3 or do i want to continue hoping that someone else just comes along and enables that? :D
17:05alyssasven: You want to look into USB3
17:06* alyssawaves hand around like fricking Quigon Jin
17:18jhweruyuw has joined #asahi
17:24ben_ has joined #asahi
17:27svenalyssa: what, you think you're some kind of Jedi, waving your hand around like that? mind tricks don't work on me! :P
17:28jbowen has joined #asahi
17:28bgb has joined #asahi
17:36bgb has quit [Ping timeout: 480 seconds]
17:43jbowen has quit [Ping timeout: 480 seconds]
17:46bgb has joined #asahi
17:51Glanzmannalyssa: Do you know which version of macos you setup using the 'developer quickstart' maybe we can integrate this in the installer, so that dcp works when setting up using the installer?
17:51alyssaUhhhh let's find out
17:51alyssasounds like an excellent thing to do that's not school or work ;P
17:52* Emantorhands alyssa a procrastination token.
17:52Glanzmannalyssa: I tried with both versions in the installer, on both I got a kernel panic (at least I think so. I showed the video yesterday).
17:54alyssaEmantor[m]: thanks
17:54Emantor10 tokens and I'll procrastinate giving you a washing machine :-)
17:55alyssaif anyone has had to deal with smartlaundry, this is for you 🤗
17:57alyssaThat partition is on specifically 11.4 (20F71)
17:59alyssaHash: dcpf = b'\xc4\xadc\xa7\xe6\xe7[\t=\x1b\xc7\x97\x85\xd3\xce\x03\xd2D;*B\x1e\x0bfY\x8d\xaf\xfe\xa8\x19\xe4\xc6\xb2\xa9\x0e\xad\xa6\xb9\x9cl\x85wL3\xe9\xdc\xad,'
18:00alyssa system-firmware-version = iBoot-6723.120.36
18:04alyssaI wasn't planning to uprev until 12.0 was released :|
18:05kettenisI wouldn't uprev until 12.1 is released ;)
18:07Glanzmannalyssa: Strange. I checked the installer. And it has the exact same version you're using.
18:07alyssauh. alright. so we have some other issue, fun
18:08GlanzmannDo you want to try my kernel dtb and m1n1?
18:08alyssamaybe there's something subtly different between our monitors
18:08GlanzmannOr should I try your kernel, m1n1 and dtb?
18:08bgb has quit [Ping timeout: 480 seconds]
18:08alyssaI can send those, sure
18:09alyssaM1N1DEVICE=/dev/ttyACM0 python3 proxyclient/tools/linux.py --bootargs="net.ifnames=0 rw root=/dev/nvme0n1p4 rootwait rootfstype=ext4" ~/drm-misc/arch/arm64/boot/Image.gz ~/drm-misc/arch/arm64/boot/dts/apple/t8103-j274.dtb
18:09alyssarealistically that should be broken in exactly the same way as your build of my tree is..
18:10Glanzmannalyssa: Can you send me the m1n1, as well? I compiled yesterday HEADs with your patch on top.
18:10alyssashouldn't matter but for whatever it's worth
18:10jbowen has joined #asahi
18:10GlanzmannTrying now, takes a second.
18:11GlanzmannMy monitor is an eizo flexscan ev2780
18:13alyssaI wonder if dcp.py will work for you (with backports to 11.4 ABI)
18:13alyssalet me get that m1n1 pushed somewhere
18:15alyssaif it does, it tells us we're close
18:15alyssaif it doesn't, no amount of kernel pokes will fix that
18:15Glanzmannalyssa: I just tried your build artificats, same result, but that was expected.
18:16Glanzmannalyssa: The kernel does _not_ crash. I just assumed it does, but the machine got an ip and I was able to login via ssh: https://pbot.rmdir.de/HMTJvl3--7yx9jpG3J2xfA
18:17GlanzmannBut my eizo turns the screen off.
18:17alyssaYeah, figures.
18:17alyssaJust something screwy with DCP
18:18bgb has joined #asahi
18:18alyssawe'll figure this out :-)
18:19alyssadmesg looks just like mine
18:19GlanzmannI have two more monitors, but not the right cables to hook them up.
18:21alyssaok, should have dcp.py ready for you to try
18:23alyssaGlanzmann: Try pulling alyssarosenzweig/m1n1:dcp-4k-rebase
18:23alyssaand then running dcp.py in proxyclient/experiments
18:23alyssaIt should spew tons of output (please tee it to a file and upload) and also turn your screen white
18:24alyssaand if that doesn't work there should hopefully be indication of why
18:26Glanzmannalyssa: Should I only run the dcp.py and use the prevopus m1n1 with your patch in it?
18:26bgb has quit [Ping timeout: 480 seconds]
18:27alyssaonly run dcp.py
18:28alyssam1n1 shouldn't matter a ton(?) but chainload if you want I guess
18:28GlanzmannScreen does not turn white.
18:30alyssa...that manages to crash the DCP?
18:30alyssaASSERTION FAILED: malloc.cpp:97..heap != NULL
18:30alyssawhat in the world?!
18:31alyssawait I can reproduce, what
18:32alyssaokay for me it works on the old m1n1 I have burned in, but not a recent chainloaded m1n1
18:32alyssathis seems like a """fun""" bisection
18:32GlanzmannI chainloaded yours.
18:32alyssayeah I see that
18:32GlanzmannI retry with the one from the installer.
18:32alyssabut like actually what the F
18:34Glanzmannalyssa: With the one from the installer, it works. Screen turned white. Output here: https://ab34.de/u/screen-exchange.txt
18:34alyssaI'm nervous that means we have two bugs to deal with then
18:35bgb has joined #asahi
18:36ben_ has quit [Quit: Leaving]
18:37alyssaGlanzmann: Anyway, uh presing on then..
18:37alyssalet's see if mode sets in dcp.py will work for you (this is where Linux is likely getting clobbered)
18:38alyssa135Hz refresh rate?
18:38alyssano wait 60Hz sorry
18:39GlanzmannYes, I googled it up, 60 HZ.
18:39alyssayeah I was just misreading the log, my bad
18:41alyssathat "should" put your monitor in 4K and then white screen as before
18:41alyssaI have a sinking suspicion it won't work because if it does, why wouldn't Linux?
18:42GlanzmannThe monitor is not 4k.
18:42Glanzmannit is: 2560x1440
18:42alyssa........Uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
18:43alyssaIt's advertising a whole bunch of 3840x2160 modes?
18:43GlanzmannBut I have one 4k screen. The TV in the living room, should I use it?
18:43alyssaI would really like to know why a non-4K monitor would advertise 4K modes
18:44alyssa(I am curious what the outcome of that patch is regardless)
18:45Glanzmannalyssa: If you want I can run the experiment, maybe it does some sort of scaling, I can also hook it up to an intel nuc and send you the output of xrandr -q
18:45GlanzmannI'll run it. I run it with the non chainloaded m1n1.
18:45alyssaIsVirtual = True on that one,. Delightful. Uh.
18:45alyssaOkay starting to get a sense of the particular nonsense we're up against.
18:47alyssaThe latter patch will try to set 2560x1440 then.
18:47alyssaassuming I didn't typo, I'm pulling the magic numbers out of the log
18:48alyssaI am .. cautiously optimistic about this
18:48Glanzmannalyssa: This also gets me blank screen. Output here: https://pbot.rmdir.de/weI-Sp8mP9Gy2ujJ5CGygA
18:49alyssaso why is the DCP crashing on us
18:49alyssaI mean I can reproduce but
18:50alyssawelcome to my life :-p
18:51jnDedicated Crash Processor
18:51alyssabut this was
18:51alyssathis was working
18:52alyssajn: sounds right
18:53alyssaOh right I remember what happened here ughhhhhhh
18:54alyssagod I need to keep notes on all the ways I've crashed the DCP
18:56alyssaGlanzmann: On one hand I'm sorry we're still dealing with this. OTOH welcome to my world ;)
18:56Gues__________________________ has joined #asahi
18:56Glanzmannhrhr, I'm looking forward to a framebuffer. :-)
18:57alyssaok fixed dcp.py
18:57alyssaGlanzmann: grab the latest dcp-4k-rebase, it has a fix for 11.x
18:57bgb has quit [Ping timeout: 480 seconds]
18:57alyssaand then your modesets should work
18:57alyssaand if we're lucky, the 2560x1440 one works but the 3840x2160 one does not
18:58GlanzmannShould I try with the mode patch or without?
18:58alyssait's a fix for mode setting with 11.x
18:58GlanzmannIt turned white.
18:58alyssawait was that with mode.txt or mode-2560.txt?
18:58alyssa(I mean . Try both .)
18:59GlanzmannThis was out of the box with no patch applied.
19:03alyssa(If the original mode.txt patch doesn't work, but mode-2560.txt does work --- both with the latest rt bandwidth fix commit --- I have a Linux patch to make things work for you)
19:05GlanzmannSo I tried without the patch (just a git pull [reverted the mode changes before the pull]).
19:05GlanzmannI'll now try both mode patches and send you the output.
19:06alyssa"debug backport" you need regardless, or mode sets will break no matter what on 11.x
19:06alyssaI am hopeful that "debug backport" + mode.txt is broken, but "debug backport" + mode-2560.txt is working
19:06bgb has joined #asahi
19:08Glanzmannmode.txt patch (4k) - no signal output here: https://pbot.rmdir.de/lwiuL3rsNoXFJiUZVe5FpA
19:09GlanzmannOkay that is strange
19:09Glanzmannthe mod-2560 works, give me a white screen but not the whole screen is occupied.
19:09alyssaYes, that's expected
19:09alyssanot a bug im just lazy
19:09alyssaand uhhh that is exactly what I'm hoping for soo
19:10alyssaI just pushed a commit to mu-one/linux:many-hacks
19:10alyssa"drm/apple: Skip virtual modes"
19:10alyssaThere is a high probability if you cherry-pick that, you'll get DCP working again
19:11alyssa(Using the behaviours you reported in m1n1 as reference)
19:13alyssa(reenable CONFIG_DRM_APPLE if you're building your own, of course)
19:13GlanzmannWhich m1n1 should I use?
19:13alyssalatest + "hack enable ANS" one line patch
19:13alyssa(i.e. whatever m1n1 you used to boot linux earlier)
19:14alyssa("hack enable ANS" will go away SoonTM)
19:14Glanzmannalyssa: It works.
19:14GlanzmannI saw the mode change.
19:14bgb has quit [Ping timeout: 480 seconds]
19:14alyssa🎉!!!!!!
19:15alyssaEnjoy your desktop and thanks for flying Asahi :-p
19:15alyssa(And thank you for the meticulous debug. This is the sort of thing that is hard for me to do alone because I have ... 1 .. monitor)
19:15alyssaOh, also, does hotplug work?
19:17GlanzmannWhat should I hotplug and into what?
19:17GlanzmannBut something is strange. See 'screenshot'. https://ab34.de/u/IMG_20210928_211658485.jpg
19:19Glanzmannnever mind, xrandr works.
19:19alyssa"What should I hotplug and into what?" just, like, if you unplug the HDMI and replug, does it come back up?
19:19alyssa(and if you don't have HDMI plugged in when you boot m1n1 + Linux, but after booting Linux you plug in HDMI, does it come up?)
19:19alyssa(Both tasks AFAIK require DCP to do right)
19:19GlanzmannNo, that doesn't work. After pulling and plugging, it goes into 'no signal'.
19:20alyssaworks for me... I wonder what we have broken there then.
19:20GlanzmannWhat is also strange it came up in the wrong mode 1600x1200 but than I did a xrandr.
19:21alyssaYeah I noticed that with i3 as well
19:21alyssabut GNOME (X11) comes up in 4K so 🤷
19:21alyssaXorg does what Xorg does.
19:21GlanzmannBut good news for you, when I login via ssh and run xrandr to change the resolution, the picture comes back.
19:22alyssaok, curious
19:22alyssahow this works for me is:
19:22bgb has joined #asahi
19:23alyssaI plug in HDMI cable ---> DCP gives a hotplug event ---> Linux calls the hotplugged callback --> Linux does a mode set to reinitialize
19:24alyssaI guess the next step is sprinkling in printks to find out which arrow is broken for you
19:25alyssashould help narrow down the bug
19:25GlanzmannOkay. I'll rebuild the kernel now
19:26alyssa(that's just prints but hopefully dmesg of you plugging in an HDMI cable and it not working will be indicative of which arrow is bugged)
19:29Glanzmannalyssa: Needs x to run in order to do that?
19:29GlanzmannOr should I just pull the cable and replug on the console?
19:29GlanzmannI assume it does not matter because x is using the framebuffer?
19:30alyssaDoes not matter
19:31GlanzmannNow something strange happened. I booted up and tryed to start x, and than the console went 'no signal'. put ssh is still possible.
19:31bgb has quit [Ping timeout: 480 seconds]
19:32GlanzmannI reboot and try the hotplugging.
19:33* alyssais confused
19:33alyssa[ 170.532] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x188) [0xaaab28f5f178]
19:33alyssathat's an "Xorg process crashed and we don't know why without symbols"
19:34GlanzmannI see. Btw. I jsut tried the hotplug without x, and it worked ...
19:34alyssak, that's normal then
19:34alyssaso it's just hotplugging in X that's bugged?
19:34GlanzmannIt seems so, but I had X running only once.
19:35GlanzmannI log in as user.
19:35Glanzmannrun 'startx'
19:35alyssa(It works for me at least on X11 gnome)
19:35GlanzmannI have fvwm2 as winodw manager.
19:36GlanzmannWhen it worked, it took a very long time to run X.
19:36alyssaoh, I can reproduce buggy hotplug with i3
19:37alyssaregardless, it sounds like you have my setup replicated then :-)
19:37alyssawhich I mean. you tell me if it's good enough for your use case but hey
19:38alyssahopefully the hoops required will go way down over time ;)
19:39Glanzmannalyssa: Yes, I have a desktop that works.
19:39alyssaI seem more excited than you 😜
19:40GlanzmannAlso the m1 is fast enough to play 4k videos in CPU. ;-)
19:40bgb has joined #asahi
19:40Glanzmannalyssa: Do you use it already as your primary desktop?
19:40GlanzmannI probably need to get a usb hub in order to have sound.
19:40alyssaIt's my workstation
19:41kettenisalyssa: so you can do your homework instead of working on 3D acceleration ;)
19:41j_eyGlanzmann: did you run the powerstates script?
19:41alyssakettenis: giggle
19:41Glanzmannj_ey: Yes, I did.
19:41j_eyGlanzmann: cool, I think alyssa even said without that, 4k worked
19:41alyssaj_ey: speaking of how far did marcan get with the stream?
19:42GlanzmannI'm using this at the moment: https://ab34.de/u/asahi.txt
19:42j_eyso the first has a binding, so I guess that is the closest to be sent out, the other 2 drivers need bindings still
19:43Glanzmannalyssa: Thanks a lot for all the work you put in. I'll use it for a few days and report back how it went. Also what do you do about Audio? USB Headset or usb sound card?
19:45Gues__________________________ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:54alyssaCONFIG_DRM_PANFROST=n oh lol sorry about that
19:54alyssathat was from "I needed to build test something at work and didn't feel like pulling down another kernel tree"
19:55alyssaI have a "3.5mm to USB type-C" adapter originally made for some Nexus phone
19:55Glanzmannalyssa: I removed these lines, this was just me trying to get the framebuffer to work ...
19:56Glanzmannalyssa: Oh I have lying something like is around, maybe I try it.
19:56FireFox317 has joined #asahi
19:56Glanzmannalyssa: Are the usb-c Ports in the mac already working, I thought they're still work in progress?
19:56alyssathey should work fine on that kernel (thanks sven!), albeit usb-2 only
19:56alyssano usb-3 (hey sven!) or thunderbolt or displayport or type-c video yet
19:57alyssathe type-a ports are usb-3
19:57alyssa$ gzip arch/arm64/boot/Image
19:57alyssashould be unnecessary no?
19:57alyssalinux builds arch/arm64/boot/Image.gz for me
19:57Glanzmannalyssa: Some howto said, m1n1 needs a compressed Image, so I went with that.
19:57GlanzmannLet me check.
19:57j_eyGlanzmann: make ... Image.gz
19:57GlanzmannoIC.UI see.
20:00yuyichao has joined #asahi
20:02bgb has quit [Ping timeout: 480 seconds]
20:04yuyichao_ has quit [Ping timeout: 480 seconds]
20:08bgb has joined #asahi
20:16FireFox317 has left #asahi [Leaving]
20:17FireFox317 has joined #asahi
20:17bgb has quit [Ping timeout: 480 seconds]
20:21jbowen has quit [Quit: leaving]
20:25bgb has joined #asahi
20:35FireFox317Glanzmann, did you manage to fix the issue where asahi doesnt show up in the bootpicker when running the install script? I have the same issue
20:42FireFox317like somehow the generated disk image is not recognized as a valid startup disk. I'm on MacOS 11.6 and trying to install version 11.4
20:43Glanzmannfirefox317: No, I tried three times, always without luck.
20:43GlanzmannI'm on 11.5.2.
20:44GlanzmannI have the 500 GB SSD in this one.
20:44FireFox317Glanzmann, but you did manage to install it on the m1 mini right?
20:44GlanzmannI have another similiar device that I have not tinkered with (the macbook of my wife), maybe I'll try it with this one tomorrow.
20:45Glanzmannfirefox317: Yes, here is a rough write up https://ab34.de/u/asahi.txt Alyssa did all the work, I just reproduced what she did.
20:46Glanzmannfirefox317: This is a usable debian desktop. I'll use it the next few days.
20:46FireFox317so, somewhere there is a bug that causes the installer to fail on the macbook air, and apparantly the installer does work on the mini
20:47FireFox317Glanzmann, do you remember what macos version you were using on the mini?
20:47GlanzmannYes, so it seems. On the mini I have the newest stable release. So 11.6.
20:48GlanzmannI wiped it yesterday, reinstalled and applied all updates.
20:48FireFox317Glanzmann, ah okay thanks. I'm gonna investigate a bit
20:49GlanzmannIf you find something, let me know.
20:53bgb has quit [Ping timeout: 480 seconds]
20:57Gues__________________________ has joined #asahi
21:03bgb has joined #asahi
21:12bgb has quit [Ping timeout: 480 seconds]
21:21bgb has joined #asahi
21:22FireFox317hmm so somehow the first time I ran the script it did not properly reload the 'Startup Disk' program and thus the Linux partition did not show up. I rebooted the system and now it shows up
21:23FireFox317But it then doesn't actually change the startup disk when i click on the linux logo, and I have to go back to the main screen of the settings app at which point it then ask to authenticate again.
21:24FireFox317Then changing the startup disk actually changes the value in the nvram and then the skip exists the busy loop
21:30FireFox317okay great, and then m1n1 is succesfully installed!
21:49Gues__________________________ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:54bgb has quit [Ping timeout: 480 seconds]
22:03bgb has joined #asahi
22:11bgb has quit [Ping timeout: 480 seconds]
22:12aleasto has quit [Quit: Konversation terminated!]
22:19bgb has joined #asahi
22:27bgb has quit [Ping timeout: 480 seconds]
22:36bgb has joined #asahi
22:40yuyichao_ has joined #asahi
22:44yuyichao has quit [Ping timeout: 480 seconds]
22:47bgb_ has joined #asahi
22:53bgb has quit [Ping timeout: 480 seconds]
22:53yuyichao_ has quit [Ping timeout: 480 seconds]
22:59bgb_ has quit [Ping timeout: 480 seconds]
23:03Gue___________________________ has joined #asahi
23:07bgb_ has joined #asahi
23:13nehsou^ has joined #asahi
23:16bgb_ has quit [Ping timeout: 480 seconds]
23:25bgb_ has joined #asahi
23:34bgb_ has quit [Ping timeout: 480 seconds]
23:42bgb_ has joined #asahi
…