有關顯卡驅動程式 - Linux

By Wallis
at 2012-08-24T01:59
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
請問接下來……??
--
--
: 我的
: 主機版: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

By Delia
at 2012-08-27T22:04
at 2012-08-27T22:04

By Kyle
at 2012-08-30T22:08
at 2012-08-30T22:08
Related Posts
調整預設的檔案權限

By Annie
at 2012-08-23T15:28
at 2012-08-23T15:28
Shell script 自動插入資料的一些問題

By Bethany
at 2012-08-23T09:08
at 2012-08-23T09:08
關於sed的問題

By Linda
at 2012-08-23T04:02
at 2012-08-23T04:02
Shell script 自動插入資料的一些問題

By Edward Lewis
at 2012-08-23T02:16
at 2012-08-23T02:16
vim + grep + find

By Oscar
at 2012-08-23T00:43
at 2012-08-23T00:43