LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   nvidia dual head (https://www.linuxquestions.org/questions/ubuntu-63/nvidia-dual-head-517207/)

n_hendrick 01-07-2007 02:17 PM

nvidia dual head
 
Okay I have a Nvidia Geforce 7600 GS OC and I have two heads on the card, I have xorg.conf setup to run both screens as seperate desktops, but I can't move windows between the two which I want to do, and when I maximize an application on one of the desktops I lose the mouse all together (I want to be able to move the mouse after a maximization) I've tried twinview but I can't get the windows to only maximize on one monitor, both monitors are being affected. I've also tried Xinerama and have failed to get anything to work on that side ( for some reason it just clones the screen when you enable xinerama). I know what I'm trying to do is possible....I've gotten it to work before two years ago ( I haven't had a dual head card for two years), the nvidia drivers have changed and xorg.conf options are different in vocabulary. Heres my xorg.conf file...
Code:

# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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.
#
# 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 "Files"
        FontPath        "/usr/share/X11/fonts/misc"
        FontPath        "/usr/share/X11/fonts/cyrillic"
        FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/X11/fonts/Type1"
        FontPath        "/usr/share/X11/fonts/100dpi"
        FontPath        "/usr/share/X11/fonts/75dpi"
        FontPath        "/usr/share/fonts/X11/misc"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load        "i2c"
        Load        "bitmap"
        Load        "ddc"
        Load        "dri"
        Load        "extmod"
        Load        "freetype"
        Load        "glx"
        Load        "int10"
        Load        "type1"
        Load        "vbe"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "kbd"
        Option                "CoreKeyboard"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc105"
        Option                "XkbLayout"        "us"
        Option                "XkbOptions"        "lv3:ralt_switch"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
        Option                "CorePointer"
        Option                "Device"                "/dev/input/mice"
        Option                "Protocol"                "ExplorerPS/2"
        Option                "ZAxisMapping"                "4 5"
        Option                "Emulate3Buttons"        "true"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"  "ISDV4"              # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"  "ISDV4"              # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"  "ISDV4"              # Tablet PC ONLY
EndSection

Section "Device"
        Identifier        "nvidia0"
        Driver                "nvidia"
        Screen                0       
        Option          "BackingStore"  "true"
        Option          "TripleBuffer"  "true"
        Option          "RenderAccel" "true"
        Option          "NvAGP" "3"
#      Option          "TwinView"
        Option                "MetaModes" "1600x1200,1280x1024,1024x768,800x600,640x480;1280x1024,1024x768,800x600,640x480"
        Option          "TwinViewOrientation" "Above"
        Option                "ConnectedMonitor" "Monitor0, Monitor1"
        BusID                "PCI:1:0:0"
EndSection

Section "Device"
        Identifier        "nvidia1"
        Driver                "nvidia"
        Screen                1       
        Option          "BackingStore"  "true"
        Option          "TripleBuffer"  "true"
        Option          "RenderAccel" "true"
        Option          "NvAGP" "3"
#      Option          "TwinView"
        Option                "MetaModes" "1600x1200,1280x1024,1024x768,800x600,640x480;1280x1024,1024x768,800x600,640x480"
        Option          "TwinViewOrientation" "Above"

        Option                "ConnectedMonitor" "Monitor0, Monitor1"
        BusID                "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier        "Monitor0"
#        Option                "DPMS"
        HorizSync        28-80
        VertRefresh        43-60
EndSection

Section "Monitor"
        Identifier        "Monitor1"
EndSection

Section "Screen"
        Identifier        "Screen0"
        Device                "nvidia0"
        Monitor                "Monitor0"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier        "Screen1"
        Device                "nvidia1"
        Monitor                "Monitor1"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection








Section "ServerLayout"
        Identifier        "Default Layout"
        Screen 0        "Screen0"
        Screen 1        "Screen1" Above "Screen0"       
#        Option                "Xinerama" "true"       
#        Option          "Twinview"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
        InputDevice    "stylus" "SendCoreEvents"
        InputDevice    "cursor" "SendCoreEvents"
        InputDevice    "eraser" "SendCoreEvents"
EndSection

#Section "ServerFlags"
#        Option "Xinerama"
#EndSection



Section "DRI"
        Mode        0666
EndSection

Any ideas?

kernel_geek 01-07-2007 02:20 PM

follow this guide it almost works always


http://gentoo-wiki.com/HOWTO_Dual_Monitors

n_hendrick 01-07-2007 02:28 PM

okay I've tried changing my server layout and I know twinview won't work, there has to be a way, that guide had alot of useful info but nothing about mouse changing and window moving between monitors.

kernel_geek 01-07-2007 02:33 PM

Ok its def twin view cus i use that and i can maxamixe to only one monitor.. What window manager are you using ??

n_hendrick 01-07-2007 02:46 PM

I'm running metacity under gnome and the nvidia 1.0-8776.
Is it the version of the driver I'm using???

kernel_geek 01-07-2007 02:57 PM

No just set it up with twin view agaIN. And i will find out what changes you have to make to meta city. I am 99% sure its a window manager problem.

kernel_geek 01-07-2007 03:07 PM

LOL i read that guide I posted it sais that you have to use xinerama and compile your windows manager with it

Quote:

If you have problems with windows spanning across your dual or triple monitors, or you seem to notice that your windows don't seem to "snap" to your screens, you probably haven't compiled your favorite window manager with the xinerama use flag. (if it supports it, that is). When you compile or recompile your window manager (eg. Gnome's Metacity) with the xinerama use flag, your windows will only maximize to one screen. This is a small, but important issue that people tend to overlook at first (including myself).
But i dont understand I am using twin viw and mine snaps ^0). Do you want a copy of my xorg.conf modify it for youself and see if it helps ...

n_hendrick 01-07-2007 03:13 PM

sure, post away

kernel_geek 01-07-2007 03:17 PM

Ok obviously you will have to mod it for your right reselution and bus id... BACK UP YOUR OLD ONE


Quote:

# Note:
# This is the default configuration file for Xorg. To change the Desktop
# Multiplier configuration, you need to edit the userful.Mxorg.conf file.

# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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.
#
# 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 "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/event5" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/event5" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "Card0"
Driver "nvidia"
BusID "AGP:03:00:0"
Screen 0
Option "NoLogo"
Option "TwinView"
Option "MetaModes" "1024x768,1024x768; 1024x768"
Option "TwinViewOrientation" "RightOf"
Option "SecondMonitorHorizSync" "UseEdidFreqs"
Option "SecondMonitorVertRefresh" "UseEdidFreqs"
Option "ConnectedMonitor" "CRT,CRT"
EndSection

Section "Monitor"
Identifier "Monitor0"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
#InputDevice "Pen" "SendCoreEvents"
#InputDevice "pen" "SendCoreEvents"

EndSection

Section "DRI"
Mode 0666
EndSection

kernel_geek 01-08-2007 04:02 PM

I found out how to do it YAY

Use twin view



just type this at a terminal (in X)


gnome-window-propeties

then click size and
change your settings


All times are GMT -5. The time now is 02:45 PM.