X Fails to load on systems with Linux kernel version 2.6.x

This information applies to the following system configurations:

- Linux kernel version 2.6.x
- Any ATI Linux driver

A blank screen may appear momentarily when X starts to load. The following error message (or similar) may appear on the text console or in /var/log/XFree86.0.log:

`(EE) fglrx(0): [agp] unable to acquire AGP, error ""xf86_ENODEV""`

This is not a problem with the display driver.

Version 2.6 kernels require a second kernel module in addition to agpgart, which should be named similar to the manufacturer of your motherboard AGP chipset. This error message should occur if the other agp module is not loaded.

This issue can be worked around as follows:

1. First make sure that agpgart is loading properly.

2. To find out which AGP controller your motherboard uses, issue the following command:

   `lspci | grep AGP`

3. To find a list of AGP related kernel modules installed on your machine, issue the following command and look for a module (*.ko file) that suits your AGP Controller:

   `ls /lib/modules/`uname -r`/kernel/drivers/char/agp`

4. Use the `modprobe` command (as root) to load the module. For example: On a motherboard using a VIA® AGP Controller, you would load the via-agp.ko using modprobe as follows (notice that the trailing .ko is omitted):

   `modprobe via-agp`

Check the modprobe manpage for more information on loading kernel modules.

5. To verify that the AGP module is already loaded, run `lsmod` as root. With the XServer running and the connection established, the usage count of this module must be greater than zero.

If cannot find a suitable agp module for your motherboard, then you may want to upgrade to the latest version of the Linux kernel, or check your motherboard manufacturer's website for more information.