#fuck you nvidia leak
1 messages · Page 1 of 1 (latest)
but yeah, kde on wayland+nvidia has fd leak as you figured that out, and it's apparently nvidia's fault
here's more info:
https://bugs.kde.org/show_bug.cgi?id=497424
https://forums.developer.nvidia.com/t/fd-leak-with-explicit-sync-and-kde-plasma/317293/32
I am also experiencing this or a similar issue (on Bazzite 42), noting the sync_file count jumping every time I click on and off a KDE stacked application icon. I also see semi-frequent KDE crashes with “Too many open files” in the log. This is with Plasma 6.4.5, Qt 6.9.2, nVidia driver 580.95.05.
fuck you nvidia leak
ugh. none that i'm aware of. i also went through this bug and didn't found any satisfactory solution.
one dirty workaround is to increase the soft limit for open files for plamashell, with this command: prlimit --pid $(pidof plasmashell) --nofile=16384: , that increases current process limit from default 1024 to 16384, but you have to run this command every single time to apply this change. also, this doesn't fix the core issue, and it will still leak, but now it'll take 16 times longer to crash ¯_(ツ)_/¯
also can be done from systemd (idk how this exactly works, but worth trying: https://bugs.kde.org/show_bug.cgi?id=497424#c5)
i'm not exactly aware of any implications doing this, but it worked fine for me. but currently on my other system with amd graphics, this does not happen, that's why i blamed nvidia in my previous message 
another option is to switch to x11, but i understand not everyone wants to switch back from wayland.
well that's about it. i'm sorry i couldn't help better with this.
also that's not very indicative of... well, anything. a process can open as many files as needed, but it doesn't immediately mean it's leaking resources