Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-24-2011, 07:53 PM   #1
Registered: Dec 2006
Posts: 86

Rep: Reputation: 16
xorg.conf multiple graphics cards


Is it possible to add more than one graphic device driver to xorg.conf and it will load automatically? It is important to autodetect because I am using the configuraiton read only. This is because it's a custom LIVE CD...

This is what I currently have, and it works!

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 270.41.06  (  Mon Apr 18 15:15:12 PDT 2011

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"

Section "Files"

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
Problem is if I put my Live CD in my brothers machine, it fails to load because it uses a Radeon driver!

I can preinstall the ati packages I need, so all i need to know is how do I make it work?
Old 07-24-2011, 08:51 PM   #2
Senior Member
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
It will take a lot of work to get this working with proprietary drivers. Both the catalyst driver from AMD and the NVIDIA driver have their own GLX modules and their own libraries. Not only will you need to figure out how to get Xorg to load both 2D drivers (which shouldn't be too hard... Simply having two Device sections will probably be enough), but you will also need to figure out how to get Xorg to load the correct GLX module and for applications to link against the correct GL library.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
xorg.conf::Graphics card and Xorg related issue miguelg Linux - Newbie 1 03-31-2010 04:17 PM
Various xorg.conf examples for using (multiple) cards + (multiple) monitors GrapefruiTgirl Linux - Hardware 5 09-01-2009 10:22 PM
Using two graphics cards with Xorg-X11 jrtayloriv Linux - Hardware 2 01-01-2007 05:37 PM
modify xorg.conf for graphics card allelopath Linux - Software 2 05-05-2006 09:13 AM
Quick Confirmation about Multiple Graphics Cards joeyjwc Linux - Hardware 11 10-17-2005 07:58 PM

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration