LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-08-2005, 11:26 AM   #1
computergee
Member
 
Registered: Feb 2005
Posts: 58

Rep: Reputation: 15
Dual Monitors -Need Help


Hi, I have a 6600Gt with dual heads, with two CRT monitors hooked up to it. I would like to set them up to work in linux. I googled and couldnt find anything I understood . Could you guys walk me through it? Also in my xorg.conf file it identifies my video card as running on a PCI but, but its on AGP, should I change it? Heres my xorg.conf file.

Thanks in advance for any help.


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 commands:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
#   sudo dpkg-reconfigure xserver-xorg

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

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

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

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

Section "Device"
	Identifier	"NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 Ultra]"
	Driver		"nvidia"
	BusID		"PCI:1:0:0"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	HorizSync	28-49
	VertRefresh	43-72
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 Ultra]"
	Monitor		"Generic Monitor"
	DefaultDepth	24

	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "720x400" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
 
Old 08-08-2005, 03:44 PM   #2
huibert.alblas
Member
 
Registered: Jan 2004
Location: Duesseldorf /Germany
Distribution: Gentoo amd64 / Debian
Posts: 226

Rep: Reputation: 30
PCI 1:0:0 is a AGP slot,
For linux AGP is just PCI on steroids.

If you look into /usr/doc/nvidia (or some similar place),
you find that the nvidia drivers also installed a complete manual (text file)
The manual describes pretty good how to setup dualhead with an nvidia card.
It is not the standart xinerama setup used in X.org but Nvidia's way works.

It is the only way to get xinerama working on a single nvidia card.
 
Old 08-08-2005, 04:14 PM   #3
computergee
Member
 
Registered: Feb 2005
Posts: 58

Original Poster
Rep: Reputation: 15
Ok, Ill look into that thanks for clearing that agp thing up. Ok, I got em both working, but my second CRT will only run at 800x600, dosnt work at all if I put it at 1024x786. I ran it in 1024x786 in windows. Also, I tryed running guild wars, which I used Cedega to install, and the menus are all squiched horizontaly. I try to reinstall, and cedega wont install anything, is it the dual monitors making it not work? Or is it because their not running at the same res.

Last edited by computergee; 08-08-2005 at 06:26 PM.
 
Old 08-09-2005, 05:21 PM   #4
sturla
LQ Newbie
 
Registered: Dec 2004
Distribution: Haven't decided yet.
Posts: 26

Rep: Reputation: 15
I'm running twinview on nvidia Geforce 6600 (PCI-E). Don't know anything about Cedega, so I can't help you there. But getting the nvidia drivers and twinview up and running under Ubuntu is quite easy.

Her's my xorg.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 commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

#########################################################
# Redigert for to skjermer av Sturla Storrø (Twinview). #
#########################################################

Section "Files"
FontPath"unix/:7100"# local font server
# if the local font server has problems, we can fall back on these
FontPath"/usr/lib/X11/fonts/misc"
FontPath"/usr/lib/X11/fonts/cyrillic"
FontPath"/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/Type1"
FontPath"/usr/lib/X11/fonts/CID"
FontPath"/usr/lib/X11/fonts/100dpi"
FontPath"/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load"bitmap"
Load"dbe"
Load"ddc"
Load"dri"
Load"extmod"
Load"freetype"
Load"glx"
Load"int10"
Load"record"
Load"type1"
Load"vbe"
Load "v4l" #loads video4linux
EndSection

Section "InputDevice"
Identifier"Generic Keyboard"
Driver"keyboard"
Option"CoreKeyboard"
Option"XkbRules""xorg"
Option"XkbModel""pc105"
Option"XkbLayout""no"
EndSection

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

Section "Device"
Identifier "nvidia"
Driver "nvidia"
VendorName "Nvidia"
BusID "PCI:1:0:0"
BoardName "NVIDIA GeForce 4"
Option "DPMS"
Option "HorizSync" "CRT-0: 30-70; CRT-1: 30-107"
Option "MetaModes" "1280x1024,1280x1024; 1280x1024,1280x1024"
Option "NvAGP" "3"
Option "TwinView" "Yes"
Option "TwinVeiwOrientation" "RightOf"
Option "VertRefresh" "CRT-0:50-160; CRT-1:50-150"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "LG"
ModelName "701B"
DisplaySize 330250
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "NEC"
ModelName "VR17"
DisplaySize 330250
HorizSync 30.0 - 107.0
VertRefresh 50.0 - 150.0
Option "dpms"
EndSection

Section "Screen"
Identifier "Screen0"
Device "nvidia"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "nvidia"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

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

Section "DRI"
Mode0666
EndSection
_________________________________________________

Use http://ubuntuguide.org/
on howto install the right drivers. Then edit the xorg.conf file as I did. Change the HorizSync and the VertRefresh to match your CRT's. The only different thing is my resolution witch is 1024X1024. I recomend it! Try it out and see.
 
Old 08-10-2005, 06:10 AM   #5
huibert.alblas
Member
 
Registered: Jan 2004
Location: Duesseldorf /Germany
Distribution: Gentoo amd64 / Debian
Posts: 226

Rep: Reputation: 30
About cedega and twin view:

I don't think it could work (but I'm haven't tried myself)
Nvidia's TWINVIEW is a nvidia only X upon the X windowing system.
For Xwindows the way to setup to monitors is using xinierama.

Cedega will asume "normal" X behaviour....
Get ready to run into severe compatibility issues.
 
Old 08-10-2005, 10:28 AM   #6
computergee
Member
 
