Bug 507428 - [Regression] Fullscreen doesn't display properly in some Linux-native games when fractional scaling is used since Plasma 6.4.0
Summary: [Regression] Fullscreen doesn't display properly in some Linux-native games w...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (other bugs)
Version First Reported In: 6.4.0
Platform: Fedora RPMs Linux
: HI major
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-24 07:49 UTC by Bugget
Modified: 2025-08-25 03:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
The game when started in fullscreen with 125% scaling (62.17 KB, image/png)
2025-07-24 07:49 UTC, Bugget
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bugget 2025-07-24 07:49:45 UTC
Created attachment 183480 [details]
The game when started in fullscreen with 125% scaling

After upgrading to Plasma 6.4, when using Wayland, I started having a problem where some games that run natively on Linux display weirdly in fullscreen, more precisely the game window shows up at the left side with the rest of the fullscreen window being black. This doesn't happen if I scale the screen to 100%, then start the game, after which I could set the scaling back to the desired value above 100% to work around the problem completely. I would prefer not to have to do this as 100% scaling is too small for me on my 1440p monitor.

Steps to reproduce:
1. Enable fractional scaling in Plasma 6.4.0 or later
2. Open a Linux-native game in fullscreen which is affected by this issue(doesn't seem to happen with all games)

Observed result:
The game opens, but the window displays smaller and on the left side of the screen.

Expected result:
The game displays on the entire screen.

Software/ OS versions:
Linux: Fedora 42 kernel 6.15.7
KDE Plasma Version: 6.4.0
KDE Frameworks Version:  6.16.0
Qt Version: 6.9.1

Additional information:
Unlike in the previous versions of Plasma, the same game runs natively on Wayland instead of through XWayland and can't be forced to run through XWayland(as trying to do so results in the game failing to launch).
Comment 1 David Edmundson 2025-07-24 10:00:35 UTC
Please list some of the specific affected games.
Comment 2 Bugget 2025-07-26 09:19:51 UTC
(In reply to David Edmundson from comment #1)
> Please list some of the specific affected games.

For now I've only had this issue with 100% Orange Juice (which is shown in the image). I also forgot to mention that another issue is that the system's cursor is showing up along with the game's custom cursor unlike in previous versions of Plasma.

I haven't encountered this issue with any other games while using Plasma 6.4.x, but it's possible some others are affected as well.
Comment 3 Bug Janitor Service 2025-08-10 03:46:23 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-08-25 03:47:17 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.