安装nvidia驱动
我想用wine魔兽,发现显卡没装好,opengl也不行,郁闷,用了好几个月了,今天才发现! 现在lenny的nidia驱动版本是173.14.9 sudo apt-get install nvidia-glx nvidia-settings mesa-utils 运行glxinfo 显示:Error: couldn't find RGB GLX visual 查看xorg.conf 发现glx也正常加载 运行nvidia-settings,显示错误,也有提示run `nvidia-xconfig` 运行发现无此命令, sudo apt-get install nvidia-xconfig 按提示做,reboot,ok! glxinfo | grep rendering direct rendering: Yes $glxinfo name of display: :0.0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: NVIDIA Corporation server glx version string: 1.4 ...... client glx vendor string: NVIDIA Corporation client glx version string: 1.4 ...... GLX version: 1.3 ...... OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce 8400M G/PCI/SSE2 OpenGL version string: 2.1.2 NVIDIA 173.14.09 lch@localhost:~$ cat /etc/X11/xorg.conf # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 (buildd@ninsei) Fri Sep 5 22:23:08 UTC 2008 Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" EndSection Section "Module" Load "dbe" Load "extmod" Load "type1" Load "freetype" Load "glx" EndSection Section "InputDevice" # generated from default Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "kbd" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Unknown" HorizSync 30.0 - 110.0 VertRefresh 50.0 - 150.0 Option "DPMS" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 EndSubSection EndSection
注:
可以直接到NVIDIA的官方网站下载最新的启动,编译安装更简单;编译安装如果提示编译器版本不匹配,直接忽略即可
|