Open nambarn opened 1 week ago
Unless you copy-pasted wrong, I imagine gamescope is crashing for you because you haven't supplied an argument to --backend
. From gamescope's --help
output:
--backend select rendering backend
auto => autodetect (default)
drm => use DRM backend (standalone display session)
sdl => use SDL backend
openvr => use OpenVR backend (outputs as a VR overlay)
headless => use headless backend (no window, no DRM output)
wayland => use Wayland backend
As you are on X11, I would just go with auto
or sdl
.
Switched to Fedora 41 (KDE) yesterday, having the same issue (specifically with CS2).
My launch option is: gamescope -W 1920 -H 1080 -w 1440 -h 1080 -S stretch -f -e -r 144.0 --force-grab-cursor --backend auto %command%
The game instantly crashes for me.
EDIT: Running gamescope -- %command%
does launch the game, so I'm not really sure what is causing all of this
EDIT2: Running gamescope -W 1920 -H 1080 -w 1440 -h 1080 -S stretch -f -e -r 144.0 --force-grab-cursor -- %command%
worked for me and starts the game :)
@nambarn let me know if it works for you, if not, I can try to do some testing as well :)
EDIT: My mistake as well was the missing --
separator.
For me with Fedora 41, gamescope crashes both under KDE (Wayland) and Sway, no matter the flags. I tried both sdl and wayland backends and also tried setting the SDL backend to X11 (that was for me a necessary fix under Fedora 40).
Here are some logs (the game tested is Northgard, DirectX version, with GE-Proton9-18)
gamescope %command%
gamescope --expose-wayland %command%
gamescope --backend sdl %command%
SDL_VIDEODRIVER=x11 gamescope --backend sdl %command%
(this one worked on Fedora 40)
gamescope --backend wayland %command%
gamescope --backend wayland --expose-wayland %command%
These are still incorrect, it needs to be gamescope -- %command%
I'll try later. Is this a new thing with gamescope or is it related with some Steam change? I didn't need that separation before.
If it worked without that separation in the past, it was dumb luck afaik. Maybe the recent Steam for Linux client Steam runtime changes caused this, but what goes on with the Steam client is a mystery to me as well.
It does work with the separation, sorry for the confusion! It indeed worked without separation all the time, so I assume something has changed with how steam does stuff.
If it worked without that separation in the past, it was dumb luck afaik. Maybe the recent Steam for Linux client Steam runtime changes caused this, but what goes on with the Steam client is a mystery to me as well.
It worked without separation for at least a year. This literally "broke" after updating to Fedora 41.
If it worked without that separation in the past, it was dumb luck afaik. Maybe the recent Steam for Linux client Steam runtime changes caused this, but what goes on with the Steam client is a mystery to me as well.
It worked without separation for at least a year. This literally "broke" after updating to Fedora 41.
Yeah it's a weird issue, but it should work with the --
now!
Is there an existing issue for this?
Are you using any gamescope patches or a forked version of gamescope?
Current Behavior
Steps To Reproduce
Hardware information
Software information
Which gamescope backends have the issue you are reporting?
Logging, screenshots, or anything else
No response