microsoft / microsoft/DirectX-Graphics-Samples

HDR Sample unsupported color space error

Open
#898 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

Hi, when running the HDR Sample (https://github.com/microsoft/directx-graphics-samples/tree/master/Samples/Desktop/D3D12HDR), changing the back buffer format using the PgUp/PgDn key, the following error is displayed in MSVC debug output panel:

DXGI ERROR: IDXGISwapChain3::SetColorSpace1: Unsupported ColorSpace specified. [ MISCELLANEOUS ERROR #262: ]

But the output of the monitor seems working correctly for all 8/10/16bit back buffer format (correctly display SDR and HDR content).
This error occurs when changing back buffer format between 8bit <-> 16bit and 10bit <->16bit format, but with no error when changing between 8bit <-> 10bit.

Is it an issue with my computer set up?
I am using:

RTX 4080 (driver 565.90)
Windows 11 ver 23H2 (OS Build 22631.4602), "Use HDR" enabled in system display settings
Alienware AW3821DW monitor

Thank you

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

The issue points to Samples/Desktop/D3D12HDR; start by building and running that HDR Sample, then reproduce the PgUp/PgDn back-buffer format changes while watching the MSVC debug output. Compare the 8-bit, 10-bit, and 16-bit transitions and verify the reported SetColorSpace1 error against the displayed output. Done means identifying whether the behavior is in the sample or environment and documenting the finding.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.