Bug#526260: xorg: cursor appears on all displays

2009-07-13 Thread Alex Romosan
Julien Cristau  writes:

> On Thu, Apr 30, 2009 at 00:52:47 -0700, Jakob wrote:
>
>> I have X configured with two screens (without Xinerama) like this:
>> 
>>   Section "ServerLayout"
>> Identifier "Default Layout"
>> Screen 0 "Screen0" 0 0
>> Screen 1 "Screen1" RightOf "Screen0"
>> ...
>> 
>> Previously, the mouse cursor worked seamlessly across displays.  After
>> upgrading to the newest xorg version, though, the cursor persists on the
>> inactive screen after moving across the display boundary.  It's as if
>> the last displayed position on the previous screen isn't erased when it
>> hops to the next screen.
>> 
>> This doesn't interfere with normal operations, it's just annoying :-).
>> 
> You're using the closed nvidia driver.  Is there any evidence this is
> not a driver bug?

i had the same problem and i just tried switching to the nv driver but
the multiple cursor problem persisted. i applied the following patch:

diff -uNr a/hw/xfree86/ramdac/xf86Cursor.c b/hw/xfree86/ramdac/xf86Cursor.c
--- a/hw/xfree86/ramdac/xf86Cursor.c2008-12-17 01:03:04.0 +0500
+++ b/hw/xfree86/ramdac/xf86Cursor.c2009-05-17 23:07:45.0 +0600
@@ -302,9 +302,9 @@
 
 
 if (pCurs == NullCursor) { /* means we're supposed to remove the cursor */
-if (ScreenPriv->SWCursor || pDev != inputInfo.pointer)
-(*ScreenPriv->spriteFuncs->SetCursor)(pDev, pScreen, NullCursor,
-  x, y);
+  if (ScreenPriv->SWCursor ||
+ !(pDev == inputInfo.pointer || !pDev->isMaster && pDev->u.master == 
inputInfo.pointer))
+   (*ScreenPriv->spriteFuncs->SetCursor)(pDev, pScreen, NullCursor, x, y);
 else if (ScreenPriv->isUp) {
 xf86SetCursor(pScreen, NullCursor, x, y);
 ScreenPriv->isUp = FALSE;

available at

  http://launchpadlibrarian.net/26870925/178_second_cursor_fix.patch

and i can confirm that it fixes the multiple cursor problem with both
the nv and nvidia drivers.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#526260: xorg: cursor appears on all displays

2009-05-03 Thread Julien Cristau
On Thu, Apr 30, 2009 at 00:52:47 -0700, Jakob wrote:

> I have X configured with two screens (without Xinerama) like this:
> 
>   Section "ServerLayout"
> Identifier "Default Layout"
> Screen 0 "Screen0" 0 0
> Screen 1 "Screen1" RightOf "Screen0"
> ...
> 
> Previously, the mouse cursor worked seamlessly across displays.  After
> upgrading to the newest xorg version, though, the cursor persists on the
> inactive screen after moving across the display boundary.  It's as if
> the last displayed position on the previous screen isn't erased when it
> hops to the next screen.
> 
> This doesn't interfere with normal operations, it's just annoying :-).
> 
You're using the closed nvidia driver.  Is there any evidence this is
not a driver bug?

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#526260: xorg: cursor appears on all displays

2009-05-01 Thread Jakob
On Thu, Apr 30, 2009 at 06:34:45PM +0200, Julien Cristau wrote:

> Please send your full X log and config.

Attached.

Thanks,
Jakob
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice"Generic Keyboard"
InputDevice"Configured Mouse"
EndSection

Section "ServerFlags"
Option "DontZap" "false"
EndSection

Section "Files"
FontPath"/usr/share/fonts/X11/misc"
FontPath"/usr/share/fonts/X11/cyrillic"
FontPath"/usr/share/fonts/X11/75dpi/:unscaled"
FontPath"/usr/share/fonts/X11/100dpi/:unscaled"
FontPath"/usr/share/fonts/X11/Type1"
FontPath"/usr/share/fonts/X11/75dpi"
FontPath"/usr/share/fonts/X11/100dpi"
FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load   "bitmap"
Load   "dbe"
Load   "ddc"
Load   "extmod"
Load   "freetype"
Load   "glx"
Load   "int10"
Load   "record"
Load   "type1"
Load   "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
EndSection

Section "Monitor"
Identifier "DELL"
HorizSync   30.0 - 65.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Hanns-G"
HorizSync   31.0 - 80.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
BusID  "AGP:1:0:0"
Identifier "Card0"
Driver "nvidia"
Screen 0
EndSection

Section "Device"
BusID  "AGP:1:0:0"
Identifier "Card1"
Driver "nvidia"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"DELL"
DefaultDepth24
SubSection "Display"
Depth   24
Modes  "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor"Hanns-G"
DefaultDepth24
SubSection "Display"
Depth   24
Modes  "1680x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode0666
EndSection

X.Org X Server 1.6.1
Release Date: 2009-4-14
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.26-1-vserver-amd64 x86_64 Debian
Current Operating System: Linux dalek 2.6.29-1-amd64 #1 SMP Fri Apr 17 10:12:36 
UTC 2009 x86_64
Build Date: 15 April 2009  12:08:18PM
xorg-server 2:1.6.1-1 (bui...@excelsior.roeckx.be) 
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri May  1 12:25:17 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "DELL"
(**) |   |-->Device "Card0"
(**) |-->Screen "Screen1" (1)
(**) |   |-->Monitor "Hanns-G"
(**) |   |-->Device "Card1"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(**) Option "DontZap" "false"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(**) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/75dpi,
/usr/share/fonts/X11/100dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' 
wil

Bug#526260: xorg: cursor appears on all displays

2009-04-30 Thread Julien Cristau
On Thu, Apr 30, 2009 at 00:52:47 -0700, Jakob wrote:

> Package: xorg
> Version: 1:7.4+1
> Severity: normal
> 
> 
> I have X configured with two screens (without Xinerama) like this:
> 
>   Section "ServerLayout"
> Identifier "Default Layout"
> Screen 0 "Screen0" 0 0
> Screen 1 "Screen1" RightOf "Screen0"
> ...
> 
> Previously, the mouse cursor worked seamlessly across displays.  After
> upgrading to the newest xorg version, though, the cursor persists on the
> inactive screen after moving across the display boundary.  It's as if
> the last displayed position on the previous screen isn't erased when it
> hops to the next screen.
> 
> This doesn't interfere with normal operations, it's just annoying :-).
> 
Please send your full X log and config.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#526260: xorg: cursor appears on all displays

