Bug 149431
Summary: | Inconsistent interpretation of DPMS timing parameters | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Robert Nichols <rnichols42> |
Component: | xorg-x11 | Assignee: | X/OpenGL Maintenance List <xgl-maint> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
URL: | https://bugs.freedesktop.org/show_bug.cgi?id=3041 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-04-15 20:54:09 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 150221 |
Description
Robert Nichols
2005-02-22 23:02:10 UTC
> xset dpms n1 n2 n3 are described as absolute
Described where? "man xset" gives the following:
-dpms The -dpms option disables DPMS (Energy Star) features.
+dpms The +dpms option enables DPMS (Energy Star) features.
dpms flags...
The dpms option allows the DPMS (Energy Star)
parameters to be
set. The option can take up to three numerical
values, or the
`force' flag followed by a DPMS state. The
`force' flags
forces the server to immediately switch to the DPMS
state spec-
ified. The DPMS state can be one of `standby',
`suspend',
`off', or `on'. When numerical values are given, they
set the
inactivity period (in units of seconds) before the
three modes
are activated. The first value given is for the
`standby'
mode, the second is for the `suspend' mode, and the
third is
for the `off' mode. Setting these values implicitly
enables
the DPMS features. A value of zero disables a
particular mode.
The help page for xscreensaver-demo says the following for the DPMS parameters: Standby After If Power Management Enabled is selected, the monitor will go black after this much idle time. (Graphics demos will stop running, also.) Suspend After If Power Management Enabled is selected, the monitor will go into power-saving mode after this much idle time. This duration should be greater than or equal to Standby. Off After If Power Management Enabled is selected, the monitor will fully power down after this much idle time. This duration should be greater than or equal to Suspend. The restriction that each successive value be greater than the previous makes little sense if these are incremental times. Though the manpage doesn't mention it, the xset command enforces that same restriction: $ xset dpms 5 4 5 illegal combination of values standby time of 5 is greater than suspend time of 4 If you are suggesting that it is intentional that each successive interval be at least as large as the previous one, then this report needs to be rewritten as an enhancement request to remove that restriction. You are confusing the documentation and operation of one application (xscreensaver-demo) with the documentation and operation of another entirely different application (xset). The documentation of xset describes how xset operates, and the documentation for xscreensaver-demo documents how xscreensaver-demo operates. While it may potentially be confusing to some people that 2 different programs implement a certain functionality in a different manner, one by using absolute parameters, and another by using relative parameters, that in itself is not a bug in either application, but rather a design choice by the developers of both applications. The solution, is to follow the documentation of xset when using xset to set DPMS values, and to follow the documentation of xscreensaver-demo when using xscreensaver-demo. This is not a bug, it is misinterpretation of documentation, so closing as "NOTABUG". I am not confused at all. You are incorrect in stating that one interface uses absolute parameters and the other uses relative. Both interfaces require absolute parameters (T1 <= T2 <= T3). For xset, that restriction is undocumented, but is enforced by the program. For xscreensaver-demo, the restriction is documented and sliently enforced. Entering the same numeric values in the two interfaces results in the same messages being sent to the X server. In both cases the actual behavior of those parameters is incremental, and that is a bug. Please report this to X.Org at http://bugs.freedesktop.org in the "xorg" component. Once you've filed your bug report to X.Org, if you paste the new bug URL here, Red Hat will continue to track the issue in the centralized X.Org bug tracker, and will review any bug fixes that become available for consideration in future updates. Setting status to "NEEDINFO", awaiting upstream bug report URL for tracking. Thanks for the URL. We'll track it there now. Setting status to "UPSTREAM". TTYL |