[HDR] No Vulkan HDR metadata (causes brightness issues on linux)
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
Is there an existing issue for this?
- This is a bug in RetroArch frontend
- I have searched the existing issues
Description
Enabling HDR on linux using KDE's built in HDR support results in overbrightened colors. This is most likely related to how mesa handles the brightness of VK_COLOR_SPACE_HDR10_ST2084_EXT differently compared to the windows implementation, as detailed in this issue: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12689. This issue can be circumvented for now by using http://github.com/Zamundaaa/VK_hdr_layer and running retroarch with ENABLE_HDR_WSI=1.
Expected behavior
No response
Steps to reproduce the bug
- Boot retroarch with HDR enabled using the vulkan video driver on plasma 6.4
- Enable HDR in video settings
- Observe extremely inaccurate and bright colors
Version/Commit
1.20.0
Bisect Results
No response
Present in the nightly version
I don't know
Platform & operating system
Linux AMD64
Affected Cores
No response
Environment information
No response
Relevant log output
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining RetroArch's Vulkan video driver HDR path and compare its handling with the Mesa issue linked in the report. Reproduce on Linux AMD64 with KDE Plasma HDR enabled and confirm that HDR output no longer produces extremely bright, inaccurate colors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- computer-graphics, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100