Skip to content

HDR no longer works with Sway #2008

@njdom24

Description

@njdom24

Is there an existing issue for this?

  • I have searched the existing issues

Are you using any gamescope patches or a forked version of gamescope?

  • The issue occurs on upstream gamescope without any modifications

Current Behavior

The changes introduced in #1999 stop Sway from getting an HDR output from Gamescope. I think the checks in SupportsColorManagement() are too restrictive.

Steps To Reproduce

  1. Run sway-git, swaymsg output DP-1 hdr on
  2. Launch app with Gamescope
  3. Sway gets HDR image tonemapped to SDR instead of HDR output

Hardware information

- Distro: NixOS 25.11 (Xantusia)
- CPU: AMD Ryzen 7 9700X
- GPU: AMD Radeon RX 9070 XT
- Driver Version:

Software information

- Desktop environment: `sway version 1.12-dev`
- Session type: Wayland
- Gamescope version: gamescope version 7d4e835a25cc85017380cbd743d517b48932fb75 (gcc 14.3.0)
- Gamescope launch command(s): `gamescope --hdr-enabled --hdr-debug-force-support -- vkcube`

Which gamescope backends have the issue you are reporting?

  • Wayland (default for nested gamescope)
  • DRM (default for embedded gamescope, i.e. gamescope-session)
  • SDL
  • OpenVR

Logging, screenshots, or anything else

[gamescope] [Info]  xdg_backend: HDR INFO
[gamescope] [Info]  xdg_backend:   cv_hdr_enabled: true
[gamescope] [Info]  xdg_backend:   uMaxLum: 10000, uRefLum: 203
[gamescope] [Info]  xdg_backend:   bExposeHDRSupport: false

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions