歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> Linux文化 >> 最新nvidia驅動安裝方法

最新nvidia驅動安裝方法

日期:2017/2/27 12:08:31   编辑:Linux文化

下載地址:最新版本(包括較新版本),您可以從中選一個版本下載安裝。最新的可能也不是最好的,最老的肯定也不行。哈哈

http://download.linuxsir.org/nvidia/Linux-x86/

1.0-4349/ 28-Nov-2004 21:40 - 1.0-4363/ 28-Nov-2004 21:40 - 1.0-4496/ 28-Nov-2004 23:03 - 1.0-5328/ 28-Nov-2004 22:55 - 1.0-5336/ 28-Nov-2004 22:41 - 1.0-6106/ 28-Nov-2004 22:37 - 1.0-6107/ 28-Nov-2004 22:16 - 1.0-6111/ 30-Nov-2004 13:56 - 1.0-6629/ 30-Nov-2004 21:07 -

如果您系統中有的/etc/X11/xorg.conf ,顯示卡的配置文件是/etc/X11/xorg.conf 。 比如 Mandake 10 fedora 2 等。如果您的系統是的版本比較老,如下面的帖子,你可以編輯/etc/X11/XF86Config,有時可能版本更老,比如Redhat 7.2,您需要編輯 /etc/X11/XF86Config-4文件。

安裝所需要的環境,要有編譯和開發工具,以及內核源碼包,見下面的帖子。都是類似的。

如果您下載的驅動文件名是pkg為後綴的,應該用下在面方法來安裝

#sh 文件名 -x

舉例:

#sh NVIDIA-Linux-x86-1.0-6111-pkg1.run -x 這樣就能解壓出來文件,然後進入解壓出來的文件壓,然後執行

#make install

如果是tar.gz包的,請見下面的帖子。 我安裝上了,沒有感覺到有多大的區別。我把安裝過程說一下: 如果用tar包安裝,先解包,然後再 #make 要先make那個kerel的包。。然後才是GLX的。安裝時,不能在Xwindows下進行,否則不能成功。。

這篇文章或許對新手弟兄有所幫助,系統應該把編譯類工具,比如gcc make automake等工具安裝上。系統的kernel-source可能得安裝。如果您兩種方法都不成功。可能是系統少編譯類工具。或者是少kernel-source什麼的。如果不知道自己的系統少什麼。就要升級系統,把所有的東西都安裝上。就OK了。。我的話總是這麼多。呵。。。可能有的弟兄問,我如何升級系統呢??就象安裝時一樣,選[升級],如果是洋文的界面,應該是update吧。。

准備階段:

要把安裝包驅動包下載到linux的分區裡,如果您下載到了windows的分區裡,請先復制到linux的分區裡。切記。。。

安裝方法之一 我總共說的是兩個方法,這兩個方法的好處是,能適合不同的系統,不同的版本,不同的內核。我以Redhat 8.0以及9.0為例,來說明如何安裝NVIDIA的驅動。

1。下載:總共有兩個包

NVIDIA_GLX-1.0-4349.tar.gz

ftp://download.nvidia.com/XFree86/Li....0-4349.tar.gz

NVIDIA_kernel-1.0-4349.tar.gz

ftp://download.nvidia.com/XFree86/Li....0-4349.tar.gz

2。解壓和安裝

[root@linuxsir01 root]# tar zxvf NVIDIA_kernel-1.0-4349.tar.gz

[root@linuxsir01 root]# cd NVIDIA_kernel-1.0-4349

[root@linuxsir01 NVIDIA_kernel-1.0-4349]#make install

[root@linuxsir01 root]# tar zxvf NVIDIA_GLX-1.0-4349.tar.gz

[root@linuxsir01 root]# cd NVIDIA_GLX-1.0-4349

[root@linuxsir01 NVIDIA_GLX-1.0-4349]#make install

完成後,然後更改/etc/X11/XF86Config文件。參看下帖。 這是Redhat 8.0的/etc/X11/XF86Config文件,請以自己的系統文件來更改,不要復制這個文件,因為機器環境不同。比如顯示器,鼠 標,鍵盤等。。只能在你的系統上更改這個文件。仔細看一下,對於新手弟。本帖只做參考。

有些系統可能沒有/etc/X11/XF86Config這個文件,比如Mandrake和Redhat 8.0以前的版本;紅旗等發行版,我們可以更改/etc/X11/XF86Config-4文件。

具體問題,具體分析。這個文件大體在哪個發行版都差不多。試著改一下就行了。。

如果安裝驅動成功了,但不能進入桌面,那就要把這個文件發上來,然後大家才能提供幫助。

# File generated by anaconda. #

Section "ServerLayout" # Identifier "Anaconda Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection

Section "Files" # The location of the RGB database. Note, this is the name of the # file minus the extension (like ".txt" or ".db"). There is normally # no need to change the default. # Multiple FontPath entries are allowed (they are concatenated together) # By default, Red Hat 6.0 and later now use a font server independent of # the X server to render fonts. RgbPath "/usr/X11R6/lib/X11/rgb" 如果漢化就把路徑加在這裡,如果不漢化,就不要加了 FontPath "unix/:7100" EndSection

Section "Module" #Load "type1" Load "xtt" 如果漢化了,在加上這一句沒有漢化就不要加了 #Load "dbe"在這句的前面,要加一個#號 Load "extmod" Load "fbdevhw" #Load "dri"在這句的前面,要加一個#號 Load "glx" Load "record" #Load "freetype" 如果漢化了,也在這句的前面,要加一個#號;沒有用漢化,就不要加#號了

EndSection

Section "InputDevice" # Option "AutoRepeat" "500 5" # when using XQUEUE, comment out the above line, and uncomment the # following line # Option "Protocol" "Xqueue" # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) # Option "Xleds" "1 2 3" # To disable the XKEYBOARD extension, uncomment XkbDisable. # Option "XkbDisable" # To customise the XKB settings to suit your keyboard, modify the # lines below (which are the defaults). For example, for a non-U.S. # keyboard, you will probably want to use: # Option "XkbModel" "pc102" # If you have a US Microsoft Natural keyboard, you can use: # Option "XkbModel" "microsoft" # # Then to change the language, change the Layout setting. # For example, a german layout can be obtained with: # Option "XkbLayout" "de" # or: # Option "XkbLayout" "de" # Option "XkbVariant" "nodeadkeys" # # If you'd like to switch the positions of your capslock and # control keys, use: # Option "XkbOptions" "ctrl:swapcaps" #Option "XkbOptions" "" Identifier "Keyboard0" Driver "keyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc105" Option "XkbLayout" "us" #Option "XkbVariant" "" EndSection

Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "no" EndSection

Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" HorizSync 30.0 - 71.0 VertRefresh 50.0 - 160.0 Option "dpms" EndSection

Section "Device" # no known options #BusID Identifier "NVIDIA GeForce 2 MX (generic)" Driver "nvidia"在這裡,要把nv改成nvidia VendorName "NVIDIA GeForce 2 MX (generic)" BoardName "NVIDIA GeForce 2 MX (generic)" EndSection

Section "Screen" Identifier "Screen0" Device "NVIDIA GeForce 2 MX (generic)" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection

Section "DRI" Mode 0666 EndSection


摘自:linuxsir.org


Copyright © Linux教程網 All Rights Reserved