简体   繁体   English

Ubuntu 未检测到第二个 nVidia GPU

[英]Ubuntu does not detect second nVidia GPU

I have 2 GPUs installed on my system: a GTX660 and a 8800GTS.我的系统上安装了 2 个 GPU:一个 GTX660 和一个 8800GTS。 Both are detected and run perfectly under Windows 8, and Ubuntu 12.04 32bits.两者都在 Windows 8 和 Ubuntu 12.04 32 位下被检测并完美运行。

I've now installed Ubuntu 12.04 64bits on the same system, with the latest drivers from nVidia (304.64 in 64bits).我现在已经在同一系统上安装了 Ubuntu 12.04 64 位,以及来自 nVidia 的最新驱动程序(64 位中的 304.64)。 In console mode (CTR + ALT + F1), I can detect and use both cards (through, eg, a CUDA application).在控制台模式(CTR + ALT + F1)下,我可以检测和使用两张卡(例如,通过 CUDA 应用程序)。

In X-mode (I use the standard lightdm server), the same application only detects the GTX660.在 X 模式下(我使用标准的 lightdm 服务器),同一个应用程序只检测到 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).从 X 终端运行 lspci 显示两个 GPU(GTX660 被称为“VGA 兼容控制器”,而 8800GTS 被明确引用为普通)。

It seems to me to be related to the X-server, more than anything.在我看来,这与 X 服务器有关,比什么都重要。

Any idea how to fix this?知道如何解决这个问题吗?

Problem solved - but I'm not 100% sure why.问题解决了 - 但我不是 100% 确定为什么。

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.与此同时,我一直在修改我的 grub 配置(请参阅此处),因为我无法访问控制台,因此在GRUB_CMDLINE_DEFAULT行中添加nomodeset属性。

Since then, the problem seemed to be solved, ie, I can now see my two GPUs even under X.从那以后,问题似乎解决了,也就是说,即使在 X 下,我现在也可以看到我的两个 GPU。

The ls -l /dev/nvidia* is returning both devices and the controller. ls -l /dev/nvidia*返回设备和控制器。

Thanks anyway for your speedy help!无论如何,感谢您的快速帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM