With the current 6.4.4 kernel, and the 6.4.6 kernel from koji, when my laptop sits idle for more that 15 minutes (not a precise time, just an estimate based on observations), the screen is blank and it remains powered on, but nothing I can do will get the screen to come back on. I don’t know if it is just the display no being responsive or if the system as a whole is locked. This behavior does not occur with the 6.3.13 (i am currently booting into that) nor does it occur with 6.2.9.
I am looking for suggestions on what I can do to try and track this down or provide better information to help others help me, or a solution if someone knows one.
Some details:
This occurs when my laptop is plugged into AC power and I have disabled suspend when on AC power.
It is an Intel i7-9750H processor
Has Intel UHD Graphics 630 and a Nvidia GeForce GTX 1650 Mobile / Max-Q
I do not have the Nvidia drivers installed as I don’t currently do anything that needs it and thus just run off of the integrated graphics
I’ve looked through logs via journalctl trying to find something that stands out as a possible issue but haven’t come across anything, but that could just be me not realizing the significance of something.
I can consistently replicate the behavior if I boot back into a 6.4.x kernel
I do not have the Nvidia drivers installed so there is no Nvidia service. Nouveau is there but the display is driven by the integrated graphics. That isn’t to say that nouveau isn’t somehow causing an issue as I’ve seen the nvidia driver in hybrid mode cause issues even if not being used.
I want to be clear that this shouldn’t be a suspend issue, or at least I have it configured so I don’t suspend when on AC power via GNOME settings. That is, unless something is going on to try and suspend when it is not supposed to. But if it is, it is not something I can recover from without just holding down the power button.
Exactly, this is what I think. Not using the NVIDIA driver not means that your system not recognizes the NVIDIA GPU.
Did you follow the discussions we had some weeks ago about the suspend who happens on Gnome by default after 15 min.? And yes, the settings in gnome not cover all switches you will need to turn that off.
Please skim also the links underneath the article.
I had looked that prior to posting, albeit not in a lot of detail. It did not seem to apply to my situation because 1) I have always disabled suspend when on AC power on F38 and it hasn’t been and issue and 2) the only variable right now seems to be the kernel version (6.2.9 and 6.3.13 are fine, 6.4.4 and 6.4.6 are not)and thus I didn’t think GNOME settings would be at play.
However, I did re-read and made an adjustment to the GDM settings per the post. I did not have high hopes for that since I am logged in and figure the GNOME settings would apply, but you never know. Sadly, disabling suspend on AC power in GDM had no effect.
For that test I shut down and then powered back up using the 6.4.4 kernel. I logged into my desktop and then let it sit. I logged in around 11:46 my time. By 12:12 I found it unresponsive and I had to power it off via holding down the power button. I did grab some stuff from journalctl and pasted below. Regarding the times:
11:56:?? - I was successfully logged in and just let the desktop sit
11:47:06 - geoclue indicates it has been idle for 60 seconds which makes sense
11:52:02 - This is the last log entry before I had to hard power off and start up again. This is approximately 5 minutes after I logged in let it sit, so the screen would have blanked here.
12:13:01 - Boot process starting based on me having to power off the laptop. But we have nothing for the past 20 minutes
For the record, I’ve also tried setting all of the Allow* settings to “no” in /etc/systemd/sleep.conf just to see if that helped. Nothing helped there.
For now, I’ll just continue with the 6.3.x kernel and keep trying new 6.4.x kernels when they come up, and I’ll keep checking around to see if this comes up for anyone else.
This ended up getting resolved with the 6.4.8 kernel upgrade. I don’t know what specific change in there resolved it, but everything started working normally again after I upgraded (I tried from a COPR repository first and that worked, and then just used the normal upgrade when it was available).