this post was submitted on 22 Jul 2024
1 points (100.0% liked)

Linux Gaming

14890 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
 

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?

top 15 comments
sorted by: hot top controversial new old
[–] [email protected] 0 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

[–] [email protected] 0 points 1 month ago (1 children)

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

[–] [email protected] 0 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.

[–] [email protected] 0 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"?

[–] [email protected] 0 points 1 month ago

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.

[–] [email protected] 0 points 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 adequatly 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 upscale and downscale, but that seems to not be the case from my testing). There is also possible to tinker with gamescope if any games do not display properly.

[–] [email protected] 0 points 1 month ago

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

[–] [email protected] 0 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".

[–] [email protected] 0 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.

[–] [email protected] 0 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?

[–] [email protected] 0 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.

[–] [email protected] 0 points 1 month ago (1 children)

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

[–] [email protected] 0 points 1 month ago

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

[–] [email protected] 0 points 1 month ago (1 children)

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

[–] [email protected] 0 points 1 month ago

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.