#
…

2022-12-08

01:24jacksonchen666_ has joined #asahi-alt
01:24jacksonchen666 has quit [Remote host closed the connection]
01:29jacksonchen666_ is now known as jacksonchen666
02:34beeblebrox has quit [Remote host closed the connection]
02:45pjakobsson has joined #asahi-alt
02:49pjakobsson_ has quit [Ping timeout: 480 seconds]
04:01jamespmorgan has joined #asahi-alt
04:06jamespmo_ has quit [Ping timeout: 480 seconds]
04:22benzmac16v has joined #asahi-alt
04:52Ry_Darcy has quit [Quit: Page closed]
05:48benzmac16v has quit [Remote host closed the connection]
07:38benzmac16v has joined #asahi-alt
07:51benzmac16v has quit [Remote host closed the connection]
07:52benzmac16v has joined #asahi-alt
07:54benzmac16v has quit [Remote host closed the connection]
08:15Cyrinux has joined #asahi-alt
09:04pip[m]1 has joined #asahi-alt
09:04pip[m]1 has left #asahi-alt [#asahi-alt]
11:26veloek has quit [Ping timeout: 480 seconds]
12:20Glanzmann has quit [Quit: EOF]
12:58beeblebrox has joined #asahi-alt
12:59beeblebrox has quit [Remote host closed the connection]
13:24veloek has joined #asahi-alt
13:30ahdeb[m]Glanzmann: fwiw in mesa.sh if you use `dpkg-buildpackage -uc -us` instead of directly invoking debian/rules you should be able to just append `-a arm64` to get it to cross-compile when needed.
13:33ahdeb[m](also include `-b` to only build binary packages)
13:39jacksonchen666_ has joined #asahi-alt
13:40jacksonchen666 has quit [Ping timeout: 480 seconds]
13:44jacksonchen666_ is now known as jacksonchen666
13:45cylm has joined #asahi-alt
14:10benzmac16v has joined #asahi-alt
14:12benzmac16v has quit [Remote host closed the connection]
15:32jamespmo_ has joined #asahi-alt
15:39jamespmorgan has quit [Ping timeout: 480 seconds]
17:48axboe has joined #asahi-alt
17:48cylm has quit [Quit: WeeChat 3.6]
17:58cylm has joined #asahi-alt
18:23Glanzmann has joined #asahi-alt
18:24Glanzmannahdeb[m]: Thank you for the tip, that makes my live much easier.
18:24Glanzmannj`ey: You're a rust guy, aren't you? Does rust support cross compiling out of the box? I would love to move my kernel builds back to amd64.
18:24j`eyyes it does
18:25GlanzmannHave to try it.
18:25jannausee m1n1's github ci build setup for a minimal example
18:27Glanzmannjannau: Thank you.
18:27Glanzmannjannau: Btw. when I start chromium on debian with the gpu stuff I get a white window and nothing else.
18:47axboejannau: stupid question - after updating u-boot in conjunction with m1n1/etc for trying the gpu, I know need to do 'run distro_bootcmd' (iirc) to boot from u-boot
18:49benzmac16v has joined #asahi-alt
18:50Glanzmannaxboe: Your stub is older than the alpha installer.
18:50Glanzmannaxboe: Back out patch git revert --no-edit 4d2b02faf69eaddd0f73758ab26c456071bd2017 in u-boot or upgrade the stub.
18:51GlanzmannI'll make a video on howto upgrade the stub.
18:52axboeGlanzmann: what stub?
18:52jannauaxboe: is that an old (before end of march 2022) debian installation?
18:52Glanzmannaxboe: 2.5 GB macos install that loads m1n1.stage1 that than loads /boot/efi/m1n1/boot.bin
18:53axboejannau: installed it this summer iirc, so after march 2022
18:53axboeoh actually
18:53axboeI did copy from my old one
18:53axboewhich was from feb
18:53axboeGlanzmann: ah
18:53yukasince updating to the latest m1n1/kernel/... my yubikey is not detected after boot until I replug it
18:54Glanzmannaxboe: ^ but don't use my m1n1-rust. build it yourself or take the current one from the asahi installer.
18:54Glanzmannyuka: sven department.
18:54axboeGlanzmann: where would I find it?
18:54jannauaxboe: not sure if you can easily copy the small mac os apfs / partition created by the installer and it working
18:55Glanzmannaxboe: I wanted to make a stub upgrade video anyway.
18:55benzmac16v has quit [Remote host closed the connection]
18:55jannauyuka: see discussion with bcrumb in #asahi 1h ago
18:55axboejannau: ok
18:56axboeGlanzmann: I'll just wait for that then :)
18:56axboethe lazy approach
18:56svenugh. sounds like there really is yet another race in tipd/dwc3 or that I introduced that race with the latest changes :/
18:58Glanzmannwith the version that ships with the official asahi installer.
18:58Glanzmannaxboe: I make sure to send you the video.
18:59axboeGlanzmann: perfect thanks, I'll update when I get it
18:59jannauaxboe: does `strings /proc/device-tree/chosen/asahi,efi-system-partition` match with the partition uuid of the ESP partition?
18:59mpsisn't there option in new installer to just update m1n1 first stage?
18:59axboejannau: no such file...
19:00Glanzmannmps: Yes, there is. But axboe might have a pre-alpha installed version. So it might be that the upgrader refuses to upgrade that.
19:00Glanzmannaxboe: Can you paste the output of parted /dev/nvme0n1 print
19:00jannauok, then it's the old debian installer stub problem
19:02benzmac16v has joined #asahi-alt
19:02Glanzmannaxboe: I'll make a video and send it to you.
19:02axboeGlanzmann: thanks much
19:03axboeGlanzmann: is it just that guide you linked and the updated m1n1-rust.bin?
19:03axboebecause I can just try that, preferred over a video on my end fwiw
19:04Glanzmannaxboe: That would be sufficient to fix your issue.
19:05Glanzmannaxboe: The video that I would send you, is delete 3 and 4, reinstall using the official asahi isntaller m1n1 + u-boot only. Use the debian live stick to boot and put back m1n1.
19:05Glanzmanndelete *partition* 3 and 4.
19:06GlanzmannOh and you also need to reinstall grub on the esp.
19:09GlanzmannAnd update /etc/fstab with the new uuid of the esp partition.
19:09axboeah ok, your updated one is just m1n1 with that patch reverted
19:09axboeguess I should do the proper thing...
19:10Glanzmannaxboe: The one I sent you is how you tell m1n1 stage1 to pass the choosen efi system parition so that u-boot can find it.
19:10benzmac16v has quit [Ping timeout: 480 seconds]
19:10axboeso should work with the boot bin I have
19:10axboelet's try...
19:10Glanzmannaxboe: The m1n1 I ship for the debian users as the choosen efi system partition thing that you complained earlier reverted to not bug old time debian users. :-)
19:10Glanzmannaxboe: Yes.
19:11Glanzmannaxboe: Godspeed.
19:13jannauGlanzmann: you could still use the patch and fall back to `run distro_bootcmd` instead of the error message in the asahi patch
19:13Glanzmannjannau: Good idea.
19:14axboejannau: that thought occurred to me too...
19:25benzmac16v has joined #asahi-alt
19:29benzmac16v has quit [Remote host closed the connection]
19:59benzmac16v has joined #asahi-alt
20:01benzmac16v has quit [Remote host closed the connection]
20:01Glanzmann has quit [Quit: l8er]
20:07jamespmorgan has joined #asahi-alt
20:13jamespmo_ has quit [Ping timeout: 480 seconds]
20:23benzmac16v has joined #asahi-alt
20:41benzmac16v has quit [Remote host closed the connection]
20:41benzmac16v has joined #asahi-alt
20:44cylm has quit [Quit: WeeChat 3.6]
20:56benzmac16v has quit [Remote host closed the connection]
20:56benzmac16v has joined #asahi-alt
21:04benzmac16v has quit [Ping timeout: 480 seconds]
21:08benzmac16v has joined #asahi-alt
21:27benzmac16v has quit [Remote host closed the connection]
21:27benzmac16v has joined #asahi-alt
21:33zzywysm has joined #asahi-alt
21:34zzywysmtpw_rules: is your "rustiness" branch in a functional state?
21:37tpw_ruleszzywysm: it builds a kernel with rust support but has none of the gpu stuff yet
21:38zzywysmtpw_rules: if you want to try, i made this kernel config for Glanzmann to try with debian, should also work on nixos: https://gist.github.com/zzywysm/3740011af43fea3fedc7636fdc1c67f8
21:40benzmac16v has quit [Remote host closed the connection]
21:40benzmac16v has joined #asahi-alt
21:51benzmac16v has quit [Remote host closed the connection]
21:51benzmac16v has joined #asahi-alt
21:51zzywysmtpw_rules: one thing i forgot to mention: that config has made a bunch of things that were once built as modules now in-line into the kernel image
21:52zzywysmtpw_rules: Asahi builds the Apple drivers they wrote as modules, because they know they will almost certainly be built that way by the major distros, and they want to test to make sure they work correctly as modules
21:52zzywysmtpw_rules: but for a Apple Silicon specific nixos build, they can be in-line
21:53zzywysmtpw_rules: this means that for any module that once was marked as "m" but now is "y", you can remove it from boot.initrd.availableKernelModules and such
21:56amw has quit [Ping timeout: 480 seconds]
21:59benzmac16v has quit [Ping timeout: 480 seconds]
22:08benzmac16v has joined #asahi-alt
22:09benzmac16v has quit [Remote host closed the connection]
22:10benzmac16v has joined #asahi-alt
22:14jamespmo_ has joined #asahi-alt
22:20jamespmorgan has quit [Ping timeout: 480 seconds]
22:25benzmac16v has quit [Remote host closed the connection]
22:25benzmac16v has joined #asahi-alt
22:33benzmac16v has quit [Ping timeout: 480 seconds]
22:42benzmac16v has joined #asahi-alt
22:43benzmac16v has quit [Remote host closed the connection]
22:43benzmac16v has joined #asahi-alt
22:45benzmac16v has quit [Remote host closed the connection]
22:46benzmac16v has joined #asahi-alt
22:56benzmac16v has quit [Ping timeout: 480 seconds]
23:17benzmac16v has joined #asahi-alt
23:25benzmac16v has quit [Ping timeout: 480 seconds]
23:38benzmac16v has joined #asahi-alt
23:51benzmac16v has quit [Ping timeout: 480 seconds]
…