Gamescope refuses to work with Steam

Okay so it seemingly works? I did notice that this one game didnt run but it had unique launch options so maybe thats why? (the others fixed by using the cachyOS proton version)

Assume all these args are also in launch args
args = [
“–output-width 2560”
“–nested-width 2560”
“–output-height 1440”
“–nested-height 1440”
“–expose-wayland”
“–force-grab-cursor”
“–adaptive-sync”
“–fullscreen”
];

PROTON_ENABLE_WAYLAND=1 PROTON_NO_WM_DECORATION=1 DXVK_HDR=1 LD_PRELOAD=“” gamescope --hdr-enabled – env LD_PRELOAD=“$LD_PRELOAD” gamemoderun %command%

Either way it seems to work, so that’s fortunate ^~^ (removing PROTON_ENABLE_WAYLAND=1 PROTON_NO_WM_DECORATION=1 fixes it)

1 Like

That makes a lot more sense :smiley: You had me digging through the chaotic nyx repo trying to figure out what I’m doing differently, but no, the derivations should be very nearly identical.

Also, whoa, that repo had a lot of spaghetti code. Not atypical for nix repos, I suppose.

1 Like

Yeah well thank you for looking through it anyhow, the effort is very much appreciated. :woman_bowing:

If anyone looks at this thread in the future here is the current commit with working gamescope.

Thank you!

1 Like