Plasmashell flooding syslog in wayland

Recently I switched my kde session to wayland to give it a try. All went reasonably well but after a while the system started to behave erratically and eventually sddm refused to enter graphics mode after a reset.

After some investigation I discovered that my /var folder (which resides in its own 14G-partition) was 100% full, and the culprit was /var/log/syslog, who grew without control, eating all the available space.

Upon inspection, I found the log file filled with these four lines repeated endlessly:

2024-04-05T07:38:04.797453+02:00 hiddenhost plasmashell[3067]: [3067:3388:0405/] SharedImageStub: unable to create context
2024-04-05T07:38:04.797459+02:00 hiddenhost plasmashell[3067]: [3067:3388:0405/] GpuChannel: Failed to create SharedImageStub
2024-04-05T07:38:04.797623+02:00 hiddenhost plasmashell[3067]: [3067:3388:0405/] eglCreateContext failed with error EGL_BAD_CONTEXT
2024-04-05T07:38:04.797630+02:00 hiddenhost plasmashell[3067]: [3067:3388:0405/] ContextResult::kFatalFailure: Failed to create shared context for virtualization.

Then I cleaned up my syslog and switched back to an X11 session, and fortunately the problem is gone.

I was about to open a bug report for that, but then a message in bugtracker suggested that I should post a message here instead if I’m not sure that it is a bug. And I’m not sure, in fact, as I’ve not heard/read this being a general issue.

Does someone have any ideas on how to solve it? My system configuration is:

Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.5.0-0.deb12.4-amd64 (64-bit)    <<< (I tested 6.6 kernels as well)
Graphics Platform: X11    <<< (Now I'm on X11. The problem only shows up in Wayland)
Processors: 12 × Intel® Core™ i5-10600 CPU @ 3.30GHz
Memory: 15.2 GiB of RAM
Graphics Processor: NVIDIA GeForce GT 1030/PCIe/SSE2
Driver: nvidia
Manufacturer: LENOVO
Product Name: 11EXS04R00
System Version: ThinkCentre M70s

Can you post the link to this bug ?

I suspect this is fixed already in plasma 6.
Plasma 5.27 only receives security fix or very important ones, which this bug could qualify for but might be too intrusive to fix.

I would suggest to stick to X11 and give it another try when you have access to plasma 6.

I haven’t filed a bug report yet. I didn’t want to bother the developers with an issue that might be a misconfiguration on my side.

However, I’ll follow your advice and stick with X11 for now. I only wanted to give Wayland a try, but I don’t have an urge to switch.

In fact, I’m already using Wayland on my laptop, with some minor issues, but not this significant one. However, in that case, the distribution is different (Manjaro), as is the hardware.