microsoft / microsoft/DirectX-Graphics-Samples
`D3D12HDR::CheckDisplayHDRSupport()` is sometimes incorrect
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 6.8k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
The HDR sample project does not enumerate all display adapters, which causes D3D12HDR::CheckDisplayHDRSupport() to report incorrect information. To reproduce this issue:
- Connect a display to a dedicated GPU, such as an NVIDIA card
- Connect a second HDR-compatible display to an integrated GPU, such as an AMD integrated GPU
- Set the dedicated GPU as the "main display"
- Enable HDR output in Windows on the secondary display that is connected to the integrated GPU
- Run the project
- Move the window to the secondary display that is connected to the integrated GPU
- Note that
CheckDisplayHDRSupportincorrectly reportsfalse
Contributor guide
No contributing guide indexed for this repository
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 in the D3D12HDR sample project and inspect D3D12HDR::CheckDisplayHDRSupport(), then reproduce the issue with HDR displays connected to dedicated and integrated GPUs. Trace how display adapters are enumerated and verify that the function reports support correctly after moving the window to the secondary display.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100