ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
Dcow has joined #asahi-alt
chadmed_ has joined #asahi-alt
Dcow has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi-alt
Dcow has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi-alt
Dcow has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi-alt
Dcow has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi-alt
Dcow has quit [Ping timeout: 480 seconds]
DoYouKnow has joined #asahi-alt
DoYouKnow has quit [Remote host closed the connection]
DoYouKnow has joined #asahi-alt
DoYouKnow has quit [Remote host closed the connection]
DoYouKnow has joined #asahi-alt
brentr123 has joined #asahi-alt
brentr123 has quit []
brentr123 has joined #asahi-alt
chadmed_ is now known as chadmed
<chadmed> i am quickly becoming of the opinion that the best way to handle kernel rust infrastructure for gentoo is to make it a free-for-all, at least in the mid term
<chadmed> rust itself is no issue, just add a use flag and depend on >=virtual/rust-1.62.0. bindgen-cli being a crate though makes it hard to automatically install and keep track of. the cargo eclass is not conducive
<chadmed> having to manually specify _all_ the crate dependencies of bindgen AND their specific versions is insane, and it doesnt even work
brentr123 is now known as Guest222
<sam_> i don't get what you mean
<sam_> it's pretty easy to do rust ebuilds, even if gross
<chadmed> i followed the example of cbindgen but it had a whinge, ill try again
Dcow has joined #asahi-alt
<sam_> then ask me about it or #gentoo-rust
<sam_> it's not some sort of unsolvable problem
<sam_> do you want me to try?
Dcow has quit [Ping timeout: 480 seconds]
Guest222 has quit [Quit: Leaving...]
asimpson has quit [Remote host closed the connection]
asimpson has joined #asahi-alt
Dcow has joined #asahi-alt
Dcow has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi-alt
DoYouKnow has quit [Remote host closed the connection]
<chadmed> nah all good i figured it out, something like this? https://github.com/chadmed/gentoo/tree/bindgen-wip/dev-util/rust-bindgen
Dementor has quit [Read error: Connection reset by peer]
Dementor has joined #asahi-alt
Dementor has quit [Read error: Connection reset by peer]
Dementor has joined #asahi-alt
remi has joined #asahi-alt
remi has quit [Quit: remi]
remi has joined #asahi-alt
remi has quit []
RemiSca has joined #asahi-alt
Ry_Darcy has joined #asahi-alt
<Ry_Darcy> Hallo all, running Debian testing on an M1 Mini. Is this the correct sequence to update the DTB's on my machine - cat /Transit/build/m1n1/m1n1.bin /Transit/linux-asahi.../arch/arm64/boot/dts/apple/*.dtb /Transit/u-boot-asahi/u-boot-nodtb.bin > /boot/efi/m1n1/boot.bin? with a subsequent echo display=3840x2160 >> /boot/efi/m1n1/boot.bin (I have a 4K Monitor).
RemiSca has quit [Quit: RemiSca]
Glanzmann has joined #asahi-alt
<Glanzmann> Ry_Darcy: That, or you can try the new DCP driver from jannau and use this script to compile and install a kernel: https://pbot.rmdir.de/nTi2tcsdqE_M3v8zXNcAkw
<Glanzmann> In your case you can also drop the rust and LLVM than it would be: https://pbot.rmdir.de/9IU4QZfS_qMSvJDXePwrCA
<Ry_Darcy> Thanks Thomas. I have been having problems using the above sequence. I get an Asahi logo on reboot - nothing else - dead. I then have to reboot into 1TR and copy a known, working boot.bin to /boot/efi/m1n1/ to recover, which drops me back to 2K resolution also. Frustrating.
<j`ey> Ry_Darcy: you need to gzip uboot
<j`ey> I think that may help you
<Ry_Darcy> Tried the gzip varient also. It worked about two weeks ago. With my impatience and a bleeding edge Asahi kernel things have gone awry again. Maybe I have gone insane also. Not sure :)
<Ry_Darcy> variant
<Glanzmann> Ry_Darcy: Take the script that I posted, it works for Debian.
<Glanzmann> Put it in revision control (like git) and only modify it.
<Glanzmann> You can also go back easy to the old kernel by copying the m1n1 from macos and than select the right kernel from grub.
<Ry_Darcy> Will try https://pbot.rmdir.de/9IU4QZfS_qMSvJDXePwrCA this evening and report back. I first have to recover (1TR) things first before I try your magic.
<Glanzmann> j`ey: Good point with the gziped u-boot. In the old days it also worked without zipping but I think these days it is mandatory.
<j`ey> it's needed if you want to pass the display= arguments to m1n1
<Glanzmann> Ry_Darcy: As soon as markan releases the new kernel, I'll also update the Debian kernel.
<Glanzmann> j`ey: Ah, I see.
<Glanzmann> But the new kernel has dcp (asahi_drm) with that you don't need to pass the display parameters anymore.
<Glanzmann> Of course the graphics performance will be a little bit worse than with simpledrm.
<Ry_Darcy> Regarding using gzip... A lot of old/obsolete/misleading articles whether one should or not use gzip in this process.
<Glanzmann> Ry_Darcy: Always use it. Otherwise m1n1 can't tell the end of u-boot.
<Glanzmann> Ry_Darcy: I keep the m1-debian repository up to date.
<Glanzmann> So you can also look there how to do it properly.
<Ry_Darcy> These snippets of wisdom, heaven! I will report as stated earlier.
<Ry_Darcy> report back rather.
<Glanzmann> Thanks, if it does not work, I'll give you my build artefacts.
Glanzmann has quit [Quit: l8er]
<Ry_Darcy> Grazie a tutti for the information.
<mps> Ry_Darcy: di niente ;)
<Ry_Darcy> :)
winter has joined #asahi-alt
Dementor has quit [Read error: Connection reset by peer]
Dementor has joined #asahi-alt
cylm has joined #asahi-alt
Ry_Darcy has quit [Quit: Page closed]
ashi has joined #asahi-alt
ajv009 has joined #asahi-alt
ajv009 has quit []
ajv009 has joined #asahi-alt
Ry_Darcy has joined #asahi-alt
ajv009 has quit []
ajv009 has joined #asahi-alt
<Ry_Darcy> @Glanzmann, writing this after a reboot using your https://pbot.rmdir.de/9IU4QZfS_qMSvJDXePwrCA script. Thank you.
<Ry_Darcy> Having used XFCE for years, I changed to LXQT last year. After rebooting just now, LXQT is not working i.e. I see the blue Debian logo, mouse is working, but nothing else, in other words no (LXQT) desktop. Ditto for XFCE. I have the (dreadful) Plasma desktop working. This is where I am typing from at the moment.
<Ry_Darcy> Have I forgotten something? LXQT/XFCE were working yesterday. Is it a DCP setting somewhere that needs to be tweaked?
<Ry_Darcy> Some screenshots https://pastebin.com/E4CEMKBN
<ashi> Is apple-drm supposed to work on a macbook air m2? for me there is no handover and if I do not configure simpledrm I get a black screen, also nothing in dmesg about apple-drm
<_jannau_> ashi: it is not supported
<ashi> _jannau_: thanks! good to know.
<Ry_Darcy> I am not sure what I else I should look for.
<sam_> chadmed: bang on
<sam_> chadmed: just fix LICENSE (the ()s are dodgy, I bet it's supposed to be || ( ... )?)
<sam_> (it's somehow misparsing the cargo metadata)
Ry_Darcy has quit [Remote host closed the connection]
Dementor has quit [Read error: Connection reset by peer]
Dementor has joined #asahi-alt
ajv009 has quit [Ping timeout: 480 seconds]
pjakobsson has quit [Remote host closed the connection]
ajv009 has joined #asahi-alt
ajv009 has quit [Quit: Leaving]
ajv009 has joined #asahi-alt
xeonaj has joined #asahi-alt
xeonaj has quit [Quit: Leaving]
ajv009 has quit [Remote host closed the connection]
Dcow has quit [Remote host closed the connection]
Dcow has joined #asahi-alt
Dcow_ has joined #asahi-alt
Dcow has quit [Ping timeout: 480 seconds]
ashi has quit [Ping timeout: 480 seconds]
digicyc has joined #asahi-alt
cylm has quit [Quit: WeeChat 3.7.1]
Glanzmann has joined #asahi-alt
Dcow_ has quit [Remote host closed the connection]
Dcow has joined #asahi-alt
<Glanzmann> Ry_Darcy: You probably need to disable dcp (apple_drm) and use simpledrm again. Here is another script for you: https://tg.st/u/rydarcy.sh
<Glanzmann> I also write that to you via email.
Dcow_ has joined #asahi-alt
Dcow has quit [Ping timeout: 480 seconds]