[PR #2721] [MERGED] HDR: show the output on the F3 screen and in the log #4564

Closed
opened 2026-11-03 04:18:05 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2721
Author: @senjinthedragon
Created: 10/27/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @levzzz5154

Base: main ← Head: hdr-f3


📝 Commits (4)

  • 957a3c6 HDR: show the output on the F3 screen
  • fea8346 Merge remote-tracking branch 'origin/main' into hdr-f3
  • be26c6d HDR: log what the display offers, and when HDR turns on or off
  • 624be7d Merge remote-tracking branch 'origin/main' into hdr-f3

📊 Changes

3 files changed (+42 additions, -1 deletions)

View changed files

📝 crates/horizon-client-render/src/gfx.rs (+29 -1)
📝 crates/horizon-client-render/src/gfx/hdr.rs (+6 -0)
📝 crates/horizon-client/src/game/debug_keys.rs (+7 -0)

📄 Description

🤖 Opened by Senjin's AI agent (Claude Code), not by Senjin.

What and why

Follows #2021, part of #1441. Whether HDR is really on, and which path it took, can't be seen in a screenshot,
so a report from a player says little. While the HDR setting is on, F3 now shows it under the GPU lines:

  • HDR: HDR10 (PQ), 200/500 nits or HDR: scRGB, 200/500 nits: the swapchain HDR presents to, with the paper
    white and peak as set.
  • HDR: not offered by this display: the setting is on, but the surface offers neither.

The game's log gets the same facts, next to the adapter and surface format it already names, so a log
attached to a report shows them too:

  • at start: Horizon renderer: HDR output HDR10 (PQ) (or scRGB, or not offered by this display), what
    the surface offers, whether the setting is on or not;
  • Horizon renderer: HDR on: HDR10 (PQ) (Rgb10a2Unorm), 200/500 nits or Horizon renderer: HDR off when
    the output actually turns on or off (not on every paper white or peak change).

The F3 line joins the existing system group rather than a group of its own, which would shift the split
between the columns and move other groups to the other side. With the setting off (the default) nothing is
added, so the screen stays as vanilla's.

Vanilla reference

Horizon-only, F3 debug screen. Unchanged with HDR off.

Self-check

pr_ready (tools/pr_ready.py --quick, against origin/main)

Check Result
Scope ✅ 3 files, +42 −1
rustfmt ✅
clippy ✅
tests: horizon-client ✅ 1329 passed
doc tests ✅

Merges cleanly with #2638 and #2705.

Testing

Linux, KWin 6.8.1, NVIDIA RTX 2080, Alienware AW3423DW: the line shows HDR: HDR10 (PQ), 200/500 nits under
the GPU lines, in the system block's column; the log shows the offered output at start and the on line
when the setting turns HDR on.

Screenshots

HDR can't be shown in an SDR screenshot.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/2721 **Author:** [@senjinthedragon](https://github.com/senjinthedragon) **Created:** 10/27/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `hdr-f3` --- ### 📝 Commits (4) - [`957a3c6`](https://github.com/horizon-rust/horizon/commit/957a3c6622533bddac3b127b0643bff459980916) HDR: show the output on the F3 screen - [`fea8346`](https://github.com/horizon-rust/horizon/commit/fea8346f23dcb6054790e9ad568aa61f0b61c30c) Merge remote-tracking branch 'origin/main' into hdr-f3 - [`be26c6d`](https://github.com/horizon-rust/horizon/commit/be26c6db8821416ac6ec45a551636b12e4d87f7b) HDR: log what the display offers, and when HDR turns on or off - [`624be7d`](https://github.com/horizon-rust/horizon/commit/624be7df864ef6f344c6befa7e91ec9dccb344d5) Merge remote-tracking branch 'origin/main' into hdr-f3 ### 📊 Changes **3 files changed** (+42 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/gfx.rs` (+29 -1) 📝 `crates/horizon-client-render/src/gfx/hdr.rs` (+6 -0) 📝 `crates/horizon-client/src/game/debug_keys.rs` (+7 -0) </details> ### 📄 Description > 🤖 Opened by Senjin's AI agent (Claude Code), not by Senjin. ## What and why Follows #2021, part of #1441. Whether HDR is really on, and which path it took, can't be seen in a screenshot, so a report from a player says little. While the HDR setting is on, F3 now shows it under the GPU lines: - `HDR: HDR10 (PQ), 200/500 nits` or `HDR: scRGB, 200/500 nits`: the swapchain HDR presents to, with the paper white and peak as set. - `HDR: not offered by this display`: the setting is on, but the surface offers neither. The game's log gets the same facts, next to the adapter and surface format it already names, so a log attached to a report shows them too: - at start: `Horizon renderer: HDR output HDR10 (PQ)` (or `scRGB`, or `not offered by this display`), what the surface offers, whether the setting is on or not; - `Horizon renderer: HDR on: HDR10 (PQ) (Rgb10a2Unorm), 200/500 nits` or `Horizon renderer: HDR off` when the output actually turns on or off (not on every paper white or peak change). The F3 line joins the existing `system` group rather than a group of its own, which would shift the split between the columns and move other groups to the other side. With the setting off (the default) nothing is added, so the screen stays as vanilla's. ## Vanilla reference Horizon-only, F3 debug screen. Unchanged with HDR off. ## Self-check **pr_ready** (`tools/pr_ready.py --quick`, against origin/main) | Check | Result | | --- | --- | | Scope | ✅ 3 files, +42 −1 | | rustfmt | ✅ | | clippy | ✅ | | tests: horizon-client | ✅ 1329 passed | | doc tests | ✅ | Merges cleanly with #2638 and #2705. ## Testing Linux, KWin 6.8.1, NVIDIA RTX 2080, Alienware AW3423DW: the line shows `HDR: HDR10 (PQ), 200/500 nits` under the GPU lines, in the system block's column; the log shows the offered output at start and the on line when the setting turns HDR on. ## Screenshots HDR can't be shown in an SDR screenshot. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:18:05 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#4564
No description provided.