Skip to content

Game running in wine wayland has weird gamma curve in current sway git #8918

@v44r

Description

@v44r
  • sway version 1.12-dev-90d32709 (Oct 10 2025, branch 'master')
  • swaylog
  • stock config

When I run a game under wine wayland (DISPLAY= wine game.exe) the gamma curve seems wrong. Gamma slider goes from too dark to too bright in just a couple of steps, and dark areas in videos are full of blocky artifacts independent of the gamma setting I choose (unless I black crush everything):

wayland gamma settings: https://streamable.com/oicoij (notice I just move the slider two or three pixels and it goes from too dark to too bright)

Under Xwayland (wine game.exe) the game looks perfect.

xwayland gamma settings: https://streamable.com/2ouq1q (much more gradual gamma adjustment)

This is with HDR disabled (DXVK_HDR=0).

This does not happen in sway 1.11 + wlroots 0.19. In 1.11+0.19 the game looks identical under wayland or xwayland and the gamma curve looks the same as in the above 1.12 xwayland video. In other compositors (tested in Hyprland) they also look the same in wayland and xwayland.

I've also attached the wine logs in the above swaylog gist, but a diff does not show anything relevant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions