KDE Plasma very buggy under NixOS on my laptop

I’m trying to switch my Lenovo ThinkPad P16v Gen1 from Manjaro KDE to NixOS.

On Manjaro I’m successfully using KDE Plasmashell 6.1.3 with Wayland, but with NixOS I can’t get it to work. Wayland KDE sessions don’t start at all under NixOS on my machine, using X11 with Plasma6 I get a session without desktop or panels, but I can start Konsole using strg+alt+T and dolphin using windows+e keyboard shortcuts.

The Plasma5 X11 looks a bit better, but also crashes on very basic things like trying to open the desktop background color picker.

Gnome Wayland session works just fine with NixOS on the same hardware, only problem is I don’t like Gnome ^^

I can’t post links but I’ve posted informations and logs for this problem on the nixos discourse in the topic “searching-basic-but-working-24-05-plasma6-config-file/50056”.

Can you help me debug / workaround / fix this, or maybe gather enough information that enables the NixOS KDE plasma package maintainers to fix it?

These sound like packaging or setup issues, TBH. You might want to post in a NixOS-specific forum, as folks there will be more likely to be familiar enough with how NixOS works to be able to point you in the right direction.

2 Likes

thank you for your reply! That’s what I did at first of course. Sadly we didn’t manage to make progress, the one guy who was kind enough to spar with me there said:

we’re getting near the limits of what people who are not KDE developers can do here.

See pastebin dot com / kPVmTDKz for an example log output where everything’s crashing. I’m looking for help to find the root cause of those problems.

The strange thing is that the KDE Plasmashell works just fine under NixOS for other people on other hardware, but also with the NixOS installer on my hardware, and also on my hardware using other distros (=Manjaro).

If there are any actual crashes of KDE software, devs can definitely look into those. Unfortunately in Aug 03 20:26:35 nixos kernel: microcode: updated early: 0x410e -> 0x4121, date = - Pastebin.com, anything potentially actionable in there is buried. I see one potential crash in system settings, but with no debug symbols, so there’s nothing we can do.

We should start with the Wayland thing. Debugging DRM issues · Wiki · Plasma / KWin · GitLab might help debug the black screen issue.

1 Like

Thanks for the suggestion :slight_smile:

I tried to use the 10 second debugging script from tty, but sadly kwin_wayland won’t start from there complaining he can’t find the display.
I tried prefixing the line with DISPLAY=:0 but that just made him complain he can’t find the display :0.

So I now ran it from a gnome terminal inside an X11 Cinnamon desktop session, which gave me a small black window for it. unsure if this helps, can you check?

privatebin dot net/?e4373ea0a36bf22a#4mtFmH4u7DuVMcSGK1DmHA1GFNP3etv5othdMxyCn1za

Or do you maybe have any suggestions how I could make it start from a TTY session?