Bug 462451 - Plasma on Kwin Wayland doesn't start with virgl on qemu
Summary: Plasma on Kwin Wayland doesn't start with virgl on qemu
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.26.3
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-30 17:42 UTC by André M
Modified: 2023-01-13 23:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description André M 2022-11-30 17:42:25 UTC
SUMMARY
Plasma Wayland inside a virgl qemu VM doesn't work. We get only a black screen just with cursor (indicating kwin_wayland did get launched correctly), but plasma didn't start.
With Yakuake's autostart, we can see the terminal window, and inspecting the logs, some errors like:

kwin_wayland[1145]: error in client communication (pid 1278)
plasmashell[1278]: [destroyed object]: error 6: invalid stride 10240 for plane 0


STEPS TO REPRODUCE
1. Install quickemu
2. quickget kdeneon user
3. quickemu --vm kdeneon-user.conf (-device virtio-vga-gl -display sdl,gl=on)
4. On the VM, go to SDDM config, switch off autologin, apply and logout
5. Login to Plasma Wayland session

OBSERVED RESULT
Black screen with only cursor

EXPECTED RESULT
Plasma Wayland session

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon User 20221117-0714
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
Tested with quickget/qemu on current NixOS unstable, but from qemu's small surface, I suppose it should happen when running over any distro.
Comment 1 André M 2023-01-13 23:01:28 UTC
Somehow this got fixed by itself here on NixOS, possibly by kf5.101 or some patch in the 5.26 series. Plasma Wayland starts fine now under qemu+virgl