Your message dated Sat, 24 Jul 2010 11:32:14 +0000
with message-id <e1occxi-00079e...@franck.debian.org>
and subject line Bug#546838: fixed in xserver-xorg-video-sis 1:0.10.3-1
has caused the Debian Bug report #546838,
regarding xserver-xorg-video-sis: blank with, xset s reset
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
546838: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546838
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: xserver-xorg-video-sis
Version: 1:0.10.0-1
Severity: normal
Tags: patch


The command `xset s reset` will reset the X server screensaver to
reset the timer for the screensaver and dpms.  If the display is
already on, it should do nothing as far as the hardware goes.  In the
SISVGABlankScreen routine it requires as reset to update the register,
but that will disrupt the VGA signal and cause the monitor to resync
leaving the screen blank for a couple seconds.  I have a program that
wants to keep the screensaver from coming on, but allow normal
operation when it isn't running.

I included a patch to only reset and write the register if the value
changed.

diff --git a/xserver-xorg-video-sis-0.10.0/src/sis_vga.c 
b/xserver-xorg-video-sis-0.10.0/src/sis_vga.c
index b4cd69d..3f6219b 100644
--- a/xserver-xorg-video-sis-0.10.0/src/sis_vga.c
+++ b/xserver-xorg-video-sis-0.10.0/src/sis_vga.c
@@ -1922,11 +1922,17 @@ static void
 SISVGABlankScreen(ScrnInfoPtr pScrn, Bool on)
 {
     SISPtr pSiS = SISPTR(pScrn);
-    UChar  tmp;
+    UChar  tmp, orig;
 
     inSISIDXREG(SISSR, 0x01, tmp);
+    orig = tmp;
     if(on) tmp &= ~0x20;
     else   tmp |= 0x20;
+    /* Only update the hardware if the state changes because the reset will
+     * disrupt the output requiring the screen to resync.
+     */
+    if(orig == tmp)
+        return;
     SiS_SeqReset(pSiS, TRUE);
     outSISIDXREG(SISSR, 0x01, tmp);
     SiS_SeqReset(pSiS, FALSE);


-- Package-specific info:

VGA-compatible devices on PCI bus:
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 315PRO 
PCI/AGP VGA Display Adapter

Section "Monitor"
    Identifier  "Samsung730B"

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-rc4 (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages xserver-xorg-video-sis depends on:
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  xserver-xorg-core      2:1.4.2-10.lenny2 Xorg X server - core server

xserver-xorg-video-sis recommends no packages.

xserver-xorg-video-sis suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: xserver-xorg-video-sis
Source-Version: 1:0.10.3-1

We believe that the bug you reported is fixed in the latest version of
xserver-xorg-video-sis, which is due to be installed in the Debian FTP archive:

xserver-xorg-video-sis_0.10.3-1.diff.gz
  to main/x/xserver-xorg-video-sis/xserver-xorg-video-sis_0.10.3-1.diff.gz
xserver-xorg-video-sis_0.10.3-1.dsc
  to main/x/xserver-xorg-video-sis/xserver-xorg-video-sis_0.10.3-1.dsc
xserver-xorg-video-sis_0.10.3-1_amd64.deb
  to main/x/xserver-xorg-video-sis/xserver-xorg-video-sis_0.10.3-1_amd64.deb
xserver-xorg-video-sis_0.10.3.orig.tar.gz
  to main/x/xserver-xorg-video-sis/xserver-xorg-video-sis_0.10.3.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 546...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Cristau <jcris...@debian.org> (supplier of updated 
xserver-xorg-video-sis package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 24 Jul 2010 13:12:50 +0200
Source: xserver-xorg-video-sis
Binary: xserver-xorg-video-sis
Architecture: source amd64
Version: 1:0.10.3-1
Distribution: unstable
Urgency: low
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Julien Cristau <jcris...@debian.org>
Description: 
 xserver-xorg-video-sis - X.Org X server -- SiS display driver
Closes: 517075 546838
Changes: 
 xserver-xorg-video-sis (1:0.10.3-1) unstable; urgency=low
 .
   * New upstream release.
     + SISVGABlankScreen: only update the hardware if we're changing the state
       (closes: #546838)
     + Fix broken URLs in various places (closes: #517075)
   * Bump Standards-Version to 3.9.0.
   * Bump xutils-dev build-dep for util-macros 1.4.
   * Update debian/copyright from upstream COPYING.
Checksums-Sha1: 
 efee618d66a22a9651493fa9aeb43be6f732ff45 2392 
xserver-xorg-video-sis_0.10.3-1.dsc
 bf01d0fb1bc353c7e68bcc487aa7f2bd638b9fcc 815851 
xserver-xorg-video-sis_0.10.3.orig.tar.gz
 26cdc1c458448ae196789867733288525b26b0d4 16593 
xserver-xorg-video-sis_0.10.3-1.diff.gz
 d649490eba3d2e861e0cd7c0f4bd4f30ad81f056 297080 
xserver-xorg-video-sis_0.10.3-1_amd64.deb
Checksums-Sha256: 
 35046d519ea98ef75394bcd51ba953cc3279958b5cd0dfd6bf7b813ac30fd366 2392 
xserver-xorg-video-sis_0.10.3-1.dsc
 3c143ce8e22fb0ec19285ed759e5f204bce636d91a4a52971fd319b1bebe6277 815851 
xserver-xorg-video-sis_0.10.3.orig.tar.gz
 cc305d8a6352b49342cd6961d4ae5700b72e02bb0dc824be6b24f75870ca223c 16593 
xserver-xorg-video-sis_0.10.3-1.diff.gz
 e63880cb5daaf45b37cb43e50e3091c25332aa27fb325fa898c007acf62509aa 297080 
xserver-xorg-video-sis_0.10.3-1_amd64.deb
Files: 
 76f33c666165fd0070336a02933b9234 2392 x11 optional 
xserver-xorg-video-sis_0.10.3-1.dsc
 bb5a93e6babcc1b0fb547c026b6cfbfb 815851 x11 optional 
xserver-xorg-video-sis_0.10.3.orig.tar.gz
 10cf96a60ae121403521a00c593109bf 16593 x11 optional 
xserver-xorg-video-sis_0.10.3-1.diff.gz
 744111ba7da675209f2e0ba91b1a3db6 297080 x11 optional 
xserver-xorg-video-sis_0.10.3-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJMSsvUAAoJEDEBgAUJBeQMIpgQAIPIAaELY1kySMtFH9mg8AJt
LRhKWTdXjOgz+emkvZGhn1QDqTwENz/1mkqmIY4P2vivzNZIZVRG95YOHoHEA0VS
T4AD9VhldC8h5zIy6e/ocCBoefL+6sRZK9WZti1r7eOV6pLGxhRz+zx/SsBtAwfY
s9EGeNKqB+/ZMsumMiB7octsb+PxdbtmH5oMlO9FzTqCge/i1WuyxIbZqfp3jPnF
PS5vXTKiYYw75AXLZ6Geoe/lFzsMYBUaSWd4xcOWzrRkuWZ6ldrgVjEhqD7NrWpo
MIs0IIkDFTIBXwtJ6Jj7JUTlrIaZ8dGu2BF7G1dk0gQGzxJuSth7vLaXmQQvbjks
JrTYTbkEfZDGRQpTJ+inQpPx4wFxhkwIwRdlS0AOJpdP1Fo+hw9lLpCqeu7Fe5JU
PC5VQB/LdyReJ9TZImtcn0YnuMLgab7Ygta2QkHiJPSDkRwIhTfn6miZZkRnDu41
AnBGRvo6zagCF70U7nbczoyUzNYLWWsS12H1NDRVKwrMX/t1IDVyFmiyPy7GBke8
gNnLXxiK9TIqaG+5TfJhvzp1EknN99DFlFVzYq3POxns/gOLs/JLe1mVkbh6yyFf
cUdYJF85HDxqNzCO9cUuEmuKQV5Z9e+7/S8riGW9WyCeTa0T4U2P2JdHkyXYlZgn
TKCQ+6kiPx6eJ9ZOOMUX
=vdwF
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to