Debian Admin

Debian/Ubuntu Linux System Administration Tutorials,Howtos,Tips

  • RSS Subscribe

    subscribe to the Debian Admin RSS feed
  • Sponsors



  • Categories

  • Sponsors

  • Support DebianAdmin

    Amount $:
    Website(Optional):


  • Meta

  • Archives



How to install ATI fglrx driver in debian

Posted by Admin on January 16th, 2009

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

This tutorial will explain How to install ATI fglrx driver in debian.First you need to Download the latest ATI Linux  installer from here
Preparing your system

#apt-get install build-essential linux-headers-$(uname -r) module-assistant

Now you need to Create the .deb packages: (change accordingly depending on which flavor you’re running)

# sh ati-driver-installer-8-12-x86.x86_64.run –buildpkg Debian/testing

Install the .deb packages in the current directory

# dpkg -i package.deb

Change to the /usr/src directory

cd /usr/src

Extract the ‘fglrx.tar.bz2′ package:

# tar xjpvf fglrx.tar.bz2

Change to the /usr/src/modules/fglrx directory

cd /usr/src/modules/fglrx

Build the kernel module:

# sh make.sh

Copy the kernel module to the modules directory:

# cp fglrx.ko /lib/modules/2.6.18-4-686/kernel/drivers/char/drm/

Load the “fglrx” module:

# modprobe fglrx

Change the current driver in /etc/X11/xorg.conf to “fglrx”

# vi /etc/X11/xorg.conf

Add the module to /etc/modules to have it start automatically upon boot up:

# vim /etc/modules

Make sure the module loaded smoothly:

dmesg | grep “fglrx”

And, lastly, start GDM as root and make sure everything works.
# gdm

  • Share/Bookmark

Random Posts

7 Responses to “How to install ATI fglrx driver in debian”

  1. dgiglio Says:

    I use module-assistant to compile and install fglrx kernel module. It lets me to skip the part where I have to extract the tar archive, compile the module and load it manually.

  2. craigevil Says:

    Installing Xorg drivers for nVidia, ATI, Radeon, Intel (and more)

    You can also use sgfxi to move between free and non-free drivers or roll back to native free drivers: Key commands are:

    -n Automatically installs correct native xorg nv, intel, or ati driver for your
    system. Cleans up old binary driver stuff, updates xorg.conf with new driver
    information, and cleans nvidia and fgrlx stuff out of xorg.conf
    -N Force install of specific xorg driver.
    Syntax: sgfxi -N
    Supported Xorg drivers: ati i128 i740 i810 i810-modesetting intel mga
    neomagic nv radeon radeonhd sis tdfx vesa vga voodoo
    Also configures xorg.conf as required. Full radeon xorg 3d configuration
    automatically.
    [/quote]

  3. /lin Says:

    I installed drivers from Debian non-free method which is described here: http://wiki.cchtml.com/index.php/Debian_Installation_Guide
    basically it is described as this:
    sudo apt-get update
    sudo apt-get install module-assistant fglrx-driver fglrx-kernel-src
    build and install the module
    #:sudo module-assistant auto-install fglrx-kernel-src
    #:sudo aticonfig –initial
    I didnt understand much, but everything is working fine and my Nexuiz is runnin very smooth :)
    but I end up with Debian GNU/Linux, kernel 2.6.26-1-486 in my grub menu, which is now below
    Debian GNU/Linux, kernel 2.6.26-2-686 from my Debian Lenny, so is it safe to just clear kernel 2.6.26-1-486
    from menu or this have some purpose?
    Thx

  4. xt4mhz Says:

    Hi.

    The “ATI Catalyst™ Display Driver” released in March 26 2009 do not need to kernel sources be downloaded.

    In fact, some conditions applies:

    1) The drivers above support English only.
    2) The display driver requires POSIX shared memory to be enabled on the system.
    3) Kernal Sources package is no longer required if Kernel Header package is installed.
    4) 32-Bit packages must be installed for 64-Bit Linux drivers to install or work.

    Info extracted from: http://support.amd.com/us/gpudownload/linux/Legacy/Pages/radeon_linux.aspx?type=2.7&product=2.7.4.3.3.3.1&lang=English

    Hope this helps.

    xt4mhz

  5. Gary Dale Says:

    I just tried this method because I haven’t been able to get anything else to work since Squeeze went to the 2.6.30 kernel. I note that the ait-driver-installer line needs two “-” before buildpkg.

    Also, this step failed with the following errors:
    dpkg-shlibdeps: error: couldn’t find library libc.so.6 needed by debian/fglrx-driver/emul/ia32-linux/usr/lib/libfglrx_pp.so.1.0 (ELF format: ‘elf32-i386′; RPATH: ”).
    Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
    To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
    dh_shlibdeps: dpkg-shlibdeps returned exit code 2
    make: *** [binary] Error 1
    dpkg-buildpackage: error: debian/rules binary gave error exit status 2

    The lack of a libc.so.6 was the problem. After fixing this, I came to another error complaining about fglrx_gamma… I found the solution at http://wiki.cchtml.com/index.php/Ubuntu_Hardy_Installation_Guide#Fix_for_an_error which basically involves extracting the driver then setting a link to the package – the shell script seems to be looking for a misnamed package. After that, the buildpkg worked – leaving me with 4 packages.

    Will keep you posted on whether I got a successful install or not.

  6. Gary Dale Says:

    No joy in mudville. The fglrx-driver wouldn’t install. The error was relating to overwriting /usr/lib/xorg/modules/extensions/libglx.so. Even removing the existing file and restarting X wouldn’t allow me to get past that point.

    At this point I quit in frustration and just ran the ATI installer. That worked (apparently) and I notice the libglx.so file has been replaced with one installed at the time I was running the ATI installer.

    The screen isn’t flickering the way it did with the vesa driver, so something has changed, but windows are slow to move and don’t go semi-transparent in the process like they used to. Something still needs to be tweaked.

  7. Gary Dale Says:

    Went back to the vesa driver. The flicker is annoying but not so bad as the slowness of the ATI fglrx driver I’d managed to get installed.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>