| Summary: | KWin performance drops while Adaptive Sync is set to "Always" | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Davut <davutdemir16> |
| Component: | performance | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | kinetocore, nate, xaver.hugl |
| Priority: | NOR | ||
| Version First Reported In: | 6.1.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Video demonstrating the performance drop
X server info from KDE panel Wayland info OpenGL info Window manager info |
||
|
Description
Davut
2024-06-23 14:11:13 UTC
Created attachment 170929 [details]
X server info from KDE panel
Hi! I can somehow confirm something similar on my system: Operating System: Fedora Linux 40 KDE Plasma Version: 6.1.0 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.1 Kernel Version: 6.9.5-200.fc40.x86_64 (64-bit) Graphics Platform: Wayland Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor Memory: 31.2 GiB of RAM Graphics Processor: AMD Radeon RX 6750 XT Mesa: 24.1.2 Usually happens when i start a game via Steam but not always. I've noticed that if i touch the left border of the monitor, enabling the desktop switch, click again on desktop and then launch a game (ex. Doom (2016)), my performance goes from steady 144 fps to barely 30 fps. Same thing with the benchmark GravityMark, goes from 100 fps to 15-16 fps. If i reboot the system, the problem is fixed. If you need more information, just ask, i'll gladly provide :) Created attachment 170930 [details]
Wayland info
Created attachment 170931 [details]
OpenGL info
Created attachment 170932 [details]
Window manager info
(In reply to Leonardo from comment #2) > If you need more information, just ask, i'll gladly provide :) I can reproduce that issue with Doom 2016, it'll go down in refresh rate to 60Hz, but it also goes back up again after 10-20s on my PC. Please make a separate bug report about that, it'll be unrelated to this one. (In reply to Davut from comment #0) > I attached a video demonstrating how a discord start up effects the > performance of KWin while using adaptive sync in automatic mode. I realized > this issue as soon as 6.1 released since i am used to use kwin on 144fps and > it drops down to about 60 or less. This is expected; with adaptive sync set to always, KWin drops the refresh rate of the screen down to the focused window if that window is doing at least 30fps itself. With Electron apps like Discord specifically, they do not handle adaptive sync correctly, which is why they'll be rendering only at 60Hz. It'll be fixed eventually in Chromium / Electron. |