Bug 486719 - X11 apps garbled rendering since KDE 6.0.4
Summary: X11 apps garbled rendering since KDE 6.0.4
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 6.0.4
Platform: Neon Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-07 11:46 UTC by Lassi Väätämöinen
Modified: 2024-05-31 17:27 UTC (History)
1 user (show)

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


Attachments
Issue illustrated, confindential info striketrhough (173.35 KB, image/png)
2024-05-07 11:46 UTC, Lassi Väätämöinen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lassi Väätämöinen 2024-05-07 11:46:21 UTC
Created attachment 169266 [details]
Issue illustrated, confindential info striketrhough

SUMMARY
X11 apps have permanently garbled output rendering since KDE 6.0.4. Prior KDE 6 versions had randomly momentarily same type of garbling, but it went away when the window was moved.

STEPS TO REPRODUCE
1. Upgrade to 6.0.4
2. Start xeyes or xcalc

OBSERVED RESULT
Application output is garbled

EXPECTED RESULT
Output is fine

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-28-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × 11th Gen Intel® Core™ i7-11850H @ 2.50GHz
Memory: 22,7 GiB of RAM
Graphics Processor: SVGA3D; build: RELEASE; LLVM;
Manufacturer: innotek GmbH
Product Name: VirtualBox
System Version: 1.2
Comment 1 Nate Graham 2024-05-07 20:52:10 UTC
Can you try a different VM graphics driver? Many are unfortunately terribly bug-ridden.
Comment 2 Lassi Väätämöinen 2024-05-08 03:19:22 UTC
Ok, the Virtualbox graphics controllers tried:

VMSVGA: garbled X apps, this was used for original report (but allows 3D acceleration)
VBoxSVGA: X apps OK (not 3D acceleration)

So, indeed seems to be related to Virtualbox graphics controller, but the issue definitely got worse and permanent, after upgrading from 6.0.3 to 6.0.4. Virtualbox host environment was unchanged.
Comment 3 Nate Graham 2024-05-09 19:38:10 UTC
Yeah, there were some KWin changes that made use of new GPU features that unfortunately are broken with some VM drivers. I asked, and those changes are apparently not feasible to revert in KWin, so VM softwares will just need to fix their broken graphics drivers.
Comment 4 Lassi Väätämöinen 2024-05-11 00:14:31 UTC
> there were some KWin changes that made use of new GPU features

Any links to the changes? Just out of curiosity.
Comment 5 Lassi Väätämöinen 2024-05-28 14:31:48 UTC
Looks like this would be working with the following combination:

Virtualbox 7.0.18

KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Comment 6 Lassi Väätämöinen 2024-05-31 17:27:41 UTC
Actually not. Worked for a couple of VM reboots, but got back at some point. So need to use VBoxSVGA.