Bug 453268 - KWin's Wayland session limits framerate when borderless in XWayland applications.
Summary: KWin's Wayland session limits framerate when borderless in XWayland applicati...
Status: RESOLVED DUPLICATE of bug 450914
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.24.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-01 18:32 UTC by nexustcrax
Modified: 2022-05-02 15:08 UTC (History)
1 user (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 nexustcrax 2022-05-01 18:32:52 UTC
On KWin's Wayland session, the framerate inside XWayland applications gets limited to the monitor's refresh rate when either setting the window to become fullscreen or removing its borders through the context menu. This can be seen with glxgears. 

STEPS TO REPRODUCE
1. Run "env vblank_mode=0 __GL_SYNC_TO_VBLANK=0 glxgears"
2. Remove the window borders with the context menu (Alt-F3->More Actions->No border).


OBSERVED RESULT
The framerate is uncapped until the window borders get removed, then it drops to the monitor refresh rate.

EXPECTED RESULT
Uncapped framerate

SOFTWARE/OS VERSIONS
OS: openSUSE Tumbleweed
Linux Kernel: 5.17.4-1 
KDE Plasma Version:  5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I also tested Mutter and wlroots (Wayfire) to reproduce the issue there, both through a standalone wayland session and nested inside KWin itself, but both work as expected.
Comment 1 Zamundaaa 2022-05-02 15:08:36 UTC

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