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?

  • Klaymore@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    23
    ·
    5 months ago

    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.worldOP
      link
      fedilink
      English
      arrow-up
      12
      ·
      5 months 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
    link
    fedilink
    English
    arrow-up
    18
    ·
    edit-2
    5 months 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.

  • Willdrick@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    5 months ago

    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
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

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

      • Willdrick@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 months ago

        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
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 months ago

          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
            link
            fedilink
            English
            arrow-up
            3
            ·
            5 months 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.

    • moody@lemmings.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 months ago

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