刚刚升级到 14.04 以尝试修复一些其他问题。现在,我的图形出现了问题。
我有一台配备英特尔和 Nvidia 显卡的 Thinkpad T530。
$ inxi -SGx
System: Host: xyz Kernel: 3.13.0-24-generic x86_64 (64 bit, gcc: 4.8.2) Desktop: N/A Distro: Ubuntu 14.04 trusty
Graphics: Card-1: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
Card-2: NVIDIA GF108M [NVS 5400M] bus-ID: 01:00.0
X.Org: 1.15.1 drivers: fbdev,vesa,intel,nouveau (unloaded: nvidia) Resolution: [email protected]
GLX Renderer: N/A GLX Version: N/A Direct Rendering: N/A
$ 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".
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".
我不确定我做了什么,但是现在我的图形出现了问题,从上面的命令中应该可以看出来。nvidia-detector 也显示“无”。
我以前有 bumblebee,但后来有些网站建议删除它,现在显然出了问题。正确的设置方法是什么?我应该尝试重新添加 bumblebee 吗?
以下是目前已安装的内容:
$ dpkg --get-selections | grep nvidia
nvidia-319 install
nvidia-331 install
nvidia-libopencl1-331 install
nvidia-opencl-icd-331 install
nvidia-prime install
nvidia-settings install
nvidia-settings-319 install
答案1
在继续执行以下操作之前,请考虑删除其他可能存在冲突的 nvidia 驱动程序。
对于最新的专有 Nvidia 驱动程序,可以发出以下命令:
sudo apt-add-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get install nvidia-current nvidia-settings
为了获得 Nvidia Optimus 技术 (Nvidia+Intel) 和 Bumblebee 功能的优势,必须发出以下信息:
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia
最后一条建议是记住在 3D 软件命令的前缀中使用 optirun 命令
optirun somegame-or-command
您还可以使用以下命令测试 3D
glxspheres
optirun glxspheres
答案2
您可以使用该软件包安装所有视频驱动程序xserver-xorg-video-all
。
sudo apt-get install linux-headers-generic xserver-xorg-video-all libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core