#asahi-dev · 2026-08-28 13:17
chadmedi suspect mpv's shaders given ff and gstreamer seem to work fine?#asahi-dev · 2026-08-28 13:17
jannauunsure where the error could be though. yuv handling for asahi/hk in mesa is afaik mostly generic shader code#asahi-dev · 2026-08-28 13:16
chadmedits not like it knows the buffer is nv16, the playback stats still say nv12 #asahi-dev · 2026-08-28 13:16
chadmedyeah i wonder why dmabuf-wayland is doing the right thing then#asahi-dev · 2026-08-28 13:12
jannauyes, looks like interpreting 4:2:2 data as if it is 4:2:0#asahi-dev · 2026-08-28 13:10
JamesCalligeros[m]uploaded an image: (2328KiB) < https://matrix.org/oftc/media/v1/media/download/Ac6P_W8glnHfoCfpsfsJlwmR1KohRtqWAkfTZ-dAcYhDASinEiZGRr_Ms7djdV891X0BM9egvcs0oXR7-tlJFY1CegkJfAwAAG1hdHJpeC5vcmcvSnJTa1dRU3VwcXBlYnlQdkJzd0R4Y1lK >#asahi-dev · 2026-08-28 13:09
sofuswith only red/black the output is green#asahi-dev · 2026-08-28 13:09
JamesCalligeros[m]uploaded an image: (1303KiB) < https://matrix.org/oftc/media/v1/media/download/AagW2CN-aGWa63DtvY6IDocTV8a956Bxp-1RT-6eDaHKlJE1SE1mi7vbv4i5sxzhwchqgomUxUZF9V0rVYHt02VCegkJaNpgAG1hdHJpeC5vcmcvZmZWSE1zQ1Njc1dic2VFUXVZU2hlc2pJ >#asahi-dev · 2026-08-28 13:09
JamesCalligeros[m]anyway, they should look like #asahi-dev · 2026-08-28 13:09
JamesCalligeros[m]if avd is spitting out 4:2:2 then only the horizontal resolution is subsampled but idk why then cr looks like its scaled vertically #asahi-dev · 2026-08-28 13:08
JamesCalligeros[m]let me interject for a moment what youre calling ypbpr is actually y'cbcr etc etc#asahi-dev · 2026-08-28 13:08
jannauif the first chroma channel height lines (instead of the expected height/2) then there is just 1 chroma channel#asahi-dev · 2026-08-28 13:06
chaos_princesssorry if it is a stupid question, but where is the 2nd chroma channel? Isn't it supposed to be y pb pr, and i see y and pb, but no pr?#asahi-dev · 2026-08-28 13:05
chadmedaah i cant grab an apothecary diaries or hellsing screenshot too, theyre both AV1 :P #asahi-dev · 2026-08-28 13:05
jannauit's still weird though as I doubt that image as just approximately 2 colours#asahi-dev · 2026-08-28 13:05
sofusthe instructions dont change, so its not because avd does something different#asahi-dev · 2026-08-28 13:04
svendbz abridged and frieren. looks like our tastes are similar ;)#asahi-dev · 2026-08-28 13:02
JamesCalligeros[m]uploaded an image: (1942KiB) < https://matrix.org/oftc/media/v1/media/download/AfcQ-d9C_D3KZqQ_APR9YwQDu_e_agynxSnMemvh0uDR5lczxsfds8D9isSaX1zpe2KW8I43opBmbKeB0BuGAPFCegkJAaMQAG1hdHJpeC5vcmcvYVFUSk9iWFRibXlZVEN0TkVtQm5rSUNw >#asahi-dev · 2026-08-28 13:01
chadmedit does the same thing for P010 #asahi-dev · 2026-08-28 12:49
jannauI don't understand this error. looks more like the driver produces 4:2:2 but it's interpreted as 4:2:0#asahi-dev · 2026-08-28 12:47
sofusmy pr should fix that, i mostly saw this with 10bit vp9#asahi-dev · 2026-08-28 12:46
chadmedthe washout seems to be frame-by-frame and related to the blocking artefacts ive seen with h264 on certain videos#asahi-dev · 2026-08-28 12:46
sofusthe driver being avd#asahi-dev · 2026-08-28 12:46
sofusi also noticed many videos look washed out, maybe the driver is advertising something wrong about colors?#asahi-dev · 2026-08-28 12:45
jannaunot sure actually#asahi-dev · 2026-08-28 12:45
jannauno, that should look different#asahi-dev · 2026-08-28 12:45
jannauthe color information is scaled by factor 2 vertically#asahi-dev · 2026-08-28 12:43
jannauJames image looks like a interpreting nv12 as fully planar yuv400#asahi-dev · 2026-08-28 12:43
chadmedyeah#asahi-dev · 2026-08-28 12:42
sofusso something about yuv->rgb must be broken right?#asahi-dev · 2026-08-28 12:42
chadmedkwin does not advertise a scanout tranche for dcp yet, but it will hopefully do so Soon#asahi-dev · 2026-08-28 12:41
chadmednot yet :P#asahi-dev · 2026-08-28 12:41
jannaudmabuf-wayland is either direct-scanout or nv12 to rgb conversion in the compositor, gpu/gpu-next is yuv2rgb in mpv#asahi-dev · 2026-08-28 12:41
sofusyeah i dont really now how this works, i assumed dmabuf-wayland goes directly to dcp#asahi-dev · 2026-08-28 12:39
chadmedbut that said, the dmabuf-wayland vo also exports an nv12 buffer#asahi-dev · 2026-08-28 12:39
chadmedi dont think the gpu's yuv handling has been thoroughly tested thus far#asahi-dev · 2026-08-28 12:37
sofuscould it be the nv12 output is given to the gpu instead of gpu format#asahi-dev · 2026-08-28 12:34
chadmedthe problem becomes more obvious with low entropy images ^ #asahi-dev · 2026-08-28 12:33
JamesCalligeros[m]uploaded an image: (1198KiB) < https://matrix.org/oftc/media/v1/media/download/AcXJ4-uv25IWMSg6UHOSpuQyHYogPbZB5rqC9v1RSw_G7K09wPcuC28SSKkTAuNbefXFjTVz08XDpoqlAllZwNFCegkHWvgQAG1hdHJpeC5vcmcvR0pMTmFNcVFsUmJLVGl0THdFa1NsR1R3 >#asahi-dev · 2026-08-28 12:33
JamesCalligeros[m]sigh i miss 0x0#asahi-dev · 2026-08-28 12:27
chadmedthe "colours being wrong" appears to be pixel format related. the chroma is offset from the luma rather than any one colour being "wrong"#asahi-dev · 2026-08-28 12:25
sofusi have the same issue with the colors being wrong when using gpu or gpu-next, also with hwdec=v4l2request#asahi-dev · 2026-08-28 10:58
yukaAlso goes away with --gpu-context=wayland#asahi-dev · 2026-08-28 10:53
yukavlc and firefox don't seem to have any problem (but not 1000% certain they are actually using hardware decoding)#asahi-dev · 2026-08-28 10:53
yukait goes away with --vo=dmabuf-wayland#asahi-dev · 2026-08-28 10:50
fl0_id_yuka it's a space odyssey alright :)#asahi-dev · 2026-08-28 10:41
yukaI applied your PR, and still the same issue. I have the same issue of the colors being completely wrong with youtube videos (vp9 via yt-dlp), so actually I think this is an issue somewhere in the chain (mpv <-> libva-v4l2_request).#asahi-dev · 2026-08-28 10:00
yukasofus: can you check your dms?#asahi-dev · 2026-08-28 09:53
noopwafelreal cga vibes :)#asahi-dev · 2026-08-28 09:46
yuka"modern art"