2023-09-25
01:24derzahl has joined #asahi-dev
01:36derzahl has quit [Remote host closed the connection]
02:00gabuscus has quit []
02:17jeisom has quit [Ping timeout: 480 seconds]
02:41gabuscus has joined #asahi-dev
03:09crabbedhaloablut has joined #asahi-dev
03:30linaeiln: Fake initializing ANE doesn't work. I got it to get through the buffer allocs, but then it actually tries to initialize the ML model and times out on ANE not actually replying...
03:35linaOn the other hand initializing ANE has a nice trivial arbitrary u32 write... so if we ever need to mess with firmware memory and can't do it directly... that's one way... ^^;;
03:38loki_val has joined #asahi-dev
03:38crabbedhaloablut has quit [Read error: Connection reset by peer]
04:00tristan2_ has joined #asahi-dev
04:02tristan2 has quit [Ping timeout: 480 seconds]
04:24linaeiln: OMG I got it to "work" with a horrible hack writing to firmware memory... except now I have exactly the same problem as profile #0
04:26linaI found out the logic changed somewhere in 13.5 (vs 13.2 which I was looking at) and it only enables MLVNR for certain platforms... so I tried clobbering the platform ID in firmware data directly, and restoring it after the config set so we don't break too much, and it worked. Just like profile #0, no MLVNR, no buffer allocs... but still fails on the meta thing.
04:52linaeiln: I think it's just a bug in the buffer logic in the driver... it looks like we only submit one buffer on startup.
05:05elvishjerricco has quit [Remote host closed the connection]
05:07elvishjerricco has joined #asahi-dev
05:49jjanzic has quit [Ping timeout: 480 seconds]
05:59pg12 has quit [Ping timeout: 480 seconds]
06:00pg12 has joined #asahi-dev
06:04refi64 has quit [Quit: The Lounge - https://thelounge.chat]
06:06refi64 has joined #asahi-dev
06:08nepeat has joined #asahi-dev
06:35qyliss has quit [Quit: bye]
06:37qyliss has joined #asahi-dev
06:39qyliss has quit []
06:43qyliss has joined #asahi-dev
06:48pg12 has quit [Ping timeout: 480 seconds]
06:49pg12 has joined #asahi-dev
06:56gladiac has quit [Quit: k thx bye]
07:01jannegsven: did your kernel recipes talk get rescheduled into the void? I remember seeing it scheduled for today at 16:00 (CEST) but currently I don't see it at all on the schedule page
07:20le_petit_segfault has joined #asahi-dev
07:47hightower2 has quit [Ping timeout: 480 seconds]
07:48le_petit_segfault has quit [Ping timeout: 480 seconds]
08:18hightower2 has joined #asahi-dev
08:30jjanzic has joined #asahi-dev
08:36c10l9 has quit []
08:36c10l has joined #asahi-dev
08:45chadmed has quit [Remote host closed the connection]
09:21chadmed has joined #asahi-dev
09:45AnuthaDev has joined #asahi-dev
10:24cylm_ has quit [Ping timeout: 480 seconds]
10:28AnuthaDev has quit [Ping timeout: 480 seconds]
10:30pg12_ has joined #asahi-dev
10:31pg12 has quit [Ping timeout: 480 seconds]
10:38pg12_ has quit [Ping timeout: 480 seconds]
10:41pg12 has joined #asahi-dev
10:45jeisom has joined #asahi-dev
10:46leioI reinstalled Fedora now (though the ESP mount just needed a sudo for diskutil), took the ESP uuid for the m1n1 append from the pre-installed stage1 console output, but still all the same - no working keyboard, stuck at finding the rootfs and can't intervene with keyboard. guest kernel time I guess
10:55leiojanneg: Sep 18 00:00:05 fedora dracut-pre-udev[500]: Warning: :: Asahi: Timed out waiting for NVMe device
10:58leiooh... dracut-pre-udev[508]: modprobe: FATAL: Module nvme-apple not found in directory /lib/modules/6.5.0-asahi+
11:06chadmedpipewire is doing this annoying thing where its not hiding the speakers when the jack is plugged in, but the jack disappears if theres nothing plugged into it
11:07chadmedi dont think that's a particularly bad thing since it lets users switch between the two pcms at will, but wp folks are telling me its not supposed to do that so...
11:09chadmedi got blasted for using Pro Audio outside of its intended use case so we have to make this work
11:14jannegno, I mean using both speakers and headphones at the same time is a "Pro Audio" feature, or I'm misunderstanding what ConflictingDevice does
11:14Dementor has quit [Remote host closed the connection]
11:17chadmedso if the headphones are plugged in, speakers should disappear as an option and vice versa
11:17chadmed has quit [Remote host closed the connection]
11:18chadmed has joined #asahi-dev
11:19leioas a personal note - I hate this behaviour, I want to be able to switch between my headset and speakers without having to pull the cable out and add it back in all the time, just choosing the device in GNOME UI
11:21leiothough from the Mac Studio I'm hoping I can just switch between HDMI and headset in the plug, not internal speakers, but that's that and just me
11:23chadmedpovik: yeah thats fine, no one handles ucm sanely anyway which is why i was hoping to just use pro audio and not care about any of this
11:27jannegI'm not seeing anything which would explain why the headphones fail on some system but work on others
11:28jannegI detected the pitfall only via a typo. I deleted random things and it started working aafter I typoed "spk" as "skp"
11:31ella-0 has quit [Remote host closed the connection]
11:31dubiousness has quit [Remote host closed the connection]
11:31pldtf has quit [Remote host closed the connection]
11:31dk_ has quit [Remote host closed the connection]
11:31alethkit has quit [Remote host closed the connection]
11:31cds has quit [Remote host closed the connection]
11:31akspecs has quit [Remote host closed the connection]
11:31d4ve has quit [Write error: connection closed]
11:31signaryk has quit [Remote host closed the connection]
11:31probie has quit [Remote host closed the connection]
11:31tsujp has quit [Remote host closed the connection]
11:31coder_kalyan has quit [Remote host closed the connection]
11:31amada95 has quit [Remote host closed the connection]
11:31handlerug has quit [Remote host closed the connection]
11:31rosefromthedead has quit [Remote host closed the connection]
11:31okt has quit [Remote host closed the connection]
11:31dk_ has joined #asahi-dev
11:31coder_kalyan has joined #asahi-dev
11:31handlerug has joined #asahi-dev
11:31rosefromthedead has joined #asahi-dev
11:31ella-0 has joined #asahi-dev
11:31dubiousness has joined #asahi-dev
11:31alethkit has joined #asahi-dev
11:31cds has joined #asahi-dev
11:31pldtf has joined #asahi-dev
11:31signaryk has joined #asahi-dev
11:31probie has joined #asahi-dev
11:31tsujp has joined #asahi-dev
11:31akspecs has joined #asahi-dev
11:31amada95 has joined #asahi-dev
11:31d4ve has joined #asahi-dev
11:31okt has joined #asahi-dev
11:31jannegthere is https://github.com/alsa-project/alsa-tests/tree/master/python/ucm-validator but after seeing that the alsa-ucm-config repo fails validation I didn't bother looking at it
11:32le_petit_segfault has joined #asahi-dev
11:50leiojanneg: I am skipping the initramfs, made all relevant stuff I could find for NVMe builtin instead of module and it just doesn't see a nvme at all still; any chance it could be something with dtb still?
11:58le_petit_segfault has quit [Ping timeout: 480 seconds]
14:18leiodracut does complain about not finding nvme modules and such, but I have them builtin in the kernel and it doesn't find anything with rootwait and no initramfs either
14:18leio(the modules path doesn't match with what's in the initramfs, just using it now to get a shell)
14:32hightower2 has quit [Ping timeout: 480 seconds]
14:33dsharshakov has joined #asahi-dev
14:34dsharshakovchadmed: UCM proper should probably allow switching between those two at will when headset is in. Look at Audio in KDE System Settings and there's "port" config. Works for me on HDA
14:35dsharshakovmaybe that could be implemented in Asahi UCM config
14:35jeisom has quit [Ping timeout: 480 seconds]
14:37leiojanneg: yes, all those are built-in in my config (i just went and made all *APPLE* builtin I could, there's CONFIG_APPLE_RTKIT_HELPER=m though)
14:43jjanzic has quit [Remote host closed the connection]
14:46jjanzic has joined #asahi-dev
15:01hightower2 has joined #asahi-dev
15:14dsharshakov has quit [Quit: Page closed]
15:20fredmb has quit [Remote host closed the connection]
15:43AnuthaDev has joined #asahi-dev
16:12lsep has quit [Ping timeout: 480 seconds]
16:24eiln has joined #asahi-dev
16:28eilnam slightly sick too. was whining about the heat a week ago and now the cold has gotten me. woke up at midnight rn
16:28eilnlina: the platform_id clobbering is a disgusting hack, I love it. don't we install 13.5 as default though?
16:28eilnwill look at the buffer logic in a bit. that bit has always been hacky, but got even hackier with the single planar hack
16:35cylm has joined #asahi-dev
16:41eilnas a last resort I think I can kick up the ane for this sake. we're not calling face detection, we just need the client up. not sure how the hell that's gonna work in v4l2 though
17:20jeisom has joined #asahi-dev
17:27cylm has quit [Ping timeout: 480 seconds]
18:13le_petit_segfault has joined #asahi-dev
18:23jannegdo you have APPLE_DART built-in? missing log messages for that, not related to nvme though
18:30jannegare you 100% sure you're booting the correct kernel? do you have /sys/module/nvme_apple/ (should be even there if built-in)
18:49leiothe timeout and maintenance login did appear on the monitor though, so not sure what's up with that behaviour now
18:52leiojanneg: don't think I'm running the right kernel, it doesn't recreate a Image.gz anymore after changes, just Image...
18:53leioI think that must have been a mishap with the kernel config change and then run_guest_kernel preferred the old arch config Image.gz or something :(
18:56le_petit_segfault has quit [Remote host closed the connection]
18:57loki_val has quit []
19:00AnuthaDev has quit [Quit: AnuthaDev]
19:00leioso in that case I can't be sure #192 alone couldn't have helped with the disappearing picture without pd_ignore_unused, but looks like you found improvements to dtb already that helped too
19:04jeisom has quit [Quit: Leaving]
19:13Dementor has joined #asahi-dev
19:16jannegthe device tree was broken, #192 was due to other oddities in the devicetree not necessary but is now. I can simulate the setup on a m2 pro mini
19:18jannegregarding the black screen in the beginning. is it possible that your display is slow to show I picture after initializing/configuring it? I have one as well and booting is so fast that the display only shows a picture when linux is already booting
19:20leioI'm not sure about a black screen in the beginning; I was saying that the monitor didn't get log entries shown for a while that did end up in the m1n1-sec output, unlike before
19:21leiobasically systemd messages aren't reaching vt1 anymore after the latest dtb updates, just initial kernel stuff and then eventually the emergency shell (I need to correct my root partition)
19:21leiowhile before I saw all on VT1, including the dracut-initqueue pages of spam before it drops to emergency shell
19:22leio"[ OK ] Reached target basic.target - Basic System." and such, that isn't visible anymore and I believe all I changed was update #180 patchset (and use old kernel image still) - same after re-doing Image.gz too.
19:28jannegthat sounds more like it's things controlled by your initrd and boot kernel cmdline parameters
19:30leioyeah, very weird, it's like it started behaving 1 boot before it should have like that (still with old kernel afaik)
19:32leiobut yeah, it looks like now I'm just fighting with further missing modules and the wrong initramfs for my kernel compile; I shall overcome that with a bunch more builtins, get into Fedora proper and build a clean patched kernel there
19:34leioand now when I re-enabled plymouth, I started seeing systemd messages on monitor again; just too much magic to understand that :)
19:47jannegwhere is your intrd comming from? is it based on the fedora initrd on the system? You need hooks in there to load and install the firmware in /lib/firmware/vendor. see https://github.com/AsahiLinux/asahi-scripts/tree/main/dracut/modules.d/99asahi-firmware
19:50leioit's some previous minimal fedora installs initramfs, grabbed from the zip with loop mounted boot.img
19:55jannegthat should have fw handling, you could unpack $ESP/vendorfw/firmware.{tar.cpio} to /lib/firmware/vendor/
19:56leioit even already says Sep 18 00:00:01 fedora dracut-pre-udev[503]: :: Asahi firmware unpacked successfully
19:57leioright, so I don't have the module for asmedia, and I probably can't builtin it as firmware isn't there by then
20:03eiln has quit [Quit: WeeChat 4.0.4]
20:10kaazoo has joined #asahi-dev
21:03darkapex has quit [Remote host closed the connection]
21:03darkapex has joined #asahi-dev
21:15skoobasteeve has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
21:15eiln has joined #asahi-dev
21:15skoobasteeve has joined #asahi-dev
21:16skoobasteeve has quit []
21:17eilnupdate we can decode with the firmware. trigger "mailbox" by literally writing to nvic with the physaddr it jumps to. I just really, really don't want to do it this way. I'm gonna fuzz the params to try to get the intermediate passes
21:17chadmed has quit [Remote host closed the connection]
21:17skoobasteeve has joined #asahi-dev
21:28skoobasteeve has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
21:33skoobasteeve has joined #asahi-dev
22:01eiln has quit [Quit: WeeChat 4.0.4]
22:17Adilpickles has joined #asahi-dev
23:20Adilpickles has quit [Remote host closed the connection]