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/073804.797421:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
2024-04-05T07:38:04.797459+02:00 hiddenhost plasmashell[3067]: [3067:3388:0405/073804.797425:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
2024-04-05T07:38:04.797623+02:00 hiddenhost plasmashell[3067]: [3067:3388:0405/073804.797599:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
2024-04-05T07:38:04.797630+02:00 hiddenhost plasmashell[3067]: [3067:3388:0405/073804.797608:ERROR:gpu_channel_manager.cc(753)] 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