Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia GeForce FX 5900XT working with dual head
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
frising
n00b
n00b


Joined: 22 Jul 2003
Posts: 15
Location: Sweden

PostPosted: Sun Jan 30, 2005 7:04 am    Post subject: Nvidia GeForce FX 5900XT working with dual head Reply with quote

Hi,

I have got one 20.1' and one 15' monitor connected to the same Nvidia GeForce FX 5900XT graphics card. I realy like the idea of xinerama/twinview when using 2 monitors with the same resolution.

However, when using one monitor with 1600x1200 and one monitor with 1024x768 pixels it's quite irritating. So I decided to run two X screens instead of just one big. You'll find my config below. Hope it helps someone!

Code:

# File generated by xorgconfig.

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"     # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
    Load        "type1"
    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
    Load       "glx"

# This loads the DRI module
#    Load       "dri" # Not needed when using nvida drivers

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"
    RgbPath   "/usr/lib/X11/rgb"
    FontPath    "unix/:-1"
EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier   "Keyboard1"
    Driver   "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbModel"   "pc104"                                               
    Option "XkbLayout"  "us"
EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "ZAxisMapping"   "4 5"
    Option "Device"      "/dev/input/mice"
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
    Identifier  "Hyundai-Q15"
    HorizSync   31-60
    VertRefresh 56-75
    Option "DPMS"
EndSection

Section "Monitor"
    Identifier  "ViewSonic VP201s"
    HorizSync   30-92
    VertRefresh 50-85
    Option "DPMS"
EndSection

#Section "Monitor"
#    Identifier  "TV"
#    HorizSync   60
#    VertRefresh 30-150
#EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# Standard VGA Device:

Section "Device"
    Identifier   "Standard VGA"
    VendorName   "Unknown"
    BoardName   "Unknown"
    Driver     "vga"
EndSection

# Device configured by xorgconfig:

Section "Device"
    Identifier  "Nvidia GeForce FX 5900XT 0"
    Driver      "nvidia"
    BusID       "PCI:1:0:0"
    Option "ConnectedMonitor" "DFP-0"
    Screen 0
EndSection

Section "Device"
    Identifier  "Nvidia GeForce FX 5900XT 1"
    Driver      "nvidia"
    BusID       "PCI:1:0:0"
    Option "ConnectedMonitor" "CRT-0"
    Screen 1
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.

Section "Screen"
    Identifier  "Screen 0"
    Device      "Nvidia GeForce FX 5900XT 0"
    Monitor     "ViewSonic VP201s"
    DefaultDepth 24
    Subsection "Display"
        Depth       8
        Modes       "1600x1200" "1280x1024" "1024x768"
        ViewPort    0 0
   Depth       16
        Modes       "1600x1200" "1280x1024" "1024x768"
        ViewPort    0 0
   Depth       24
        Modes       "1600x1200" "1280x1024" "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "Nvidia GeForce FX 5900XT 1"
    Monitor     "Hyundai-Q15"
    DefaultDepth 16
    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"
    Screen 0 "Screen 0"
    Screen 1 "Screen 1" RightOf "Screen 0"
    Option "StandbyTime" "5"
    Option "OffTime" "10"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "DRI"
   Mode 0666
EndSection


Last edited by frising on Sun Jan 30, 2005 7:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
ahubu
Guru
Guru


Joined: 16 Aug 2003
Posts: 400
Location: Groningen, The Netherlands

PostPosted: Sun Jan 30, 2005 3:29 pm    Post subject: Reply with quote

I'm quite sure you're not running 2 X sessions here: just one session and 2 screens. When you run 2 x sessions you eat up a lot more memory, you have to explicitly start a second server (something like "startx :1"), and you'll be able to switch to the second/first screen by pressing CTRL-ALT-F8/F7.

Just thought you might want to know :)
_________________
Anne // Light travels faster than sound. That's why people appear bright until
you hear them speak.
-Unknown
Back to top
View user's profile Send private message
frising
n00b
n00b


Joined: 22 Jul 2003
Posts: 15
Location: Sweden

PostPosted: Sun Jan 30, 2005 7:21 pm    Post subject: Reply with quote

