安裝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"
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驅動安裝
1 首先刪除nvidia驅動 sudo apt get remove purge nvidia sudo apt get autoremove sudo apt get install f 則重新執行run檔案來解除安裝 sh nvidia.run uninstall 2 安裝nvidia驅動需要禁...
安裝NVIDIA驅動
系統配置如下 將nvidia檔案和cuda9.0拷貝到系統 提公升許可權 chmod 755 cuda檔案 nvidia驅動 檢視nouveau 模組是否存在 lsmod grep nouveau 若存在則移除,新增黑名單 vi etc modprobe.d blacklist.conf 然後新增以...
Ubuntu安裝NVidia驅動
我的本本安裝了最新版的ubuntu10.04,安裝過程一切順利,安裝完了使用的顯示卡驅動是官方預設的,可是本本螢幕十分晃眼,而且有拖尾的現象,於是決定安裝顯示卡驅動,本本的顯示卡是nvidiag310m的,在ubuntu官方論壇找到了兩種安裝的方法 從安裝源開始安裝,首先需要解除安裝舊的顯示卡驅動程...