mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.03k stars 2.88k forks source link

gpu-next/vulkan causes corrupted tone-mapping in fullscreen #11578

Closed nyanmisaka closed 5 months ago

nyanmisaka commented 1 year ago

Important Information

Provide following Information:

Also built mpv and libplacebo from sources but the issue remains.

Reproduction steps

hwdec=vaapi
vo=gpu-next
gpu-api=vulkan

The vulkan gpu-api in gpu-next renderer causes corrupted tone-mapping output in fullscreen mode. Setting the gpu-api to opengl fixes the issue.

Expected behavior

Screenshot from 2023-04-13 22-52-23

Actual behavior

Screenshot from 2023-04-13 22-42-11

Log file

output.txt

Sample files

Any HDR video clip that needs tone-mapping.

Quackdoc commented 1 year ago

Im getting this issue with any video at all running the latest mesa on wayland, I think it's actually related to https://gitlab.freedesktop.org/mesa/mesa/-/issues/7536 since norbc fixes it

nyanmisaka commented 1 year ago

Im getting this issue with any video at all running the latest mesa on wayland, I think it's actually related to https://gitlab.freedesktop.org/mesa/mesa/-/issues/7536 since norbc fixes it

Thanks for the reminder that this is actually a Mesa ANV issue.

INTEL_DEBUG=norbc fixes the issue perfectly.

kasper93 commented 5 months ago

Is this still an issue? Looks like fixed upstream.

nyanmisaka commented 5 months ago

Is this still an issue? Looks like fixed upstream.

I don't currently have access to test again. So I'm closing this temporarily.