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
psanford has joined #asahi-alt
Glanzmann has joined #asahi-alt
ashi has joined #asahi-alt
<ashi>
Coming from #asahi. With the kernel supplied by m1-debian, I can actually use the keyboard in initrd, now rebuilding the kernel based on the debian 5.19 config which worked, instead of the one in the official PKGBUILD
<Glanzmann>
I see, let me know it works.
<ashi>
Nope, same problem, all I did was switching to 6.0-rc5 asahi-wip, using the old .config from 5.19, there are tons of modules now (amdgpu, amlogic stuff, etc) but the keyboard still does not work
<ashi>
when I forcibly shut down in grub I got the NVMe init fails again btw - until rebooting to macOS
<ashi>
Guess I will wait until you update to 6.0 ;) - btw what was the reason you switched back to 5.19?
<ashi>
"revert to 5.19 due to reports from isoriano"
espo has joined #asahi-alt
ashi has quit [Remote host closed the connection]
<Glanzmann>
ashi: The reason was that I did not want the Debian users to be the alpha testers.
<Glanzmann>
So I wait unti m a r c a n feel comfortable enought to at least put it to his -dev but better to prodcution.
<chadmed>
it is in -dev already
<Glanzmann>
ashi: I tested the 6.0 once briefly and for me it worked on the m1 air.
<Glanzmann>
chadmed: Oh, I did not notice.
<chadmed>
i hide it behind the ~arm64 unstable keyword on gentoo, idk if you can do something similar in debian but might be a good idea
<chadmed>
that way users opt in to testing packages
<Glanzmann>
chadmed: To be honest I think the only new features asahi users are interested, are asahi new features.
<Glanzmann>
And since there are none at the moment, I don't see a point in pushing something out that isn't ready.
<Glanzmann>
So I either wait for 6.0 to be in production, hopefully I don't miss it again, but I have a cron job monitoring the repositories.
<Glanzmann>
Or if there are any new interesting features, like suspend/resume, tb, dcp driver or so.
<Glanzmann>
And to be honest anyone who wants to try 6.0, the script is out there, so it is easy to build it themselfes.
<jannau>
new features in asahi-wip: headphone jack support for m1 pro/max/ultra and m2 devices and support for the pcie usb controller in mac studio and 4 port imac models
<jannau>
there was a bug in v6.0-rc1 ti rc3 which might explains why asahi-wip didn't boot with some configurations
<Glanzmann>
I see, so maybe time to update.
<jannau>
the usb controller needs asahi-fwextract/liblzfse
<Glanzmann>
I~.
<Glanzmann>
jannau: I see, thank you.
<Glanzmann>
jannau: Again thank you for the heads up, I missed the version bump to 6.0.rc5.asahi1-2.
Ry_Darcy_ has joined #asahi-alt
Ry_Darcy_ has quit [Remote host closed the connection]
<Glanzmann>
jannau: Is this the mac studio usb controller? CONFIG_USB_XHCI_PCI_ASMEDIA
<chadmed>
yeah
<chadmed>
also found on the mini and (i think?) the imacs
<jannau>
yes. it's only on the studio and imacs with 4 usb-c ports
<jannau>
the mini uses a different controller only supporting 5gbs modes
<jannau>
Fresco Logic FL1100
<Glanzmann>
jannau: I see, I hope that I have all new config options.
<Glanzmann>
I also disabled suspend to disk and ram while touching the kernel config to make marcans day. :-)
chadmed has quit [Remote host closed the connection]
<Glanzmann>
jannau: New kernel boots fine, however no pcie devices, as a result no wifi, need to investigate which kernel option did I miss this time.
<jannau>
Glanzmann: PCIE_APPLE depends now on 16k page size (if you're building a 4k kernel with patches)
<Glanzmann>
jannau: That's it. Thank you. I build with 16k but did make a make menuconfig while I had still 4k so it probably was deselected at that time.
<Glanzmann>
I updated the Debian kernel 6.0.0 rc5 and tested on m1 air and mini with no regressions. This kernel is 16k. curl -sL https://tg.st/u/ksh | bash In case there are regression, I put the old kernel here: https://thomas.glanzmann.de/asahi/
<cy8aer>
thanks for the old 4k backup
<Glanzmann>
I can also try to port the 4k patch forward to 6.0.0 its only 3 small hunks which have failed.
<cy8aer>
So I tried the 6.0: Sound is up (sort of) mbp14/m1pro the devices are shown in the alsa mixer and at the desktop. Ugly: Plugging in the headphones (with mic) let's the desktop ask if I like to use the headphone or the headset. But no sound with speakers or headphone.
<cy8aer>
And there were errors at the systemd start. Sorry needed to work so swapped to the 5.19 back. But I will try to get the systemd errors at a next try.
<chadmed[m]>
you need to turn jack mixer dac up to 100
Ry_Darcy_ has quit [Remote host closed the connection]
<cy8aer>
Hm, on my mbp14 there is no Jack Mixer - just other Jack components. Probably because I am running pipewire? Another effect: if I start a video on firefox there is no firefox output shown on "pw-top" - playing something with "ffplay" stucks. So there is more than volume missing for me
<Glanzmann>
I see.
<Glanzmann>
cy8aer: Are you on tt8103?
<cy8aer>
no t6001
<cy8aer>
and it is struggling mit my swap partition after decrypting (it is running a an logical volume). But that is expected (?) because of 16k.
<cy8aer>
* with
<Glanzmann>
cy8aer: Might be, have you tried 'to mkswap' it?
<cy8aer>
Glanzmann: like reformating?
<Glanzmann>
cy8aer: Most setups reinitalize the swap on every boot.
<Glanzmann>
cy8aer: Yes.
<cy8aer>
Just a moment.
<mps>
Glanzmann: which branch of 6.0-rc you build, asahi-wip or asahi-dev
<Glanzmann>
mps: I used to be on asahi-6.0-rc5-1 and I'm currently building (but already runnong m1 air) asahi-6.0-rc5-4 with the changes you got in the email.
<cy8aer>
Glanzmann: What should you do when the system tells it to you???
<cy8aer>
swapon: /dev/mapper/ash-swap: swap format pagesize does not match. (Use --fixpgsz to reinitialize it.)
<cy8aer>
should do a "mkswap --fixpgsz"
<mps>
Glanzmann: just built asahi-wip and it works except sound on m1pro
<mps>
tried to enable it in dts but still can't get it
<Glanzmann>
cy8aer: I would try it, yes.
<Glanzmann>
cy8aer: But at the same time, I don't have swap on my linux desktops for years.
<cy8aer>
I prepared ist for eventually hibernating 😉
<cy8aer>
just a moment, need to reboot
<Glanzmann>
cy8aer: I see, bad news, after marcan complained that I have sleep/hybernating in my kernel config, I threw it out today.
<Glanzmann>
cy8aer: I would write povik about the sound issues you see and ask him, if he has a fix or idea about it.
<Glanzmann>
mps: Sorry for the many emails you're getting today, testing my script which appears to finally do what it is supposed to be.
<mps>
Glanzmann: no problem, no worries
<Glanzmann>
marcan: Got you push, thank you.
<cy8aer>
oh, it was not "mkswap" but "swapon --fixpgsz"
<Glanzmann>
Debian users: There is a new kernel with marcans fixups.
<Glanzmann>
cy8aer: I see.
<cy8aer>
Glanzmann: ok I try...
<Glanzmann>
cy8aer: Probably will not fix your regression you see with 6.0.
<mps>
Glanzmann: ah, you build from taged releases tarball, I see
<cy8aer>
Glanzmann: hm it is a bit better: Still no jack mixer but now ffplay is able to put the audio stuff into the buffer and it is running (with no sound of course) So like putting data to "/dev/null" like with the dummy device. And I can see a firefox device in "pw-top" when playing some video.
<Glanzmann>
Okay.
<Glanzmann>
cy8aer: No idea how to fix that, I would write povik and email.
<Glanzmann>
cy8aer: For my devices, it is 'alsamixer, F6, select second sound card, and cramp up the 'Jack mixer' and I just noticed that I now have two of them ...