-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
- 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.