有關顯卡驅動程式 - Linux

Wallis avatar
By Wallis
at 2012-08-24T01:59

Table of Contents

※ 引述《hau (小豪)》之銘言:
: 我的
: 主機版:Gigabyte M55S-S3 Rev 2.0
: 顯卡:PowerColor X1650PRO GDDR3
: 請問我裝完Ubuntu 12.04後,我需要特別上網找我的主機版或顯卡的驅動程式嗎?
: 尤其是顯卡,在「額外驅動程式」裡,顯示「此系統沒有使用專屬驅動程式」。
: 有必要特別上網找主機版或顯卡的驅動程式嗎?
: ==============================================================================
: 我到
: http://support.amd.com/us/gpudownload/linux/Legacy/Pages/radeon_linux.aspx?type=2.4.1&product=2.4.1.3.12&lang=English
: download
: ATI Catalyst™ 9.3 Proprietary Linux x86 Display Driver
: 請問在Ubuntu如何安裝?
: 我打 sudo ./(flodname)
: 不行@@
: ==============================================================================
: hau@hau:~/下載$ sudo sh ./ati-driver-installer-9-3-x86.x86_64.run
: Created directory fglrx-install.w0KjUI
: Verifying archive integrity... All good.
: Uncompressing ATI Proprietary Linux
:
Driver-8.593..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

: .........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
: ==================================================
: ATI Technologies Linux Driver Installer/Packager
: ==================================================
: Error: ./default_policy.sh does not support version
: default:v2:x86_64:lib::none:3.2.0-29-generic; make sure that the version is
: being
: correctly set by --iscurrentdistro
: Removing temporary directory: fglrx-install.w0KjUI
: hau@hau:~/下載$ sudo apt-get purge fglrx*
: 正在讀取套件清單... 完成
: 正在重建相依關係
: 正在讀取狀態資料... 完成
: Note, selecting 'xorg-driver-fglrx' for regex 'fglrx*'
: Note, selecting 'fglrx-kernel-source' for regex 'fglrx*'
: Note, selecting 'fglrx-amdcccle-updates' for regex 'fglrx*'
: Note, selecting 'xorg-driver-fglrx-dev' for regex 'fglrx*'
: Note, selecting 'fglrx' for regex 'fglrx*'
: Note, selecting 'fglrx-driver-dev' for regex 'fglrx*'
: Note, selecting 'xfree86-driver-fglrx' for regex 'fglrx*'
: Note, selecting 'fglrx-updates' for regex 'fglrx*'
: Note, selecting 'fglrx-control-qt2' for regex 'fglrx*'
: Note, selecting 'fglrx-updates-dev' for regex 'fglrx*'
: Note, selecting 'fglrx-dev' for regex 'fglrx*'
: Note, selecting 'fglrx-glx' for regex 'fglrx*'
: Note, selecting 'fglrx-modaliases' for regex 'fglrx*'
: Note, selecting 'xfree86-driver-fglrx-dev' for regex 'fglrx*'
: Note, selecting 'fglrx-amdcccle' for regex 'fglrx*'
: Note, selecting 'fglrx-driver' for regex 'fglrx*'
: Note, selecting 'fglrx-control' for regex 'fglrx*'
: 套件 fglrx 並沒有被安裝,所以也不會被移除
: 套件 fglrx-amdcccle 並沒有被安裝,所以也不會被移除
: 套件 fglrx-amdcccle-updates 並沒有被安裝,所以也不會被移除
: 套件 fglrx-dev 並沒有被安裝,所以也不會被移除
: 套件 fglrx-updates 並沒有被安裝,所以也不會被移除
: 套件 fglrx-updates-dev 並沒有被安裝,所以也不會被移除
: 升級 0 個,新安裝 0 個,移除 0 個,有 0 個未被升級。

後來發現這版本不適用我的顯卡


我先輸入這些(在網頁:
http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Installing_Catalyst_Manually_.28from_AMD.2FATI.27s_site.29
):

sudo apt-get install ia32-libs-multiarch:i386 lib32gcc1 libc6-i386
sudo apt-get install ia32-libs
cd /usr ; sudo ln -svT lib /usr/lib64

再來:

cd ~/; mkdir catalyst12.8; cd catalyst12.8/
wget
http://www2.ati.com/drivers/linux/amd-driver-installer-12-8-x86.x86_64.zip
(Extract the zip to obtain the .run file for the next step)
chmod +x amd-driver-installer-8.982-x86.x86_64.run

出現錯誤,登錄檔:

Check if system has the tools required for installation.
Uninstalling any previously installed drivers.
Unloading radeon module...
ERROR: Module radeon is in use
Unloading drm module...
ERROR: Module drm is in use by radeon,ttm,drm_kms_helper
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating
kernel module now.
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/3.2.0-29-generic/build
SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-29-generic'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_str.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_iommu.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_wait.o
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
CC /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-29-generic'
build succeeded with return value 0
duplicating results into driver repository...
done.
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
- recreating module dependency list
- trying a sample load of the kernel modules
failed.
[Error] Kernel Module : Reboot required.
[Reboot] Kernel Module : update-initramfs




請問接下來……??


--

--
Tags: Linux

All Comments

Delia avatar
By Delia
at 2012-08-27T22:04
amd抓下來的要解開patch一下才能裝...
你可以直接放棄,用opensource的就好了
Kyle avatar
By Kyle
at 2012-08-30T22:08
他的己經編好了吧? 只是kernel中己有radeon的module
所以要重開後才能改用fglrx

調整預設的檔案權限

Annie avatar
By Annie
at 2012-08-23T15:28
各位好 如果我今天寫了一個script檔(例如test.py) 如果要執行他的話./test.py 會有權限的問題 要透過chmod a+x test.py 來增加可執行的權限 請問有辦法告訴系統說遇到.py結尾的檔案就自動增加可執行的權限嘛? 也就是說 我新增一個test.py檔之後 只要. ...

Shell script 自動插入資料的一些問題

Bethany avatar
By Bethany
at 2012-08-23T09:08
※ 引述《nashsai (神佛兩光NANA)》之銘言: : #!/bin/sh : echo and#34;MAIN MENUand#34; : echo and#34;0. exitand#34; : echo and#34;1. aaaand#34; : echo and#34;2. bbband#34 ...

關於sed的問題

Linda avatar
By Linda
at 2012-08-23T04:02
declare -a head=(`sed -rn and#39;s/^(.{1}).*/\1/pand#39; temp.prep |xargs`) for ((i=1; iandlt;=7; i++)) do test and#34;${head[$((i-1))]}and#34; != ...

Shell script 自動插入資料的一些問題

Edward Lewis avatar
By Edward Lewis
at 2012-08-23T02:16
各位前輩大家好,有些問題想請教各位 我有個文件 /usr/local/sbin/test 內容是一個選單,裡面很多選項 選項會去跑對應的 script 內容 #!/bin/sh # # echo and#34;MAIN MENUand#34; echo and#34;0. exitand#34; echo ...

vim + grep + find

Oscar avatar
By Oscar
at 2012-08-23T00:43
find . -name and#34;*.javaand#34; | xarge grep -n --color=auto and#39;keyworkand#39; 我一般用上面指令找出我要的關鍵字檔案路徑.. 不過keywork list 可以一堆, 我必須要用vim 進去每個路徑檔案觀看是不是我要 ...