ATI 그래픽카드 설치 두번째 방법, ATI에서 제공하는 드라이버를 직접 설치하는 방법입니다.
(리눅스를 처음 접하시는 분은... 왠만하면 첫번째 방법으로 설치하시길 권합니다...)
먼저 ATI 홈페이지에서 최신 드라이버 파일을 다운로드 받습니다.
다운로드 : ati-driver-installer-8-5-x86.x86_64.run
(FireFox에서 다운로드 받으셨다면 일반적으로 우분투의 경우는 바탕화면, 페도라의 경우는 홈디렉토리의 다운로드 폴더에 저장이 됩니다.)
다운로드 받으신 파일은 자동으로 실행이 되는 쉘스크립트지만, 우분투의 경우는 정상적으로 설치되지 않습니다. 그런 관계로 우분투 패키지인 .deb파일로 패키징해서 설치할 수 있는 준비를 합니다.
code.
sudo apt-get update
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)
해당 패키지들이 설치되셨다면, 드라이버 파일을 받은 디렉토리로 이동합니다.
다운로드 파일을 확인해 보시고 다음 코드를 실행해서 우분투용 deb파일로 패키징 합니다.
code.
sudo sh ati-driver-installer-8-5-x86.x86_64.run --buildpkg Ubuntu/8.04
최신 드라이버를 설치하기 위해서 우분투 저장소에서 제공하는 fglrx 드라이버를 사용하지 않도록 설정합니다.
code.
sudo gedit /etc/default/linux-restricted-modules-common
gedit가 실행되면 "DISABLE_MODULES" 부분에 "fglrx"를 추가합니다.
그리고 아래의 파일들도 존재한다면 마찬가지로 수정합니다.
code.
sudo gedit /etc/modprobe.d/blacklist-restricted
sudo gedit /etc/modprobe.d/blacklist-local
패키징 했던 파일들을 설치합니다.
code.
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.493*.deb fglrx-kernel-source_8.493-0*.deb fglrx-amdcccle_8.493-0*.deb
여기까지 모든 설치가 완료되었습니다. 제 노트북의 경우에는 여기까지만 진행을 해도 모든 설치가 마무리 되었습니다. 만약에 deb 파일 설치를 완료했는데도 그래픽카드 정상적으로 동작을 하지 않는다면 아래를 참고하셔서 xorg.conf 파일을 확인해 보시기 바랍니다.
code.
sudo gedit /etx/X11/xorg.conf
gedit가 실행이 되면 "Device" 섹션에 "Driver "aticonfig[0]"가 추가되었는지 확인합니다.
만약에 Driver에 다른 이름이 나온다면, 아래의 명령으로 driver를 바꿔줍니다.
sudo aticonfig --initial -f
그리고 마지막으로 fglrxinfo라는 명령으로 ATI 드라이버명이 나오는지 확인하면 모든 작업이 끝이 납니다.
---------------------------------------
아래의 원문과 비교해 보시면 상당히 간략하다는 느낌이 드실텐데, 위의 설명은 우분투가 제일 처음 설치된 분들은 위한 설명입니다. 윈도우에서도 마찬가지겠지만 리눅스의 경우에도 운영체제가 설치되고 난 이후에 가장 먼저 이루어지는 작업이 그래픽카드 설치작업이라 가정하에 필요한 부분만을 풀어놓은 내용입니다. 그리고 64bit 버전을 설치하시는 분들은 이 설명 보지 않더라도 알아서 잘 하시리라 믿기 때문에 아예 언급조차 하지 않았습니다. ^^
그리고 이 설치법은 2개 이상의 커널을 설치해서 사용하시는 분들에게는 권장하지 않습니다. 커널이 바뀌어서 부팅이 될때마다 그래픽드라이버 커널 모듈을 재설치 하기 때문에 시간이 많이 걸립니다. 참고하세요. ^^
---------------------------------------
원문 : http://wiki.cchtml.com/index.php/Ubuntu_Hardy_Installation_Guide
Method 2: Manual Method (installing Catalyst 8.5)
Download the installer: ati-driver-installer-8-5-x86.x86_64.run (this installer is for 32bit and 64bit systems)
[edit] Follow These Instructions Carefully
Switch to the directory you downloaded this into and the run the following. (Make sure universe and multiverse are enabled in your repository sources).
sudo apt-get update
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)
This installs the dependencies for the installer.
If you are using the x86_64 architecture (64 bit), be sure to inst "ia32-libs" before proceeding! Also, if you have a problem getting the libGL.so.1, create a symbolic link to it:
sudo ln -s /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1
Remove any old fglrx .debs:
sudo rm /usr/src/fglrx-kernel*.deb
Now use the following command to create the .deb files you will be using for installation:
sudo sh ati-driver-installer-8-5-x86.x86_64.run --buildpkg Ubuntu/8.04
Now we have to blacklist the driver in Ubuntu's repository, so that the new driver will be used.
sudo gedit /etc/default/linux-restricted-modules-common
Add "fglrx" to the line "DISABLED_MODULES"
File: /etc/default/linux-restricted-modules-common |
DISABLED_MODULES="fglrx" |
Please note that after the modification above, the "Restricted Driver Manager" will signal "ATI accelerated graphics driver" not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: "in use" (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (8.5) is in use.
You may also need to edit the file(s) (if they exists):
sudo gedit /etc/modprobe.d/blacklist-restricted
sudo gedit /etc/modprobe.d/blacklist-local
Put a # in front of the line "blacklist fglrx", if it is present. Otherwise, the kernel module will not load automatically, and you will not get 3D acceleration.
Install .debs:
sudo dpkg -i xorg-driver-fglrx_8.493*.deb fglrx-kernel-source_8.493*.deb fglrx-amdcccle_8.493*.deb
[edit] Additional 64-bit instructions
If you have a 64 bit install, the above dpkg command may complain that "Errors were encountered while processing: fglrx-amdcccle". This is because of a dependency of the amdccle package on 32 bit libraries. If you receive this error, issue the following command after the above dpkg command, which will force the installation of all of the 32 bit dependencies, and then the amdccle package:
sudo apt-get install -f
Catalyst 8.5 on 64-bit systems requires the --force-overwrite command in the above dpkg command:
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.493*.deb fglrx-kernel-source_8.493-0*.deb fglrx-amdcccle_8.493-0*.deb
When installing the packages, if xorg-driver-fglrx_8.493 fails to install due to a diverted file conflict, you can fix the package with this procedure.
[edit] Finishing the Install: Configuration
If you've used fglrx previously, you will not need to do this.
Now you'll have to edit your xorg.conf
sudo gedit /etc/X11/xorg.conf
and add the following line to the Device section (if it does not already exist):
Section "Device"
[...]
Driver "fglrx"
[...]
EndSection
Save and exit, then run
sudo aticonfig --initial -f
in a terminal. If it does not error you should be fine. Finally, reboot the computer and type
fglrxinfo
into the terminal. If the vendor string contains ATI, you have installed the driver successfully.
Please note: Depending on the particular ATI card that you own, you may or may not automatically have all of the relevant driver features enabled. R500 and R600 cards (X1xxx, HD series, and newer) in particular will need TexturedVideo enabled in Xorg.conf (rather than the traditional VideoOverlay) in order to support Xv accelerated video playback.