You are not logged in.
I don't know how to move forward with my problem, my issue is as follows:
0. Monitor is in standby, computer is in sleep.
1. Wake up computer from Sleep by pushing power button.
2. Monitor wakes up from standby but monitor reports "no input", and goes back to sleep.
3. Moves mouse, monitor truly wakes up and shows lock screen.
I'd like that after I turn on my computer, my monitor should really wake up, and show login screen.
This is a problem for me, because my monitor has KVM switch, which only works well after the screen is truly woke up.
Using Gnome.
Offline
Disable DPMS, either in the display server or there's possibly a configuration for the screenlocker.
https://wiki.archlinux.org/title/Displa … _Signaling
nb. that everything there that talks about X11 is not applicable to random wayland compositors.
Offline
Disable DPMS, either in the display server or there's possibly a configuration for the screenlocker.
https://wiki.archlinux.org/title/Displa … _Signaling
nb. that everything there that talks about X11 is not applicable to random wayland compositors.
Thanks for help, I'm using Gnome with Wayland and cannot find where I can setup DPMS.
Offline
Offline
Thanks for the link, I've learned that:
1. With X11, it was possible to control how the monitor is disabled:
/etc/X11/xorg.conf.d/10-serverflags.conf
-----------------------------------------------------------
Section "ServerFlags"
Option "StandbyTime" "10"
Option "SuspendTime" "20"
Option "OffTime" "30"
EndSectionand it was possible to disable DPMS entirely:
/etc/X11/xorg.conf.d/10-extensions.conf
----------------------------------------------------------
Section "Extensions"
Option "DPMS" "false"
EndSectionhttps://wiki.archlinux.org/title/Displa … aling#Xorg
2. In Gnome on Wayland, DPMS is controlled by GDM.
With following command:
gsettings list-recursively org.gnome.settings-daemon.plugins.powerI've retrieved some relevant GDM settings:
org.gnome.settings-daemon.plugins.power ambient-enabled true
org.gnome.settings-daemon.plugins.power idle-brightness 30
org.gnome.settings-daemon.plugins.power idle-dim true
org.gnome.settings-daemon.plugins.power power-button-action 'suspend'
org.gnome.settings-daemon.plugins.power power-saver-profile-on-low-battery true
org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 3600
org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'suspend'
org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 900
org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type 'nothing'Unfortunately none of those gives me what I think I need, and what was possible to be configured in X11.
Maybe this is an issue with Graphic card drivers (Radeon RX 7900 XT)?
Maybe I should write some kind of script which would simulate keyboard key press after sleep to resolve that?
Offline
Have you tried setting
org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 3600
org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'suspend'
org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 900
org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type 'nothing'to 0/nothing/0/nothing ?
(Though that would just prevent GDM from turning off the monitor itfp)
Maybe this is an issue with Graphic card drivers (Radeon RX 7900 XT)?
Do you get the same behavior w/ an input device (mouse/keyboard) directly attached to the system?
Maybe I should write some kind of script which would simulate keyboard key press after sleep to resolve that?
Good luck simulating input on wayland ![]()
But a sleep hook that cycles chvt forth and abck might work?
https://man.archlinux.org/man/chvt.1
https://wiki.archlinux.org/title/Power_ … stem-sleep
Offline