Install and configure the atidriver In Debian

Source: Internet
Author: User
Install and configure the atidriver In Debian-Debian information in the Linux release. For more information, see. First, describe your situation. The sub-host's video card is HD2400, the kernel is 2.6.23 compiled by yourself, and the unstable source is used. I have been using the vesa driver before and think that the display effect is quite good. After all, I don't have applications that have high requirements on the display effect. However, since there is a video card, but there is no corresponding driver to maximize the effect, it is really a pity, so I have been thinking about installing the ATI driver.

I switched to the ATI website and downloaded the official driver, but it was not possible to run it directly. It was said that there were no kernel matching and other problems. In short, it was very troublesome. Later, I checked the experiences of other friends on the Internet. It seems that the installation of this driver should be like this:

1. Build the corresponding system driver package:
/Ati-driver-installer-8.41.7-x86.x86_64.run -- buildpkg Debian/unstable

We can use the following command to list all the packages that can be built:
./Ati-driver-installer-8.41.7-x86.x86_64.run -- listpkg

We can select the appropriate system parameters from the output to build the corresponding package.

2. Install the constructed package:
# Dpkg-I fglrx *. deb

3. Install the module-assistant tool:
# Apt-get install module-assistant

4. Use m-a to install the driver module
# M-a prepare
# M-a-I fglrx

The corresponding kernel header file is required for driver module installation. Therefore, we need to install the corresponding header file before proceeding with this step:
# Apt-get install linux-headers-'uname-R'

In this way, the fglrx driver module can be automatically installed.

In this case, we can use the following command to test whether the fglrx driver is successfully installed:
# Modprobe fglrx

5. Configure Xorg. conf
In the configuration, We need to load the fglrx module. In the "Deveice" section, change the vesa driver to fglrx and restart X. If everything is normal, we can enjoy the visual effects of ativedrive.

We can use the following command to check whether our atidriver is successfully installed:
$ Fglrxinfo

We should get the following output:
Display: 0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon HD 2400 XT
OpenGL version string: 2.1.7059 Release

$ Glxinfo | grep direct

The expected output result is:
Direct rendering: Yes

We can also find the fglrx package in the source:
# Apt-cache search fglrx

I personally feel that there is no need to install the so-called official driver package, because the so-called official driver package solves several packages in the source, after installing the official driver package, I performed an upgrade operation to update two of the packages. In this case, it is better to directly install the driver package in the source:

# Apt-get install fglrx *

When we use m-a to install the driver module, we can also use the step-by-step installation method, first compile and then install, without having to put it in place in one step:

# M-a get fglrx
# M-a build fglrx

In this case, a deb package of fglrx is generated under the/usr/src/directory. When compiling the driver module, you need to install the Linux kernel header file. My kernel is 2.6.23 compiled by myself, but there is no corresponding header file package in the source, which is quite depressing. However, even so, I still got a compiled fglrx deb package. We can use dpkg for installation.

Finally, you need to configure Xorg. The simplest thing is to change the driver to fglrx. Of course, we can also use the tool provided by ati for Configuration:

# Aticonfig -- initial -- input =/etc/X11/xorg. conf

This will detect and modify the xorg. conf file. However, I personally think this program is really not easy to use. He just inserted the detection results into the configuration file, so the configuration file contains two configurations that coexist. Therefore, it is much easier to directly modify the driver configuration.

This is my personal experience in installing and configuring the atidriver In Debian. I hope it will be helpful to friends who use the ATI Video Card.
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.