Comment 175 for bug 312756

Revision history for this message
Alex Finch (a-finch) wrote : Re: support graphics card hot switch

 I am also effected by this. My employer has just bought me an Acer Aspire 5935G specifically so I can do development work on an OpenGL based application. However I can not access the Nvidia graphics card. The machine has two graphics cards:

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
01:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce GT 130M] (rev a1)

which in Windows one can switch between.

I installed Ubuntu 10.04 and it just uses the Intel card, but it does work, just rather slowly. When I install the proprietary nvidia driver opengl stops working:

glxinfo
name of display: :0.0
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual or fbconfig

Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
3 GLXFBConfigs:
   visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
 id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
Segmentation fault

I tried installing it myself from the Nvidia download site, and via Ubuntu Software Centre but the result was the same.

(NB Installing it by hand was tricky till I realised I had to stop the nouveau module from grabbing the device before trying to do the install. (lspci -v, and look what module is using the device)
)

In addition, the tty terminals (ctrl-alt-f1 etc.) stop working so it is only possible to log in via X11. When I try to switch to them the screen still displays the x11 screen. This makes it hard to fix the problem.

There is no access in the bios to control the graphics.

I tried the solution suggested in another bug report of setting the bus id:
 BusID "PCI:1:0:0"
but that had no effect, I still get the intel card chosen as primary device
(from Xorg log:)
 Primary Device is: PCI 00@00:02:0

 For me this is more than just a "wish list" item, as it prevents me using the machine for it's primary purpose.

I really hope there is some solution soon, I am not too bothered about being able to hot switch , I just want some way to choose the right graphics card. I am considering removing the module that drives the intel card, so it has to use the nvidia card, but that seems a bit drastic.