microsoft / microsoft/DirectX-Graphics-Samples

`D3D12HDR::CheckDisplayHDRSupport()` is sometimes incorrect

Open
#921 0 comments 0 reactions 0 assignees View on GitHub

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:

  1. Connect a display to a dedicated GPU, such as an NVIDIA card
  2. Connect a second HDR-compatible display to an integrated GPU, such as an AMD integrated GPU
  3. Set the dedicated GPU as the "main display"
  4. Enable HDR output in Windows on the secondary display that is connected to the integrated GPU
  5. Run the project
  6. Move the window to the secondary display that is connected to the integrated GPU
  7. Note that CheckDisplayHDRSupport incorrectly reports false

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.