歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> 更多Linux >> 升級nvidia芯片顯卡的最新驅動4394

升級nvidia芯片顯卡的最新驅動4394

日期:2017/2/27 14:23:00   编辑:更多Linux
  我安裝上了,沒有感覺到有多大的區別。我把安裝過程說一下: 如果用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/L...1.0-4349.tar.gz NVIDIA_kernel-1.0-4349.tar.gz ftp://download.nvidia.com/XFree86/L...1.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



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



Copyright © Linux教程網 All Rights Reserved