| Summary: |
dpms timeout settings specified in ServerFlags are overwritten by dpms extension initialization |
| Product: |
xorg
|
Reporter: |
John Lumby <johnlumby> |
| Component: |
Server/General | Assignee: |
Xorg Project Team <xorg-team> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
Xorg Project Team <xorg-team> |
| Severity: |
minor
|
|
|
| Priority: |
medium
|
|
|
| Version: |
git | |
|
| Hardware: |
All | |
|
| OS: |
All | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
any values specified for any of the following DPMS timeouts in the ServerFlags section of the xorg.conf appear to be ignored : e.g. my Section "ServerFlags" Option "StandbyTime" "0" Option "SuspendTime" "0" Option "OffTime" "5" EndSection but immediately after starting Xorg, xset q shows DPMS (Energy Star): Standby: 600 Suspend: 600 Off: 600 whereas they should be DPMS (Energy Star): Standby: 0 Suspend: 0 Off: 300 background - dix/main.c main issues certain init commands in the following order InitOutput(&screenInfo, argc, argv); /* indirectly calls configServerFlags to parse various server flags in conf file */ InitExtensions(argc, argv); /* indirectly calls xserver/Xext/dpms.c DPMSExtensionInit to initialise the DPMS extension */ cause - some fairly recent change in DPMS has included dpms unconditionally initializing the three timeout values which overwrites the dpms settings from the config Suggested fix - change the DPMS initialization to be conditional on not set from config