Bug 469818

Summary: Games unable to render properly at 150% scaling
Product: [Plasma] kwin Reporter: jacobstephensusn
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: andrej.halv, xaver.hugl
Priority: NOR Keywords: wayland
Version: 5.27.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jacobstephensusn 2023-05-15 19:05:48 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. ASUS ROG Kernel (6.3.1-201.rog_6f144cb34020.fc38)
2. Native display (2560x1600)
3. Scale = 200%

OBSERVED RESULT
Full screen games do not display. The screen bugs out (specifically just shows the desktop but doesn't allow for interaction unless a kill command or alt+tab are used); however, when changing the scaling to 100% or 200% the issue is resolved. It also seems that some games that are defaulted to starting in windowed mode are exempt from this issue. 

EXPECTED RESULT
Game launches in full screen, even if scaling/resolution aren't correct. The ability to fix this mismatch in-game is expected.

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: Fedora Linux 38 (KDE Plasma)
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
Comment 1 jacobstephensusn 2023-05-15 19:08:33 UTC
I forgot to mention that I am on Wayland. I can test on X11 if you'd like.
Comment 2 Zamundaaa 2023-05-16 12:38:06 UTC
This sounds a lot like bug 466454. If you change the scale up or down just a bit, like 140% or 160%, does it work with that?
Comment 3 jacobstephensusn 2023-05-16 14:07:16 UTC
(In reply to Zamundaaa from comment #2)
> This sounds a lot like bug 466454. If you change the scale up or down just a
> bit, like 140% or 160%, does it work with that?

140% presented the same issue
160% worked as intended
Comment 4 jacobstephensusn 2023-05-16 14:10:48 UTC
It does seem to exactly mirror Juan's comment from 2023-03-29 in bug ticket 466454
Comment 5 Zamundaaa 2023-05-16 15:06:14 UTC
great, then this will be fixed in a future version of Xwayland

*** This bug has been marked as a duplicate of bug 466454 ***