Debian Bug report logs - #428797
xscreensaver: Displays screensaver only in a part of the screen

version graph

Package: xscreensaver; Maintainer for xscreensaver is Tormod Volden <debian.tormod@gmail.com>; Source for xscreensaver is src:xscreensaver (PTS, buildd, popcon).

Reported by: Raphael Hertzog <hertzog@debian.org>

Date: Thu, 14 Jun 2007 09:00:01 UTC

Severity: important

Found in versions xscreensaver/4.24-5, xscreensaver/5.03-2

Fixed in version xscreensaver/5.05-3

Done: Jose Luis Rivas <ghostbar38@gmail.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Ralf Hildebrandt <ralf.hildebrandt@charite.de>:
Bug#428797; Package xscreensaver. (full text, mbox, link).


Acknowledgement sent to Raphael Hertzog <hertzog@debian.org>:
New Bug report received and forwarded. Copy sent to Ralf Hildebrandt <ralf.hildebrandt@charite.de>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Raphael Hertzog <hertzog@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xscreensaver: Displays screensaver only in a part of the screen
Date: Thu, 14 Jun 2007 10:57:10 +0200
Package: xscreensaver
Version: 4.24-5
Severity: important

I have just bought a big external screen (1920x1200) that I hooked into
my laptop. After some fiddling, I got the resolution to work under X11 (I had
to use a newer -intel video driver).

But when the screensaver starts, it only displays its animation in a small
part of my screen. It looks like it's using the resolution 1024x768.
I don't know if it uses the resolution of my integrated display instead of
the external display or if it's simply unable to figure out the right
resolution and fallsback to another default.

DPMS works fine however.

FWIW, my screen is a DELL 2407WFP. 

I don't know if it has anything to do with "VESA modes" but the intel
driver doesn't seem to rely on VESA mode to work in that resolution:

