2011年6月25日 星期六

[Ubuntu] 打包ATI顯示卡驅動程式

瀏覽數
來源: http://blog.lyhdev.com/2011/05/ubuntuati.html

新版的Ubuntu作業系統,已有內建大多數ATI顯示卡驅動程式,也支援開啟3D硬體加速功能。但如果想安裝來自ATI官方的最新版本,可以自己打包*.deb套件檔案。

Ubuntu 11.04 natty剛發行不到一個月,ATI最新版的驅動程式,已經可以打包natty專用的驅動程式套件,很難得這麼有誠意。

一、ATI驅動程式下載 http://support.amd.com/us/gpudownload/Pages/index.aspx 以ATI HD系列+Linux x86_64為例,下載的檔案名稱為 ati-driver-installer-11-6-x86.x86_64.run。

二、列出驅動程式包含哪些套件 在終端機輸入
sh ati-driver-installer-11-6-x86.x86_64.run --listpkg

會顯示

Ubuntu Packages:
Ubuntu/gutsy
Ubuntu/hardy
Ubuntu/intrepid
Ubuntu/jaunty
Ubuntu/karmic
Ubuntu/lucid
Ubuntu/maverick
Ubuntu/source
Ubuntu/natty

以Ubuntu 11.04來說,代號natty有在支援套件的列表中。

三、打包驅動程式 以natty的套件為例,只要輸入
sh ati-driver-installer-11-6-x86.x86_64.run --buildpkg

Ubuntu/natty 系統會要求確認密碼,接著就會產生四個套件檔案 fglrx_8.861-0ubuntu1_amd64.deb
fglrx-dev_8.861-0ubuntu1_amd64.deb
fglrx-amdcccle_8.861-0ubuntu1_amd64.deb
fglrx-modaliases_8.861-0ubuntu1_amd64.deb

四、安裝驅動程式套件 輸入
sudo dpkg -r purge fglrx fglrx-amdcccle fglrx-modaliases fglrx-dev sudo dpkg -i fglrx*.deb
sudo aticonfig --initial

就會替換系統內建的fglrx(ATI顯示卡)驅動程式

參考來源是這篇 http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=177270

沒有留言: