LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-22-2004, 02:48 PM   #1
Saak
LQ Newbie
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian, testing
Posts: 9

Rep: Reputation: 0
XF86 - Dual head Nvidia problem


Hello everone,
im new to the forums.

I did a fresh install today, and had to reconfigure my XF86Config-4.
After i had installed the nvidia drivers, i started altering the config file for a dual head setup.
Now my first monitor is correct, but my second one is doing real strange (it looks really bad, with stripes and flashy stuff)
I have the refreshrates from the manual, turning xinerama on/off doesnt work.

When XFree86 configured the XF86Config-4 for me, the second monitor was working well, here's how it was:

Code:
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/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

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

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

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"PS/2"
	Option		"ZAxisMapping"		"4 5"
EndSection

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

Section "Device"
	Identifier	"geforce4"
	Driver		"vesa"
EndSection

Section "Monitor"
	Identifier	"Monitor0"
	HorizSync	30-107
	VertRefresh	85-100
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Screen0"
	Device		"geforce4"
	Monitor		"Monitor0"
	DefaultDepth	16
	SubSection "Display"
		Depth		1
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768"
	EndSubSection
EndSection

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

Section "DRI"
	Mode	0666
EndSection
With the above setup, both monitors are working well, on a 1024x768 resolution.
After altering its now like this:

Code:
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/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
#	Load	"GLcore"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
#	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
EndSection

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

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"PS/2"
	Option		"ZAxisMapping"		"4 5"
EndSection

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

Section "Device"
	Identifier	"geforce40"
	Driver		"nvidia"
	BusID		"PCI:1:0:0"
	Screen		0
EndSection

Section "Device"
	Identifier	"geforce41"
	Driver		"nvidia"
	BusID		"PCI:01:00:0"
	Screen		1
EndSection

Section "Monitor"
	Identifier	"Monitor0"
	HorizSync	30-107
	VertRefresh	85-100
	Option		"DPMS"
EndSection

Section "Monitor"
	Identifier	"Monitor1"
	HorizSync	30-107
	VertRefresh	85-100
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Screen0"
	Device		"geforce40"
	Monitor		"Monitor0"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"Screen1"
	Device		"geforce41"
	Monitor		"Monitor1"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768"
	EndSubSection
EndSection


Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		0 "Screen0"
	Screen		1 "Screen1" RightOf "Screen0"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Generic Mouse"
	Option		"xinerama" "on"
EndSection
Its not working I tried everything
As you can see, the 2nd monitor is working in the first config on 1024x768 with the same settings.
Changing depth doesnt work, other refresh rates doesnt work.

Can someone help me with this?

Thanks!!
 
Old 03-22-2004, 03:38 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
you were supposed to backup your working XF86Config file.
 
Old 03-22-2004, 04:12 PM   #3
Saak
LQ Newbie
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian, testing
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by AutOPSY
you were supposed to backup your working XF86Config file.
You're so right
But i didnt expect this to be such a problem, configuring it should normally take 10 min or so
 
Old 03-23-2004, 03:48 PM   #4
Saak
LQ Newbie
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian, testing
Posts: 9

Original Poster
Rep: Reputation: 0
Anyone got a clue why my new XF86config is wrong?
 
Old 03-24-2004, 01:05 PM   #5
Saak
LQ Newbie
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian, testing
Posts: 9

Original Poster
Rep: Reputation: 0
Last bump
 
Old 03-24-2004, 04:30 PM   #6
skel
Member
 
Registered: Jan 2004
Distribution: Slackware 10 ; Gentoo ; OpenBSD 3.6
Posts: 101

Rep: Reputation: 15
TwinView doesn't work like xinerama.

You don't set up the monitors and positions seperately, also, you should move the xinerama option entirely.

ok, remove your geforce41 device, and change the geforce40 device to look like:

Code:
Section "Device"
  Identifier "geforce40"
  VendorName "nvidia"
  Driver "nvidia"
  BusID "PCI:1:0:0"

  #Twinview setup
  Option "TwinView"
  Option "SecondMonitorHorizSync "30-107"
  Option "TwinViewOrientation"      "LeftOf"
  Option "85-100"
  Option "MetaModes" "1024x768,1024x768"
  Option "ConnectedMonitor" "crt,crt"
EndSection
and change the server layout section to look like this:
Code:
Section "ServerLayout"
  Identifier "Default Layout"
  Screen "Screen0"
  InputDevice "Generic Keyboard"
  InputDevice "Configured Mouse"
EndSection
you can also remove the Screen1 and Monitor1 sections, this should probabyl work, if not then check the readme and fiddle with it a bit
 
Old 03-27-2004, 06:23 PM   #7
Saak
LQ Newbie
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian, testing
Posts: 9

Original Poster
Rep: Reputation: 0
Hello
skel, thx for your reply.

But twinview is not what im want to use, only xinerama is.
And xinerama is working well, the problem is my 2nd monitor.

This is from the nvidia readme for setting up dual monitors using xinerama:
ftp://download.nvidia.com/XFree86/Li....0-5336/README (see appendix R)

Code:
To configure two separate X screens to share one graphics chip, here is
what you will need to do:

First, create two separate Device sections, each listing the BusID of
the graphics card to be shared, each listing the driver as "nvidia",
and assign each a separate screen:


    Section "Device"
        Identifier  "nvidia0"
        Driver      "nvidia"
        # Edit the BusID with the location of your graphics card
        BusID       "PCI:2:0:0"
        Screen      0
    EndSection

    Section "Device"
        Identifier  "nvidia1"
        Driver      "nvidia"
        # Edit the BusID with the location of your graphics card
        BusId       "PCI:2:0:0"
        Screen      1
    EndSection


Then, create two Screen sections, each using one of the Device sections:


    Section "Screen"
        Identifier  "Screen0"
        Device      "nvidia0"
        Monitor     "Monitor0"
        DefaultDepth 24
        Subsection "Display"
            Depth       24
            Modes       "1600x1200" "1024x768" "800x600" "640x480" 
        EndSubsection
    EndSection

    Section "Screen"
        Identifier  "Screen1"
        Device      "nvidia1"
        Monitor     "Monitor1"
        DefaultDepth 24
        Subsection "Display"
            Depth       24
            Modes       "1600x1200" "1024x768" "800x600" "640x480" 
        EndSubsection
    EndSection


(note: you'll also need to create a second Monitor section)

Finally, update the ServerLayout section to use and position both Screen
sections:


    Section "ServerLayout"
        ...
        Screen         0 "Screen0" 
        Screen         1 "Screen1" leftOf "Screen0"
        ...
    EndSection


For further details, please refer to the XF86Config manpage.
Followed the instructions, read the man page(s), double checked the busID, but still my second monitor wont work correctly!

Any help would really be appriciated!

greetings
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia nvs 280 Dual Head SuSE 9.2 basset_drool Linux - Hardware 3 02-23-2005 02:14 PM
Dual head X configuration of Nvidia 5700 Ultra scaley187 Linux - Hardware 2 11-11-2004 06:45 PM
NVidia Twinview dual head, 2 frame buffers peter72 Linux - Hardware 0 04-07-2004 02:22 PM
Performance xinerama / dual-head with nvidia drivers. alaric Linux - General 2 08-14-2003 06:23 PM
NVidia Dual Head FX5200 XODeuce Linux - Hardware 0 07-21-2003 05:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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