Gentoo Archives: gentoo-user

From: Bartosz Szatkowski <bulislaw@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Updates = slow firefox
Date: Fri, 23 Apr 2010 09:01:32
Message-Id: 1272013261.27692.8.camel@bulislaw-laptop
In Reply to: Re: [gentoo-user] Updates = slow firefox by Grant
1 Dnia 2010-04-22, czw o godzinie 09:47 -0700, Grant pisze:
2 > >>> Could this be the problem?
3 > >>>
4 > >>> # grep ^\(EE /var/log/Xorg.0.log
5 > >>> (EE) Failed to load module "vesa" (module does not exist, 0)
6 > >>> (EE) Failed to load module "fbdev" (module does not exist, 0)
7 > >>> (EE) intel(0): [drm] Failed to open DRM device for : No such file or
8 > >>> directory
9 > >>> (EE) intel(0): Failed to become DRM master.
10 > >>> (EE) intel(0): Failed to initialize kernel memory manager
11 > >>
12 > >> The first two errors are fine; Xorg defaults to trying vesa and fbdev as
13 > >> display drivers and you just don't have them.
14 > >>
15 > >> The last three are your problem. The intel video driver is unable to
16 > >> properly access the DRM subsystem, which will definitely cause X to slow
17 > >> to a crawl.
18 > >>
19 > >> The most likely cause of your errors is that the intel AGP driver (i810
20 > >> or i915, depending on your hardware) isn't getting loaded. If that's
21 > >> the case, you should see an error such as:
22 > >>
23 > >> [drm] failed to load kernel module "i915"
24 > >>
25 > >> in Xorg.0.log just before the ones from intel. If the modules are being
26 > >> loaded, you'll likely see some other errors around that same area. The
27 > >> aren't tagged with (EE), unfortunately; try:
28 > >>
29 > >> # grep -5 'Failed to open DRM' Xorg.0.log
30 > >>
31 > >> You can also check your dmesg output to see if the devices are being
32 > >> initialized properly:
33 > >>
34 > >> platypus log # dmesg | grep agp
35 > >> Linux agpgart interface v0.103
36 > >> agpgart-intel 0000:00:00.0: Intel 965GM Chipset
37 > >> agpgart-intel 0000:00:00.0: detected 7676K stolen memory
38 > >> agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xe0000000
39 > >>
40 > >> platypus log # dmesg | grep drm
41 > >> [drm] Initialized drm 1.1.0 20060810
42 > >> [drm] set up 7M of stolen space
43 > >> [drm] initialized overlay support
44 > >> fb0: inteldrmfb frame buffer device
45 > >> [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
46 > >>
47 > >> If everything's working, you should have the following devices that the
48 > >> Xorg driver needs:
49 > >>
50 > >> platypus log # ls -l /dev/dri
51 > >> total 0
52 > >> crw-rw---- 1 root video 226, 0 Apr 20 13:11 card0
53 > >> crw-rw---- 1 root video 226, 64 Apr 20 13:11 controlD64
54 > >
55 > > Ah, thank you so much. I needed to enable CONFIG_DRM_I915 in the kernel.
56 > >
57 > > - Grant
58 >
59 > Strangely, now my laptop's brightness adjustment doesn't work via the
60 > keyboard shortcuts. Any ideas on that?
61 >
62 > - Grant
63 >
64 Please share the beast model :P (or maybe ive missed it).
65 in kernel config You have multiple option for backlight eg. for thinkpad
66 there is extra one in "thinkpad specific acpi" maybe You have something
67 similar for Yours stuff.
68
69 And (its only my private opinion - could base on wrong facts :P) dont be
70 used to hal because the 1.8 xorg-server dont like it any more,
71 preferring udev, and future versions wouldn't probably support hal at
72 all.
73
74 Lately i delete hal USE and now iam using udev - excepting auto mounting
75 usb stick etc.
76 --
77 Bartosz Szatkowski
78 KeyFP: 1568 D5A7 B14C 0727 1C61 ACFB ABDE C08A DDB7 1F70
79
80 You must exorcise any evil proprietary operating systems that possess
81 any of the computers under your control, and then install a wholly/holy
82 free operating system, and then only install Free Software on top of
83 that.

Replies

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