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/
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: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:47marcannsklaus_: it kind of depends on whether I'm in explaining things mode or in writing code mode
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: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
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:31FireFox317also marcan did you see the bug in the installer that Glanzmann reported yesterday?
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: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:34bgb has joined #asahi
13:34FireFox317fortunately apple decided that we can have different firmware versions per os install on the m1 \o/
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: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: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: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: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: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:13JoshuaAshton has quit [Ping timeout: 480 seconds]
14:13bgb has quit [Ping timeout: 480 seconds]
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: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: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: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: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:58sorearis there any metadata that can be extracted from calls and/or reading memory, that could be checksummed as a consistency check?
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: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: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: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:07Glanzmannalyssa: Strange. I checked the installer. And it has the exact same version you're using.
18:07Glanzmannhttp://updates-http.cdn-apple.com/2021SpringFCS/fullrestores/071-00710/AB478B0E-D78C-4DFE-9BDA-5497969A5272/UniversalMac_11.4_20F71_Restore.ipsw
18:08bgb has quit [Ping timeout: 480 seconds]
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:10jbowen has joined #asahi
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:18bgb has joined #asahi
18:23alyssaIt should spew tons of output (please tee it to a file and upload) and also turn your screen white
18:26bgb has quit [Ping timeout: 480 seconds]
18:34Glanzmannalyssa: With the one from the installer, it works. Screen turned white. Output here: https://ab34.de/u/screen-exchange.txt
18:35bgb has joined #asahi
18:36ben_ has quit [Quit: Leaving]
18:37alyssalet's see if mode sets in dcp.py will work for you (this is where Linux is likely getting clobbered)
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:48Glanzmannalyssa: This also gets me blank screen. Output here: https://pbot.rmdir.de/weI-Sp8mP9Gy2ujJ5CGygA
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:57bgb has quit [Ping timeout: 480 seconds]
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: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:14bgb has quit [Ping timeout: 480 seconds]
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:17GlanzmannBut something is strange. See 'screenshot'. https://ab34.de/u/IMG_20210928_211658485.jpg
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:21GlanzmannBut good news for you, when I login via ssh and run xrandr to change the resolution, the picture comes back.
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: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: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:40bgb has joined #asahi
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:54alyssathat was from "I needed to build test something at work and didn't feel like pulling down another kernel tree"
19:55Glanzmannalyssa: I removed these lines, this was just me trying to get the framebuffer to work ...
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?
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: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: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:46FireFox317strange
20:47FireFox317Glanzmann, do you remember what macos version you were using on the mini?
20:48FireFox317Glanzmann, ah okay thanks. I'm gonna investigate a bit
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:11j_eykettenis: any thoughts on apple,npins = <..> https://lore.kernel.org/linux-gpio/CACRpkdZJepfZ4WpWoUyKO_OyoibAVOaisLm-ADaLq8a0H2fWVQ@mail.gmail.com/#t
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