Hi, for some time I have problems when for example I lock screen, external monitor goes off and then I wake that monitor up. Also happens when just monitor goes to sleep after inactivity and then I move mouse for example. Every time monitor wakes up or gets powered on, gnome crashes, logs me off and returns me back to gdm login screen. Sometimes happens right after boot and login and sometimes gdm no longer display possibility to login to wayland session, only to x11. Can someone help me, tell me what is wrong? Happens on other distros as well, not only Fedora. Tried arch and pop os.
This is my log: http://0x0.st/Hy9Y.txt
I logged in, at 9:23 I turned monitor off and on again, no problem. At 9:24 I turned off monitor, waited a little and in 9:24:10 I turned monitor back again and everything crashed.
My suspected cause is Nvidia, but I don’t actually see anything useful in the logs, it’s just a guess. If you run ABRT, do you see any crash (from that exact time) reported? Does this happen even if you use an X11 session instead of Wayland? If you boot an F39 Workstation Live image, which uses nouveau instead of the proprietary nvidia driver, does it crash as well?
I do not know if nvidia-powerd.service is supposed to support the RTX 3070 Mobile or not.
To test if that may be the issue, especially since it looks like nvidia-powerd loads during boot and would be active during the sleep/wakeup, it might be worth a test by temporarily disabling nvidia-powerd and see if the crashes are eliminated.
sudo systemctl stop nvidia-powerd.service should halt it for testing purposes during the current boot. If you wish to disable it for longer periods then use sudo systemctl <disable|enable> nvidia-powerd.service to totally disable or enable it. The default is enabled.
Disabling nvidia-powerd.service did not help. Today when I booted to gdm, I had to enter password like 5 times until I finally got into system. In all the attempts, system crashed and returned me back to gdm. Log is here: http://0x0.st/HygJ.txt
The problem is still there even after the month. Today I haven’t been able to even login into wayland session after about 10 tries. Log is here: https://0x0.st/HwDf.txt
Can somebody please see in the log what is wrong? I can also gladly provide any other log you might need. Thanks a lot