Bug 430447

Summary: Display glitches and possibly wayland session crash on hi-GPU load
Product: [Plasma] kwin Reporter: wwconstantin
Component: platform-wayland-nestedAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.20.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description wwconstantin 2020-12-15 22:32:39 UTC
SUMMARY
On high GPU load i have graphical glitches on my displays (multimonitor configuration)
I tried to launch game (Cyberpunk 2077) through steam, and in places with hard scenes i seem flickering lines on both displays(1st with fullscreen app and secondary without it). When i stopped game or returning to menu, GPU loading has lower and glitches stopped. If i don`t do this, wayland session can be crashed and return me to login screen.

I didn`t seen similar reports from another users in Valve/Proton theme (i not checked mesa) - most uses x11 session, and i didn`t seen similar reports from GNOME wayland/sway users. As i think its compositor problem.

Game used wine(proton) + VKD3D-Proton DX12 to vulkan translator, and i didn`t seen similar issue on his git branch. Sorry if i make wrong report

I tried disable second screen by system display settings, but glitches saves on main screen, and i think multiscreen GPU use its not main reason

STEPS TO REPRODUCE
1. Install and Run Cyberpunk 2077 through wine (or maybe another app with hi-gpu loading. Currently i seen this problem only with this game)
2. Go to place with use hi-gpu loading with dynamic scenes (on city) (higher graphical settings can reproduce problem faster)
3. Look at glitches :)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro(unstable branch)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
GPU Radeon RX560 4gb/ Mesa 21.0.0
Multiscreen configuration - first 2560x1080 second 1600x900
Comment 1 wwconstantin 2020-12-18 00:24:14 UTC
Upd: i can confirm - i haven`t this problem with x11 session - only performance drops, but no glitches/session crashes. So problem localized in kwin or xwayland.
If i can give some logs whats can help just say me how.
Comment 2 David Edmundson 2023-09-06 10:39:01 UTC
This bug was reported against an outdated version of KWin. We have made many changes since the. 
If the issue persists in newer versions can you reopen the bug report updating the version number.