-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HDR broken on AMD using vulkan #13534
Comments
Your log indicates that the driver does not expose any The possible reason is that you don't have monitor directly connected to dGPU, for CASO, Intel AMD NV Vulkan driver don't support HDR at all, but Direct3D driver doesn't have this problem. The only solution is to use the DXGI swapchain instead of Vulkan WSI, ref #12539. You should stick to d3d11, nowadays winvk and vulkan hwdec don't work well on Windows. |
Okay, my monitor is directly connected to the dGPU but it sounds like a driver issue (?). I've tried using the same monitor through my laptop and with its Nvidia dGPU, vulkan works fine with HDR. I'm sticking with d3d11 currently, if it's indeed a driver/AMD problem then I don't mind having this issue closed. |
Adding some additional investigation results: Upon turning on Windows HDR, HDR on vulkan works, but it sometimes doesn't take over the HDR colorspace rendering(?): Reproduction Steps
Log file: working_run_logs.txt
EDIT: Disabling all overlays does indeed apply HDR correctly |
Logs don't seem to be abnormal, mpv selected
Shinchiro builds have been changed to distribute pdb debugging symbols so can't use gdb. You need to install Windbg from MS Store to debug mpv. |
You can just share the crash dump from |
While creating the issue for the crash, I found out that mpv doesn't crash with RivaTunerStatistics OSD disabled. RTS OSD hooks into GPU-rendered apps and it shows some system information as a permanent overlay, and it somehow interfered with mpv when mpv tries to go Fullscreen. tl;dr: mpv seems fine on that end. Probably a 3rd-party overlay bug If someone is interested in the dmp files anyway, here they are: EDIT: and it only crashes on EDIT 2: And disabling the RTS OSD also makes HDR |
Also, turn off RTSS |
Important Information
Provide following Information:
Reproduction steps
mpv --no-config --vo=gpu-next --gpu-api=d3d11 --target-colorspace-hint test.webm
(works after going fullscreen)mpv --no-config --vo=gpu-next --gpu-api=vulkan --target-colorspace-hint test.webm
(no HDR here)Expected behavior
Monitor switches into HDR and video plays with HDR
Actual behavior
mpv starts tonemapping the video instead, on vulkan
Log file
broken.txt
works.txt
The text was updated successfully, but these errors were encountered: