SUMMARY After waking up the system from hibernation the desktop freezes and becomes completely unusable. I have to force a restart. Strangely sounds e.g. from a video playing, continue to play. This happens every time after about 20 minutes of use. This does not happen with a fresh reboot or boot, only after hibernation and standby (tested "Standby" only once). I tried to debug with GDB (both Kwin and plasmashell), but the logs show nothing (empty). "dmesg" shows: 1. a recurring strange nvidia error, that also occurs when the freeze happens (but it also happens randomly before that): "[drm:nv_drm_fence_context_create_ioctl [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to allocate fence signaling event" 2. a segfault with firefox: "firefox[3792]: segfault at d8 ip 00007f9aa2f40934 sp 00007ffd7de23248 error 4 in libX11.so.6.4.0[7f9aa2f31000+8b000]" So it could be an Nvidia problem, nonetheless I wanted to report it here, maybe you have some more ideas what and how I could debug or edit something. STEPS TO REPRODUCE Nothing specific seems to trigger it. OBSERVED RESULT Freeze. EXPECTED RESULT Work normal. SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 5.26.5 KDE Frameworks Version: 5.101.0 Qt Version: 5.15.7 Kernel Version: 6.0.17-1-MANJARO (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i3-4160 CPU @ 3.60GHz Memory: 7.7 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 750 Ti/PCIe/SSE2 Driver Version: Nvidia 525.78.01-1 Manufacturer: ASUS ADDITIONAL INFORMATION
You'll need to gdb kwin_wayland. Can you do that? Thanks!
(In reply to Nate Graham from comment #1) > You'll need to gdb kwin_wayland. Can you do that? Thanks! As I said: "I tried to debug with GDB (both Kwin and plasmashell), but the logs show nothing (empty)." This included kwin_wayland of course. The command I used is: sudo gdb -pid $(pidof kwin_wayland) -batch -ex "set logging file kwin_wayland.gdb" -ex "set logging on" -ex "set print thread-events off" -ex "continue" -ex "thread apply all backtrace" -ex "quit" It shows nothing, the log is empty. I tried that multiple times now and it does not show any errors on initialization, so GDB is working correctly.
Please use: sudo gdb -pid $(pidof kwin_wayland) -batch -ex "set logging file kwin_wayland.gdb" -ex "set logging on" -ex "set print thread-events off" -ex "thread apply all backtrace" -ex "quit" by telling it to continue, it won't get to the next step without an external trigger.
Created attachment 155241 [details] gdb log directly after wakeup and re-login GDB log as requested, but it detached after some seconds and the "real" freeze happened one minute after that, so I don't know how useful it is. Sadly it is kind of impossible for me to know when the freeze will happen exactly, so all I could try is to restart this command until the freeze happens and hope that I catch the right moment.
I tried standby and hibernation again for some days and I have to report that Standby is working again. Even after hours of use (after wakeup) my computer still runs smooth. But hibernation is still not working. Complete freeze every time after about 10-20 minutes of use. Sadly gdb does still not show anything.