CVS Update: xc (branch: XORG-6_8-branch)
Roland Mainz
xorg-commit at cvs.freedesktop.org
Wed Dec 15 07:01:25 EET 2004
CVSROOT: /cvs/xorg
Module name: xc
Changes by: gisburn at gabe.freedesktop.org 04/12/14 21:01:25
Log message:
2004-12-14 Roland Mainz <roland.mainz at nrubsig.org>
* xc/programs/Xserver/Xext/xf86vmode.c
Bug #1552 (https://bugs.freedesktop.org/show_bug.cgi?id=1552)
attachment #1026 (https://bugs.freedesktop.org/attachment.cgi?id=1026):
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.
Patch by Mike A. Harris <mharris at redhat.com>
Modified files:
./: Tag: XORG-6_8-branch
ChangeLog
xc/programs/Xserver/Xext/: Tag: XORG-6_8-branch
xf86vmode.c
Revision Changes Path
1.365.2.73 +37 -1 xc/ChangeLog
1.2.4.1 +18 -16 xc/programs/Xserver/Xext/xf86vmode.c
More information about the xorg-commit
mailing list