Bug 527628 - Major game performance degradation after updating to 6.8.1 (DRM color pipeline)
Summary: Major game performance degradation after updating to 6.8.1 (DRM color pipeline)
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: performance (other bugs)
Version First Reported In: 6.8.1
Platform: Arch Linux Linux
: HI normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 527116 527666 527668 527672 527693 527749 527766 527847 527858 (view as bug list)
Depends on:
Blocks:
 
Reported: 2026-10-22 20:27 UTC by Marius Kaufmann
Modified: 2026-11-02 10:47 UTC (History)
17 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.8.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Kaufmann 2026-10-22 20:27:54 UTC
DESCRIPTION
Video game performance (FPS) in several tested video games heavily degrades after upgrade to kwin 6.8.1.
Specifically the video games I tested were Genshin Impact, Honkai: Star Rail and NTE: Neverness to Everness, all running via Proton / Wine.

STEPS TO REPRODUCE
1. Update from kwin 6.8.0 to 6.8.1
OR set environment variable KWIN_DRM_USE_COLOR_PIPELINE=0 on 6.8.0
2. Reboot
3. Launch game with Mangohud for FPS Measurement

OBSERVED RESULT
Game performance heavily degraded.
With second monitor active and at 150 % scaling: ~40 FPS in NTE and 30 FPS in Genshin
With second monitor active and at 100% scaling: ~80 FPS in NTE and 60 in Genshin (Capped)
With second monitor disabled: ~100 FPS in NTE and 60 in Genshin (Capped)
With KWIN_DRM_USE_COLOR_PIPELINE=1, second monitor active and at 150% scaling: 120 FPS in NTE (Capped) and 60 FPS in Genshin (Capped), performance like it was before the update

Additionally with vsync off, second monitor on and at 150% scaling, Genshin reached 60 FPS but felt very stuttery. With 200% scaling on the second monitor instead of 150% and vsync on, Genshin reached about 38.

All tests were performed with HDR disabled on every display that supports HDR.
Note that I use FSR frame generation in NTE so base frame rate is approximately half.
I did not measure FPS in Honkai: Star Rail but it felt very choppy so I think it was also affected.

EXPECTED RESULT
Performance unaffected: 120 FPS in NTE (Capped) and 60 FPS (Capped) in Genshin Impact

SOFTWARE/OS VERSIONS
Operating System: Arch Linux, kernel 7.2.11.zen1-1-zen, Wayland session
KDE Plasma Version: 6.8.1
KDE Frameworks Version: 6.31.0
Qt Version: 6.12.0

kwin Version: 6.8.1 (regression) vs kwin 6.8.0 (good)

ADDITIONAL INFORMATION

GPU: AMD Radeon RX 7900 XTX (Navi 31, 1002:744c)
CPU: Ryzen 9 5900X

Monitor setup:

DP-2 (primary) : Gigabyte AORUS FO32U2P | 3840x2160@239.98 | Scaling 100%, ICC profile active
DP-3: LG Ultra HD | 3840x2160@60 | Scaling 150% (also reproduced at 200%)
HDMI-A-1: Philips FTV | 3840x2160@60 | disabled but connected during all the tests, Scaling 100%

kwin logs mention the following during gameplay:
Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!

Workaround:
Setting the environment variable KWIN_DRM_USE_COLOR_PIPELINE=1 on kwin 6.8.1 restores the 6.8.0 performance.

This regression seems to be a result of commit 01222b41 disabling the color pipeline in response to bug #525839. However disabling the color pipeline seems to severely affect performance on my system so this doesn't seem to be a good solution for every case. I have not noticed any of the color issues on my system that the original bug report describes so far.
Comment 1 Sebin Nyshkim 2026-10-22 22:10:14 UTC
I can corroborate the issue. After updating to Plasma 6.8.1, full screen applications (games, emulators) perform noticeably worse with an ICC color profile active.

I noticed severely degraded performance in RetroArch and DOSBox-Staging. Sound becomes delayed, stretched out or crackles. Framerate also plummets as if the system suddenly doesn't have the power to run games anymore. Steam games such as Witcher 3 and Gravity Circuit suffer from the same symptoms.

Setting KWIN_DRM_USE_COLOR_PIPELINE=1 (via a config file in ~/.config/environment.d/) restores expected performance levels.

Tested on both my desktop and Framework Laptop 13.

DESKTOP SPECS

Operating System: Arch Linux
KDE Plasma Version: 6.8.1
KDE Frameworks Version: 6.31.0
Qt Version: 6.12.0
Kernel Version: 7.2.11-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: AMD Radeon RX 9070 XT

LAPTOP SPECS

Operating System: Arch Linux 
KDE Plasma Version: 6.8.1
KDE Frameworks Version: 6.31.0
Qt Version: 6.12.0
Kernel Version: 7.2.11-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen AI 5 340 w/ Radeon 840M
Memory: 32 GiB of RAM (23.3 GiB usable)
Graphics Processor: AMD Radeon 840M Graphics
Comment 2 Lea Seibert 2026-10-22 22:31:39 UTC
I can confirm heavy performance degradation with compositing on 6.8.0 and 6.8.1, however from what I've observed it only happens if there is no additional layer composited on top (e.g. cursor plane). Even though this sounds similar to the criteria for direct scanout to kick in, I can verify compositing is always active according to the showcompositing effect.

