#asahi-alt · 2026-08-08 11:46
JamesCalligeros[m]Oh derp i didnt disable the sandboxes#asahi-alt · 2026-08-08 11:46
sofusmaybe a sandbox/permission thing? Firefox worked for me#asahi-alt · 2026-08-08 11:43
chadmedmpv seemed to work fine though#asahi-alt · 2026-08-08 11:43
chadmedlibva-v4l2request: no V4L2 Request API decoder found#asahi-alt · 2026-08-08 11:43
chadmedfirefox#asahi-alt · 2026-08-08 11:43
sofusdoes it? i dont remember having trouble, what did you use?#asahi-alt · 2026-08-08 11:41
chadmedit struggles to detect avd as a request api decoder #asahi-alt · 2026-08-08 11:41
chadmednvm this wrapper is also busted and silly#asahi-alt · 2026-08-08 11:21
chaos_princessthe bolting-on to a gpu driver is basically a hack to avoid sandboxes#asahi-alt · 2026-08-08 11:20
jannauchaos_princess: not at all opposed to an drm/accel vaapi/vk video driver. If avoidable not bolted to the GPU though. I don't think presenting through VA is common. I'd expect dmabufs and modifiers to be common and then it should't matter that decoder and gpu a different devices#asahi-alt · 2026-08-08 11:19
oss[m]sofus if you share the hevc/h264 patches for it id run them here too #asahi-alt · 2026-08-08 11:17
oss[m]nice im happy to guinea pig it when it lands in the overlay. will swap my local ebuild for the packaged one#asahi-alt · 2026-08-08 11:14
chadmedi cant confirm if av1 is busted or not as i dont have an m3 box #asahi-alt · 2026-08-08 11:13
chadmed(how can you be semi permanent youre either permanent or youre not me theres no grey area)#asahi-alt · 2026-08-08 11:13
chadmedgiven that there's no legal ramifications to us re apple and that it's hopefully only a temporary (or at worst only semi-permanent) solution whatever, im fine having it in the overlay #asahi-alt · 2026-08-08 11:13
sofusapparently av1 in firefox will freeze the system#asahi-alt · 2026-08-08 11:11
chadmedyeah although they were diligent enough to not use the stink feat: chore: etc ai commit style #asahi-alt · 2026-08-08 11:11
chadmedi think packaging this is acceptable #asahi-alt · 2026-08-08 11:11
sofusit also smells of ai, but i have patches for that one to enable hevc and fix h264#asahi-alt · 2026-08-08 11:08
chadmedthe megi fork works #asahi-alt · 2026-08-08 11:06
chaos_princessthat is because they are using cuda or sth like that#asahi-alt · 2026-08-08 11:01
sofuskinda looks like nvidia vaapi needs the same flags#asahi-alt · 2026-08-08 11:00
chaos_princessthe sandboxes are passed the gpu fd, no?#asahi-alt · 2026-08-08 10:59
sofusiirc even if we bolt it to the gpu we would still need to disable sandboxing#asahi-alt · 2026-08-08 10:59
oss[m] the wrapper ive been running isnt the bootlin one. its megi's fork https://xff.cz/git/libva-v4l2_request#asahi-alt · 2026-08-08 10:56
chadmedbolting something to the side of the gpu driver makes sense given the PCisms built in to most of the desktop linux ecosystem but it still feels kinda dirty#asahi-alt · 2026-08-08 10:54
chadmedunless we make it happen#asahi-alt · 2026-08-08 10:54
chadmedv4l2request ecosystem has had over a decade to sort itself out, ffmpeg is still a mess, its not happening#asahi-alt · 2026-08-08 10:54
chadmedim still firmly in the vk video camp and am not going to change my mind that there really should be a vk video driver no matter how gross the guts of it have to be to un-stateful the api for the hardware#asahi-alt · 2026-08-08 10:53
chaos_princessyea, the idea is that it is used while the v4lrequest ecosystem is getting sorted out#asahi-alt · 2026-08-08 10:53
chaos_princessor even metastasizing it to the side of the gpu driver, so we don't need to disable sandboxes#asahi-alt · 2026-08-08 10:53
chadmednot opposed at all from a technical standpoint, but id rather not have one more thing we have to carry around indefinitely#asahi-alt · 2026-08-08 10:52
chaos_princesshow open are y'all to just doing a not-for-upstream drm/accel backdoor for vaapi?#asahi-alt · 2026-08-08 10:51
chadmedi got it working once but now i cant get it to do the needful #asahi-alt · 2026-08-08 10:50
chadmedfor h264 at least#asahi-alt · 2026-08-08 10:50
chadmedyou apply those and it works#asahi-alt · 2026-08-08 10:50
chadmedthere are patches in the fedora package to fix that#asahi-alt · 2026-08-08 10:48
sofusiirc its missing vp9/av1 support and uses old kernel headers#asahi-alt · 2026-08-08 10:45
sofusthe bootlin one? i dont think that works#asahi-alt · 2026-08-08 10:45
oss[m]ive been running it locally for a while local ebuild + LIBVA_DRIVER_NAME=v4l2_request and it does work as temporary fix. firefox hw decodes also it fine once you also set MOZ_DISABLE_RDD_SANDBOX=1. but it fails silently and difficult to debug#asahi-alt · 2026-08-08 10:44
chadmedim talking about the bootlin one from ages ago #asahi-alt · 2026-08-08 10:44
sofuschadmed: the maybe-ai one? i dont think the other works#asahi-alt · 2026-08-08 10:43
sofusoss[m]: pretty sure it should work, https://pastebin.com/mCu57exH#asahi-alt · 2026-08-08 10:38
chadmedid rather not considering it's abandonware and none of us are interested in adopting its maintenance but its also the only way a majority of people are gonna be able to enjoy avd at the moment #asahi-alt · 2026-08-08 10:38
chadmedim thinking we should ship an 'export LIBVA_DRIVER_NAME=v4l2_request' snippet and package the vaapi wrapper for gentoo #asahi-alt · 2026-08-08 10:34
oss[m]perfect, if you have a patch happy to test it. Cheers#asahi-alt · 2026-08-08 10:31
sofusthanks for the 8x8dct observation, i think i found the bug#asahi-alt · 2026-08-08 10:29
oss[m]can confirm enable-v4l2-request shows up in ffmpeg #asahi-alt · 2026-08-08 10:26
oss[m]https://paste.gentoo.zip/mZrnm3Vq#asahi-alt · 2026-08-08 10:19
oss[m]same kind of files decoded fine on 7.1.5_p2, i was benchmarking hwdec vs software back then 37 vs 33 fps on a 1080p60 h264 high clip and its not a bad file