mpv icon indicating copy to clipboard operation
mpv copied to clipboard

display issue with png monob 1 bit y channel test image using gpu-next

Open mightyhuhn opened this issue 1 year ago • 3 comments

Important Information

Provide following Information:

  • mpv version mpv-x86_64-v3-20231210-git-443c248
  • Windows Version 10.0.19044 Build 19044
  • Source of the mpv binary updater.bat
  • GPU model, driver and version 4060 551.23 image

Reproduction steps

open: bw36x36_nv12.zip

GPU next issue only

Expected behavior

a black and white image

Actual behavior

white is teal

Log file

output.zip

Sample files

see above

only happens with gpu-next will work fine with GPU and the following settings

profile=gpu-hq
vo=gpu-next
gpu-api=vulkan
fbo-format=rgb32f
screenshot-high-bit-depth=no
volume=25
loop-file=yes
screenshot-format=png
screenshot-directory="D:\synthlut\screenshoots"
autofit=1920

#scale-antiring=0.8 # luma upscale deringing
#dscale-antiring=0.8 # luma downscale deringing
#cscale-antiring=0.8 # chroma upscale deringing

#scale=jinc
#cscale=ewa_lanczossharp

#target-colorspace-hint


#dither=fruit
#dither=error-diffusion
#dither-depth=8
#error-diffusion=floyd-steinberg
#error-diffusion=sierra-lite
deband=no
#target-trc=gamma2.2
#target-trc=bt1886
#target-contrast=1000
#target-peak=100
log-file=D:\test images\output.txt

--no-config was of no help because it instantly closes...

mightyhuhn avatar Feb 02 '24 17:02 mightyhuhn

You only need mpv bw36x36_nv12.avi --no-config --vo=gpu-next --gpu-api=vulkan to reproduce, works fine with vulkan on vo_gpu.

cc @haasn

llyyr avatar Feb 02 '24 18:02 llyyr

Vulkan doesn't support rgb32f as a fbo-format. You need to set fbo-format=rgba32f

Traneptora avatar Feb 09 '24 18:02 Traneptora

thanks for the info. while stating facts is never wrong. does this change anything related to the topic? i got the same result. the mpv.conf was only added for preproduction in case i missed something.

mightyhuhn avatar Feb 09 '24 20:02 mightyhuhn