I switched to a new laptop, a Dell Latitude E6520. This laptop has a NVidia/Intel hybrid GPU setup. When "NVidia Optimus" is enabled then Linux (Ubuntu Oneiric) sees both GPUs:
lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) 01:00.0 VGA compatible controller: nVidia Corporation GF108 [Quadro NVS 4200M] (rev a1)
When I disable "Nvidia Optimus" then Linux only sees the NVidia GPU. Everything works fine using the commercial NVidia driver (Only when Optimus is disabled) but I would prefer using the Intel GPU instead. I can do this by enabling the "NVidia Optimus" setting in the BIOS and by removing the commercial NVidia video driver. The Intel driver runs fine even with 3D acceleration. But my problem is: No external displays are detected. Here is the output of xrandr:
$ sudo xrandr -q Screen 0: minimum 320 x 200, current 1600 x 900, maximum 8192 x 8192 LVDS1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 344mm x 194mm 1600x900 60.0*+ 40.0 1440x900 59.9 1360x768 59.8 60.0 1152x864 60.0 1024x768 60.0 800x600 60.3 56.2 640x480 59.9 VGA1 disconnected (normal left inverted right x axis y axis)
I tried attaching the display to VGA, DVI and HDMI. The output is always the same. The Gnome Display Settings Dialog also only sees the internal laptop display.
So how can I use external displays with the Intel driver? Or are external displays in a NVidia/Intel hybrid setup only connected to the NVidia GPU and even Windows has to switch to the NVidia GPU when external displays are attached?