Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Updates = slow firefox Mick <michaelkintzios@×××××.com>
Re: [gentoo-user] Updates = slow firefox Bartosz Szatkowski <bulislaw@×××××.com>