Yeah, you're right... I'm using 2 screens and not 2 X sessions. Just mixed it up. :oops:
Back to top
View user's profile Send private message
float-
Apprentice
Apprentice


Joined: 31 Aug 2003
Posts: 174

PostPosted: Sat Feb 05, 2005 2:31 pm    Post subject: Reply with quote

thanks, I will have a look at your xorgconfig when I get home :p
Back to top
View user's profile Send private message
icb410
n00b
n00b


Joined: 01 Jul 2004
Posts: 55

PostPosted: Mon Feb 07, 2005 9:02 pm    Post subject: Reply with quote

This is just what I wanted! I have the same video card with 2 viewsonic LCD screens connected to the analog port and to the digital port with a converter. Trying your setup though didn't work. Took some playing to figure out, but device section had to look like the following for it to work:
Code:
Section "Device"
    Identifier  "Gainward NVIDIA GeForceFX5900 0"
    Driver      "nvidia"
    BusID      "PCI:1:0:0"
    VideoRam    131072
    Option "ConnectedMonitor" "CRT-0"
    Screen 0
EndSection

Section "Device"
   Identifier "Gainward NVIDIA GeForceFX5900 1"
   Driver "nvidia"
   BusID  "PCI:1:0:0"
   VideoRam 131072
   Option "ConnectedMonitor" "DFP-1"    ##<--- note it's '-1' not '-0'!
   Screen 1
EndSection
Back to top
View user's profile Send private message
frising
n00b
n00b


Joined: 22 Jul 2003
Posts: 15
Location: Sweden

PostPosted: Fri Feb 11, 2005 10:15 am    Post subject: Reply with quote

icb410 wrote:
This is just what I wanted! I have the same video card with 2 viewsonic LCD screens connected to the analog port and to the digital port with a converter. Trying your setup though didn't work. Took some playing to figure out, but device section had to look like the following for it to work:
Code:
Section "Device"
    Identifier  "Gainward NVIDIA GeForceFX5900 0"
    Driver      "nvidia"
    BusID      "PCI:1:0:0"
    VideoRam    131072
    Option "ConnectedMonitor" "CRT-0"
    Screen 0
EndSection

Section "Device"
   Identifier "Gainward NVIDIA GeForceFX5900 1"
   Driver "nvidia"
   BusID  "PCI:1:0:0"
   VideoRam 131072
   Option "ConnectedMonitor" "DFP-1"    ##<--- note it's '-1' not '-0'!
   Screen 1
EndSection


Hi,
I'm glad that you worked it out. The reason for that my config didn't work for you is that you use the converter to the DVI port.

If you take a look at:
ftp://download.nvidia.com/XFree86/Linux-x86/1.0-6629/README.txt
there's some more info about the coonectedmonitor settings.

Quote:
Option "ConnectedMonitor" "string"
Allows you to override what the NVIDIA kernel module
detects is connected to your video card. This may
be useful, for example, if you use a KVM (keyboard,
video, mouse) switch and you are switched away when
X is started. In such a situation, the NVIDIA kernel
module cannot detect what display devices are connected,
and the NVIDIA X driver assumes you have a single CRT.

Valid values for this option are "CRT" (cathode ray
tube), "DFP" (digital flat panel), or "TV" (television);
if using TwinView, this option may be a comma-separated
list of display devices; e.g.: "CRT, CRT" or "CRT, DFP".

NOTE: anything attached to a 15 pin VGA connector is
regarded by the driver as a CRT. "DFP" should only be
used to refer to flatpanels connected via a DVI port.

Default: string is NULL.


Does it work with "CRT-0" and "CRT-1" on the graphics devices?

/Philip
Back to top
View user's profile Send private message
cybermonkey
Apprentice
Apprentice


Joined: 11 Aug 2003
Posts: 194

PostPosted: Fri Mar 04, 2005 11:14 pm    Post subject: Reply with quote

Hi there,

I've been following your howto and have had some progress. I have one CRT and one TFT on a gefore 6600 GT. When i try your config i can only get one monitor at a time to work.

Heres my config:

Quote:

Section "Module"

Load "dbe" # Double buffer extension

SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

Load "type1"
# Load "speedo"
Load "freetype"
# Load "xtt"

# This loads the GLX module
Load "glx"


EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"


RgbPath "/usr/X11R6/lib/X11/rgb"


FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
# FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/local/"
# FontPath "/usr/share/fonts/Speedo/"
# FontPath "/usr/share/fonts/TrueType/"
# FontPath "/usr/share/fonts/freefont/"


EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"




EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

Identifier "Keyboard1"
Driver "kbd"

Option "AutoRepeat" "500 30"

Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
Option "XkbVariant" "Apple"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
# Mouse-speed setting for PS/2 mouse.

# Option "Resolution" "256"



EndSection

# **********************************************************************
# Monitor section
# **********************************************************************


Section "Monitor"

Identifier "IIyama TFT"

HorizSync 24-80

VertRefresh 55-75



EndSection

Section "Monitor"

Identifier "Samsung CRT"

HorizSync 30-70

VertRefresh 50-160



EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"

EndSection

# Device configured by xorgconfig:

Section "Device"
Identifier "GeForce 6600 GT 0"
Driver "nvidia"
VideoRam 131072
BusID "PCI:1:0:0"
Option "ConnectedMonitor" "CRT-0"
Screen 0
EndSection

Section "Device"
Identifier "GeForce 6600 GT 1"
Driver "nvidia"
VideoRam 131072
BusID "PCI:1:0:0"
Option "ConnectedMonitor" "DFP-1"
Screen 1
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
Identifier "Screen 0"
Device "GeForce 6600 GT 0"
Monitor "Samsung CRT"
DefaultDepth 16

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

Section "Screen"
Identifier "Screen 1"
Device "GeForce 6600 GT 1"
Monitor "IIyama TFT"
DefaultDepth 16

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Screen 0"
Screen 1 "Screen 1" LeftOf "Screen 0"
Option "StandbyTime" "5"
Option "OffTime" "10"


InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "DRI"
Mode 0666
EndSection


When i swap the screens around for example the TFT comes on but the CRT switches off and vice vercer. The card has 2 DVI ports and the monitors are connected to those via a VGA-DVI converter.
Cheers for any help.[/code]
Back to top
View user's profile Send private message
cybermonkey
Apprentice
Apprentice


Joined: 11 Aug 2003
Posts: 194

PostPosted: Sat Mar 05, 2005 12:18 am    Post subject: Reply with quote

Figured it out :P

Basically i stopped being a lazy bugger for 5 mins :roll: and read
the nvidia .docs and commented out the
Code:
Option "ConnectedMonitor" "DFP-0"

lines and now i have 2 desktops :wink:
Back to top
View user's profile Send private message
pjj
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 165
Location: The Netherlands

PostPosted: Tue Mar 08, 2005 1:50 pm    Post subject: Reply with quote

Thx, I have pasted your config and edited it for my Monitors etc. It works only Gnome won't start and gives some errors :(. Anyone knows to solve this?

This are the visible errors I got :
Code:
There was a problem registering the panel with the bonobo-activation server.
The error code is: 3
The panel will now exit.


And this one

Code:
Nautilus can't be used now, due to an unexpected error.

Nautilus can't be used now, due to an unexpected error from Bonobo when attempting to register the file manager view server.

_________________
Pjj's Weblog
Back to top
View user's profile Send private message
ThinkTank89
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jan 2005
Posts: 129

PostPosted: Wed Mar 09, 2005 3:27 am    Post subject: Reply with quote

How do I find out what the bus ID of each one of my hookups is.

P.S. 1 vid card, 2 montior hookup.
Back to top
View user's profile Send private message
ahubu
Guru
Guru


Joined: 16 Aug 2003
Posts: 400
Location: Groningen, The Netherlands

PostPosted: Wed Mar 09, 2005 2:36 pm    Post subject: Reply with quote

ThinkTank89 wrote:
How do I find out what the bus ID of each one of my hookups is.

That would be by looking at the numbers in front of the output of the
Code:
lspci
command. It must be run by root.
_________________
Anne // Light travels faster than sound. That's why people appear bright until
you hear them speak.
-Unknown
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum