Bug 426263 - XWayland applications can't see the native resolution if scaling is applied
Summary: XWayland applications can't see the native resolution if scaling is applied
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kscreen (show other bugs)
Version: 5.19.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2020-09-06 22:27 UTC by twinshadows404
Modified: 2021-03-30 21:08 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.