#
…

2024-03-29

00:44pthariensflame has joined #asahi-alt
00:45pthariensflame has quit []
01:05zerdox has quit [Ping timeout: 480 seconds]
01:23john-cabaj has joined #asahi-alt
01:31john-cabaj has quit [Ping timeout: 480 seconds]
01:44possiblemeatball has quit [Quit: Quit]
02:00KxCORP5 has quit [Quit: Bye!]
02:00KxCORP5 has joined #asahi-alt
02:07KxCORP5 has quit [Read error: Connection reset by peer]
02:07KxCORP5 has joined #asahi-alt
02:18jeisom has quit [Ping timeout: 480 seconds]
03:59tsujp has quit [Read error: No route to host]
03:59tsujp has joined #asahi-alt
03:59okt has quit [Read error: No route to host]
03:59psykose has quit [Remote host closed the connection]
03:59psykose has joined #asahi-alt
04:01akda5id has quit [Quit: Ping timeout (120 seconds)]
04:01akda5id has joined #asahi-alt
04:02okt has joined #asahi-alt
04:29VeeBop has quit [Quit: buh bye]
04:31VeeBop has joined #asahi-alt
06:07chadmedcy8aer: when is your debian likely to get wireplumber 0.5?
06:19mpschadmed: you have new asahi-audio ready for test with wireplumber 0.5?
06:20chadmednot pushed yet and depends on wireplumber!627 and wireplumber!628
06:20chadmedbut yes its working
06:21mpsI can install WP 0.5 in about one hour on alpine to test (have to finish first some morning tasks)
06:22chadmedmake sure you merge those two MRs on wireplumber
06:23chadmedit wont work at all without those
06:24mpswhich ones? could you post url
06:25chadmedyou must merge 627 first
06:27mpsiiuc this is enough for asahi-audio 1.7 to work?
06:36chadmedi told you i havent pushed the fixes
06:37mpsaha, ok. then I could just prepare and build patched wireplumber
06:38chadmedjust pushed asahi-audio fixes to main
06:38chadmedyoull have to "build" that from source too
06:39mpsyou didn't created tagged release?
06:44chadmednot until the wireplumber MRs are merged and a release is cut
06:44chadmedwould be quite stupid to release deliberately broken software, dont you think
06:46mpsfully agree
06:47mpsI will try today to build WP with above patches and asahi-audio git and test
06:48mpsif I found time ofc
06:50chadmedyeah no worries, no rush
06:50chadmed!627 should be merged soon-ish but im not so sure about !628
07:33j`eychadmed: we dont have that bot here :P
08:58jannegchadmed: will be some time before we add devices but since the "new" devices are re-using existing chassis it shouldn't be too hard to backport that
08:59jannegspeaker support on imacs will be different so imho justified to require wireplumber 0.5+
08:59jannegsame for mac pro users (if there is more than one)
09:25cy8aerchadmed: It depends on all other problems wireplumber has, especially in waybar: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067660.
09:26cy8aeractually it is in experimental, so not in the unstable/testing tree. We can freeze asahi-audio to a stop version when the wireplumber compatible version has a defined number (e.g. 2.x)
09:51jeisom has joined #asahi-alt
09:51opticron has quit [Read error: Connection reset by peer]
09:51opticron has joined #asahi-alt
10:16possiblemeatball has joined #asahi-alt
10:21mpschadmed: I tried to apply !627 and !628 on top of 62dd6effa8d058284aae2b01c30d9ba78371830b git commit but they can't be applied because some files are missing in this commit
10:45cy8aerchadmed: as I understand your asahi-audio patches depend on wireplumber > 0.5.0?
10:57JayBeeFOSS has quit [Ping timeout: 480 seconds]
10:58JayBeeFOSS has joined #asahi-alt
11:33jacksonchen666 has joined #asahi-alt
11:35Ilovechocolate974 has joined #asahi-alt
12:11jn has joined #asahi-alt
12:14jnn has quit [Ping timeout: 480 seconds]
12:16zerdox has joined #asahi-alt
12:18chadmedcy8aer: on main, yes. there is a compat branch that will have fixes backported to it for wp < 0.5
12:18chadmedv1.8 is tagged off on branch and so too will all future 1.x releases
12:19chadmedonce george is happy with my MRs then i will tag out asahi audio 2.0 which will work with wp > 0.5
12:21Ilovechocolate974 has quit [Ping timeout: 480 seconds]
12:51nyaomixyz has joined #asahi-alt
12:53nyaomixyzhello, anyone on gentoo with asahi kernel p16 got "unknown filesystem vfat" while mounting the esp at bootup?
12:54stintelnyaomixyz: btw I found that I was connected on 2.4GHz which was causing the BT audio to be unusable
12:55nyaomixyzin my testing the other day it was impossible to get stable audio
12:55nyaomixyznot in wifi and not without wifi
12:55nyaomixyzxm4 and also random earbuds
12:55nyaomixyzldac or sbc
12:55nyaomixyznow i gotta debug why this kernel wont automount the esp
12:55stintelso disabling periodic scanning in iwd won't help ;)
12:55nyaomixyzinitramfs is fine
12:55stintelbut does the esp need to be mounted?
12:55nyaomixyzuh that's an idea
12:55stintelI mean during boot
12:55nyaomixyzthe esp needs to be mounted
12:56nyaomixyzthere's vendorfw
12:56stintelis that not copied to /lib/firwmare ?
12:56nyaomixyzit is bind mounted
12:56stintelit's not mounted here at all and all my peripherals work
12:56nyaomixyzwell that's odd
12:57nyaomixyzprobably it copied over
12:57nyaomixyzbut anyway, thing is, without mounted esp you cant update grub and stuff
12:57stintelmy /boot is on the root filesystem so for grub it's not a problem
12:57stintelit is for m1n1 though
12:58stintelbut so it shouldn't be needed during boot afaict
12:58nyaomixyzin gentoo i have esp as boot
12:58stintelyeah when I initially started using UEFI hardware I did the same
12:58stintelbut now I throw it on boot, and on systems with btrfs raid1, this makes sure your kernels are also "mirrored"
12:59stintels/boot/root/
12:59Ilovechocolate974 has joined #asahi-alt
13:00stinteland on those I have 2 ESP partitions, run grub-install on both, so I still have a bootloader if either of the 2 drives die
13:00stintelBoot0010* gentoo1 HD(2,GPT,49f02ef2-cc08-4333-bcac-960761f4863e,0x200,0x20000)/File(\EFI\gentoo1\grubx64.efi)
13:00stintelBoot0011* gentoo0 HD(2,GPT,6a9cd6c0-c460-425c-bd5a-5729a264f1fb,0x200,0x20000)/File(\EFI\gentoo0\grubx64.efi)
13:02jannegnyaomixyz: the dracut firmware integration misses a vfat dependency + the esp was not mounted when `dracut --hostonly ...` ran
13:03nyaomixyzbtw here a sudo mount doesn't work with the same error
13:03nyaomixyzit's probably not only dracut
13:03nyaomixyzdo i /etc/modprobe.d/10-vfat.conf my way out?
13:04jannegthe issue is that the vfat kernel module is not available in the initramfs
13:04nyaomixyzit seems it is tho
13:04jannegno, you need to mount the esp and regenerate the initramfs
13:05chadmedstintel: you dont use the overlay though do you
13:05jannegnyaomixyz: is this asahi-kernel with the stock config?
13:06nyaomixyzdid zcat | cpio -tiv | grep vfat
13:06nyaomixyzthe .ko is there
13:12jannegnot sure then
13:13nyaomixyzit is apparent that the vfat module doesn't get loaded at boot
13:13nyaomixyzand the condition persists after the root switch
13:13jeisom has quit [Remote host closed the connection]
13:13nyaomixyzthe question here is why isn't this mounted?
13:14jeisom has joined #asahi-alt
13:16janneganything in the kernel messages?
13:18tobhe_ is now known as tobhe
13:18jeisom has quit [Remote host closed the connection]
13:21jeisom has joined #asahi-alt
13:21nyaomixyzno mention of vfat or the nvme partition
13:22jeisom has quit [Remote host closed the connection]
13:23jeisom has joined #asahi-alt
13:27stintelchadmed: I do
13:27stintelbut I build my own kernel from git
13:27stinteland use genkernel, not dracut (old habits die hard)
13:57nyaomixyzwell, i am forcing dracut to load vfat
13:57nyaomixyzlets see if this produces anything at all
15:19nyaomixyzsafe to say that module autoload isn't working as I rebuilt the kernel yet vfat has to explicitly be modprobed
15:33zerdox has quit [Remote host closed the connection]
15:43rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
15:43Guest4197 has quit [Quit: Bridge terminating on SIGTERM]
15:45Jamie has joined #asahi-alt
15:46Jamie is now known as Guest4305
15:46rhysmdnz has joined #asahi-alt
15:47nyaomixyzI "solved" it by modprobing vfat early
15:48nyaomixyzconfigured it so dracut has a cmdline arg that explicitly loads vfat before anything else
15:48nyaomixyzhowever wifi is also busted
15:48nyaomixyzwhat does this meannnn
16:11jannegprobably missing firmware connected to the vfat error. is there anything in /lib/firmware/vendor ?
16:18zerdox has joined #asahi-alt
16:21nyaomixyzright now i had to power off the macbook
16:21nyaomixyzhowever, p15 still continues to work whilst p16 doesn't
16:21nyaomixyzno clue why
16:21nyaomixyzalso confronted vfat config
16:21nyaomixyzit's almost the exact same, the important flags are there
16:21nyaomixyzcompiled as module
16:21nyaomixyzand fw is there in the correct dir
16:22nyaomixyzstarting to think this is yet another asahi-kernel moment
16:45Ilovechocolate974 has quit [Ping timeout: 480 seconds]
16:55jannegfirmware handling seems to be ok. there seems to be going something wrong with with the brcfmac firmware itself. unsure what. p16 was working for me
16:56nyaomixyzp15 works fine
16:56nyaomixyzidk what's up at this point
16:56nyaomixyzran a config diff between p15 and p16 and configs aren't identical
16:56nyaomixyzbut it seems they're aligned with fedora config
16:57nyaomixyzalso there's this overall "if configs are ok why does it not work" feeling
17:24jannegjust rebooted into 6.6.0-asahi-16-dist again and works here (M1 Max 14-inch Macbook pro, so except for the SoC identical setup)
17:24nyaomixyzis my gentoo broken
17:25nyaomixyzis this your 16 version or the one found in asahi-overlay?
17:25nyaomixyzi saw there's a draft pr of yours
17:25nyaomixyzoh ok not yours
17:25nyaomixyzsorry almost the same username
17:26nyaomixyzwait are you jannau on github?
17:27jannegI did not see that chadmed pushed it a version too
17:27nyaomixyzwondering if those result to the same kernel
17:28jannegthey should, only difference in the ebuilds is that I forgot to add pahole as dependency
17:30nyaomixyzfor good measure i rebuilt it
17:30nyaomixyzbut no dice
17:31jeisom has quit [Ping timeout: 480 seconds]
17:34nyaomixyzI FOUND IT
17:34nyaomixyzTHIS IS WORSE THAN I EXPECTED
17:35nyaomixyzbasically it's literally forgetting to autoload module dependencies
17:35nyaomixyzif A depends on B
17:35nyaomixyzlike brcmfmac depends on brcmfmac-wcc
17:35nyaomixyzwell it only loads brcmfmac
17:35nyaomixyzand earlier it wouldn't load vfat
17:35nyaomixyzthe hell is wrong with this kernel
17:35nyaomixyzyeah i got wifi but at what cost
17:40jannegI don't think it is an issue of the kernel itself. according to modinfo/lsmod brcmfmac-wcc depends on brcmfmac
17:42nyaomixyzthe idea here is that a bunch of modules wont autolod
18:17nyaomixyzbasically hardware modules won't autoload
18:17nyaomixyztried to run an initramfs diff and found nothing suspicious
18:33Ilovechocolate974 has joined #asahi-alt
18:34Ilovechocolate974 has quit []
18:34mpsdoes https://github.com/AsahiLinux/asahi-audio/commit/6428f52c56c71a28cf3bf641cd559de17d610830 imply that asahi-audio 1.8 could be used with wireplumber 0.5
18:40mpslooks like it works fine
18:41mpshm no, no bass
18:42mpsnot good to type to fast. subwoofer is show in pavucontrol and looks like it works fine
18:42mpsshown*
18:45cy8aermps: asahi-audio 1.x if for wireplumber <0.5, new asahi-audio 2.x is for wireplumber >=0.5.0, the actual asahi-audio main branch (not tagged yet with 2.x...) doew work with 0.5.0!
18:47mpscy8aer: hm, looks like it work in my case. have to check it deeply
18:48cy8aerthe wireplumber compatibility is for the equalizer stuff IMHO so "no bass" might be the reason.
18:48mpscy8aer: ah, yes, you are right
18:49mpsyes, will try to build it
18:51nyaomixyzhalf solved wifi by telling dracut to early load it
18:51nyaomixyzbtw there's probably more
18:52nyaomixyz has quit [Quit: Konversation terminated!]
18:58hightower3 has quit []
18:58hightower2 has joined #asahi-alt
19:00jeisom has joined #asahi-alt
19:01lynndotpy has quit [Quit: bye bye]
19:02lynndotpy has joined #asahi-alt
19:28xal has quit []
19:46psykose has quit [Remote host closed the connection]
19:49xal has joined #asahi-alt
20:01mpscy8aer: build asahi-audio from main branch also doesn't work with wireplumber 0.5
20:06jannegit is not expected to work with wireplumber 0.5, it needs wireplumber main and wireplumber/-/merge_requests/628 which is still under discussion and bound to change
20:10nyaomixyz has joined #asahi-alt
20:11nyaomixyzback with more obscenity
20:11nyaomixyzthe kernel doesn't autoload any module by itself unless it's specified in dracut or loaded manually at some point
20:11nyaomixyzmeans that zstd, vfat, other support modules that should be loaded are not
20:12nyaomixyzidk if this is due to a specific "rescue" kinda mode that got triggered somehow, or if i am missing something
20:12mpsjanneg: yes, I know. c_hadmed told earlier, but I wanted to check
20:46jannegnyaomixyz: do you have xz compressed modules /lib/modules/$(uname -r) ? check with `find /lib/modules/$(uname -r) -name 'brcmfmac.ko*'`
20:52nyaomixyzthey're only .ko
20:53nyaomixyzright now I pulled every other kernel source I had, literally blasted off /usr/src
20:53nyaomixyzand rebuilding again
20:53nyaomixyzjust so I am sure I have clean paths on /usr/src and /lib/modules
20:53nyaomixyzI mean I am close to reinstalling everything anyway
20:54nyaomixyzbasically the enormous symptom is that one, a ton of modules are simply just missing at boot, modprobe can load them all but the kernel itself acts as it doesn't need them, and it doesn't care if they are needed by peripherals
20:54nyaomixyzor block devices
20:55nyaomixyzand while I could "fix" it by adding everything to dracut's configuration... it feels unclean
21:13nyaomixyzdidn't work
22:26chadmedcy8aer: main needs changes as george cancelled the automerge and asked for a few more changes :p
22:41cy8aerchadmed: as long as wp 0.5.x is in deb experimental there is no need on my side. Looks like days for your effords for the patches but weeks for the debian maintainers.
22:43cy8aerI am patient.
23:09nyaomixyz has quit [Quit: Konversation terminated!]
23:24jannegasahi-kernel in https://github.com/chadmed/asahi-overlay/pull/75 builds 25% faster, after disabling all non apple arm64 ARCHs and debug CONFIGs
23:27zerdox has quit [Remote host closed the connection]
23:30nyaomixyz has joined #asahi-alt
23:33nyaomixyz has quit []
23:36jeisom has quit [Ping timeout: 480 seconds]
23:40xal has quit []
23:47chadmedjanneg: thanks!
…