LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 10-02-2009, 01:07 AM   #1
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
Bizarre Wacom mouse behaviour on Dual Head display


I've a shiny new computer with Ubuntu 9.04, an Nvidia graphics card (GeoForce 9400 GT) and two monitors, along with a Wacom Intuos3 graphics tablet. The goal: a dual-head setup where the monitors are used as one big screen.

It didn't work with the free drivers, so I installed the proprietary nvidia driver. Set it up inside a few minutes and it worked perfectly - brilliant.

A couple of days later, I reboot the PC and when it comes back up, it's not working (back to only using one display).

OK, so the changes didn't get saved in xorg.conf. Go through the nvidia configuration tool and, although the save comes up with an error (permissions, I guess), I can preview the xorg.conf file and cut-and-paste it in.

I don't seem to be able to get it working quite as it was before (when I'm sure it had two virtual screens), but the config below looks OK with xinerama enabled and one virtual machine. The desktop looks the way I want it to.

Code:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

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

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

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

Section "Module"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "1"
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     "Configured Monitor"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "INL LE-1708"
    HorizSync       24.0 - 82.0
    VertRefresh     55.0 - 77.0
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Acer P193W"
    HorizSync       30.0 - 81.0
    VertRefresh     55.0 - 76.0
EndSection

Section "Device"
    Identifier     "Configured Video Device"
    Driver         "nvidia"
    Option         "NoLogo" "True"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9400 GT"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9400 GT"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Configured Video Device"
    Monitor        "Configured Monitor"
    DefaultDepth    24
EndSection

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

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "CRT-1: 1440x900 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
But the Wacom tablet, which worked perfectly at the start with no tweaking, is now doing something very odd.

I can move a window between the two screens - there and back.

But if I use the Wacom mouse, it can move from the left to the right screen, but then gets stuck on the right. The mouse pointer won't won't go back to the left screen whatever I try.

If I switch to the Wacom pen, it will move the mouse pointer between screens, but will only move it on the outside of the two screens (so with the pen I can move the pointer around the right half of the right-hand screen and the left half of the left-hand screen, but it jumps between the two and I can't get it to the middle section at all).

By switching between mouse and pen I can sort of control it: the mouse will move the pointer anywhere in a screen, and from left to right, and I can use the pointer to move it from right to left.

But this isn't how it's meant to be, and it isn't how it was two days ago when I did no special configuration at all - the wacom tablet just worked.
 
Old 10-02-2009, 01:40 AM   #2
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Original Poster
Rep: Reputation: 30
Not for the first time, having spent hours failing to solve a problem, I crack it within minutes of posting.

Although I was sure I'd tried it before, using the Nvidia TwinView feature did the trick, with both wacom tablet and screens behaving, including after reboot.

In addition to selecting twinview, I temporarily changed the perms on /etc/X11/* so the nvidia app launched under my user ID was able to save changes to xorg.conf.

Note: When I first selected the Twinview option and clicked the "Apply" button on the Nvidia X Server settings app, it came up with an error. Saving to xorg.conf and logging out still worked fine. though.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dual-head display not working rickbot Linux - Hardware 4 03-17-2007 04:43 PM
FC5 Dual Head Display lmcilwain Fedora 1 06-05-2006 09:28 PM
Dual head display problem cioannou Linux - Hardware 2 05-30-2005 03:30 AM
dual head display woes thekowgomoo Slackware 2 03-25-2005 05:24 AM
dual head display : RV100 thomassounness Linux - Hardware 1 04-14-2003 04:07 PM


All times are GMT -5. The time now is 01:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration