not sure if this is the correct place for this post.
I have dual monitors, nvidia cards(2 of them) and
in X11 i can use this to put them to sleep
xset -display :0 dpms force off
The screens power off but about 20 seconds later they wake up again
My TW is up to date and my video driver is currently the proprietary driver 570.172.08 and kernel 6.16.7-1-default. I dont know if the xset -q helps but here it is
xset -q
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000000
XKB indicators:
00: Caps Lock: off 01: Num Lock: off 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 600 repeat rate: 25
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
/usr/share/fonts/misc:unscaled,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/ghostscript/,/usr/share/fonts/cyrillic:unscaled,/usr/share/fonts/truetype/,built-ins
DPMS (Display Power Management Signaling):
Standby: 0 Suspend: 0 Off: 0
DPMS is Enabled
Monitor is On
in journalctl i find:
org_kde_powerdevil[36152]: [ 36293] Device /dev/i2c-3 lacks R/W permissions
org_kde_powerdevil[36152]: [ 36293] Device /dev/i2c-4 lacks R/W permissions
so I tried setting the perms to go+rw but it didn’t make any difference, probably unrelated to my issue
in dmesg i see this after it wakes up:
[ T36293] nvidia-gpu 0000:01:00.3: i2c timeout error e0000000
[ T36293] nvidia-gpu 0000:02:00.3: i2c timeout error e0000000
[ T36293] nvidia-gpu 0000:01:00.3: i2c timeout error e0000000
[ T36293] nvidia-gpu 0000:02:00.3: i2c timeout error e0000000
Which seems to be something to do with the nvidia card and usb which my cards don’t have so i may try and blacklist nvidia i2c and see what happens
How can i determine whats waking them up?
TIA
Sorry, I can not say anything useful about your problem, but you may be more precise with posting. Use Preformatted text (the button </>) for your copied/pasted computer texts. And for them only (and then copy including the line with the command). Now you seem to use the Blockquote for text and comments in an indifferent way, which makes interpreting your post difficult (some might even skip your post entirely because of this even if they could have helped you when it was readable).
I tried the latest nvidia driver (580.82.09) but it didnt help. Also, turning off the i2c made no difference either. I am experimenting with modifying /usr/lib/systemd/logind.conf
I changed IdleAction to poweroff and IdleActionSec to 5 min. Lets see if that helps
I’ve had somewhat similar issue, but in my case it was the bluetooth which was waking my machine up from sleep for some reason. Disabling it “fixed” it apparently
I recently had the same problem … turned out it was the cheap batteries shipped with my wireless keyboard/mouse … replaced those and the problem disappeared
Interesting. I will try new batteries. I have a wireless keyboard and mouse. Th e mouse batteries are fine but i have not changed the keyboard batteries in ages. It very well may be the problem. Thanks for the tip
As of now i have disabled kscreen and the monitors sleep like they should but i am not fond of that as solution, only a temporary work around