LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-14-2008, 08:23 AM   #1
nfawcett81
LQ Newbie
 
Registered: Apr 2008
Posts: 4

Rep: Reputation: 0
Dual Monitor nVidia 5200


My dual monitors work in the fact I can maximize applications to both screens and drag them from one to another. So working in gnome works with no problem. But if I use an application like Tux Racer where it uses true full screen it splits between both monitors. Any idea how to tweak this to open to a single monitor? I have a dual head geforce 5200.

lspci:
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)

xorg.conf:

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL E172FP"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.0 - 80.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "DELL E172FP"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.0 - 80.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce FX 5200"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce FX 5200"
EndSection

Section "Screen"

# Removed Option "metamodes" "CRT-0: 1280x1024 +0+0, CRT-1: nvidia-auto-select +1280+0"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT-0: 1280x1024 +0+0, CRT-1: 1280x1024 +1280+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT-0: 1280x1024 +0+0, CRT-1: nvidia-auto-select +1280+0"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
 
Old 04-15-2008, 05:14 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
I've found the only way to get everything working properply was not to use TwinView but Xinerama. My setup is tripple headed but with two screen it would look something like this...
Code:
Section "Device"
	Identifier	"Nvidia GeForce 7950GT 1"
	Driver		"nvidia"
	Option		"RenderAccel" "true"
	Option		"NoLogo" "true"
	Option		"AllowGLXWithComposite" "true"
	Option		"BackingStore" "true"
	BusID		"02:00:0"
	Screen		0
EndSection

Section "Device"
	Identifier	"Nvidia GeForce 7950GT 2"
	Driver		"nvidia"
	Option		"RenderAccel" "true"
	Option		"NoLogo" "true"
	Option		"AllowGLXWithComposite" "true"
	Option		"BackingStore" "true"
	BusID		"02:00:0"
	Screen		1
EndSection

Section "Screen"
	Identifier	"Centre"
	Device		"Nvidia GeForce 7950GT 1"
	Monitor		"Samsung 1100MB"
	DefaultDepth	24
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1024x768" "800x600"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"Left"
	Device		"Nvidia GeForce 7950GT 2"
	Monitor		"Samsung 920N 1"
	DefaultDepth	24
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1024x768" "800x600"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Centre"
	Screen		"Left" LeftOf "Centre"
EndSection
 
Old 04-16-2008, 08:25 AM   #3
nfawcett81
LQ Newbie
 
Registered: Apr 2008
Posts: 4

Original Poster
Rep: Reputation: 0
found solution

I finally got it working the way I want it to. I actually shortened up my config. But what really did it was the MetaModes by putting in some NULL statements.

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL E172FP"
HorizSync 31.5 - 79.0
VertRefresh 50.0 - 70.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce FX 5200"
Option "TwinView" "true"
Option "MetaModes" "DFP-0: 1280x1024, DFP-1: 1280x1024; DFP-0: 1280x1024, DFP-1: NULL; DFP-0: NULL, DFP-1: 1280x1024"
Option "TwinViewOrientation" "RightOf"
Option "SecondMonitorHorizSync" "31.5-79.0"
Option "SecondMonitorVertRefresh" "50.0-70.0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
EndSection
 
Old 05-27-2008, 04:36 AM   #4
Pariah
LQ Newbie
 
Registered: Oct 2001
Location: Netherlands
Distribution: Fedora Core, Mandriva, OpenSuse
Posts: 5

Rep: Reputation: 0
I've also found an easy way to let X use 2 screens, be able to maximize to just one of the monitors, and still drag windows around both windows.

Just follow these steps:

1. Open nvidia-settings as root
2. Configure the second monitor as 'Seperate X screen'
3. Click the 'Save to X Configuration File'
4. Configure the second monitor as 'TwinView'
5. Click the 'Save to X Configuration File' and 'Apply'

You might have to reboot, but the settings in the xorg.conf file are now ok. This is because the NVidia settings tool creates an extra entry for the second monitor for step 2, and does not remove it for step 4...

Not really needed for this thread anymore, but it might be helpful for someone ;-)
 
  


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
How to setup dual screens on Fedora Core 8 with NVIDIA GeForce FX 5200 DukeD Linux - Hardware 5 02-10-2009 07:52 PM
Example of working xorg.conf for Nvidia FX 5200 with crt monitor and TV LiquidSlumber Linux - Hardware 0 02-12-2006 10:57 AM
Dual monitor on Gnome & GeForce FX 5200 Grimmi- Linux - Hardware 2 10-14-2005 01:07 PM
Need Help! NVidia GFX 5200 PCI, Dual Monitors Acer TalonJ Linux - Hardware 1 03-14-2005 04:33 PM
NVidia GeforceFX 5200 - Dual DFP - RedHat Linux - DVI Output cocmapbe Linux - Hardware 0 03-09-2004 07:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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