LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
LinkBack Search this Thread
Old 07-24-2011, 06:53 PM   #1
abourke
Member
 
Registered: Dec 2006
Posts: 73

Rep: Reputation: 16
xorg.conf multiple graphics cards


Hi,

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!


Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 270.41.06  (buildmeister@swio-display-x86-rhel47-07.nvidia.com)  Mon Apr 18 15:15:12 PDT 2011


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

Section "Files"
EndSection

Section "InputDevice"

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

Section "InputDevice"

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

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

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

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
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, 07:51 PM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,087

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
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 libGL.so 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.

Adam
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 03:17 PM
Various xorg.conf examples for using (multiple) cards + (multiple) monitors GrapefruiTgirl Linux - Hardware 5 09-01-2009 09:22 PM
Using two graphics cards with Xorg-X11 jrtayloriv Linux - Hardware 2 01-01-2007 04:37 PM
modify xorg.conf for graphics card allelopath Linux - Software 2 05-05-2006 08:13 AM
Quick Confirmation about Multiple Graphics Cards joeyjwc Linux - Hardware 11 10-17-2005 06:58 PM


All times are GMT -5. The time now is 10:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration