this post was submitted on 22 Jul 2024
51 points (98.1% liked)
Linux Gaming
15300 readers
15 users here now
Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME
away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.
This page can be subscribed to via RSS.
Original /r/linux_gaming pengwing by uoou.
Resources
WWW:
Discord:
IRC:
Matrix:
Telegram:
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I've solved most of my monitor problems on Wayland by using Gamescope. For example Enlisted (native) will insist on spanning across my 2 1080 monitors, or Helldivers 2 won't boot on fullscreen while showing a white line on borderless. Also most games won't properly grab the cursor.
On any steam game add this as launch options:
gamescope -w 2560 -h 1440 -r 60 -f -e %command%
This will make the game think it's always running in the foreground, and in the resolution/refresh rate you specify.
If you want to add extra commands, like mangohud or gamemoderun, put them before gamescope
Hope this helps ya, GL&HF
What are the sideffects of gamescope? Can I specify which monitor the game is running?
Used to be really finnicky but lately (last 6 months let's say) it's worked just fine. The only downside is that it might get hanged in the background and steam will show the game still running.
So it's a layer that says "bro I got this, don't mind that I run this game in the background and let take care of resolution with Hz"?
It's basically a compositor, on top or your main compositor. So games aren't aware of the outer compositor (which will be Gnome or KDE or whatever) and just see a display with whatever dimensions you give to it.
Hmm isn't that inefficient?