顯示廣告
隱藏 ✕
看板 Knuckles
作者 Knuckles(阿德)
標題 [Ubuntu] 手動安裝顯示卡驅動程式
時間 2008年12月14日 Sun. AM 12:06:55


由於在Ubuntu使用PCMan X時常會發生字體殘影的現像,困擾很久了
網路上查一下有人說可以自行去官網抓新的顯卡驅動程式
所以來試了一下,果然PCMan X就不再有殘影了(沒有用 = =)

參考: http://yblog.org/archive/index.php/8826

先去Nvidia官網 http://www.nvidia.com.tw/Download/index.aspx?lang=tw
下載驅動程式

例如我的顯示卡晶片是 Nvidia GeForce 7600
選擇 GeForce 7 Series、Linux 32-bit、English(US)  (<-選中文的話會無法下載)
點 搜尋 後下載 NVIDIA-Linux-x86-177.82.pkg1.run 至 ~/

移除nvidia舊版並移除舊的設定檔
$ sudo apt-get --purge remove nvidia-*

安裝編譯所需套件與核心
$ sudo apt-get install build-essential libc6-dev pkg-config xserver-xorg-dev linux-headers-$(uname -r) linux-restricted-modules-$(uname -r) nvidia-settings gcc gcc-3.4

按Ctrl+Alt+F1進入文字終端機
中斷 X windows才能正確安裝顯示卡驅動程式
$ sudo /etc/init.d/gdm stop

開始安裝nvidia官方版驅動程式
sudo sh ~/NVIDIA-Linux-x86-177.82.pkg1.run
1. 接著就進入了Nvidia的授權頁,第一個選accept同意他的授權聲明 按tab鍵可移動
2. 出現 There appears to already be a driver installed on your system (version: 173.14.12).  
   As part of installing this driver (version: 173.14.12), the existing driver will be uninstalled.  
   Are you sure you want to continue? ('no' will abort installation)
   回答:Yes
3. 出現 No precompiled kernel interface was found to match your kernel;
   would you like the installer to attempt to download a kernel interface for your kernel
   from the NVIDIA ftp site (ftp://download.nvidia.com)?
   回答:No
4. 出現 Would you like to run the nvidia-xconfig utility to automatically update your X configuration file
   so that the NVIDIA X driver will be used when you restart X?  
   Any pre-existing X configuration file will be backed up
   回答:Yes  (注意預設值是No)

最後回到 X windows會看到一個Nvida的畫面,這樣就代表安裝好了
$ sudo /etc/init.d/gdm start

接著就用nvidia-settings的 X Server Display Configuration來調整螢幕解析度與刷新率
$ sudo nvidia-settings
有更改的話記得按 Save to X Configuration File
--
※ 來源: DISP BBS (http://disp.twbbs.org)
※ 作者: Knuckles  來自: 140.112.175.130  時間: 2008-12-14 00:06:55
※ 編輯: Knuckles  來自: 140.112.175.130  時間: 2008-12-14 08:28:57
※ 編輯: Knuckles  來自: 140.112.175.130  時間: 2008-12-14 08:29:20
※ 編輯: Knuckles  來自: 140.112.175.128  時間: 2008-12-14 14:53:17
※ 編輯: Knuckles  來自: 140.112.175.130  時間: 2008-12-20 10:22:44
※ 看板: KnucklesNote 文章推薦值: 0 目前人氣: 0 累積人氣: 3305 
※ 文章分類: Ubuntu 安裝與設定
terrykyo 轉錄至看板 terrykyo 時間:2011-04-04 01:55:50
r)回覆 e)編輯 d)刪除 M)收藏 ^x)轉錄 同主題: =)首篇 [)上篇 ])下篇