Skip to content

Content-driven HDR output and Legion Go 2 display script#2148

Open
matte-schwartz wants to merge 3 commits into
ValveSoftware:masterfrom
matte-schwartz:matts/go2-workarounds
Open

Content-driven HDR output and Legion Go 2 display script#2148
matte-schwartz wants to merge 3 commits into
ValveSoftware:masterfrom
matte-schwartz:matts/go2-workarounds

Conversation

@matte-schwartz
Copy link
Copy Markdown

@matte-schwartz matte-schwartz commented Apr 27, 2026

Some HDR panels (e.g. Legion Go 2) bypass sysfs backlight control while running in PQ mode, leaving the Steam brightness slider non-functional for SDR content and non-linear for HDR content. As a workaround, add an opt-in content-driven HDR mode that switches the panel to HDR only while an app is actively submitting HDR content.

This doesn't fix the underlying issue so the slider will still be non-linear for HDR content, but it makes the device more usable for SDR content and the Steam UI until there's proper brightness-control support for internal HDR panels that cannot blend hardware and gamma brightness control together.

This uses the current content being displayed to determine whether or
not to engage an HDR colorspace.
Add VFP timings for the non-VRR frame limiter, and enable content_driven
HDR mode to workaround lack of Steam support for backlight control while
the Go 2's panel is outputting PQ content.

This can be re-assessed when Steam supports internal panels with HDR
that behave less like the Steam Deck OLED when it comes to brightness
adjustment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant