When running Plasma 6 beta in KVM with Virtio video and no 3d acceleration the window previews in the taskbar are mirrored vertically, and likewise sharing window contents with pipewire is also mirrored vertically STEPS TO REPRODUCE Create a KVM with ``` <video> <model type="virtio" heads="1" primary="yes"> <acceleration accel3d="no"/> </model> <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/> </video> ``` SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Fedora KDE Rawhide (available in About System) KDE Plasma Version: 5.90.0 KDE Frameworks Version: 5.246.0 Qt Version: 6.6.1 ADDITIONAL INFORMATION This probably affects real hardware too when using llvmpipe or generally memfd-based pipewire capture.
@Nate this is definitely in the kwin wayland backend/screencast plugin, that's why i assigned it to kwin. Unfortunately there's no component in the list that expresses that... But whatever can get the right people to look into it works, i suppose. See also: https://invent.kde.org/plasma/kwin/-/merge_requests/3611
*** Bug 480787 has been marked as a duplicate of this bug. ***
Can confirm this also happens in Nvidia GPUs running the latest stable branch propietary driver (535) Some users have reported that the latest beta release (550) fixes this issue.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5204
*** Bug 478067 has been marked as a duplicate of this bug. ***
Git commit 3388b7643c1e7e6299d98dab9c485b6ae76e8bd0 by Vlad Zahorodnii. Committed on 15/02/2024 at 13:54. Pushed by vladz into branch 'master'. plugins/screencast: Fix window screencasts being vertically mirrored with memfd WindowScreenCastSource::render(GLFramebuffer) renders windows with the y axis flipped, but the offscreen has no FlipY flag set. M +5 -8 src/plugins/screencast/windowscreencastsource.cpp https://invent.kde.org/plasma/kwin/-/commit/3388b7643c1e7e6299d98dab9c485b6ae76e8bd0
Git commit 1ce25f713787abdc60003bacd14e48ecaef61ea3 by Vlad Zahorodnii. Committed on 15/02/2024 at 14:18. Pushed by vladz into branch 'Plasma/6.0'. plugins/screencast: Fix window screencasts being vertically mirrored with memfd WindowScreenCastSource::render(GLFramebuffer) renders windows with the y axis flipped, but the offscreen has no FlipY flag set. (cherry picked from commit 3388b7643c1e7e6299d98dab9c485b6ae76e8bd0) M +5 -8 src/plugins/screencast/windowscreencastsource.cpp https://invent.kde.org/plasma/kwin/-/commit/1ce25f713787abdc60003bacd14e48ecaef61ea3