Install the ATICatalyst8.9 video card driver in Ubuntu8.04

Source: Internet
Author: User
Tags driver manager
On Ubuntu, the most worrying problem at present is the hardware support problem, the most significant of which is the video card problem, nVidia card may be a little better, however, ATI users are not so lucky. If the driver is restricted, the function effect is much worse than that of the official version. On my computer, it shows that directrending is always no. After hard exploration, I finally got a good solution and solved the difficult installation problem. This article references the practice in ATI unofficial WIKI (http://wiki.cchtml.com/in

On Ubuntu, the most worrying problem at present is the hardware support problem, the most significant of which is the video card problem, nVidia card may be a little better, however, ATI users are not so lucky. If the driver is restricted, the function effect is much worse than that of the official version. On my computer, direct rending is always no. After hard exploration, I finally got a good solution and solved the difficult installation problem. This article references the practices (http://wiki.cchtml.com/index.php/Ubuntu_Hardy_Installation_Guide) in ATI unofficial WIKI ). Very useful.

This article applies to 32-bit ATI graphics card Users Installing ATI Catalyst 8.8 & 8.9 For Linux. If you want to query the installation method of a 64-bit machine, see the original article (see the above link ).

First, download the driver package from the ATI website to your computer.

This example uses a ati-driver-installer-8-9-x86-x86_64.run

Run the following command on the terminal:

Sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc ++ 5 dkms linux-headers-$ (uname-r)

Switch the directory to the location of the downloaded installation package and run the following command on the terminal:

Sh ati-driver-installer-8-9-x86.x86_64.run -- buildpkg
Ubuntu/hard

Find a file named libGL. so in/usr/lib.

Then run the following command in the terminal:

Sudo ln-s/usr/lib/libGL. so/usr/lib/libGL. so.1

It may need to be re-executed: (skip this step)

Sh ati-driver-installer-8-9-x86.x86_64.run -- buildpkg Ubuntu/hard and then set the file:
Sudo gedit/etc/default/linux-restricted-modules-common

Change DISABLED_MODULES = "" To DISABLED_MODULES = "fglrx"

According to the original article here, after the last sentence is modified, you can see in the restricted driver manager that the restricted driver is not selected, but in the later stage of installation, the status is "in use ". This indicates that the fglrx module in the driver is disabled, but the fglrx module in the downloaded installation package is working.

Then set the file:

Sudo gedit/etc/modprobe. d/blacklist-restricted
Sudo gedit/etc/modprobe. d/blacklist-local

The preceding two files may not exist. If they do not exist, you do not need to create or change them. Taking my computer as an example, I only have 2nd files, that is, blacklist-local files. You can find the "blacklist fglrx" text in it, and add a # character in front of it. Save and exit.

Well, you can install the five DEB packages that have just been generated:

Sudo dpkg-I xorg-driver-fglrx _ *. deb fglrx-kernel-source _ *. deb fglrx-amdcccle _ *. deb

The last step is the scanning stage:

First modify the settings in xorg. conf:

Sudo gedit/etc/X11/xorg. conf

Locate the Section "Device" field, and set a Driver to "fglrx ". If the field cannot be changed, copy the following code to the file:

Section "Device" [...]
Driver "fglrx"
[...]
EndSection

Save and exit.

Run the following command on the terminal:

Sudo aticonfig -- initial-f
Sudo aticonfig -- input =/etc/X11/xorg. conf -- tls = 1

Restart.

You can run the DISPLAY =: 0 glxinfo | grep render command to view the result. If direct rending is displayed as yes. Congratulations, you have installed it successfully. If it is still no, continue to read the following.

Delete xserver-xgl

Sudo apt-get remove xserver-xgl

Add this section to/etc/X11/xorg. conf:

Section "Extensions"
Option "Composite" "Enable"
EndSection

The last step is very important. After adding this section to my machine, direct rending is finally changed to yes. Now, we are done!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.