-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
Using Vulkan Hw Decoder w/ HDR on Windows causes black screen #287
Comments
Update: this only appears to affect the amd radeon driver with HDR on Windows. I guess maybe it doesn't support sampling the texture with vulkan hw decode and vulkan rendering but does with d3d11va and vulkan rendering. Seems like it should though. For now, I just detect if the card is amd and if so and HDR is enabled on Windows I fallback to d3d11va. Unfortunately, this means in that case there is no zero-copy. |
Update: after a driver update to the radv driver on Linux this also happens there now with mesa 24.3.1. Zero-copy Vaapi hw decoding on Linux with the same Vulkan renderer settings works fine though. |
This patch fixes the black screen issue on Windows and Linux: https://github.com/streetpea/chiaki-ng/blob/main/scripts/flatpak/0002-Vulkan-use-16bit-for-p010.patch @haasn |
When using Vulkan hw decoder on Windows with HDR (using vulkan lib placebo renderer) all that can be observed is a black screen. [Note: When using a non-HDR color space Vulkan hw decoding works as expected (displaying screens as expected)]. Switching to d3d11va as the hw decoder instead of vulkan with hdr also solves the problem but then it isn't using zero-copy which is preferred. Interestingly, using this same combination on Linux [amd + vulkan hw decoder with vulkan rendering + HDR] (obviously using the Linux driver then) works fine.
AMD Driver Details: latest version vetted by Asus for this laptop listed as "31.0.22060.5000 (Adrenalin 23.20.60.05) DCH / Win11 64".
A snippet of the libplacebo logs is as follows:
The text was updated successfully, but these errors were encountered: