Warm tip: This article is reproduced from serverfault.com, please click

Ubuntu does not detect second nVidia GPU

发布于 2012-11-12 21:00:07

I have 2 GPUs installed on my system: a GTX660 and a 8800GTS. Both are detected and run perfectly under Windows 8, and Ubuntu 12.04 32bits.

I've now installed Ubuntu 12.04 64bits on the same system, with the latest drivers from nVidia (304.64 in 64bits). In console mode (CTR + ALT + F1), I can detect and use both cards (through, e.g., a CUDA application).

In X-mode (I use the standard lightdm server), the same application only detects the GTX660. Running lspci from an X terminal shows both GPUs (the GTX660 is referred to as a "VGA compatible controller" while the 8800GTS is clearly referenced in plain).

It seems to me to be related to the X-server, more than anything.

Any idea how to fix this?

Questioner
Ze Jibe
Viewed
0
Ze Jibe 2012-11-26 01:23:45

Problem solved - but I'm not 100% sure why.

In the meantime, I've been modifying my grub config (see here) by adding the nomodeset attribute in the GRUB_CMDLINE_DEFAULT line, as I couldn't access a console.

Since then, the problem seemed to be solved, i.e., I can now see my two GPUs even under X.

The ls -l /dev/nvidia* is returning both devices and the controller.

Thanks anyway for your speedy help!