How do I build and install a kernel module for the ATI Proprietary Linux Driver?

A special driver file (or "kernel module") is necessary for the ATI driver to provide hardware graphics acceleration. For this kernel module to work properly, it must be tailored to your specific system configuration.

The ATI driver package attempts to build and install this module at install time. If installation was completely successful, then a kernel module should already be installed for you and manual installation should not be necessary.

However, in order for acceleration to work properly, it will be necessary to manually rebuild and reinstall the kernel module under the following circumstances:

If any errors occurred during install, then it may be necessary to resolve those issues before proceeding further.

Before attempting to run these scripts, it will be necessary to have the bash (or sh) shell installed, which is standard on most Linux systems. Enter the command "which sh" to make sure it is installed.

Building the fglrx kernel module

  1. cd /lib/modules/fglrx/build_mod
  2. sh make.sh

Installing the fglrx kernel module

  1. cd /lib/modules/fglrx
  2. sh make_install.sh

Note any error messages that appear during this process.

The following message (or similar) should appear when the ATI kernel module has been installed successfully:

==============================
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
Warning: loading /lib/modules/x.x.xx-x/kernel/drivers/char/drm/fglrx.o will taint the kernel: non-GPL license - Proprietary. (C) 20XX - ATI Technologies, Starnberg, GERMANY
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module fglrx loaded, with warnings
done.

The "with warnings" part is expected, and should not affect functionality.

INFO-BASE#4484