Hi, I have a Debian 12 (Bookworm?) installation with XFCE as my DE. I have three monitors, the left one is rotated CW so it's tall, and because lightdm can't seem to get that or the monitor positions correct I wrote a script
that calls xrandr to set things up.
I thought the errors from the monitor setup script (before I fixed it) were what was keeping the system from suspending. But now I've fixed the errors and it still doesn't suspend over night. Suspend works just fine when I go to log out and hit the suspend button. I don't see any obvious errors in journalctl. Where can I go to debug suspend? Thanks.
Thou shalt keep thine tongue prosperous, and thy mind numb. -Lusers 4:9
On Mon 10 Jun 2024 at 15:05:23 (-0400), Eben King wrote:
Hi, I have a Debian 12 (Bookworm?) installation with XFCE as my DE. I have
three monitors, the left one is rotated CW so it's tall, and because lightdm
can't seem to get that or the monitor positions correct I wrote a script
that calls xrandr to set things up.
I thought the errors from the monitor setup script (before I fixed it) were
what was keeping the system from suspending. But now I've fixed the errors
and it still doesn't suspend over night. Suspend works just fine when I go
to log out and hit the suspend button. I don't see any obvious errors in
journalctl. Where can I go to debug suspend? Thanks.
Does xset -q show you anything like below?
$ xset -q
Keyboard Control:...
Thou shalt keep thine tongue prosperous, and thy mind numb. -Lusers 4:9
Thy tongue.
Hi, I have a Debian 12 (Bookworm?) installation with XFCE as my DE.[...]
and it still doesn't suspend over night. Suspend works just fine when I go to log out and hit the suspend button. I don't see any obvious errors in journalctl. Where can I go to debug suspend? Thanks.
On 6/10/24 13:05, Eben King wrote:
Hi, I have a Debian 12 (Bookworm?) installation with XFCE as my DE.[...]
and it still doesn't suspend over night. Suspend works just fine when I go >> to log out and hit the suspend button. I don't see any obvious errors in >> journalctl. Where can I go to debug suspend? Thanks.
I also have bookworm, XFCE and a suspend issue. Dell laptop suspends on lid close, but with an attached monitor, it does not suspend on lid close.
As a workaround, I use a keyboard shortcut to suspend. Closing then opening the lid wakes it up.
I'm eager to see how you resolve this. If you file a bug, please post the number so I can add my case.
Well, that is not encouraging. Does anyone know how to get the
monitor state programmatically? I'll write my own script based on
that. DFMS works. I mean if the computer won't do it for you, roll
your own.
On 11/06/2024 21:44, eben@gmx.us wrote:
Does anyone know how to get the monitor
state programmatically?
ddccontrol
However I am lost if you need to put your monitor to standby state (or to turn it off) or you expect suspend to RAM after some period of inactivity or when lid is closed. In the latter case check power and display settings in your DE configuration.
On Tue, 11 Jun 2024 10:44:12 -0400
eben@gmx.us wrote:
Well, that is not encouraging. Does anyone know how to get the
monitor state programmatically? I'll write my own script based on
that. DFMS works. I mean if the computer won't do it for you, roll
your own.
Install arandr, use it to set things up the way you want them. Then
have it emit a suitable script.
Call that from XFCE's session manager on startup.
On 6/11/24 12:27, Max Nikulin wrote:
On 11/06/2024 21:44, eben@gmx.us wrote:
Does anyone know how to get the monitor
state programmatically?
ddccontrol
Thanks.
However I am lost if you need to put your monitor to standby state (or to
turn it off) or you expect suspend to RAM after some period of inactivity or >> when lid is closed. In the latter case check power and display settings in >> your DE configuration.
I'll probably watch ddcontrol, and if the monitors go into <some state> and stay there for 30m or an hour, suspend.
On 13/06/2024 21:44, eben@gmx.us wrote:
Well that's a no-go, because when you de-power the monitors,
ddccontrol gives you no info about what sleep state they're in.
Reasonable, I guess.
Perhaps there is a command to put the monitor in standby state instead of power off. Maybe it is possible detect switched off state by reading some file in /sys.
You still mix monitor and system issues. E.g. a media player may inhibit
power saving for monitors. I have seen that sometimes suspend to disk (hibernate) is blocked, but I do not know details.
An obvious reason is full swap, so RAM can not be saved there. Perhaps suspend to RAM may be blocked as well.
Do I have to tell something the UUID of the new swap partition, or does
it figure it out?
Update grub and initramfs configuration.
Swap: 0 0 0
You have no swap.
Swap: 0 0 0
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 151:07:20 |
Calls: | 10,383 |
Files: | 14,054 |
Messages: | 6,417,797 |