I’ve been having repeated crashes for a few weeks now on a NixOS unstable with Plasma 6 and Wayland.
Two monitors are connected. It usually starts with it flickering, often KWIN is listed as a crashed process in this small application. But other applications too… You can’t really use it anymore. And only a restart helps. Just logging out isn’t enough. If I select X11 when logging in, nothing like that has happened so far.
The crashes often happen after a long period of use with several windows open. I always sent the crash reports.
Is there anything I can do to narrow down the error further?
Hello
Can you please post your system info (especially if you are using nvidia) and your config?
Also when did this start to happen? After an update or just random?
yeah the issue is pretty clear. It is your old nvidia card. Nvidia is known for bad driver support on especially on wayland. This has gotten better in recent years but only for the newer drivers. Your graphic card is too old for these updates.
I really recommend you to use X11.
But first try setting up your nvidia config the right way: https://nixos.wiki/wiki/Nvidia
You will need nvidiaPackages.legacy_340 package for your gpu.
Or you could try out nouveau drivers instead of NVIDIAs closed source.
I’ve played around with the nvidia driver, but that is commented out due to only one screen and only 1024x… res.
So i mean i’m already running nouveau.
So you have blacklisted any nvidia kernel modules as mentioned in the wiki: https://wiki.nixos.org/wiki/NVIDIA#Disabling
to see which modules are loaded simply run this command lsmod.
The hardware.graphics.enable = true; is for hardware acceleration, which is definitly needed for any graphics config.
That right. Normally you should not need to blacklist the nvidia modules, since the should be removed when you remove "nvidia" from services.xserver.videoDrivers option.
But to be safe that no nvidia module is causing the issue by interfering with noueveau it is good to have nvidia blacklisted.