My normal command is
gamescope -f -W 2560 -H 1440 -r 144 --force-grab-cursor --mangoapp -- %command%
and games would work just fine. as of yesterday or so games would no longer launch no matter the game. If I remove gamescope it launches fine. I would Like to keep using gamescope but I did some research and apparently there used to be problems with NVIDIA and gamescope. I have used gamescope for many many games with no issues till now
I originally tried on my Endeavour OS install that I have been using for some time but then since I have been meaning to try out cachyos I then tried same thing there and it still does not work with gamescope. I have looked through the proton logs but if im being honest no idea what im looking for. Any help would be appreciated :)
- GPU: NVIDIA GeForce RTX 3080
- NVIDIA driver 575.64.05
- OS: CachyOS x86_64
Edit: I have tried proton versions
- Experimental
- Experimental bleeding edge
- 9.0-4
- 10.0-2 (beta)
- proton-CachyOS (native package)
Edit: pastebin for steam + games https://pastebin.com/4Rs7mHhi opening Mass effect https://pastebin.com/0NuUr6qd
23 Comments
mranderson17@infosec.pub · 6 pts · 1y
I see you made a comment in https://github.com/ValveSoftware/gamescope/issues/1913 . Did you try vkcube like someone earlier in that issue? And the other workarounds like
--expose-wayland?Also what version of gamescope? And you don't happen to be running steam as a flatpak do you?
EDIT: they JUST released a new version https://github.com/ValveSoftware/gamescope/compare/3.16.14...3.16.15 . So if you are having issues downgrading might be worth a try, but I haven't been able to reproduce the issues you are having.
Also, I know it sounds weird for a linux machine, but update and restart just to rule anything weird out. I've had steam and steam related applications leave around weird state, processes, etc. before and restarting is an easy way to clear that all out and start fresh, eliminating variables.
Blxter@lemmy.zip · 2 pts · 1y
I have tried --expose-wayland. I have tried normal gamescope and u roled back to an old version. I also tried gamescope-git (I think it's called). I will retry the expose Wayland again today though with other versions as I did not do that.
rtxn@lemmy.world · 2 pts · 1y
The Wayland backend has been fucky for a while. Try running it with
--backend sdl.Blxter@lemmy.zip · 1 pts · 1y
huge thanks!!! these seems to have worked
Edit what does this do exactly do you know? I dont see it on the arch wiki
rtxn@lemmy.world · 2 pts · 1y
Gamescope is a compositor, a self-contained graphical session, meant to run a single application. When it's running in a nested context, i.e. as a window inside another graphical environment, it needs some kind of interface to be able to render the picture onto a window's surface, and to receive inputs from it. The
--backend ...option defines which interface will be used to achieve that.waylandbackend uses some native Wayland protocols, but it's been broken for a while.sdlbackend uses SDL, which is a standalone rendering library often used by Linux-native games like Factorio and Stardew Valley. It simply captures Gamescope's output and renders it onto a window without any Wayland protocol fuckery.drmbackend is used when Gamescope runs in a rootful context, i.e. it is the only graphical environment, like big picture mode on the Steam Deck. It uses the Linux kernel's Direct Rendering Manager interface to render directly to the output device.headlessbackend runs Gamescope without opening a window or showing its output. Everything happens in the background.auto, which tries to guess the most optimal backend based on the runtime environment.Blxter@lemmy.zip · 1 pts · 1y
Nice thank you so much. It appears to not work for every game but works for others so that makes sense. The finals opened and played fine but mass effect didn't exactly open haha. Thanks again for all the info
Zaphod@discuss.tchncs.de · 2 pts · 1y
I have the problem. I usually just downgrade one or two versions
Blxter@lemmy.zip · 1 pts · 1y
I have tried other versions such as
3.15.5-1and3.16.14-1and gamescope-gitZaphod@discuss.tchncs.de · 2 pts · 1y
Hm give the latest 3.14.x or 3.13.x a try. I think those worked for me
bjoern_tantau@swg-empire.de · 1 pts · 1y
Does it launch when you don't use any commandline arguments? If yes you can then add them back one by one to find which one is making problems.
Blxter@lemmy.zip · 1 pts · 1y
Yes it launches with no commands. but it does not with just
ogeist@lemmy.world · 3 pts · 1y
What happens if you just do
gamescope -- %command%
Blxter@lemmy.zip · 2 pts · 1y
Same thing games do not launch
ogeist@lemmy.world · 1 pts · 1y
I see you paste some logs but they have expired, did you run steam through the terminal and got them? If you do so, you'll get a log of steam trying to launch the game.
Some time has already passed, so try to uodate your system again, it will probably fix it.
Blxter@lemmy.zip · 1 pts · 1y
Updated my system today still does not work. not sure why the logs were expired already here are new ones https://pastebin.com/F6C3gLtY
ogeist@lemmy.world · 2 pts · 1y
There are a couple interesting things:
Yet the final straw seems to be:
It seems there are some Nvidia drivers and gamescope compatibility issues, so you will most probably need to match Nvidia drivers with gamescope versions.
Blxter@lemmy.zip · 2 pts · 1y
I kind of came to the same conclusion... Maybe I will just wait a week or so and keep updating and trying again and see if it gets patched somehow as I'm not really sure how to fix it myself and since game still 'work' without it. Thank you so much for helping me look into this issue.
Maybe I will try to downgrade nvidia drivers tomorrow instead of gamescope
kewjo@lemmy.world · 1 pts · 1y
https://wiki.archlinux.org/title/Gamescope
might go through some of those troubleshooting steps and make sure you have drm kernel modeset.
one other thing you might try (at end of the page) by setting LD_PRELOAD=”” with the command which can at least rule out features that sometimes break on certain games. I've had game recording and overlay cause similar issues and could only launch after disabling those in game settings.
also might not need gamescope? mesa 25.1+ and proton 10+ have a lot of the features built in and I've not noticed much if any performance difference. now i only use gamescope if i run into issues and usually only if protondb shows consensus that you need to use gamescope or specific workarounds.
Blxter@lemmy.zip · 3 pts · 1y
The biggest reason why I wish to keep using gamescope at the moment is because I have an external capture card I use. My main monitor is 1440P I wish to render in 1440P but the capture card when I set to replicate my main (and only monitor besides capture card) it for some reason forces all games to render in 4k and if I try to change it it just breaks and is no longer full screen and notifications (steam and such) pop up in the middle of the screen. If there is another way to do this would love to know gamescope is just how I 'solved' it myself.
bisby@lemmy.world · 1 pts · 1y
Out of curiosity, what happens if you try to run gamescope from the terminal to just run anything (not even having proton in the mix).
For example:
If this doesn't run, you should get some log lines at least to let you know whats on fire with gamescope.
Blxter@lemmy.zip · 2 pts · 1y
this loaded fine (pretty cool never even knew I could do this...)
Looking at the logs thought I see two errors even though it ran.
bisby@lemmy.world · 3 pts · 1y
Well sorry. If it works for glxgears there is probably some other weird interaction happening with Steam + Gamescope + Game launching. (you could try to add glxgears as a non steam game to further push the boundaries of if anything will run from steam).
I don't have an nvidia GPU so I couldn't even possibly comment on the state of that situation, but I wish you the best of luck.
Blxter@lemmy.zip · 2 pts · 1y
Thanks for trying :)