I recently figured out how nice Wine works for running old Windows games. However, many of them are fixed at 800x600 or another similarly low resolution. No big deal under X11 or Windows since the game will just stretch to fill the screen. But on KDE Wayland, the game just runs unscaled with black bars all around and none of the display settings seem to help. Is there an accepted way of setting the screen to a lower resolution but stretching it to fit the full display on Wayland sessions?

  • Max-P@lemmy.max-p.me
    link
    fedilink
    arrow-up
    3
    ·
    2 days ago

    It’s supposed to scale correctly, but otherwise Gamescope will take care of that particular issue.

    Kinda annoying on Xorg when the game just decides my screen should be 800x600 and then proceeds to crash and leave me at 800x600 on a 4K display with scaling set to 200%.

    • monovergent 🛠️@lemmy.mlOP
      link
      fedilink
      arrow-up
      3
      ·
      2 days ago

      Is the automatic scaling a recently-introduced feature to KDE? I have Plasma 5 on Debian 12, could that be the missing link, or is my configuration just wonky? Hoping to avoid editing every affected shortcut to include Gamescope.

      • HelloRoot@lemy.lol
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        2 days ago

        idk about you (and how many 800x600 games you have), but I have to edit the run command for a quarter of my games anyway, since they don’t interpret my setup correctly and look like shit or are simply unplayable. So I copy paste my default gamescope command and viola, chefs kiss, everything works.

        I think fullscreen worked differently on xorg vs wayland. I am on plasma 6 on a rolling distro and I like wayland a lot, especially when mixing monitor sizes and resolutions.

      • Max-P@lemmy.max-p.me
        link
        fedilink
        arrow-up
        3
        ·
        2 days ago

        Wine has always done that, last seen on Plasma 5 (I switched to Wayland with Plasma 6), and I remember that being a thing way back in 2007 too. Valved patched the scaling in Proton as well I believe so that might be why it didn’t do that.

        It behaves how fullscreen apps work on Windows, takes over your whole display and messes with the resolution and all.