2022-09-18
06:51psanford has joined #asahi-alt
07:09Glanzmann has joined #asahi-alt
07:23ashi has joined #asahi-alt
07:26ashiComing 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
08:19ashiNope, 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
08:20ashiwhen I forcibly shut down in grub I got the NVMe init fails again btw - until rebooting to macOS
08:20ashiGuess I will wait until you update to 6.0 ;) - btw what was the reason you switched back to 5.19?
08:44espo has joined #asahi-alt
09:02ashi has quit [Remote host closed the connection]
09:13GlanzmannSo I wait unti m a r c a n feel comfortable enought to at least put it to his -dev but better to prodcution.
09:14chadmedi hide it behind the ~arm64 unstable keyword on gentoo, idk if you can do something similar in debian but might be a good idea
09:15Glanzmannchadmed: To be honest I think the only new features asahi users are interested, are asahi new features.
09:15GlanzmannAnd since there are none at the moment, I don't see a point in pushing something out that isn't ready.
09:16GlanzmannSo 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.
09:16GlanzmannOr if there are any new interesting features, like suspend/resume, tb, dcp driver or so.
09:17GlanzmannAnd to be honest anyone who wants to try 6.0, the script is out there, so it is easy to build it themselfes.
09:22jannaunew 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
09:24jannauthere was a bug in v6.0-rc1 ti rc3 which might explains why asahi-wip didn't boot with some configurations
09:44Glanzmannjannau: Again thank you for the heads up, I missed the version bump to 6.0.rc5.asahi1-2.
09:50Ry_Darcy_ has joined #asahi-alt
09:55Ry_Darcy_ has quit [Remote host closed the connection]
10:43GlanzmannI also disabled suspend to disk and ram while touching the kernel config to make marcans day. :-)
10:44chadmed has quit [Remote host closed the connection]
11:01Glanzmannjannau: New kernel boots fine, however no pcie devices, as a result no wifi, need to investigate which kernel option did I miss this time.
11:06jannauGlanzmann: PCIE_APPLE depends now on 16k page size (if you're building a 4k kernel with patches)
11:11Glanzmannjannau: 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.
12:10GlanzmannI 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/
12:43GlanzmannI can also try to port the 4k patch forward to 6.0.0 its only 3 small hunks which have failed.
12:55cy8aerSo 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.
12:56cy8aerAnd 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.
12:59chadmed[m]you need to turn jack mixer dac up to 100
12:59chadmed[m]and make sure its unmuted
13:01Glanzmanncy8aer: Yep, I had the same issue, see screenshot: https://tg.st/u/screenshot-air-2022-09-18-15_00_11.png
13:09jannauyou probably want to package https://github.com/povik/alsa-ucm-conf-asahi to make configuring the easier, see https://github.com/AsahiLinux/PKGBUILDs/pull/20 for packaging
13:26Ry_Darcy_ has joined #asahi-alt
14:00Ry_Darcy_ has quit [Remote host closed the connection]
16:15cy8aerHm, 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
16:26cy8aerand it is struggling mit my swap partition after decrypting (it is running a an logical volume). But that is expected (?) because of 16k.
16:29Glanzmannmps: 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.
16:30cy8aerswapon: /dev/mapper/ash-swap: swap format pagesize does not match. (Use --fixpgsz to reinitialize it.)
16:33Glanzmanncy8aer: I see, bad news, after marcan complained that I have sleep/hybernating in my kernel config, I threw it out today.
16:34Glanzmanncy8aer: I would write povik about the sound issues you see and ask him, if he has a fix or idea about it.
16:36Glanzmannmps: Sorry for the many emails you're getting today, testing my script which appears to finally do what it is supposed to be.
16:46cy8aerGlanzmann: 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.
16:49Glanzmanncy8aer: 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 ...
16:49GlanzmannOh and emacs on Debian 16k page size kernel has still issues: https://pbot.rmdir.de/gGnEuPkYv8m7GbE3_deNmw
16:50cy8aerhm, on f6 I only have standard and default 0 Macbook Pro j314 - do you count default as the first device?
16:51cy8aerand then I have for Jack ADCs (Analog Digital) one Jack DAC (Digital Audio) and some Jack filters.