Bug 426263

Summary: XWayland applications can't see the native resolution if scaling is applied
Product: [Applications] systemsettings Reporter: twinshadows404
Component: kcm_kscreenAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: daniel, kde, nate, plasma-bugs
Priority: NOR Keywords: wayland
Version: 5.19.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=389191
Latest Commit: Version Fixed In:

Description twinshadows404 2020-09-06 22:27:09 UTC
SUMMARY
If I set scaling to 2x, instead of 2440x1440p, the highest resolution that I can set within a 3D application is 1280x720p. Not reproducible on X11.

STEPS TO REPRODUCE
1. Set scaling to 2x  
2. Try to set the native resolution in a 3D application

OBSERVED RESULT
The highest resolution I can set is 1280x720

EXPECTED RESULT
I can set it to the native resolution of the monitor 

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20200902
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0
Kernel Version: 5.8.4-1-default
OS Type: 64-bit
Comment 1 twinshadows404 2020-10-29 03:36:15 UTC
Still reproducible on 5.20.
Tested in Doom and Supertuxkart.
Comment 2 twinshadows404 2021-02-17 01:27:21 UTC
Still reproducible on 5.21.
Comment 3 David Edmundson 2021-02-17 07:10:19 UTC
This will go away if those apps are run in native Wayland.

You may consider wrapping the process in Gamescope as a workaround.

There is little we can do at our level.
Comment 4 Nate Graham 2021-03-30 21:08:04 UTC
This is mostly an XWayland limitation. See also Bug 389191. There are upstream efforts to solve it, but nothing concrete has happened yet.