Bug 491561 - Window previews were corrupted when using the llvmpipe driver
Summary: Window previews were corrupted when using the llvmpipe driver
Status: REPORTED
Alias: None
Product: KPipeWire
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.1.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-08-11 03:23 UTC by Matt Fagnani
Modified: 2025-12-09 22:54 UTC (History)
2 users (show)

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


Attachments
recording of the problem for the Firefox and Konsole window previews (3.25 MB, video/mp4)
2024-08-11 03:23 UTC, Matt Fagnani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Fagnani 2024-08-11 03:23:18 UTC
Created attachment 172497 [details]
recording of the problem for the Firefox and Konsole window previews

SUMMARY

I booted the Fedora Rawhide KDE live image Fedora-KDE-Live-x86_64-Rawhide-20240810.n.0.iso in a QEMU/KVM VM in GNOME Boxes with 3D acceleration disabled using the llvmpipe driver from mesa 24.2.0-rc4 and virtio-gpu 6.11-rc2 kernel driver in a Fedora 40 KDE installation. Plasma 6.1.3 on Wayland started. I started Konsole, Firefox, and other programs. When I hovered over the Konsole, Firefox and other icons in the task manager, the window previews were corrupted with black areas and/or horizontal lines as different previews were shown. The window previews also looked blurry and the text in them was illegible. I'm attaching a recording of the problem for the Firefox and Konsole window previews. 

I reproduced this problem with the same image on bare metal in basic graphics mode using nomodeset on the kernel command line using the llvmpipe driver and simpledrm kernel driver. The problem didn't happen in a VM with 3D acceleration enabled using the virgl driver and virtio-gpu kernel driver or on bare metal with the radeonsi mesa driver and amdgpu kernel driver. The problem might be specific to llvmpipe.

STEPS TO REPRODUCE
1. Download the Fedora Rawhide KDE live image Fedora-KDE-Live-x86_64-Rawhide-20240810.n.0.iso from https://koji.fedoraproject.org/koji/buildinfo?buildID=2524587
2. install GNOME Boxes in a Fedora 40 KDE installation if it isn't already with sudo dnf install gnome-boxes
3. Boot Fedora-KDE-Live-x86_64-Rawhide-20240810.n.0.iso in a QEMU/KVM VM in GNOME Boxes with 3D acceleration disabled 
4. Start Konsole and Firefox in Plasma 6.1.3 in the VM
5. Hover over and off Konsole and Firefox's icons in the task manager until their window previews are shown repeatedly until the problem happens

OBSERVED RESULT
Window previews were corrupted when using the llvmpipe driver

EXPECTED RESULT
Window previews should've been shown normally when using the llvmpipe driver

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Rawhide/41
(available in About System)
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION

The plasmashell crashes which sometimes happened when showing window previews with Plasma 6.1.3 and mesa 24.1.4 I reported at https://bugs.kde.org/show_bug.cgi?id=490844 didn't happen with Plasma 6.1.3 and mesa 24.2.0-rc4 in Fedora-KDE-Live-x86_64-Rawhide-20240810.n.0.iso.
Comment 1 Nate Graham 2025-12-09 19:37:40 UTC
Sorry this happened. I've just corrected the version number, so at least that's fixed now! Are you still seeing this issue happen in Plasma 6.5.4 or later?
Comment 2 Matt Fagnani 2025-12-09 22:54:11 UTC
(In reply to Nate Graham from comment #1)
> Sorry this happened. I've just corrected the version number, so at least
> that's fixed now! Are you still seeing this issue happen in Plasma 6.5.4 or
> later?

I reproduced this problem in Plasma 6.5.3 in a Fedora 43 KDE installation on bare metal using nomodeset on the kernel command line using the llvmpipe driver and simpledrm kernel driver. The problem didn't happen in Plasma 6.5.3 in a Fedora Rawhide KDE live image VM using the llvmpipe driver and virtio-gpu kernel driver. 6.5.4 isn't available as an update in Fedora yet, but I'll test that when it is. Thanks.