Are you using a scaling factor with x11 legacy apps set to be "scaled by system"? That runs them at a lower resolution and scales them up. You can fix it by either using Gamescope or changing it to x11 apps "scale themselves".
Linux Gaming
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:
Yes, this is it. I have a 1080p monitor and a 1440p monitor of the same size. Without scaling it does weird things when moving between monitors. It defaults to system scaling.
It is because you have two monitors with different scaling, re your reply below. I have the same problem with my 4K and 1440p monitors as well (200% and 150% scaling, respectively). This has been a rather big problem IMO, so much so that I have not really used the scaling that much and instead relied on increasing font size.
The reason why is that games run through Xwayland, and X only has global scaling factor setting and not a per monitor one. Therefore they have to do some weird stuff that I can not adequately explain, but which is the reason for the applications thinking they are on a lower resolution than they really are.
I actually did a benchmark yesterday and it doesn't really seem to matter performance wise (I thought they might both upscale and downscale, but that seems to not be the case from my testing). It is also possible to tinker with gamescope if any games do not display properly.
This happened to me on some games when I had fractional scaling turned on, ie scaled my desktop to 125%
Are you using GloriousEggroll's Proton-GE or similar? Perhaps one of his fullscreen or resolution hacks is confusing some games?
The proton version I use doesn't seem to make a difference. I've tried GE and some regular versions and nothing changes.
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?
Are you using Wayland or X? Do you see the same behaviour in both?
This is in Wayland. I can't log in under X11, it just keeps kicking me back to the login screen unless I use Wayland.
Will they let you go higher if you switch to windowed?
No, if I go windowed, it detects a lower resolution.