Registered: Feb 2005
Posts: 58

Original Poster
Rep: Reputation: 15
Yeah, I just get a black screen where GW should be. If I ran with X's dual monitor thingie, would it work then?
 
Old 08-10-2005, 11:57 AM   #7
huibert.alblas
Member
 
Registered: Jan 2004
Location: Duesseldorf /Germany
Distribution: Gentoo amd64 / Debian
Posts: 226

Rep: Reputation: 30
Probably,
I've seen screenshots of Quacke running on 6 displays :-)
 
Old 08-10-2005, 04:27 PM   #8
computergee
Member
 
Registered: Feb 2005
Posts: 58

Original Poster
Rep: Reputation: 15
does it just stretch it out? How would i set up the X dual display thignie.
 
Old 08-11-2005, 03:55 AM   #9
huibert.alblas
Member
 
Registered: Jan 2004
Location: Duesseldorf /Germany
Distribution: Gentoo amd64 / Debian
Posts: 226

Rep: Reputation: 30
Yes it stretches, but only for games which let you set abritary resolutions (eg: 4096x768).
I doubt developers of games like GW tought baout anything else but "normal" resolutions.

But you will never find out unless you try:
http://ubuntuforums.org/archive/index.php/t-31686.html

Have fun
 
Old 08-24-2005, 05:17 PM   #10
refdoc
Member
 
Registered: Aug 2005
Location: Scotland
Distribution: Ubuntu
Posts: 32

Rep: Reputation: 15
One of the nicest ways running two displays is to leave all this xinerama and twinview nonsense aside and simply define two devices (two identical sections in your example), two monitors and a layout where both are left or right from each other.

The result is two screens with panel and menu each over which you can distribute your work.
 
Old 08-25-2005, 10:31 AM   #11
computergee
Member
 
Registered: Feb 2005
Posts: 58

Original Poster
Rep: Reputation: 15
Wow now thats a good idea, then I think Ill be able to play games on only one screen. Could you go a little bit more in depth in what I need to do? Or do you have an instant messanging client we can talk over?

Last edited by computergee; 08-25-2005 at 10:32 AM.
 
Old 08-25-2005, 01:19 PM   #12
refdoc
Member
 
Registered: Aug 2005
Location: Scotland
Distribution: Ubuntu
Posts: 32

Rep: Reputation: 15
Sorry, am at the wrong place to offer much help at the moment. I got the idea a while back when looking at xorg.conf files for a setup where two monitors, two keyboards and two mice hang off one computer. I guess using this description will throw up a tutorial in google. If I after all do have time tonight I will see if I can be of more help.

The essential bit was two device sections, two monitor sections, two screen sections and a layout which simply defines the two screens as being however next to each other.

I think like this

Section "layout"
InputDevice "Generic Keyboard"
InputDevice"Configured Mouse"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" LeftOf "Screen0"
EndSection

But I am not at a computer with Linux right now to try it out...

Last edited by refdoc; 08-25-2005 at 01:49 PM.
 
Old 08-25-2005, 01:55 PM   #13
refdoc
Member
 
Registered: Aug 2005
Location: Scotland
Distribution: Ubuntu
Posts: 32

Rep: Reputation: 15
I found this link quite helpful

http://gentoo-wiki.com/HOWTO_Dual_Monitors
 
Old 08-27-2005, 05:06 PM   #14
computergee
Member
 
Registered: Feb 2005
Posts: 58

Original Poster
Rep: Reputation: 15
I got it working to some extent, my other screen will only work at 800x600, not 1024x768 like it does in windows. This is what causes problems in my games. Guild Wars supports 2048x768 but not mixed. Is there a way to force it to run 1024x768, or am I stuck getting another monitor. (This one is old anyways). Heres my xorg.conf file.

EDIT: I got it to work at 1024x768, I thought the part that said "meta modes "1024x769, 800x600" where the resolutions at which the second monitor can run, I set it to "1024x768, 1024x768" and now it all good. My problem now is trying to get guild wars running across the two screens, which i can do in windows. It wont let me click to change the resolution.

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 commands:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
#   sudo dpkg-reconfigure xserver-xorg

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
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		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

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

Section "Device"
	Identifier	"Card0"
	Driver		"nvidia"
	BoardName	"geForce 6600GT"
	BusID		"PCI:1:0:0"
	Option		"TwinView"
	Option 		"SecondMonitorHorizSync"     "30-65"
	Option 		"SecondMonitorVertRefresh"   "50-120"
	Option 		"MetaModes"                  "1024x768, 800x600"
	Option 		"ConnectedMonitor" "CRT, CRT"
	Option 		"TwinViewOrientation"        "RightOf"
	Option 		"Xinerama" "on"
EndSection


Section "Monitor"
	Identifier	"Monitor0"
	Option		"DPMS"
	HorizSync	28-49
	VertRefresh	43-72
EndSection

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

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Screen0"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
Thanks for the help so far.

Last edited by computergee; 08-27-2005 at 09:12 PM.
 
  


Reply



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 monitors on dual vido cards Spaz17 Linux - Hardware 7 05-04-2006 07:59 AM
Setting up Dual Monitors on GeForce 6600GT dual DVI card. monkiidansu Linux - Hardware 1 09-29-2005 02:21 PM
Dual Monitors miickEe. Linux - Software 4 07-02-2005 06:33 PM
dual monitors, dual video cards, 1 X, 1 text 333333338 Linux - Hardware 0 04-17-2005 04:21 AM
Dual Monitors CanadianPenguin Linux - Hardware 6 10-12-2003 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:21 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration