[xorg-bugzilla-noise] [Bug 1552] New: Vidmode overly verbose by default causing laptop hard disks to power up when in power save mode

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 7 04:26:11 UTC 2004

Please do not reply to this email: if you want to comment on the bug, go to          
the URL shown below and enter yourcomments there.   
           Summary: Vidmode overly verbose by default causing laptop hard
                    disks to power up when in power save mode
           Product: xorg
           Version: 6.8.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DDX/xorg
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: mharris at www.linux.org.uk

Currently, when a screensaver kicks in, it calls xf86GetModeLine() which
causes the Vidmode extension to write out a debugging log message of what
the current modeline is.  These messages are generally only useful to an X11
developer who is debugging the extension itself, or to an application
developer who is developing an application which uses the vidmode extension
to get/set the video mode, however they're not very useful for end users.

The current default Xvidmode verbosity causes the X server to write overly
detailed video modeline information to the X server log file whenever any
application uses the extension to get, set, or delete modelines.  This causes
a problem for laptop users on battery power with their hard disks set to
power saving mode, because the hard disk will power down, then later the
screensaver kicks in, which calls xf86GetModeLine(), which causes the log
message to get written out, which causes the hard disk to be powered back up.

Having these messages off by default solves this problem for laptop users,
and seems to make the most sense considering how useful they are in general.
By changing the default log level for these messages, developers who need
to see these for debugging purposes can increase their X server verbosity
level and still see them, so no functionality is lost.

This patch lowers the default verbosity of the X server's Xvidmode
extension log file messages, in order to stop Xvidmode from writing
out non-critical log messages to the X server log whenever an application
uses this extension.

Fixes reported bug/RFE:
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email       
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the xorg-bugzilla-noise mailing list