Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nVidia GLX is loading while another hardware is present. [S]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
studix
n00b
n00b


Joined: 09 Jun 2006
Posts: 16

PostPosted: Thu May 08, 2008 2:27 pm    Post subject: nVidia GLX is loading while another hardware is present. [S] Reply with quote

I have one of those laptops with two graphic cards, one is Intel GM965/GL960 and another is nVidia gforce 8400. I am using the intel driver while working with the Intel card. The nVidia driver is also installed and when I am using the nVidia card I switch to nVidia driver. The nVidia driver installs GLX library, and the problem is when my X is starting with intel driver it loads nVidia glx module. the result is I don't have a working glx enviroment.

my xorg.conf.intel :
Code:

Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0"
   InputDevice    "Vaio keys" "SendCoreEvents"
EndSection

Section "Files"
   RgbPath      "/usr/share/X11/rgb"
   ModulePath   "/usr/lib/xorg/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/OTF"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
   Load  "GLcore"
   Load  "dri"
   Load  "extmod"
   Load  "dbe"
   Load  "glx"
   Load  "record"
   Load  "wfb"
   Load  "xtrap"
   Load  "freetype"
   Load  "type1"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc104"
   Option      "XkbLayout"   "us"
EndSection

Section "InputDevice"
        Identifier  "Vaio keys"
        Driver      "evdev"
        Option      "Name" "Sony Vaio Keys"
        Option      "XkbLayout" "jp"
        Option      "XkbModel" "jp106"
EndSection


#Section "InputDevice"
#   Identifier  "Keyboard0"
#   Driver      "kbd"
#   Option      "Protocol" "evdev"
#   Option      "Dev Name" "Sony Vaio Keys"
#   Option       "XkbLayout" "fr"
#   Option      "XkbModel" "pc105"
#EndSection


Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"               # [<bool>]
        #Option     "SWcursor"              # [<bool>]
        #Option     "ColorKey"              # <i>
        #Option     "CacheLines"            # <i>
        #Option     "Dac6Bit"               # [<bool>]
        #Option     "DRI"                   # [<bool>]
        #Option     "NoDDC"                 # [<bool>]
        #Option     "ShowCache"             # [<bool>]
        #Option     "XvMCSurfaces"          # <i>
        #Option     "PageFlip"              # [<bool>]
   Identifier  "Card0"
   Driver      "intel"
   VendorName  "Intel Corporation"
   BoardName   "Mobile Integrated Graphics Controller"
   BusID       "PCI:0:2:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection


part of my /var/log/Xorg.0.log regarding GLX module loading

Code:

(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
   compiled for 4.0.2, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 0.1
(II) NVIDIA GLX Module  169.09  Fri Jan 11 15:31:25 PST 2008
(II) Loading extension GLX


Last edited by studix on Thu May 08, 2008 4:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
masteroftheuniverse
Apprentice
Apprentice


Joined: 20 Jan 2005
Posts: 259

PostPosted: Thu May 08, 2008 3:07 pm    Post subject: Reply with quote

you need to use eselect to set opengl to the x11 library:

eselect opengl set xorg-x11
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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