#
…

2025-03-29

00:29MasterDuke has joined #ubuntu-asahi
00:30MasterDukei just booted with the new kernel on my m2 13" air and my touchpad and wifi didn't work. the touchpad wasn't even found. unfortunately i forgot to save the dmesg output.
00:31MasterDukehad to re-reboot into an older kernel
00:32tobhe[m]can you create an issue on github including which device that was?
00:33MasterDukesure, which repo?
00:36tobhe[m]that would be the best yes
00:37tobhe[m]if you have a dmesg log from the failed run that would also help
00:41MasterDukei don't currently, but i guess i can reboot and get one
00:41tobhe[m]john-cabaj: ^
00:41tobhe[m]maybe journalctl -b -1 to get the log from your last boot
00:45john-cabaj[m]Right, first step is logs
00:45john-cabaj[m]I'm still on gnome, but I'll see what I can dig up when you have more information
00:52MasterDukesome logs added
00:59MasterDukewhile i'm here...what's this ibus panel notification i get every time i enter kde?
01:00tobhe[m]Don't know about any notification but I use gnome
01:04john-cabaj[m]Saw this in boot1.log
01:04john-cabaj[m]`Mar 28 20:25:47 athena kernel: dockchannel-hid 24eb30000.input: Direct firmware load for apple/tpmtfw-j413.bin failed with error -2`
01:06tobhe[m]that is suspicious yes
01:06tobhe[m]and a few for brcmfmac too
01:07john-cabaj[m]Which indicates firmware not found
01:07tobhe[m]our firmware mechanism is a bit complicated
01:07john-cabaj[m]Right, so it's not finding some firmware bins
01:07tobhe[m]let me see if we log anything useful
01:09tobhe[m]MasterDuke: have you tried more than once? just asking to make sure it wasn't some random hickup
01:09MasterDukeyeah, that's why there are a couple log files
01:10tobhe[m]makes sense 😄
01:10MasterDukei didn't go all the way into kde in all of them, some i just stopped at the login screen because the touchpad wasn't working their either
01:14john-cabaj[m] Wonder if we can check if the firmware files are actually there in recovery mode or whichever
01:15tobhe[m]yes, so two more things that would be helpful:
01:16tobhe[m]1. check if `find /lib/firmware/vendor/` and `mount | grep vendorfw` actually shows the firmware directory
01:16tobhe[m]2. if you could add `debug` to the kernel command line you should get a initramfs log in `/run/initramfs/initramfs.debug`
01:17tobhe[m]oh and just to be sure: 3. which version of asahi-scripts is installed on your system
01:18tobhe[m]I'll also comment on github
01:21tobhe[m]it seems weird that only one kernel fails if it is an initramfs issue
01:21MasterDukethe find and the mount both show stuff, i didn't have asahi-scripts installed
01:21tobhe[m]so there's your issue
01:22tobhe[m]install ubuntu-asahi, that should pull in asahi-scripts as dependency
01:22MasterDukei think it got removed by the kernel update or some other updates just prior
01:23tobhe[m]/var/log/apt/history.log should tell you
01:23tobhe[m]I hope apt doesn't just remove it silently without confirmation on dependency conflicts...
01:25MasterDukefull-upgrade on the 26th. `Install: triforce-lv2:arm64 (0.2.0-1~asahi0.24.10, automatic)` and `Upgrade: tzdata:arm64 (2024b-1ubuntu2.2, 2025a-0ubuntu0.24.10), asahi-audio:arm64 (2.2-1, 3.2-1~bpo24.10.0~asahi0), m1n1:arm64 (1.4.17-1ubuntu0.1~asahi1, 1.4.21 -1ubuntu0.1~asahi1), tzdata-legacy:arm64 (2024b-1ubuntu2.2, 2025a-0ubuntu0.24.10), alsa-ucm-conf-asahi:arm64 (5-1, 7-1~bpo24.10.1)` and `Remove: asahi-scripts:arm64 (20
01:26tobhe[m]and ubuntu-asahi is still there?
01:36MasterDukewell, i just installed it and asahi-scripts
01:36tobhe[m]I think john-cabaj also managed to end up in such a state when manually testing kernel
01:36tobhe[m]s/kernel/kernels/
01:36tobhe[m]we need to figure out how to prevent this I guess
01:46MasterDukei'll try rebooting into 6.13 now
01:48MasterDuke has quit [Quit: Page closed]
02:08tobhe[m]I hope it worked
02:09tobhe[m]ah github says it works now 🙂
02:09MasterDuke has joined #ubuntu-asahi
02:11MasterDuke6.13 is working. however, scrolling in firefox doesn't seem to be as smooth. and is there supposed to be a mic now?
02:11tobhe[m]mic should be there yes
02:12tobhe[m]unless you have a very old installation actually, I had to also update the firmware stub to get it working because mine is from 2022
02:12tobhe[m]scrolling in firefox sounds like a mesa issue
02:12john-cabaj[m]I noticed Firefox was a bit jittery. I enabled zswap late today and my brief interactions were better. Not sure if related.
02:13MasterDukei just installed this ubuntu in january i believe
02:14MasterDukei do have 24gb of ram, and this is just after a fresh reboot
02:16MasterDukemost of the installed mesa packages are 9.0.2-1.1build1 or 25.0.0~pre20250221-1asahi2.24.10
02:17tobhe[m]the default firefox snap or deb from their website?
02:18tobhe[m]the snap uses a bundled version, it could be that this one stopped working with the latest kernel update
02:19MasterDukeand i have zswap enabled, pool zstd/zsmalloc
02:20MasterDuke`apt info firefox` shows 136.0.4+build1-0ubuntu0.24.10.1~mt1
02:20MasterDukewhich seems to match what help in ff shows
02:21tobhe[m]ah so not the snap
02:22MasterDukei had tried to remove all snaps, but i believe some snuck back in
02:23tobhe[m]you can open about:support in firefox and scroll down to Graphics. If that says something like "Mesa -- Apple M2" and not llvmpipe it should be accelerated
02:24tobhe[m]or actually GPU #1 -> Description: Apple M*
02:25MasterDukeoh! it is showing llvmpipe
02:26tobhe[m]now that's weird. we have a pending mesa update so that might fix it
02:26tobhe[m]still unexpected, my snap version seems to work (but as I said that uses a different mesa)
02:27MasterDukei have to leave and probably won't be able to return until tomorrow evening, but i'll check the irc logs if there are any further suggestions. and re the mic, it doesn't show up at all in the kde audio devices system settings
02:28tobhe[m]ack, not sure if I can get the mesa update out this weekend but I hope I will
02:29tobhe[m]mine had a apple_aop error in dmesg
02:29MasterDuke has quit [Remote host closed the connection]
02:30tobhe[m]before I fixed the firmware
02:52phoenix has joined #ubuntu-asahi
02:53phoenixWhat are the current known issues with Ubuntu asahi?
02:54phoenix has quit []
03:37tobhe_ has joined #ubuntu-asahi
03:44tobhe has quit [Ping timeout: 480 seconds]
05:54hwpplayer1 has joined #ubuntu-asahi
06:47hwpplayer1 has quit [Remote host closed the connection]
07:06hwpplayer1 has joined #ubuntu-asahi
07:53hwpplayer1 has quit [Remote host closed the connection]
08:24koubas has joined #ubuntu-asahi
08:46koubashi, a standard update of the system just got me to the state where the touch pad and wifi isn't working. apt install asahi-scripts helped, but no mic and gpu support was broken on 6.13, had to switch to 6.12. Just to clarify that MasterDuke's experience was not just a glitch and regular update is breaking things.
09:24koubas has quit [Ping timeout: 480 seconds]
10:45tobhe[m]concerning. /var/log/apt/history.log would be interesting to compare, in the previous case it broke a few days ago and the kernel upgrade yesterday just exposed it. I believe what caused it was a dependency mismatch with the packages in the ppa which lead to apt removing ubuntu-asahi
16:24hwpplayer1 has joined #ubuntu-asahi
18:22koubas has joined #ubuntu-asahi
18:35hwpplayer1 has quit [Quit: sleep]
18:49tobhe[m]ah well "good" to see that it was a manual dist-upgrade
18:49tobhe[m]I think at least the auto update would not remove anything
18:49tobhe[m]sorry for the hassle!
18:50tobhe[m]does the mic work for you after installing ubuntu-asahi again?
18:56koubasRigth, the first step to disaster was actually a dist-upgrade. No mic on 6.13, though. Graphics acceleration was also broken. I have still 6.13 installed, if you tell me where to look we might find out what's wrong
19:11tobhe[m]do you see your mic at all if you open the sound settings in gnome?
19:11tobhe[m]anything in dmesg maybe if you look for apple_aop
19:19koubasI don't see it at all and there's no mention about apple_aop in dmesg. Maybe - do I have to install some extra package to enable the mic support or should it work out of the box?
19:21tobhe[m]everything should work out of the box, you need 6.13 though
19:21tobhe[m]if you have reinstalled the ubuntu-asahi package
19:21tobhe[m]that should hopefully work with wifi and touchpad
21:10tobhe[m]I wonder how this happens
21:10tobhe[m]dpkg-deb --contents clearly shows:
21:10tobhe[m]./etc/apt/preferences.d/ubuntu-asahi.pref
21:11john-cabaj[m]Probably a dumb question, but is the dot rendering that path relative?
21:33tobhe[m]well it is an archiv
21:33tobhe[m]s/archiv/archive/
21:33tobhe[m]so relative from the root I guess
21:44koubasI'm currently booted to 6.13. Reinstalling one of asahi-scripts or asahi-desktop helped with wifi and touchpad, I forgot to mention.
21:45tobhe[m]don't forget to also apt install ubuntu-asahi
21:46tobhe[m]that is the most important one and pulls in everything you need as dependecies
21:47tobhe[m]if audio doesn't work yet the reason is probably a wrong pipewire version. The ubuntu-asahi package pins our ppa version with a higher priority than the archive version
21:50koubassorry, I meant unutu-asahi, no asahi-desktop. What can I do about Pipewire?
21:51tobhe[m]depends, what version is currently installed? apt list --installed | grep pipewire
21:52koubas1.0.5-1ubuntu2.0asahi0
21:54tobhe[m]that looks correct
21:54tobhe[m]now that you are booted into 6.13, does sudo dmesg | grep apple_aop show any errors?
21:55koubasstill no mention about it at all
21:55tobhe[m]weird. can you try running update-m1n1 manually and rebooting?
21:57tobhe[m]this sounds like you might have booted with an old device tree for some reason, updating m1n1 should make sure it uses the latest ones
21:57koubaswe are talking about mic support on M2 Pro, are we? :)
21:58tobhe[m]afaiu it should work on those too yes. let me double check though
22:01koubaswhat does update-m1n1 do? Isn't it something M1 speciffic? I ran it, but didn't reboot yet :)
22:01tobhe[m]m1n1 is the bootloader we use on all machines to bridge between apple's boot stuff and u-boot
22:03tobhe[m]it loads the device trees which describe the hardware layout, which are then used by the kernel to determine which drivers to load etc
22:06tobhe[m]that actually looks good
22:06tobhe[m]do you see a mic in your audio settings?
22:06koubasstill no, but hey! Graphics acceleration is now fixed!
22:07tobhe[m]aha, I think we might be missing a little fix to unblock your mic
22:08tobhe[m]what does sudo cat /sys/firmware/devicetree/base/compatible print on your machine?
22:08koubasapple,j414sapple,t6020apple,arm-platform
22:19koubasI guess I can't change that without kernel recompilation
22:20tobhe[m]looks like I actually might be wrong and it is still marked wip in asahi
22:24tobhe[m]so we are actually up-to-date and not missing any upstream commits. must be something different
22:34koubasok, that's anticlimactic :( but thanks for your time, at least I have up to date system
22:37tobhe[m]well I expect it will be fixed soon
23:07ubuntu has joined #ubuntu-asahi
23:07ubuntu is now known as Guest12400
23:07Guest12400 has quit [Remote host closed the connection]
23:13koubas has quit [Ping timeout: 480 seconds]
…