Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have started to notice a strange error quickly flash across my screen every time I boot my laptop running Fedora 20. I'm not sure what it means or how it may be affecting my system, but I figured it would be best to address it ASAP before I have problems that could be because of this.

Here's what flashes across the screen during startup:

Booting 'Fedora (3.12.6-300.fc20.x86_64) 20 (Heisenbug)'
[    1.887874] [drm:drm_pci_agp_init]  =ERROR= Cannot initialize the agpgart module.
[    1.887932] DRM: Fill_in_dev failed.

My question is, what all does this mean and how can I fix it?

share|improve this question
up vote 2 down vote accepted

My output

I'm on Fedora 19 and I get these messages.

$ dmesg | less
[    0.898072] Linux agpgart interface v0.103
[    0.898214] agpgart-intel 0000:00:00.0: Intel HD Graphics Chipset
[    0.898439] agpgart-intel 0000:00:00.0: detected gtt size: 2097152K total, 262144K mappable
[    0.899719] agpgart-intel 0000:00:00.0: detected 32768K stolen memory
[    0.899978] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000

Potential solutions

I found this ArchLinux forum thread titled: "[SOLVED] drm_pci_agp_init ERROR Cannot initialize the agpgart module". The solutions discussed in the thread suggest either blacklisting that module or removing drm module.


SOLVED: I finally found a way how to disable the driver by removing drm.ko.gz:

   cd /lib/modules/<kernel version>/kernel/drivers/gpu/drm/
   rm drm.ko.gz

Alternatively, I can prevent any modules from loading by adding blacklist parameter in the boot entries:


Another solution is that I simply removed the nomodeset parameter from my boot entries:

   title Arch
   linux /vmlinuz-linux
   initrd /initramfs-linux.img
   options cryptdevice=UUID=<UUID>:<dm_name> root=/dev/mapper/<dm_name> [del]nomodeset[/del]

What's agpgart?

The wikipedia page discusses what agpgart is in this topic titled: Graphics address remapping table.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.