The bug manifests in degradation whenever I focus a game, unpause or move the cursor to a different screen; anything that causes the window to be the only surface on the screen. I've also attempted setting `KWIN_FORCE_SW_CURSOR=0` and `KWIN_WAYLAND_SUPPORT_COMMIT_TIMING_V1=0` but to no change. Toggling VRR changes the behavior of the degradation, with VRR off the average FPS is closer to expected performance but it drops to about the same lows.
 
Kernel: 7.3.0
GPU: Radeon RX 9070 XT [Mesa 27.0.0-devel (git-b2dd8e4658)]
CPU: Ryzen 9 5950X
Displays: MSI MPG 321URX 3840x2160@240Hz, LG UltraGear 27GN800-B 2560x1440@144Hz
Comment 3 Roberta M 2026-10-23 10:20:14 UTC
I can corroborate this issue. A fullscreen game or overlay is not required in my case. Enabling HDR on one of my monitors is sufficient.

Sound becomes distorted and crackles, framerate plummets whenever i move my mouse. Problems cease when i move my mouse enough to trigger the "shake pointer" magnification feature. If i don't move my mouse, then performance is as expected.

Disabling HDR on my monitor immediately solves the issue. Problem is also solved by setting either KWIN_DRM_USE_COLOR_PIPELINE=1 or KWIN_FORCE_SW_CURSOR=1 in /etc/environment.

Operating System: Arch Linux 
KDE Plasma Version: 6.8.1
KDE Frameworks Version: 6.31.0
Qt Version: 6.12.0
Kernel Version: 7.2.11-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 9950X3D 16-Core Processor
Memory: 64 GiB of RAM (60,4 GiB usable)
Graphics Processor 1: AMD Radeon RX 7900 XTX
Graphics Processor 2: AMD Ryzen 9 9950X3D 16-Core Processor
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X870E AORUS ELITE WIFI7
System Version: -CF-WCP

Monitors:
DP-1: Dell Inc AW2725DF | 2560x1440@359.98 | HDR enabled
DP-2: ASUSTek VG27A | 2560x1440@144
HDMI-A-2: Lenovo P27h-20 | 2560x1440@60
Comment 4 Bug Janitor Service 2026-10-23 13:52:12 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/10210
Comment 5 Zamundaaa 2026-10-23 13:52:44 UTC
*** Bug 527666 has been marked as a duplicate of this bug. ***
Comment 6 Zamundaaa 2026-10-23 13:54:15 UTC
*** Bug 527672 has been marked as a duplicate of this bug. ***
Comment 7 Zamundaaa 2026-10-23 14:54:55 UTC
Git commit 283c0c1d8816816a81769279ef16fc8c671ec3b8 by Xaver Hugl.
Committed on 23/10/2026 at 14:36.
Pushed by zamundaaa into branch 'master'.

backends/drm: disable post-blend offloading if color pipelines aren't supported

It's not gonna be useful and can introduce performance problems.

M  +6    -1    src/backends/drm/drm_output.cpp

https://invent.kde.org/plasma/kwin/-/commit/283c0c1d8816816a81769279ef16fc8c671ec3b8
Comment 8 Zamundaaa 2026-10-23 15:47:11 UTC
Git commit 8c5bd6e6c53a37fce24773879c54dec6e6ee095a by Xaver Hugl.
Committed on 23/10/2026 at 15:05.
Pushed by zamundaaa into branch 'Plasma/6.8'.

backends/drm: disable post-blend offloading if color pipelines aren't supported

It's not gonna be useful and can introduce performance problems.


(cherry picked from commit fbd21971630569eec1de0c69138f6914c4d49cde)

Co-authored-by: Xaver Hugl <xaver.hugl@kde.org>

M  +6    -1    src/backends/drm/drm_output.cpp

https://invent.kde.org/plasma/kwin/-/commit/8c5bd6e6c53a37fce24773879c54dec6e6ee095a
Comment 9 maltejur 2026-10-26 00:55:11 UTC
*** Bug 527749 has been marked as a duplicate of this bug. ***
Comment 10 Zamundaaa 2026-10-26 21:08:59 UTC
*** Bug 527766 has been marked as a duplicate of this bug. ***
Comment 11 Zamundaaa 2026-10-26 21:09:49 UTC
*** Bug 527693 has been marked as a duplicate of this bug. ***
Comment 12 Zamundaaa 2026-10-26 21:12:50 UTC
*** Bug 527116 has been marked as a duplicate of this bug. ***
Comment 13 Zamundaaa 2026-10-27 13:02:30 UTC
*** Bug 527847 has been marked as a duplicate of this bug. ***
Comment 14 Zamundaaa 2026-10-27 16:34:19 UTC
*** Bug 527858 has been marked as a duplicate of this bug. ***
Comment 15 John Kizer 2026-10-29 11:42:08 UTC
*** Bug 527668 has been marked as a duplicate of this bug. ***