Narrow down reasons that monitor takes longer to resume after laptop wakes from "suspend"
by LenHoff from LinuxQuestions.org on (#5RMJC)
Not sure if this is software / hardware related, or both. I've read dozens of "suspend" problems. Seems to be endless # of reasons for suspend issues & appears many don't find a fix or reason.
This is an older Toshiba laptop, Intel NIC. Running LM 19.3 XFCE.
Normal booting is pretty fast ~ 60 sec or less. I have to manually time how long the monitor resumes after all other disk R/W have stopped. But there are lots of processes that don't involve disks.
I can only look at logs, the time it appears all "waking" processes have finished and see if that differs much from when the monitor wakes.
I'm actually more interested in turning off disk drives after long inactivity
Using an external monitor as the primary. The laptop display is completely disabled in Settings > Display. At one pt, I thought though the laptop monitor was turned off, it wasn't unchecked as "primary" might cause problems (while external monitor was also marked "primary)." But changing that didn't affect external monitor resume times.
If I manually send it to suspend, at least sometimes, resume of everything & monitor is 3 - 5 sec. That may? be because in manual suspend, it doesn't shut everything down right away.
But if it suspends based on time set in XFCE Power Manager, the monitor take 60 sec or more longer, after other processes seem finished & logs seem to show it's fully unsuspended.
There are a few "couldn't find / do / set... " type entries, using journalctl, but the times shown between them & next entry is insignificant. I can't find where the big time, or dozens of temporarily stalled processes take the amount of time = to the monitor's resume delay.
I also haven't found in logs any entries like "display resumed" or "monitor awake." I don't know what that event would be called, but it's not intuitive.
This is an older Toshiba laptop, Intel NIC. Running LM 19.3 XFCE.
Normal booting is pretty fast ~ 60 sec or less. I have to manually time how long the monitor resumes after all other disk R/W have stopped. But there are lots of processes that don't involve disks.
I can only look at logs, the time it appears all "waking" processes have finished and see if that differs much from when the monitor wakes.
I'm actually more interested in turning off disk drives after long inactivity
Using an external monitor as the primary. The laptop display is completely disabled in Settings > Display. At one pt, I thought though the laptop monitor was turned off, it wasn't unchecked as "primary" might cause problems (while external monitor was also marked "primary)." But changing that didn't affect external monitor resume times.
If I manually send it to suspend, at least sometimes, resume of everything & monitor is 3 - 5 sec. That may? be because in manual suspend, it doesn't shut everything down right away.
But if it suspends based on time set in XFCE Power Manager, the monitor take 60 sec or more longer, after other processes seem finished & logs seem to show it's fully unsuspended.
There are a few "couldn't find / do / set... " type entries, using journalctl, but the times shown between them & next entry is insignificant. I can't find where the big time, or dozens of temporarily stalled processes take the amount of time = to the monitor's resume delay.
I also haven't found in logs any entries like "display resumed" or "monitor awake." I don't know what that event would be called, but it's not intuitive.