2009-04-30 Thread Jakob
Package: xorg
Version: 1:7.4+1
Severity: normal


I have X configured with two screens (without Xinerama) like this:

  Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
...

Previously, the mouse cursor worked seamlessly across displays.  After
upgrading to the newest xorg version, though, the cursor persists on the
inactive screen after moving across the display boundary.  It's as if
the last displayed position on the previous screen isn't erased when it
hops to the next screen.

This doesn't interfere with normal operations, it's just annoying :-).

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

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

Versions of packages xorg depends on:
ii  libgl1-mesa-glx [libgl1]  7.4-2  A free implementation of the OpenG
ii  libglu1-mesa  7.4-2  The OpenGL utility library (GLU)
ii  rxvt-unicode [x-terminal-emul 9.06-1 RXVT-like terminal emulator with U
ii  x11-apps  7.3+4  X applications
ii  x11-session-utils 7.3+1  X session utilities
ii  x11-utils 7.4+1  X11 utilities
ii  x11-xfs-utils 7.4+1  X font server utilities
ii  x11-xkb-utils 7.4+2  X11 XKB utilities
ii  x11-xserver-utils 7.4+2  X server utilities
ii  xauth 1:1.0.3-2  X authentication utility
ii  xfonts-100dpi 1:1.0.0-4  100 dpi fonts for X
ii  xfonts-75dpi  1:1.0.0-4  75 dpi fonts for X
ii  xfonts-base   1:1.0.0-6  standard fonts for X
ii  xfonts-scalable   1:1.0.0-6  scalable fonts for X
ii  xfonts-utils  1:7.4+1X Window System font utility progr
ii  xinit 1.1.1-1X server initialisation tool
ii  xkb-data  1.5-2  X Keyboard Extension (XKB) configu
ii  xserver-xorg  1:7.4+1the X.Org X server
ii  xterm [x-terminal-emulator]   242-1  X terminal emulator

Versions of packages xorg recommends:
ii  xorg-docs 1:1.4-4Miscellaneous documentation for th

xorg suggests no packages.

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org