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 practices in ATI's unofficial WIKI. 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 in ATI's 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/hardy |
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 |
PossibleRe-Execute: (skip this step)
Sh ati-driver-installer-8-9-x86.x86_64.run -- buildpkg Ubuntu/hard
Then set the file:
sudo gedit /etc/default/linux-restricted-modules-common |
Set Change DISABLED_MODULES = "" 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.
DISPLAY =: 0 glxinfo | grep render can be used Command to view the results. 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!