LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 01-07-2007, 02:17 PM   #1
n_hendrick
Member
 
Registered: Jan 2004
Location: Canal Fulton OH.
Distribution: Ubuntu 7.04, RedHat
Posts: 67

Rep: Reputation: 15
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?
 
Old 01-07-2007, 02:20 PM   #2
kernel_geek
Member
 
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161

Rep: Reputation: 30
follow this guide it almost works always


http://gentoo-wiki.com/HOWTO_Dual_Monitors
 
Old 01-07-2007, 02:28 PM   #3
n_hendrick
Member
 
Registered: Jan 2004
Location: Canal Fulton OH.
Distribution: Ubuntu 7.04, RedHat
Posts: 67

Original Poster
Rep: Reputation: 15
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.
 
Old 01-07-2007, 02:33 PM   #4
kernel_geek
Member
 
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161

Rep: Reputation: 30
Ok its def twin view cus i use that and i can maxamixe to only one monitor.. What window manager are you using ??
 
Old 01-07-2007, 02:46 PM   #5
n_hendrick
Member
 
Registered: Jan 2004
Location: Canal Fulton OH.
Distribution: Ubuntu 7.04, RedHat
Posts: 67

Original Poster
Rep: Reputation: 15
I'm running metacity under gnome and the nvidia 1.0-8776.
Is it the version of the driver I'm using???
 
Old 01-07-2007, 02:57 PM   #6
kernel_geek
Member
 
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161

Rep: Reputation: 30
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.
 
Old 01-07-2007, 03:07 PM   #7
kernel_geek
Member
 
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161

Rep: Reputation: 30
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 ...

Last edited by kernel_geek; 01-07-2007 at 03:08 PM.
 
Old 01-07-2007, 03:13 PM   #8
n_hendrick
Member
 
Registered: Jan 2004
Location: Canal Fulton OH.
Distribution: Ubuntu 7.04, RedHat
Posts: 67

Original Poster
Rep: Reputation: 15
sure, post away
 
Old 01-07-2007, 03:17 PM   #9
kernel_geek
Member
 
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161

Rep: Reputation: 30
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
 
Old 01-08-2007, 04:02 PM   #10
kernel_geek
Member
 
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161

Rep: Reputation: 30
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
 
  


Reply

Tags
dual, nvidia, xorgconf


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 on FC5 with nVidia darkhammer81 Fedora 11 08-29-2006 08:30 AM
Nvidia Dual Head help MaTrIx709 Linux - Hardware 4 04-02-2006 12:12 PM
Nvidia Dual-Head plus TV-Out kayssun Linux - Hardware 3 02-14-2006 05:43 PM
XF86 - Dual head Nvidia problem Saak Linux - General 6 03-27-2004 06:23 PM
NVidia Dual Head FX5200 XODeuce Linux - Hardware 0 07-21-2003 05:05 PM


All times are GMT -5. The time now is 10:47 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