NVIDIA Optimus 和 Ubuntu 12.10

NVIDIA Optimus 和 Ubuntu 12.10

我是 Linux 环境的新手。我有 NVIDIA GEForce GT 520M,这是 Optimus 卡。我安装了 ubuntu 12.10,在此基础上安装了 NVIDIA 的新驱动程序 304.60,但出现了问题,显示管理器完全搞砸了,什么都显示不正常。所有字体都很大,我只能访问 nautilus,因为所有内容都超出了屏幕范围。我尝试将其删除并将其回滚到 nouveau,但无论如何都会发生这种情况。我想要更好的电源管理,我想使用我的卡进行 CUDA 编程,所以我在安装 bumblebee 之前安装了驱动程序。有人可以告诉我使用我的卡进行 CUDA 编程的简单步骤吗?使用 CUDA 5。

答案1

我遇到了问题,但我按照以下步骤操作,并且运行良好: 如何安装 nvidia optimus 驱动程序?

基本上,取自 CruzBishop 的话:

#if you have previously installed nvidia or bumblebee from the repos:
sudo apt-get purge bbswitch-dkms bumblebee-nvidia

#if you have previously installed nvidia drivers from the Nvidia.com binary, you can uninstall it running the same installer.

#next steps:    
sudo apt-get install linux-headers-3.5.0-17-generic
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get install bumblebee bumblebee-nvidia
#reboot
#install cuda the old way, as you have done in 12.04

它对我有用。

答案2

您不应该从他们的网站下载 nvidia 驱动程序并尝试自行安装。相反,请重新安装操作系统,下次安装 bumblebee,让软件下载 nvidia 驱动程序并为您配置。

熊蜂:http://bumblebee-project.org/install.html#Ubuntu

我还建议安装木星

sudo add-apt-repository ppa:webupd8team/jupiter
sudo apt-get update
sudo apt-get install jupiter

相关内容