Bug 460635

Summary: Virtual machine crashes when interacting with KDE Widgets if OpenGL acceleration is enabled
Product: [I don't know] kde Reporter: 04qw59ty
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED UPSTREAM    
Severity: crash CC: nate, nicolas.fella
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
URL: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7520
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description 04qw59ty 2022-10-18 03:18:49 UTC
SUMMARY
KDE crashes the virtual machine while using VirGL acceleration on KVM/QEMU everytime when the opening system monitor, dragging and dropping Disk Usage widget or expanding Network Manager widget.


STEPS TO REPRODUCE
1. Install (or run LiveCD) Fedora KDE / Kinoite or OpenSUSE Tumbleweed on Virt-Manager with VirtIO graphics and OpenGL enabled
2. Launch the VM
3. Open System Monitor or expand network details in the Networks widget from system tray

OBSERVED RESULT
VM crashes

EXPECTED RESULT
Operating system should still continue to run and Plasma should not crash

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  Fedora KDE 37, OpenSUSE Tumbleweed
(available in About System)
KDE Plasma Version: 5.25.5, 5.26
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION
This does not happen on KDE Neon user edition. If OpenGL acceleration is turned off, this issue does not happen but graphics becomes slow.
Comment 1 04qw59ty 2022-10-18 03:46:44 UTC
Additional info:

Happens on both X11 and Wayland.
Comment 2 Nicolas Fella 2022-10-18 10:44:52 UTC
So we have one program using OpenGL supposedly crashing another program using OpenGL? That sounds much more like a graphics driver bug than something Plasma does
Comment 3 04qw59ty 2022-10-18 10:52:14 UTC
I agree that Plasma itself is not responsible for the crash. But wondering if something changed on Qt which is causing it.
Comment 4 04qw59ty 2022-10-18 13:42:05 UTC
As you said it's more likely from graphics drivers. I created a bug report under Mesa.

https://gitlab.freedesktop.org/mesa/mesa/-/issues/7520