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 01-01-2009, 10:17 PM   #1
mitchell2345
Member
 
Registered: Aug 2008
Posts: 55

Rep: Reputation: 16
Nvidia Dual monitors w/two video cards


Hi,

I am trying to configure two monitors with my Asus M2NPV-VM montherboard.

The onboard is a 6150 and in the PCI-E slot i have a 8400GS.

I am not sure if the board supports using both onboard and pci-e but there was a setting in the BIOS to enable PCI-E&Onboard.

When booted into CentOS 5.2 and running lspci i can see both cards:
Code:
00:05.0 VGA compatible controller: nVidia Corporation C51 [Quadro NVS 210S/GeForce 6150LE] (rev a2
01:00.0 VGA compatible controller: nVidia Corporation Unknown device 06e4 (rev a1)
here is a copy of the xorg.conf file i have modified:
Code:
Section "ServerLayout"
    Identifier     "single head configuration"
    Screen      0  "Screen0" 1920 0
    Screen      1  "Screen1" LeftOf "Screen0"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

#    FontPath     "unix/:7100"
    ModulePath      "/usr/lib64/xorg/modules/extensions/nvidia"
    ModulePath      "/usr/lib64/xorg/modules/extensions"
    ModulePath      "/usr/lib64/xorg/modules"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "fbdevhw"
    Load           "glx"
    Load           "record"
    Load           "freetype"
    Load           "type1"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
    Option         "AIGLX" "off"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us+inet"
EndSection

Section "Monitor"
    Identifier     "Monitor"
    VendorName     "Unknown"
    ModelName      "Envision EN5400"
    HorizSync       30.0 - 63.0
    VertRefresh     50.0 - 76.0
EndSection

Section "Monitor"
    Identifier     "Projector"
    VendorName     "Optoma"
    ModelName      "HD80"
    HorizSync       15.0 - 120.0
    VertRefresh     15.0 - 99.0
EndSection

Section "Device"
    Identifier     "Onboard"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro NVS 210S / NVIDIA GeForce 6150LE"
    BusID          "0:5:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "PCI-E"
    Driver         "nvidia"
    VendorName     "NVIDIA 8400GS"
    BoardName      "Asus"
    BusID          "1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Onboard"
    Monitor        "Monitor"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT: nvidia-auto-select +0+0"
    Option         "AddARGBGLXVisuals" "True"
    Option         "HWCursor" "off"
    Option         "NoLogo" "true"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "PCI-E"
    Monitor        "Projector"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP: 1920x1080_60 +0+0"
    Option         "AddARGBGLXVisuals" "True"
    Option         "NoLogo" "true"
    SubSection     "Display"
        Depth       24
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Disable"
EndSection
When loading this xorg.conf file i get this error:
Code:
(WW) NVIDIA: No matching Device section for instance (BusID PCI:1:0:0) found
(EE) Screen 1 deleted because of no matching config section.
At this point GNOME loads on the montitor (onboard video). The odd part is if i comment out the onboard device's busID and start X i get this:
Code:
(WW) NVIDIA: No matching Device section for instance (BusID PCI:0:5:0) found
(EE) NVIDIA(1): Unable to find available Display Devices for screen 1.
So this tells me the driver can see both cards, as the GUI will load on each. But I cant load them both at the same time. Leading me to believe it wont work.

So, is it normally to be able to use both cards? Seems to me like if the board didnt support this you wouldnt see the onboard via the driver. Are there any mistakes in my config?

Thanks,
Mitchell
 
Old 01-02-2009, 05:00 AM   #2
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
You should be able to get this working, my next step would be:

Remove the PCIE card and run X -configure, then save the /root/xorg.conf.new somewhere

Do the same for the PCIE card (disable onboard card in bios)

Then use the xorg-generated device sections and see what happens!
 
Old 01-02-2009, 05:44 PM   #3
mitchell2345
Member
 
Registered: Aug 2008
Posts: 55

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Tuttle View Post
You should be able to get this working, my next step would be:

Remove the PCIE card and run X -configure, then save the /root/xorg.conf.new somewhere

Do the same for the PCIE card (disable onboard card in bios)

Then use the xorg-generated device sections and see what happens!
well, thats kinda what I did. I merged my old and new xorg.conf files from before i had the pci-e card and when i only used the pci-x.

Any other ideas?
 
Old 01-02-2009, 08:13 PM   #4
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
I see... I take it each card performs perfectly on its own?

The only thing I noticed is this line:
Code:
Screen      0  "Screen0" 1920 0
When coupled with this line:
Code:
Option         "metamodes" "CRT: nvidia-auto-select +0+0"
Just for a test, try swapping the screens around and having everything at 0 0
So the server layout becomes:
Code:
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
And the PCI-E device becomes "Screen0"

Last edited by Tuttle; 01-02-2009 at 08:14 PM.
 
Old 01-02-2009, 11:18 PM   #5
mitchell2345
Member
 
Registered: Aug 2008
Posts: 55

Original Poster
Rep: Reputation: 16
no luck making those changes.

Mitchell
 
Old 01-02-2009, 11:34 PM   #6
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
I can only assume that the bios is incapable of supporting this, try looking for a bios upgrade/fix!
 
  


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 with 2 video cards dannyk1 Linux - Hardware 3 08-30-2005 05:01 AM
Dual monitors/video cards??? erikcw Linux - General 16 05-04-2004 11:12 PM
Dual Video Cards? 3 Monitors? Dimitri Linux - Hardware 5 01-23-2004 01:04 PM

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

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