Gentoo Archives: gentoo-user

From: Andrew Gaydenko <a@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] DRI doesn't work with xorg 7.4 and an intel chipset Q35 board
Date: Fri, 27 Mar 2009 09:04:35
Message-Id: 200903271203.18588.a@gaydenko.com
In Reply to: [gentoo-user] DRI doesn't work with xorg 7.4 and an intel chipset Q35 board by Wolfgang.Liebich@siemens.com
1 On Friday 27 March 2009 10:17:49 Wolfgang.Liebich@×××××××.com wrote:
2 > Hi,
3 > I've a (somewhat new) computer with an intel Q35 chipset graphics.
4 > Until yesterday I ran the stable xorg-x11 version, with USE=dri and
5 > USE=opengl enabled.
6 > BUT as soon as I started a program which wanted to do something with
7 > OpenGL (like google earth, amarok with openGL use flag, or just
8 > glxgears),
9 > the xorg-xserver crashed. Absolutely reliably.
10 >
11 > I found a comment about the incomplete support for openGL/dri for i915
12 > graphic cards in the stable xorg driver, so I upgraded to xorg-x11 7.4
13 > (with a whole lot of unmasking).
14 >
15 > Now I don't get a crash, BUT still dri don't work (didn't work earlier
16 > on, too - but I have no traces).
17 >
18 > I've loaded the drm module with debug=1, and found the syslog messages
19 > (snipped):
20 > [drm:i915_getparam] *ERROR* Unknown parameter 5
21 > and
22 >
23 > [drm:i915_initialize] *ERROR* can not ioremap virtual address for ring
24 > buffer
25 >
26 > In Xorg.0.log I found following warnings and errors:
27 > (WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
28 > and
29 > (EE) intel(0): I830 Dma Initialization Failed
30 >
31 > I've tried both XAA and EXA - didn't change a thing.
32 >
33 > I've upgraded to 2.6.27-gentoo-r10 - no change.
34 > xdriinfo says:
35 > $xdriinfo
36 > Screen 0: not direct rendering capable.
37 >
38 > BUT:
39 >
40 > $ glxinfo
41 > name of display: :0.0
42 > display: :0 screen: 0
43 >
44 > direct rendering: Yes
45 >
46 > What can I do now?
47 > What is going on here???
48 >
49 > Puzzled,
50 > Wolfgang
51
52 I'm not an x11 guru (also strugglimg with x from time to time), but if I
53 understand well, there are important things in last kernels to support intel
54 cards (mesa and kernel must be in sync some way).