https://bugs.kde.org/show_bug.cgi?id=501505

            Bug ID: 501505
           Summary: [Regression] KWin Wayland not allowing apps to
                    fullscreen at 640x480, 800x600, and 1024x768 affects a
                    huge list of old games that would otherwise run fine
    Classification: Plasma
           Product: kwin
           Version: 6.2.4
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: e...@horse64.org
  Target Milestone: ---

SUMMARY

KWin Wayland doesn't seem to allow apps to fullscreen at letterboxed old
resolutions 640x480, 800x600, and 1024x768 on a Full HD widescreen panel. In
the era of everything being some GPU surface there doesn't seem really to be a
good reason, and under KWin X11 this seems to have worked fine:
https://discuss.kde.org/t/old-games-with-fixed-resolutions-in-wine-no-longer-run-in-full-screen-since-plasma-6/17770/5

The lack of the resolutions working affects a huge list of old games, probably
multiple hundreds, that would otherwise run fine, both older 32bit Windows
games from the 98 to XP era, and even some native Linux ports of those that
I've seen.

STEPS TO REPRODUCE

1. Try to launch any application that insists on launching at any of 640x480,
800x600, 1024,x768. It can be a Windows app running through wine, or a basic
SDL1 or SDL2 Linux app.

OBSERVED RESULT

The app will either use a wildly wrong mode, which involves some broken
combinations of: 1. renders in frameless window in top-left with rest of the
screen showing random other stuff, 2. renders stretched rather than letter
boxed (this is rare), 3. renders completely off-center but with even some parts
cut off, and so on. And this is usually combined with the mouse coordinates
being so off, that it's impossible to use the program.

Or the app will give you an error and not even start up.

EXPECTED RESULT

The resolutions work, and are scaled up and letterboxed by KWin as necessary if
the physical screen doesn't have a built-in scaler to do that. Aspect-ratio
should be preserved by default.

SOFTWARE/OS VERSIONS

Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: postmarketOS v24.12 based on Alpine 3.21.3
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to