Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Updates = slow firefox
Date: Wed, 21 Apr 2010 20:12:17
Message-Id: u2n49bf44f11004211311u63a9b418x17806d0b42a56980@mail.gmail.com
In Reply to: Re: [gentoo-user] Updates = slow firefox by Mike Edenfield
1 >> Could this be the problem?
2 >>
3 >> # grep ^\(EE /var/log/Xorg.0.log
4 >> (EE) Failed to load module "vesa" (module does not exist, 0)
5 >> (EE) Failed to load module "fbdev" (module does not exist, 0)
6 >> (EE) intel(0): [drm] Failed to open DRM device for : No such file or directory
7 >> (EE) intel(0): Failed to become DRM master.
8 >> (EE) intel(0): Failed to initialize kernel memory manager
9 >
10 > The first two errors are fine; Xorg defaults to trying vesa and fbdev as
11 > display drivers and you just don't have them.
12 >
13 > The last three are your problem.  The intel video driver is unable to
14 > properly access the DRM subsystem, which will definitely cause X to slow
15 > to a crawl.
16 >
17 > The most likely cause of your errors is that the intel AGP driver (i810
18 > or i915, depending on your hardware) isn't getting loaded.  If that's
19 > the case, you should see an error such as:
20 >
21 > [drm] failed to load kernel module "i915"
22 >
23 > in Xorg.0.log just before the ones from intel.  If the modules are being
24 > loaded, you'll likely see some other errors around that same area.  The
25 > aren't tagged with (EE), unfortunately; try:
26 >
27 > # grep -5 'Failed to open DRM' Xorg.0.log
28 >
29 > You can also check your dmesg output to see if the devices are being
30 > initialized properly:
31 >
32 > platypus log # dmesg | grep agp
33 > Linux agpgart interface v0.103
34 > agpgart-intel 0000:00:00.0: Intel 965GM Chipset
35 > agpgart-intel 0000:00:00.0: detected 7676K stolen memory
36 > agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xe0000000
37 >
38 > platypus log # dmesg | grep drm
39 > [drm] Initialized drm 1.1.0 20060810
40 > [drm] set up 7M of stolen space
41 > [drm] initialized overlay support
42 > fb0: inteldrmfb frame buffer device
43 > [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
44 >
45 > If everything's working, you should have the following devices that the
46 > Xorg driver needs:
47 >
48 > platypus log # ls -l /dev/dri
49 > total 0
50 > crw-rw---- 1 root video 226,  0 Apr 20 13:11 card0
51 > crw-rw---- 1 root video 226, 64 Apr 20 13:11 controlD64
52
53 Ah, thank you so much. I needed to enable CONFIG_DRM_I915 in the kernel.
54
55 - Grant

Replies

Subject Author
Re: [gentoo-user] Updates = slow firefox Grant <emailgrant@×××××.com>