#asahi-dev · 2026-08-28 09:41
sofusthen it would say Format: yuv422p10le or something, so should it should work#asahi-dev · 2026-08-28 09:35
sofusunless its 4:2:2 10bit, then it would still be broken#asahi-dev · 2026-08-28 09:35
sofusyes, thanks#asahi-dev · 2026-08-28 09:12
sofusthanks, not i did not, did you have issues with 10bit?#asahi-dev · 2026-08-28 09:03
sofusfinding broken videos is a bit annoying tho :(#asahi-dev · 2026-08-28 09:03
sofusi cant find any h264 videos with artifacts after my latest commit#asahi-dev · 2026-08-27 10:08
sofusi was planing on looking at h26{4,5} and vp9 again, i feel like i learned a thing or two from av1#asahi-dev · 2026-08-27 10:02
sofusthe vaapi wrapper is a lot more conformant than ffmpeg-v4l2#asahi-dev · 2026-08-27 10:02
sofusshould i not do a bit more cleanup?#asahi-dev · 2026-08-27 09:57
sofusim hoping to begin upstreaming in a not to distant future. Im unsure if there is anything big im missing before i could do that#asahi-dev · 2026-08-27 09:53
sofussome testing on m1 and m2 would also be nice, although i would not expect buffer sizes to differ#asahi-dev · 2026-08-27 09:51
sofusi hope the commits are ok, it was more the pr i had in mind. Its like 8 different things#asahi-dev · 2026-08-27 09:49
sofusi might have waited a bit to long with this, let me know if i should split it up#asahi-dev · 2026-08-27 09:48
sofushttps://github.com/AsahiLinux/linux/pull/581#asahi-dev · 2026-08-27 07:13
sofusi think its based on the bootlin one, but they dont mention anything about it#asahi-dev · 2026-08-27 07:10
sofusJamesCalligeros[m]: one small correction: the vaapi thing is a fork of megi's wrapper, https://xff.cz/git/libva-v4l2_request#asahi-dev · 2026-08-21 19:12
sofusjust normal usb-c?#asahi-dev · 2026-08-21 18:50
sofus/dev/mtd/by-name/adt should be good enough right? Thats what i used#asahi-dev · 2026-08-21 18:46
sofuschaos_princess: if that is checked by looking at the dt, then no for t6030#asahi-dev · 2026-08-19 13:47
sofusthat looks right, im also seing the CompressionMetadataPatternSignallingConstant in the metadata#asahi-dev · 2026-08-19 13:19
sofusi find it kinda annoying that i have to add a new pixel format just to describe "this format but compressed"#asahi-dev · 2026-08-19 13:15
sofusim not sure, i have not been able to test it yet#asahi-dev · 2026-08-19 13:12
sofusyes, its only the metadata thats not the same as the dcp driver#asahi-dev · 2026-08-19 13:10
sofus32 for the y plane and 8 for uv#asahi-dev · 2026-08-19 13:09
sofusi based my name on what the tracer called it, so metadata per tile. And thats what i think needs to change (at least it does for avd)#asahi-dev · 2026-08-19 13:07
sofushttps://github.com/chadmed/linux/blob/fda11f8f39a7331b195213c95746375c521d1365/drivers/gpu/drm/apple/plane.c#L45#asahi-dev · 2026-08-19 13:06
sofus(the naming might be a bit confusing)#asahi-dev · 2026-08-19 13:05
sofusright now it looks like dcp uses a static meta_bytes=8#asahi-dev · 2026-08-19 13:03
sofushttps://github.com/sofus13/linux/blob/64ad7ba7548fd2afa1ea27ca4a88dd1f2ddc1327/drivers/media/platform/apple/avd/avd-drv.c#L36#asahi-dev · 2026-08-19 13:03
sofuschadmed: for interchange i think need to change the meta_bytes calculation, in the avd driver, it looks like this:#asahi-dev · 2026-08-13 11:19
sofuschadmed: no like an raw buffer, just data#asahi-dev · 2026-08-13 11:17
sofuschadmed: if i send you a hexdump would you be able to tell if its an interchange thing?#asahi-dev · 2026-08-13 11:17
sofusim very confused by the interchange thing, it seems to just unset a flag and set output addresses to zero#asahi-dev · 2026-08-12 11:49
sofusdifference being the fw writes 0 instead of output addresses#asahi-dev · 2026-08-12 11:48
sofuschadmed: i was stupid the last time i traced, im definitely seing a difference now#asahi-dev · 2026-08-09 08:23
sofuschadmed: either im dumb or there was no change to the submissions/instructions, maybe there is an enable_interchange register or something#asahi-dev · 2026-08-09 06:16
sofusi suppose we could just add our own and add special handling in the vaapi-wrapper#asahi-dev · 2026-08-09 06:03
sofusim not sure, but i dont think so#asahi-dev · 2026-08-09 06:00
sofushow would it work from a driver perspective? would it just be adding a new pixel format?#asahi-dev · 2026-08-09 05:51
sofusi dont think i ever traced an actual video playing... will do later#asahi-dev · 2026-08-09 05:49
sofuschadmed: no, do you know if i need to to anything special to make macos use them? (for tracing)#asahi-dev · 2026-08-08 13:52
sofusjannau: most of the copied code is in avd-v4l2, i only found to small chunks in vp9 and av1 that i reverted, so it should be fine#asahi-dev · 2026-08-08 13:15
sofusleio: thanks#asahi-dev · 2026-08-08 12:26
sofushttps://github.com/AsahiLinux/linux/pull/564#asahi-dev · 2026-08-08 12:23
sofusmy last pr was never closed, should i open a new one? (av1, hevc and h264 fixes)#asahi-dev · 2026-08-08 11:37
sofusyeah KO is fail#asahi-dev · 2026-08-08 11:32
sofusim not sure why apple blocks all the small sizes, they work fine#asahi-dev · 2026-08-08 11:29
sofusi dont think avd can do film_grain#asahi-dev · 2026-08-08 11:28
sofusonly failing monochrome (which avd does not support) and film_grain#asahi-dev · 2026-08-08 11:27
sofushttps://pastebin.com/UYsbWuvu