this post was submitted on 22 Jul 2024
50 points (98.1% liked)

Linux Gaming

14927 readers
50 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
 

This is a recent issue, and I don't know what has changed to cause it. There seems to be no rhyme or reason as to which games work and which ones don't. My monitor's resolution is set to 2560 x 1440 in the display settings, but some games don't recognize it.

Of the games I have installed, Subnautica, Dark Souls III, Sekiro, Control, Hades, and Hi-Fi Rush think my native resolution is 1896 x 1067 and they won't let me change it to anything higher than that.

Elden Ring, Ark Survival Ascended, and Returnal detect my resolution correctly and work fine.

This is all from Steam without any custom launch settings, and with and without gamescope. I've tried custom resolution command line options for Subnautica and that hasn't helped either.

I'm running an RX 6700 XT on Nobara with everything currently up to date. I'm not sure when this issue started, but it's recent, probably within the last week or so. I've definitely run Control and Sekiro at the correct resolution before, but in my recent testing they no longer work right.

Does anyone know what could be causing this? Why some games work fine and others don't?

all 17 comments
sorted by: hot top controversial new old
[–] Klaymore@sh.itjust.works 24 points 1 month ago (1 children)

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".

[–] moody@lemmings.world 12 points 1 month ago

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.

[–] Urist@lemmy.ml 18 points 1 month ago* (last edited 1 month ago)

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.

[–] Codilingus@sh.itjust.works 7 points 1 month ago

This happened to me on some games when I had fractional scaling turned on, ie scaled my desktop to 125%

[–] mox@lemmy.sdf.org 6 points 1 month ago (1 children)

Are you using GloriousEggroll's Proton-GE or similar? Perhaps one of his fullscreen or resolution hacks is confusing some games?

[–] moody@lemmings.world 2 points 1 month ago

The proton version I use doesn't seem to make a difference. I've tried GE and some regular versions and nothing changes.

[–] Willdrick@lemmy.world 5 points 1 month ago (1 children)

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

[–] Psyhackological@lemmy.ml 1 points 1 month ago (1 children)

What are the sideffects of gamescope? Can I specify which monitor the game is running?

[–] Willdrick@lemmy.world 3 points 1 month ago (1 children)

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.

[–] Psyhackological@lemmy.ml 1 points 1 month ago (1 children)

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"?

[–] vividspecter@lemm.ee 3 points 1 month ago (1 children)

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.

[–] Psyhackological@lemmy.ml 1 points 1 month ago

Hmm isn't that inefficient?

[–] TheAgeOfSuperboredom@lemmy.ca 4 points 1 month ago (1 children)

Are you using Wayland or X? Do you see the same behaviour in both?

[–] moody@lemmings.world 3 points 1 month ago (1 children)

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.

[–] bionicjoey@lemmy.ca 2 points 1 month ago (1 children)

Will they let you go higher if you switch to windowed?

[–] moody@lemmings.world 2 points 1 month ago

No, if I go windowed, it detects a lower resolution.