PDA

View Full Version : [ubuntu] Mouse stuck on second monitor (tv out) separate x screen



wynneth
October 15th, 2009, 05:45 PM
Ubuntu 9.04 Jaunty, Nvidia Geforce Go 6150 on an HP laptop- using Svideo out to tv as separate x screen:

When the mouse is moved to the secondary x screen, tv out, I am unable to get it to return to the primary display. There is still a remnant of the cursor displayed at the edge of the primary display, but I have found no way to return the mouse to the primary display. Opening a new window on the primary display does release keyboard control to it - but the mouse still does not return. I've tried various ideas like holding down CTRL, or ALT, or SHIFT, or all of them and mousing over - no luck.

astrubhar
October 16th, 2009, 04:55 AM
I'm having this problem as well on Ubuntu 9.10. I'm using Nvidia X Server to configure my screens. Here is the contents of my xorg.conf file:


# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@palmer) Sun Feb 1 20:21:04 UTC 2009


Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "TV-0"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Nvidia Default Flat Panel"
HorizSync 29.0 - 49.0
VertRefresh 0.0 - 61.0
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce Go 6150"
BusID "PCI:0:5:0"
Screen 1
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce Go 6150"
BusID "PCI:0:5:0"
Screen 0
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Monitor1"
EndSection

Section "Screen"

DFP: 400x300 +0+0; DFP: 320x240 +0+0"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "TV: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"

+0+0; TV: 400x300 @512x384 +0+0; TV: 400x300 +0+0; TV: 320x240 +0+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP: nvidia-auto-select +0+0; DFP: 1024x768 +0+0; DFP: 800x600 +0+0; DFP: 680x384 +0+0; DFP: 640x480 +0+0; DFP: 512x384 +0+0; DFP: 400x300 +0+0; DFP: 320x240 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

wynneth
October 17th, 2009, 04:37 AM
Hmm. Remarkably similar, mine is a bit jumbled right now because of another problem I'm trying to track down - intermittent color on the tv out. Not sure if it's a cabling issue because it seemed to work last night with no changes. Anyway here's mine:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@palmer) Sun Feb 1 20:21:04 UTC 2009


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "QDS"
HorizSync 30.0 - 75.0
VertRefresh 60.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "TV-0"
VertRefresh 50.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce Go 6150"
Option "NoLogo" "True"
BusID "PCI:0:5:0"
Screen 0
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce Go 6150"
BusID "PCI:0:5:0"
Screen 1
Option "TVStandard" "NTSC-M"
Option "TVOutFormat" "SVIDEO"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "DFP-0"
Option "metamodes" "DFP: 1280x800 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "TVStandard" "NTSC-M"
Option "TVOutFormat" "SVIDEO"
Option "TwinViewXineramaInfoOrder" "DFP-0"
Option "TwinView" "0"
Option "metamodes" "TV: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

damienbfn
November 11th, 2009, 11:36 AM
Mine seems to be the reverse of your symptoms.
Ubuntu 9.10(64 bit) – Laptop with external monitor – mouse problem
All works fine until I move the mouse cursor on the monitor to either the bottom of the screen or to the right of the screen. It then disappears from the monitor and re-appears onto my laptop screen. There is no way I can then get it back onto the monitor screen. When I then go to ‘shutdown’ on the laptop, the ‘shutdown’ dialogue box appears ONLY on the external monitor!
This happens whether or not I use the laptop touchpad mouse or the Wireless USB mouse and whether or not the USB adaptor is connected. My laptop has nvidia graphics and the drivers are installed.
Here is my xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@crested) Sun Feb 1 20:25:37 UTC 2009

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName "LPL"
HorizSync 30.0 - 75.0
VertRefresh 60.0
Option "DPMS"
EndSection

Section "Monitor"
# HorizSync source: builtin, VertRefresh source: builtin
Identifier "Monitor0"
VendorName "Unknown"
ModelName "CRT-0"
HorizSync 28.0 - 55.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7000M / nForce 610M"
BusID "PCI:0:18:0"
Screen 1
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7000M / nForce 610M"
BusID "PCI:0:18:0"
Screen 0
EndSection

Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT: 1400x900 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

ceasol
November 12th, 2009, 06:33 AM
I have this same problem in Ubuntu 9.10

I found this bug reported and fixed but I have no idea hot to fix it

http://bugs.freedesktop.org/show_bug.cgi?id=12145

dseven
February 25th, 2010, 10:34 PM
I have the same problem with a MacBook Pro (w/nVidia) running 9.10. I want to use an external monitor as a second X screen (no Xinerama, no TwinView). I can move the mouse pointer from the laptop screen to the external monitor, but then it's stuck there - can't move back to the laptop screen.

Any suggestions, before I attempt to log a bug report ?

Jean85
March 12th, 2010, 03:56 PM
I have this same problem in Ubuntu 9.10

I found this bug reported and fixed but I have no idea hot to fix it

http://bugs.freedesktop.org/show_bug.cgi?id=12145Same problem here, with a Toshiba Satellite Pro P100

nVidia 7600, 2 separate X screens, Secondary screen on VGA-out, when I move the mouse on it I can't get it back to the main one.

Please fill in in the bug report that you're affected too, maybe we would get some extra attention.

Jean85
March 12th, 2010, 04:21 PM
I found out that's not nvidia's fault: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-180/+bug/444154

ATI is affected too, so it's something between Gnome, X11, glib..

david stevenson
June 9th, 2010, 09:07 PM
As a sometime work around if you have a window open on the first screen you are trying to return the mouse to, pressing ALT F7 will give you the move window control that will then change back to a mouse pointer where you want it.
It does not always work for me, but has recovered the situation many times.
If anyone finds a proper fix please post details here.

aaronchall
June 22nd, 2010, 05:20 AM
Thanks for the workaround, I am also having this problem with an external monitor.

I was trying to use "separate X screen" but it seems like I should have selected "Twinview" which is counter-intuitive to me. I don't want the same stuff on each monitor, and I really don't know if there are actually any advantages to separate X screen.

This page says twinview beats xinerama on most measurements they took.
http://www.phoronix.com/scan.php?page=article&item=387&num=1

I finally got the twinview option instead of separate X screen, but , it appears that twinview is also sucking for me because I have my toolbars on just the external monitor. I didn't want that really...

I'll try a reboot and see what happens...

Aaron

daspooky
July 5th, 2010, 10:20 AM
Any news on this issue? I'm having the same problem here (as described by wynneth), on Ubuntu 10.04 with the default Nvidia drivers (provided with Ubuntu)

murasame
August 5th, 2010, 01:36 AM
Still nobody ? Is there a way to configure xorg so that mouse has 2 entries i.e. 1 on each graphic server ? Or optionally, what if I connect 2 mice while configuring the xorg file so that there is one single mouse per screen...

Anybody ?

WildMagic
August 7th, 2010, 10:55 PM
I'm using an HP Laptop with a nvidia GeForce Go6150 video card, Ubuntu 10.04 (Lucid) and am facing the same issue with external monitor connected via VGA out.

My Laptop touchpad can move the mouse pointer to the external screen but it cannot return. It stays stuck on the external screen. HOWEVER, I also have an external USB mouse connected and when I move it, the mouse pointer does come back to the main laptop screen.

isantop
September 10th, 2010, 09:36 PM
This sounds, to me, like the above poster has it. Perhaps the built-in trackpad is confined to the second screen, while a new one is reconfigured to use both screens. I'll check this on one of our Pangolins.

EDIT: Nope, same xorg.conf section for both mice.