libretro / libretro/RetroArch

Automatically enable/disable HDR when moving window between SDR and HDR displays

Open
#13,103 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

hdr platform: windows
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Expected behavior

HDR mode turns off after moving RetroArch window to an SDR display, and turns back on after moving back to the HDR display,

Actual behavior

HDR mode is still on when moved to an SDR display, resulting in brighter colors.

Steps to reproduce the bug
  1. Go into Settings -> Video -> HDR.
  2. Click Enable HDR to turn on, and go back.
  3. Move window to an SDR display to see the result.
Bisect Results

This happened when HDR support first got added.

Version/Commit
  • RetroArch: 1.9.9/3688861
Environment information
  • OS: Windows 10
  • Compiler: MinGW (10.2.0) 64-bit

Contributor guide

Open the contributing guide

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 by tracing RetroArch's Windows HDR handling and the window/display transition path described in the reproduction steps. Verify behavior by enabling HDR, moving the window between HDR and SDR displays, and confirming HDR turns off and back on appropriately.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.