我有一台较旧的 Sony VAIO Z 590 笔记本电脑,可在英特尔和 Nvidia GeForce 9300M 之间切换显卡。不是擎天柱。我全新安装了 Ubuntu 12.04。一切正常,但它使用的是带有 Intel 驱动程序的 Unity 2D。我尝试从“附加驱动程序”加载 Nvidia 驱动程序,但它显示“此驱动程序已激活但当前未使用”。
当我运行“nvidia-settings”时,会弹出一个错误窗口,提示“您似乎没有使用 NVIDIA X 驱动程序。”“lspci”显示两个显卡。如果我需要添加更多信息,请告诉我。
如何使 Nvidia 显卡和 Unity 3D 正常工作?
更多信息:
$ lshw -short -class display
H/W path Device Class Description
==============================================
/0/100/1/0 display G98 [GeForce 9300M GS]
/0/100/2 display Mobile 4 Series Chipset Integrated Graphics C
$ glxinfo
name of display: :0
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Error: couldn't find RGB GLX visual or fbconfig
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
摘录自Xorg.0.log:
[ 16.373] (II) LoadModule: "glx"
[ 16.373] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
[ 16.386] (II) Module glx: vendor="NVIDIA Corporation"
[ 16.386] compiled for 4.0.2, module version = 1.0.0
[ 16.386] Module class: X.Org Server Extension
[ 16.386] (II) NVIDIA GLX Module 295.49 Tue May 1 00:09:10 PDT 2012
[ 16.608] (II) NVIDIA dlloader X Driver 295.49 Mon Apr 30 23:48:24 PDT 2012
[ 16.608] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 17.693] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
答案1
从 nvidia.com 下载最新的驱动程序,然后使用本教程安装它们: http://forums.linuxmint.com/viewtopic.php?t=96260&f=42