You are not logged in.
Hi guis,
A question similar to mine was already posted before in this thread, but as I can see there was no answer found.
So the problem is: DPMS is conitiously enabled on startup. I want it to be disabled (yeah, I know it's not powersafe, but I still want to prevent my screen from blanking).
I've already updated my xorg.conf with these lines:
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
Option "DPMS" "false"
EndSectionAlso, I've put "xset -dpms" into my "~/.xinitrc" file. When I put "xset -q" in a KDE autostart script, I see that it's actually disabled in the log file. BUT, once my system completely boots, I see that DPMS is enabled again.
I've disabled all Energy Saving Settings in KDE's System Settings.
Also, another strange thing is that every time my system boots up, I see different random DPMS timeouts. Yesterday it was 600s, previously it was 300s. Today it was terrible - the setting was 1s (just leave the mouse and screen goes blank).
I use the latest update of Arch Linux. KDE version is 4.8.4
$ pacman -Q | grep xorg
xorg-bdftopcf 1.0.3-2
xorg-font-util 1.3.0-1
xorg-font-utils 7.6-3
xorg-fonts-alias 1.0.2-2
xorg-fonts-encodings 1.0.4-3
xorg-fonts-misc 1.0.1-2
xorg-luit 1.1.1-1
xorg-mkfontdir 1.0.7-1
xorg-mkfontscale 1.1.0-1
xorg-server 1.12.2-1
xorg-server-common 1.12.2-1
xorg-setxkbmap 1.3.0-1
xorg-xauth 1.0.7-1
xorg-xkbcomp 1.2.4-1
xorg-xmessage 1.0.3-2
xorg-xprop 1.2.1-1
xorg-xrandr 1.3.5-1
xorg-xrdb 1.0.9-2
xorg-xset 1.2.2-1
xorg-xsetroot 1.1.0-3Does anyone have any idea, what can change the DPMS settings? At least what I can monitor and where to check settings?
Appreciate any help. Thanks in advance!
Last edited by D@rkmind (2012-07-04 20:23:27)
Offline
I don't have an xorg.conf but have these lines in ~/.xinitrc, which works for me...
xset s noblank
xset s off
(sleep 1 && xset -dpms)&Ryzen 9 5950X, X570S Aorus Pro AX, RX 6600, Arch x86_64
Offline
This is the proper code from the Wiki it goes in /etc/X11/xorg.conf.d
make a file called 10-monitor.conf place in the above location and it just works.
Section "Monitor"
Identifier "LVDS0"
Option "DPMS" "false"
EndSection
Section "ServerLayout"
Identifier "ServerLayout0"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection
I'm dyslexic Please do not complain about puntuation or spelling and remember most dyslexic people have above average iq.
Offline
mandog,
Thanks! It helped. I overlooked this while searching for a way to completely disable dpms.
Timeouts are 0 now each boot and screen doesn't go blank. This solves the problem, although it's still not clear who and why omits X configuration and enables DPMS back after boot
Offline
This solves the problem, although it's still not clear who and why omits X configuration and enables DPMS back after boot
Check the "/etc/X11/xorg.conf.d/10-monitor.conf" file or some other file in "/etc/X11/xorg.conf.d" for a "DPMS" option.
And check to see that you don't have another xorg.conf file in /etc. Because Xorg can work with /etc/xorg.conf too, not just /etc/X11/xorg.conf: https://wiki.archlinux.org/index.php/Xorg#Configuring
Also, don't forget to mark it as solved (by editing the first post).
Last edited by DSpider (2012-07-03 07:36:09)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Hi DSpider,
I see your point. No, I don't have such files anymore. Monitor is now defined in /etc/X11/xorg.conf.d/10-monitor.conf only and this file contains the lines you listed.
As I said, DPMS is disabled by X when it starts (I can see in KDE's PreStartup scripts). It's enabled at some moment after KDE start.
I've double checked the scripts that are automatically executed on KDE startup. One of them is Kopete launcher and other (prestartup) just set environment and the settings don't include xset.
Offline