Hi, whenever I lock the screen or it turns off when not using it, it seems that at least “kscreenlocker_greet” process loads the CPU, which triggers the fan. I have disabled indexing for search. Using Build20240326, I think this started after the Plasma 6 update. There may be other culprit(s).
I know this because I used a script to log “ps -e -o pcpu,pmem,args --sort=pcpu” what processes were running high when the screen is locked.
WARNING NOTE: before playing with this problem, backup ~/.config or use a test user account. While experimenting with the screen lock my session fell to bits and my desktop config became corrupted. I had to restore parts of ~/.config from last nights backup.
Are you seeing core dumps? I just tried the screen lock on TW-20240325 KDE6/X11/Nvidia-550.54 and I see a series of core dumps which was periodically burning the CPU:
The above are not all from one test. I carried out a series of tests due to the session sometimes falling apart.
I ran coredumpctl debug on the last one, but it didn’t produce any clues I could work with:
coredumpctl debug
...
(gdb) where
#0 0x00007f70d6e949ec in __pthread_kill_implementation () at /lib64/libc.so.6
#1 0x00007f70d6e41176 in raise () at /lib64/libc.so.6
#2 0x00007f70da155b93 in KCrash::defaultCrashHandler(int) () at /lib64/libKF6Crash.so.6
#3 0x00007f70d6e41240 in <signal handler called> () at /lib64/libc.so.6
#4 0x00007f70d82c8fd0 in QOpenGLContext::isValid() const () at /lib64/libQt6Gui.so.6
#5 0x00007f70d82c9902 in QOpenGLContext::doneCurrent() () at /lib64/libQt6Gui.so.6
#6 0x00007f70d82c99f6 in () at /lib64/libQt6Gui.so.6
#7 0x00007f70d78e81e9 in QThreadStorageData::finish(void**) () at /lib64/libQt6Core.so.6
#8 0x00007f70d7a0314e in () at /lib64/libQt6Core.so.6
#9 0x00007f70d78e5788 in () at /lib64/libQt6Core.so.6
#10 0x00007f70d6e92bb2 in start_thread () at /lib64/libc.so.6
#11 0x00007f70d6f1400c in clone3 () at /lib64/libc.so.6
If this happens after I next update TW, I’ll raise a bug, feel free to raise one sooner.