(II) intel(0): EDID for output VGA
(II) intel(0): Manufacturer: DEL  Model: a016  Serial#: 809056595
(II) intel(0): Year: 2007  Week: 19
(II) intel(0): EDID Version: 1.3
(II) intel(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
(II) intel(0): Sync:  Separate  Composite  SyncOnGreen
(II) intel(0): Max H-Image Size [cm]: horiz.: 52  vert.: 33
(II) intel(0): Gamma: 2.20
(II) intel(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) intel(0): Default color space is primary color space
(II) intel(0): First detailed timing is preferred mode
(II) intel(0): redX: 0.640 redY: 0.330   greenX: 0.300 greenY: 0.600
(II) intel(0): blueX: 0.150 blueY: 0.060   whiteX: 0.312 whiteY: 0.329
(II) intel(0): Supported VESA Video Modes:
(II) intel(0): 720x400@70Hz
(II) intel(0): 640x480@60Hz
(II) intel(0): 640x480@75Hz
(II) intel(0): 800x600@60Hz
(II) intel(0): 800x600@75Hz
(II) intel(0): 1024x768@60Hz
(II) intel(0): 1024x768@75Hz
(II) intel(0): 1280x1024@75Hz
(II) intel(0): Manufacturer's mask: 0
(II) intel(0): Supported Future Video Modes:
(II) intel(0): #0: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
(II) intel(0): #1: hsize: 1600  vsize 1200  refresh: 60  vid: 16553
(II) intel(0): #2: hsize: 1152  vsize 864  refresh: 75  vid: 20337
(II) intel(0): #3: hsize: 1680  vsize 1050  refresh: 60  vid: 179
(II) intel(0): Supported additional Video Mode:
(II) intel(0): clock: 154.0 MHz   Image Size:  519 x 324 mm
(II) intel(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2080 h_border: 0
(II) intel(0): v_active: 1200  v_sync: 1203  v_sync_end 1209 v_blanking: 1235 v_border: 0
(II) intel(0): Serial No: UY54575A099S
(II) intel(0): Monitor name: DELL 2407WFP
(II) intel(0): Ranges: V min: 56  V max: 76 Hz, H min: 30  H max: 83 kHz, PixClock max 170 MHz
[...]
(II) intel(0): Output LVDS connected
(II) intel(0): I2C device "LVDSDDC_C:ddc2" registered at address 0xA0.
(II) intel(0): I2C device "LVDSDDC_C:ddc2" removed.
(II) intel(0): EDID for output LVDS
(II) intel(0): Manufacturer: SEC  Model: 4a58  Serial#: 0
(II) intel(0): Year: 2005  Week: 0
(II) intel(0): EDID Version: 1.3
(II) intel(0): Digital Display Input
(II) intel(0): Max H-Image Size [cm]: horiz.: 25  vert.: 18
(II) intel(0): Gamma: 2.20
(II) intel(0): No DPMS capabilities specified; RGB/Color Display
(II) intel(0): First detailed timing is preferred mode
(II) intel(0): redX: 0.580 redY: 0.340   greenX: 0.310 greenY: 0.550
(II) intel(0): blueX: 0.155 blueY: 0.155   whiteX: 0.313 whiteY: 0.329
(II) intel(0): Supported VESA Video Modes:
(II) intel(0): 1024x768@60Hz
(II) intel(0): Manufacturer's mask: 0
(II) intel(0): Supported additional Video Mode:
(II) intel(0): clock: 65.0 MHz   Image Size:  246 x 184 mm
(II) intel(0): h_active: 1024  h_sync: 1048  h_sync_end 1184 h_blank_end 1344 h_border: 0
(II) intel(0): v_active: 768  v_sync: 771  v_sync_end 777 v_blanking: 806 v_border: 0
[...]
(II) intel(0): Output VGA using initial mode 1920x1200
(II) intel(0): Output LVDS using initial mode 1024x768
(II) intel(0): Monitoring connected displays enabled

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xscreensaver depends on:
ii  libatk1.0-0                1.18.0-2      The ATK accessibility toolkit
ii  libc6                      2.5-11        GNU C Library: Shared libraries
ii  libcairo2                  1.4.6-1.1     The Cairo 2D vector graphics libra
ii  libfontconfig1             2.4.2-1.2     generic font configuration library
ii  libglade2-0                1:2.6.0-4     library to load .glade files at ru
ii  libglib2.0-0               2.12.12-1     The GLib library of C routines
ii  libgtk2.0-0                2.10.13-1     The GTK+ graphical user interface 
ii  libice6                    1:1.0.3-2     X11 Inter-Client Exchange library
ii  libjpeg62                  6b-13         The Independent JPEG Group's JPEG 
ii  libpam0g                   0.79-4        Pluggable Authentication Modules l
ii  libpango1.0-0              1.16.4-1      Layout and rendering of internatio
ii  libsm6                     2:1.0.3-1     X11 Session Management library
ii  libx11-6                   2:1.0.3-7     X11 client-side library
ii  libxcursor1                1:1.1.8-2     X cursor management library
ii  libxext6                   1:1.0.3-2     X11 miscellaneous extension librar
ii  libxfixes3                 1:4.0.3-2     X11 miscellaneous 'fixes' extensio
ii  libxi6                     1:1.0.1-4     X11 Input extension library
ii  libxinerama1               1:1.0.2-1     X11 Xinerama extension library
ii  libxml2                    2.6.28.dfsg-1 GNOME XML library
ii  libxmu6                    1:1.0.3-1     X11 miscellaneous utility library
ii  libxpm4                    1:3.5.6-3     X11 pixmap library
ii  libxrandr2                 2:1.2.1-1     X11 RandR extension library
ii  libxrender1                1:0.9.2-1     X Rendering Extension client libra
ii  libxt6                     1:1.0.5-3     X11 toolkit intrinsics library
ii  libxxf86misc1              1:1.0.1-2     X11 XFree86 miscellaneous extensio
ii  libxxf86vm1                1:1.0.1-2     X11 XFree86 video mode extension l

Versions of packages xscreensaver recommends:
ii  libjpeg-progs                 6b-13      Programs for manipulating JPEG fil
ii  perl [perl5]                  5.8.8-7    Larry Wall's Practical Extraction 
ii  wamerican [wordlist]          6-2        American English dictionary words 
ii  wfrench [wordlist]            1.2.3-1    French dictionary words for /usr/s
pn  xli | xloadimage              <none>     (no description available)

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Jose Luis Rivas <ghostbar38@gmail.com>:
Bug#428797; Package xscreensaver. (full text, mbox, link).


Acknowledgement sent to Jose Luis Rivas Contreras <ghostbar38@gmail.com>:
Extra info received and forwarded to list. Copy sent to Jose Luis Rivas <ghostbar38@gmail.com>. (full text, mbox, link).


Message #10 received at 428797@bugs.debian.org (full text, mbox, reply):

From: Jose Luis Rivas Contreras <ghostbar38@gmail.com>
To: 428797@bugs.debian.org, 428797-submitter@bugs.debian.org
Subject: xscreensaver: Displays screensaver only in a part of the screen
Date: Tue, 07 Aug 2007 02:37:08 -0400
[Message part 1 (text/plain, inline)]
Hi Raphael,

Could you please try with the 5.03 version?

Regards,
Jose Luis.
-- 

ghostbar on debian linux 'sid' 2.6.22 x86_64-SMP - #382503
Weblog: http://ghostbar.ath.cx/ - http://linuxtachira.org
http://debian.org.ve - irc.debian.org #debian-ve #debian-devel-es
San Cristóbal, Venezuela. http://chaslug.org.ve
Fingerprint = 3E7D 4267 AFD5 2407 2A37  20AC 38A0 AD5B CACA B118

[signature.asc (application/pgp-signature, attachment)]

Message sent on to Raphael Hertzog <hertzog@debian.org>:
Bug#428797. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Jose Luis Rivas <ghostbar38@gmail.com>:
Bug#428797; Package xscreensaver. (full text, mbox, link).


Acknowledgement sent to Raphael Hertzog <hertzog@debian.org>:
Extra info received and forwarded to list. Copy sent to Jose Luis Rivas <ghostbar38@gmail.com>. (full text, mbox, link).


Message #18 received at 428797@bugs.debian.org (full text, mbox, reply):

From: Raphael Hertzog <hertzog@debian.org>
To: Jose Luis Rivas Contreras <ghostbar38@gmail.com>
Cc: 428797@bugs.debian.org
Subject: Re: Bug#428797: xscreensaver: Displays screensaver only in a part of the screen
Date: Fri, 10 Aug 2007 22:01:18 +0200
Hi,

On Tue, 07 Aug 2007, Jose Luis Rivas Contreras wrote:
> Hi Raphael,
> 
> Could you please try with the 5.03 version?

I just did and the problem is still here. Note that the problem happens
only when two screens are active at the same time:
- my external screen
- my laptop screen

By default, xrandr configures it in a way that my laptop's screen is a
subset of the view of the external screen.

If I switch my laptop screen off (with xrandr --output LVDS --off), and
then restart xscreensaver, then it uses the full size of my external
screen.

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/



Information forwarded to debian-bugs-dist@lists.debian.org, Jose Luis Rivas <ghostbar38@gmail.com>:
Bug#428797; Package xscreensaver. (full text, mbox, link).


Message #21 received at 428797@bugs.debian.org (full text, mbox, reply):

From: martin f krafft <madduck@debian.org>
To: 428797@bugs.debian.org
Subject: Re: Bug#428797: xscreensaver: Displays screensaver only in a part of the screen
Date: Tue, 18 Sep 2007 15:56:04 +0100
[Message part 1 (text/plain, inline)]
I have somewhat of the same issue. I have two 1024 displays next to
each other (xrandr --output VGA --left-of LVDS) and when I lock the
screen, only the left 1024x768 bits (the VGA screen) get blanked;
the right screen (LVDS) is not altered and actually receives
updates: if I leave e.g. IRC running, I (and unauthorised third
parties) can read along while the screen is locked.

-- 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
fashions have done more harm than revolutions.
                                                        -- victor hugo
[digital_signature_gpg.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Jose Luis Rivas <ghostbar38@gmail.com>:
Bug#428797; Package xscreensaver. (full text, mbox, link).


Message #24 received at 428797@bugs.debian.org (full text, mbox, reply):

From: martin f krafft <madduck@debian.org>
To: 428797@bugs.debian.org
Subject: Re: Bug#428797: xscreensaver: Displays screensaver only in a part of the screen
Date: Wed, 19 Sep 2007 10:55:24 +0100
[Message part 1 (text/plain, inline)]
also sprach martin f krafft <madduck@debian.org> [2007.09.18.1556 +0100]:
> I have somewhat of the same issue. I have two 1024 displays next to
> each other (xrandr --output VGA --left-of LVDS) and when I lock the
> screen, only the left 1024x768 bits (the VGA screen) get blanked;
> the right screen (LVDS) is not altered and actually receives
> updates: if I leave e.g. IRC running, I (and unauthorised third
> parties) can read along while the screen is locked.

See
http://lists.freedesktop.org/archives/xorg/2007-September/028432.html.
Restarting the xscreensaver daemon fixes it for me. The solution is
to make xscreensaver listen for XINERAMA change events.

-- 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
[digital_signature_gpg.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Jose Luis Rivas <ghostbar38@gmail.com>:
Bug#428797; Package xscreensaver. (full text, mbox, link).


Acknowledgement sent to Jamie Zawinski <jwz@jwz.org>:
Extra info received and forwarded to list. Copy sent to Jose Luis Rivas <ghostbar38@gmail.com>. (full text, mbox, link).


Message #29 received at 428797@bugs.debian.org (full text, mbox, reply):

From: Jamie Zawinski <jwz@jwz.org>
To: martin f krafft <madduck@debian.org>, 428797@bugs.debian.org
Subject: Re: Bug#428797: xscreensaver: Displays screensaver only in a part of the screen
Date: Wed, 19 Sep 2007 10:21:44 -0700
On Sep 19, 2007, at 2:55 AM, martin f krafft wrote:

> See
> http://lists.freedesktop.org/archives/xorg/2007-September/028432.html.
> Restarting the xscreensaver daemon fixes it for me. The solution is
> to make xscreensaver listen for XINERAMA change events.

What is a "XINERAMA change event"?  xscreensaver already receives and  
reacts to RANDR RRScreenChangeNotify events (see driver/timers.c line  
1010).

I no longer have access to a multi-head X11 system, so if there's  
something wrong with that code, someone will need to send me a patch...






Information forwarded to debian-bugs-dist@lists.debian.org, Jose Luis Rivas <ghostbar38@gmail.com>:
Bug#428797; Package xscreensaver. (full text, mbox, link).


Message #32 received at 428797@bugs.debian.org (full text, mbox, reply):

From: martin f krafft <madduck@debian.org>
To: Jamie Zawinski <jwz@jwz.org>
Cc: 428797@bugs.debian.org
Subject: Re: Bug#428797: xscreensaver: Displays screensaver only in a part of the screen
Date: Wed, 19 Sep 2007 18:52:27 +0100
[Message part 1 (text/plain, inline)]
also sprach Jamie Zawinski <jwz@jwz.org> [2007.09.19.1821 +0100]:
> What is a "XINERAMA change event"?  xscreensaver already receives
> and reacts to RANDR RRScreenChangeNotify events (see
> driver/timers.c line 1010).

http://lists.freedesktop.org/archives/xorg/2007-September/028459.html

-- 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
"gilmour's guitar sounds good
 whether you've got a bottle of cider in your hand
 or a keyboard and a mouse."
                                                -- prof. bruce maxwell
[digital_signature_gpg.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Jose Luis Rivas <ghostbar38@gmail.com>:
Bug#428797; Package xscreensaver. (full text, mbox, link).


Acknowledgement sent to Jamie Zawinski <jwz@jwz.org>:
Extra info received and forwarded to list. Copy sent to Jose Luis Rivas <ghostbar38@gmail.com>. (full text, mbox, link).


Message #37 received at 428797@bugs.debian.org (full text, mbox, reply):

From: Jamie Zawinski <jwz@jwz.org>
To: martin f krafft <madduck@debian.org>
Cc: 428797@bugs.debian.org
Subject: Re: Bug#428797: xscreensaver: Displays screensaver only in a part of the screen
Date: Wed, 19 Sep 2007 11:27:51 -0700
That's talking about RANDR, not Xinerama.





Information forwarded to debian-bugs-dist@lists.debian.org, Jose Luis Rivas <ghostbar38@gmail.com>:
Bug#428797; Package xscreensaver. (full text, mbox, link).


Message #40 received at 428797@bugs.debian.org (full text, mbox, reply):

From: martin f krafft <madduck@debian.org>
To: Jamie Zawinski <jwz@jwz.org>
Cc: 428797@bugs.debian.org
Subject: Re: Bug#428797: xscreensaver: Displays screensaver only in a part of the screen
Date: Thu, 20 Sep 2007 10:24:35 +0100
[Message part 1 (text/plain, inline)]
also sprach Jamie Zawinski <jwz@jwz.org> [2007.09.19.1927 +0100]:
> That's talking about RANDR, not Xinerama.

Please reread the bug report. It may not be obvious, but Raphaël is
using xrandr, which in turn uses Xinerama. The difference between
the two is that Xinerama was not expected to change at runtime, but
xrandr makes that possible. Hence you need to listen for randr
events to react to them.

-- 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
"even if you persuade me, you won't persuade me."
                                                       -- aristophanes
[digital_signature_gpg.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Jose Luis Rivas <ghostbar38@gmail.com>:
Bug#428797; Package xscreensaver. (full text, mbox, link).


Acknowledgement sent to Jamie Zawinski <jwz@jwz.org>:
Extra info received and forwarded to list. Copy sent to Jose Luis Rivas <ghostbar38@gmail.com>. (full text, mbox, link).


Message #45 received at 428797@bugs.debian.org (full text, mbox, reply):

From: Jamie Zawinski <jwz@jwz.org>
To: martin f krafft <madduck@debian.org>, 428797@bugs.debian.org
Subject: Re: Bug#428797: xscreensaver: Displays screensaver only in a part of the screen
Date: Thu, 20 Sep 2007 10:04:00 -0700
> also sprach Jamie Zawinski <jwz@jwz.org> [2007.09.19.1927 +0100]:
>> That's talking about RANDR, not Xinerama.
>
> Please reread the bug report. It may not be obvious, but Raphaël is
> using xrandr, which in turn uses Xinerama. The difference between
> the two is that Xinerama was not expected to change at runtime, but
> xrandr makes that possible. Hence you need to listen for randr
> events to react to them.

Right, I get that.  Let me summarize:

 1: xscreensaver listens to the Xinerama data provided at launch;
 2: xscreensaver already receives and reacts to RANDR
    RRScreenChangeNotify events (in driver/timers.c:1010);
 3: there is no such thing as a "Xinerama event".

(Sorry if I'm being pedantic about point 3, but these things matter.)

So, if there's something that xscreensaver is supposed to be doing  
that it is not, it's not clear to me what that is.

It would be very helpful if someone who has access to multihead X11  
hardware that exhibits this problem would take a look at it, because  
I no longer have that hardware.

(FWIW, the xscreensaver RANDR support appeared in version 4.16 in May  
2004.)





Information forwarded to debian-bugs-dist@lists.debian.org, Jose Luis Rivas <ghostbar38@gmail.com>:
Bug#428797; Package xscreensaver. (full text, mbox, link).


Acknowledgement sent to martin f krafft <madduck@madduck.net>:
Extra info received and forwarded to list. Copy sent to Jose Luis Rivas <ghostbar38@gmail.com>. (full text, mbox, link).


Message #50 received at 428797@bugs.debian.org (full text, mbox, reply):

From: martin f krafft <madduck@madduck.net>
To: xorg@lists.freedesktop.org
Cc: 428797@bugs.debian.org
Subject: Re: xrandr multihead and window placement
Date: Fri, 21 Sep 2007 10:08:41 +0100
[Message part 1 (text/plain, inline)]
also sprach Keith Packard <keithp@keithp.com> [2007.09.19.1643 +0100]:
> The root window will get a ConfigureNotify event whenever the RandR
> setup changes, so applications need only select for that event before
> talking to the extension.

If someone could take a look at http://bugs.debian.org/428797, I'd
be grateful. Jamie says that:

 2: xscreensaver already receives and reacts to RANDR
    RRScreenChangeNotify events (in driver/timers.c:1010);

yet, I can reproduce the problem: after adding new screen estate
with xrandr, XScreensaver does *not* blank it when it locks the
screen. If I restart the daemon, then it works appropriately.

For your convenience, driver/timers.c is available here:

  http://scratch.madduck.net/__tmp__cdt.Tke15337__xscreensaver-5.03__driver__timers.c

I have a setup here in which I can try things out, but I don't have
the time to dig through the code.

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
 
someday we'll find it
the rainbow connection
the lovers, the dreamers,
and me!
                                                             -- kermit
 
spamtraps: madduck.bogus@madduck.net
[digital_signature_gpg.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Jose Luis Rivas <ghostbar38@gmail.com>:
Bug#428797; Package xscreensaver. (full text, mbox, link).


Acknowledgement sent to Michel Dänzer <michel@tungstengraphics.com>:
Extra info received and forwarded to list. Copy sent to Jose Luis Rivas <ghostbar38@gmail.com>. (full text, mbox, link).


Message #55 received at 428797@bugs.debian.org (full text, mbox, reply):

From: Michel Dänzer <michel@tungstengraphics.com>
To: martin f krafft <madduck@madduck.net>
Cc: xorg@lists.freedesktop.org, 428797@bugs.debian.org
Subject: Re: xrandr multihead and window placement
Date: Mon, 24 Sep 2007 12:10:02 +0200
On Fri, 2007-09-21 at 10:08 +0100, martin f krafft wrote:
> also sprach Keith Packard <keithp@keithp.com> [2007.09.19.1643 +0100]:
> > The root window will get a ConfigureNotify event whenever the RandR
> > setup changes, so applications need only select for that event before
> > talking to the extension.
> 
> If someone could take a look at http://bugs.debian.org/428797, I'd
> be grateful. Jamie says that:
> 
>  2: xscreensaver already receives and reacts to RANDR
>     RRScreenChangeNotify events (in driver/timers.c:1010);
> 
> yet, I can reproduce the problem: after adding new screen estate
> with xrandr, XScreensaver does *not* blank it when it locks the
> screen. If I restart the daemon, then it works appropriately.

I suspect the method described in the above item 2 predates RandR 1.2
and is no longer adequate. The method described by Keith Packard above
or something similar needs to be used now.


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer





Information forwarded to debian-bugs-dist@lists.debian.org, Jose Luis Rivas <ghostbar38@gmail.com>:
Bug#428797; Package xscreensaver. (full text, mbox, link).


Acknowledgement sent to Loic Grenie <loic.grenie@gmail.com>:
Extra info received and forwarded to list. Copy sent to Jose Luis Rivas <ghostbar38@gmail.com>. (full text, mbox, link).


Message #60 received at 428797@bugs.debian.org (full text, mbox, reply):

From: Loic Grenie <loic.grenie@gmail.com>
To: Debian Bug Tracking System <428797@bugs.debian.org>
Subject: xscreensaver: Similar problem, cause found, hacky fix proposed
Date: Fri, 02 Nov 2007 16:40:03 +0100
Package: xscreensaver
Version: 5.03-2
Followup-For: Bug #428797


    I have also an xscreensaver showing hacks only on part of the
    screen. The cause is the following: when xscreensaver looks for the
    Xinerama screen, it does not check whether the screen is on or off.
    It should check for that information using RandR when available. It
    is too difficult for me. I propose the following hack to solve the
    problem, even though I know that this is not the best. I think it
    should not break anything and it is rather clear that it is not the
    best possible fix. Aaaaanyway.

----8<-------8<-------8<-------8<-------8<----
diff -c xscreensaver-5.03/driver/windows.c xscreensaver-5.03-perso/driver/windows.c
*** xscreensaver-5.03/driver/windows.c	Mon Apr  2 00:02:31 2007
--- xscreensaver-5.03-perso/driver/windows.c	Fri Nov  2 16:27:30 2007
***************
*** 1044,1060 ****
          {
            target_x = ssi->x;
            target_y = ssi->y;
          }
  
        /* Find the Xinerama rectangle that contains the mouse position. */
!       for (i = 0; i < si->nscreens; i++)
!         {
!           if (target_x >= si->screens[i].x &&
!               target_y >= si->screens[i].y &&
!               target_x <  si->screens[i].x + si->screens[i].width &&
!               target_y <  si->screens[i].y + si->screens[i].height)
!             which = i;
!         }
        if (which == -1) which = 0;  /* didn't find it?  Use the first. */
        *x_ret = si->screens[which].x;
        *y_ret = si->screens[which].y;
--- 1044,1070 ----
          {
            target_x = ssi->x;
            target_y = ssi->y;
+ 	  /* Look if a screen is exactly our ssi */
+ 	  for (i = 0; i < si->nscreens; i++)
+ 	    {
+ 	      if (target_x == si->screens[i].x &&
+ 		  target_y == si->screens[i].y &&
+ 		  w == si->screens[i].width &&
+ 		  h == si->screens[i].height)
+ 		which = i;
+ 	    }
          }
  
        /* Find the Xinerama rectangle that contains the mouse position. */
!       if (which == -1)
! 	  for (i = 0; i < si->nscreens; i++)
! 	    {
! 	      if (target_x >= si->screens[i].x &&
! 		  target_y >= si->screens[i].y &&
! 		  target_x <  si->screens[i].x + si->screens[i].width &&
! 		  target_y <  si->screens[i].y + si->screens[i].height)
! 		which = i;
! 	    }
        if (which == -1) which = 0;  /* didn't find it?  Use the first. */
        *x_ret = si->screens[which].x;
        *y_ret = si->screens[which].y;
----8<-------8<-------8<-------8<-------8<----

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22.1 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xscreensaver depends on:
ii  libatk1.0-0                1.20.0-1      The ATK accessibility toolkit
ii  libc6                      2.6.1-1       GNU C Library: Shared libraries
ii  libcairo2                  1.4.10-1+b2   The Cairo 2D vector graphics libra
ii  libfontconfig1             2.4.2-1.2     generic font configuration library
ii  libglade2-0                1:2.6.2-1     library to load .glade files at ru
ii  libglib2.0-0               2.14.1-5      The GLib library of C routines
ii  libgtk2.0-0                2.10.13-1     The GTK+ graphical user interface 
ii  libice6                    2:1.0.4-1     X11 Inter-Client Exchange library
ii  libjpeg62                  6b-14         The Independent JPEG Group's JPEG 
ii  libpam0g                   0.99.7.1-5    Pluggable Authentication Modules l
ii  libpango1.0-0              1.18.2-1      Layout and rendering of internatio
ii  libsm6                     2:1.0.3-1+b1  X11 Session Management library
ii  libx11-6                   2:1.0.3-7     X11 client-side library
ii  libxcursor1                1:1.1.9-1     X cursor management library
ii  libxext6                   1:1.0.3-2     X11 miscellaneous extension librar
ii  libxfixes3                 1:4.0.3-2     X11 miscellaneous 'fixes' extensio
ii  libxi6                     2:1.1.3-1     X11 Input extension library
ii  libxinerama1               1:1.0.2-1     X11 Xinerama extension library
ii  libxml2                    2.6.30.dfsg-2 GNOME XML library
ii  libxmu6                    1:1.0.3-1     X11 miscellaneous utility library
ii  libxpm4                    1:3.5.7-1     X11 pixmap library
ii  libxrandr2                 2:1.2.2-1     X11 RandR extension library
ii  libxrender1                1:0.9.4-1     X Rendering Extension client libra
ii  libxt6                     1:1.0.5-3     X11 toolkit intrinsics library
ii  libxxf86misc1              1:1.0.1-2     X11 XFree86 miscellaneous extensio
ii  libxxf86vm1                1:1.0.1-2     X11 XFree86 video mode extension l
ii  netpbm                     2:10.0-11     Graphics conversion tools

Versions of packages xscreensaver recommends:
ii  libjpeg-progs          6b-14             Programs for manipulating JPEG fil
ii  perl [perl5]           5.8.8-11.1        Larry Wall's Practical Extraction 
ii  wamerican [wordlist]   6-2.1             American English dictionary words 
ii  wfrench [wordlist]     1.2.3-1           French dictionary words for /usr/s
ii  xli                    1.17.0+20061110-1 command line tool for viewing imag

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Jose Luis Rivas <ghostbar38@gmail.com>:
Bug#428797; Package xscreensaver. (full text, mbox, link).


Acknowledgement sent to Jamie Zawinski <jwz@jwz.org>:
Extra info received and forwarded to list. Copy sent to Jose Luis Rivas <ghostbar38@gmail.com>. (full text, mbox, link).


Message #65 received at 428797@bugs.debian.org (full text, mbox, reply):

From: Jamie Zawinski <jwz@jwz.org>
To: Loic Grenie <loic.grenie@gmail.com>, 428797@bugs.debian.org
Subject: Re: Bug#428797: xscreensaver: Similar problem, cause found, hacky fix proposed
Date: Fri, 2 Nov 2007 11:45:52 -0700
What do you mean by "screen is off"?

Please describe exactly the symptom you are seeing.

I don't understand what you're trying to do with your patch.





Information forwarded to debian-bugs-dist@lists.debian.org, Jose Luis Rivas <ghostbar38@gmail.com>:
Bug#428797; Package xscreensaver. (full text, mbox, link).


Acknowledgement sent to Jamie Zawinski <jwz@jwz.org>:
Extra info received and forwarded to list. Copy sent to Jose Luis Rivas <ghostbar38@gmail.com>. (full text, mbox, link).


Message #70 received at 428797@bugs.debian.org (full text, mbox, reply):

From: Jamie Zawinski <jwz@jwz.org>
To: 479715@bugs.debian.org, 473681@bugs.debian.org, 453708@bugs.debian.org, 428797@bugs.debian.org, 482385@bugs.debian.org, 471920@bugs.debian.org
Subject: xscreensaver and RANDR
Date: Sat, 5 Jul 2008 20:45:18 -0700
Please try this patch against xscreensaver 5.05 and let me know if it  
helps?

    http://www.jwz.org/xscreensaver/xscreensaver-randr-patch.txt

(Please don't distribute builds incorporating this patch -- it's not  
tested well enough yet.  Consider it a dangerous alpha.)

Things I'm interested in hearing about:

    - Systems with multiple monitors.  Do all monitors go
      black when xscreensaver activates?

    - Adding and removing monitors while the screen is not
      blanked.  Does it look right once the screen blanks?

    - Adding and removing monitors while the screen is
      already blanked.  Does everything reconfigure properly?

    - Changing the resolution of the monitor(s) using the
      "xrandr" command.

    - Does it correctly realize which monitors are actually
      attached to the system and in use?

    - Does it work with multiple X screens (the :0.1 style)?

    - Does it work when using the old Xinerama extension
      instead of RANDR.

    - Does it work using the VidMode extension to zoom and pan
      around (that is, "monitor" and "desktop" are different
      resolutions, via Ctrl-Alt-KP_Plus and KP_Minus.)

There is a bug if:

    - It ever crashes (obviously!)

    - There is ever a situation where a screen is not
      completely covered by the xscreensaver windows.
      (Unless two screens are configured to overlap).

Thanks!

--
Jamie Zawinski       jwz@jwz.org                  http://www.jwz.org/
                    jwz@dnalounge.com      http://www.dnalounge.com/
                                         http://jwz.livejournal.com/





Reply sent to Jose Luis Rivas <ghostbar38@gmail.com>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Raphael Hertzog <hertzog@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #75 received at 428797-close@bugs.debian.org (full text, mbox, reply):

From: Jose Luis Rivas <ghostbar38@gmail.com>
To: 428797-close@bugs.debian.org
Subject: Bug#428797: fixed in xscreensaver 5.05-3
Date: Mon, 21 Jul 2008 03:32:08 +0000
Source: xscreensaver
Source-Version: 5.05-3

We believe that the bug you reported is fixed in the latest version of
xscreensaver, which is due to be installed in the Debian FTP archive:

xscreensaver-data-extra_5.05-3_amd64.deb
  to pool/main/x/xscreensaver/xscreensaver-data-extra_5.05-3_amd64.deb
xscreensaver-data_5.05-3_amd64.deb
  to pool/main/x/xscreensaver/xscreensaver-data_5.05-3_amd64.deb
xscreensaver-gl-extra_5.05-3_amd64.deb
  to pool/main/x/xscreensaver/xscreensaver-gl-extra_5.05-3_amd64.deb
xscreensaver-gl_5.05-3_amd64.deb
  to pool/main/x/xscreensaver/xscreensaver-gl_5.05-3_amd64.deb
xscreensaver_5.05-3.diff.gz
  to pool/main/x/xscreensaver/xscreensaver_5.05-3.diff.gz
xscreensaver_5.05-3.dsc
  to pool/main/x/xscreensaver/xscreensaver_5.05-3.dsc
xscreensaver_5.05-3_amd64.deb
  to pool/main/x/xscreensaver/xscreensaver_5.05-3_amd64.deb



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 428797@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jose Luis Rivas <ghostbar38@gmail.com> (supplier of updated xscreensaver 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 15 Jul 2008 14:48:48 -0430
Source: xscreensaver
Binary: xscreensaver xscreensaver-data xscreensaver-data-extra xscreensaver-gl xscreensaver-gl-extra
Architecture: source amd64
Version: 5.05-3
Distribution: unstable
Urgency: low
Maintainer: Jose Luis Rivas <ghostbar38@gmail.com>
Changed-By: Jose Luis Rivas <ghostbar38@gmail.com>
Description: 
 xscreensaver - Automatic screensaver for X
 xscreensaver-data - data files to be shared among screensaver frontends
 xscreensaver-data-extra - data files to be shared among screensaver frontends
 xscreensaver-gl - GL(Mesa) screen hacks for xscreensaver
 xscreensaver-gl-extra - GL(Mesa) screen hacks for xscreensaver
Closes: 354559 428797 453708 471920 473681 475861 479715 480231 480592 482385 484112
Changes: 
 xscreensaver (5.05-3) unstable; urgency=low
 .
   [ Tormod Volden ]
   * debian/patches/10_jwz-xscreensaver-randr-patch-3.patch:
     from upstream, addresses issues with xrandr/xinerama
     (Closes: #482385, #428797, #471920, #453708, #473681, #479715, #480231)
   * fixed typo "screen < real_nscreens" in driver/lock:1527 from above patch
   * drop 61_DualHead-nVidia_bug471920.patch (obsolete)
   * drop 67_XineRama-mode_bug473681.patch (obsolete)
   * fix m6502.o typo in hacks/Makefile.in
   * refresh 53_XScreenSaver.ad.in.patch
   * refresh (disabled) 60_add-ant-hack.patch
 .
   [ Jose Luis Rivas ]
   * add xscreensaver-demo desktop file, thanks to Daniel Dickinson
     (Closes: #480592)
   * update package descriptions (thanks jwz)
   * fix categories in xscreensaver.menu
   * change build-deps from xlibmesa-gl-dev to libgl1-mesa-dev,
     xutils to xutils-dev, x-dev to x11proto-core-dev.
   * bump Standards-Version to 3.8.0
   * add Vcs fields and Homepage to debian/control
   * Flurry is not installed until the bug get fixed (Closes: #484112)
 .
 xscreensaver (5.05-2) unstable; urgency=low
 .
   * (this version was not published)
   * debian/rules: Add `--with-proc-interrupts' to the configure command.
     (Closes: #354559)
   * debian/patches/61_DualHead-nVidia_bug471920.patch:
     Thanks to Vincent Crevot (Closes: #471920)
   * debian/patches/67_XineRama-mode_bug473681.patch:
     Thanks to Lionel Elie Mamane (Closes: #473681)
   * create debian/watch
   * debian/control: fix libpam0g deps to use >= 0.72 instead of >=0.72-1
   * debian/xscreensaver.pam:
     Add common-account for handling account service type (Closes: #475861)
Checksums-Sha1: 
 97712104d918473578b8d2977599893b867836bb 1735 xscreensaver_5.05-3.dsc
 aa87692182ae3a77435d9618d041aed7b3f62f4c 112014 xscreensaver_5.05-3.diff.gz
 d2ac3f55371cee059e3e53d0deb5f7bc603611be 743594 xscreensaver_5.05-3_amd64.deb
 439f1db415a966504ded0f5744f95971f16d3305 545916 xscreensaver-data_5.05-3_amd64.deb
 855223fc5a1140b17741ccdb8db7bd85d0fdfdf1 3351364 xscreensaver-data-extra_5.05-3_amd64.deb
 9552c0ef4f4181969006fc8335dceb2d0d3f6497 2059670 xscreensaver-gl_5.05-3_amd64.deb
 c218b4378fde3d6cc32da39c214f1dd296b431f5 1985252 xscreensaver-gl-extra_5.05-3_amd64.deb
Checksums-Sha256: 
 ff2496b57ee02a30ad4b119f1c538428bfc173d781a744a93bfdfd75c944ea02 1735 xscreensaver_5.05-3.dsc
 2980300b5fe58d2c404a7eca4fdde5a65136b5a0e5bad019e1528ba372ef3115 112014 xscreensaver_5.05-3.diff.gz
 51a78518b1a70f53d20a36b79885c31c599f065e5588e53c79bccbf36ade5051 743594 xscreensaver_5.05-3_amd64.deb
 d72ed8ced603e973cf8ac9cf8bee5190dfa16c3b15d3bc14f01390bbbfdb5876 545916 xscreensaver-data_5.05-3_amd64.deb
 b1e3aa8618803723c32d1d13cfe5fb148d42ac3c350a3ef87c7b8b870516c171 3351364 xscreensaver-data-extra_5.05-3_amd64.deb
 5dae16108b7ed13a2656847332a61a8143275a7ab484b600e039b838c677a4c4 2059670 xscreensaver-gl_5.05-3_amd64.deb
 a2820297490f3630cd9855def83978634bd0161a8ed531e5e9bf4ffeba4b1ae4 1985252 xscreensaver-gl-extra_5.05-3_amd64.deb
Files: 
 e57e4e0de8063d5ad80c6a60779d6616 1735 x11 optional xscreensaver_5.05-3.dsc
 16a8abe0c74d5a83a8aa4d22402c48ac 112014 x11 optional xscreensaver_5.05-3.diff.gz
 653e55f8f1a11553d1f3b8e9b401f22d 743594 x11 optional xscreensaver_5.05-3_amd64.deb
 c479702e4d0b3fa798c8d8069230a315 545916 x11 optional xscreensaver-data_5.05-3_amd64.deb
 88563aa9bc530b0751238f506ba49032 3351364 x11 optional xscreensaver-data-extra_5.05-3_amd64.deb
 43dda84fc04baa77ac47753980c50239 2059670 x11 optional xscreensaver-gl_5.05-3_amd64.deb
 bb4dd89404980515261bb3bb3c352a72 1985252 x11 optional xscreensaver-gl-extra_5.05-3_amd64.deb

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

iEYEARECAAYFAkiEAOYACgkQgY5NIXPNpFVqjACeJJF9R407jEITVbUXKn01/s4p
qscAoNBIGGHCFgy4+eWFVbbU2rFE6V8C
=jJ4/
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 30 Aug 2008 07:38:43 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 30 22:41:44 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.