Gentoo Archives: gentoo-user

From: Gregory Shearman <zekeyg@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] can't get accelerated opengl renderer ati radeon xpress 200M
Date: Sun, 11 Apr 2010 06:32:29
Message-Id: 20100411063116.GA10881@pacific.net.au
1 In linux.gentoo.user, you wrote:
2 > On Thu, Apr 8, 2010 at 1:18 AM, Gregory Shearman <zekeyg@×××××.com> wrote:
3 >> In linux.gentoo.user, you wrote:
4 >>
5 >> GentooPenguin# /usr/sbin/lspci | grep Radeon
6 >>
7 >> 01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon
8 >> Xpress 200M]
9 >>
10 > Yesssir!
11 >
12 > o_0 tony # lspci | grep Radeon
13 > 01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon
14 > Xpress 200M]
15 >
16 >> Are you sure your opengl libraries are being found in /usr/lib/opengl?
17 >
18 > Maybe we could compare this information:
19 >
20 > o_0 opengl # ls -lh /usr/lib/opengl/xorg-x11/lib/
21 > total 352K
22 > lrwxrwxrwx 1 root root 10 2010-04-08 02:46 libGL.so -> libGL.so.1
23 > lrwxrwxrwx 1 root root 12 2010-04-08 02:46 libGL.so.1 -> libGL.so.1.2
24 > -rwxr-xr-x 1 root root 345K 2010-04-08 02:45 libGL.so.1.2
25
26 Hmmm.... here's mine:
27
28 GentooPenguin$ ls -lh /usr/lib/opengl/xorg-x11/lib/
29 total 392K
30 -rw-r--r-- 1 root root 723 2010-04-04 22:22 libGL.la
31 lrwxrwxrwx 1 root root 10 2010-04-04 22:22 libGL.so -> libGL.so.1
32 lrwxrwxrwx 1 root root 12 2010-04-04 22:22 libGL.so.1 -> libGL.so.1.2
33 -rwxr-xr-x 1 root root 383K 2010-04-04 22:22 libGL.so.1.2
34
35 Note the "libGL.la" file. I wonder where yours has got to, or if it's
36 necessary for proper operation.
37
38 When I check which package produces this file I get:
39
40 GentooPenguin$ /usr/src/linux-2.6.31-gentoo-r6 $ equery belongs libGL.la
41 [ Searching for file(s) libGL.la in *... ]
42 media-libs/mesa-7.5.2 (/usr/lib/opengl/xorg-x11/lib/libGL.la)
43
44 You're running a newer version of mesa aren't you? Perhaps it doesn't
45 produce this file.
46
47 >
48 > o_0 opengl # ldd /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2
49 > linux-gate.so.1 => (0xb7851000)
50 > libXext.so.6 => /usr/lib/libXext.so.6 (0xb77ce000)
51 > libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb77c8000)
52 > libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb77c4000)
53 > libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb77be000)
54 > libX11-xcb.so.1 => /opt/gfx-test/lib/libX11-xcb.so.1 (0xb77ba000)
55 > libX11.so.6 => /opt/gfx-test/lib/libX11.so.6 (0xb769d000)
56 > libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xb768a000)
57 > libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb766f000)
58 > libdrm.so.2 => /opt/gfx-test/lib/libdrm.so.2 (0xb7664000)
59 > libm.so.6 => /lib/libm.so.6 (0xb763e000)
60 > libpthread.so.0 => /lib/libpthread.so.0 (0xb7624000)
61 > libdl.so.2 => /lib/libdl.so.2 (0xb7620000)
62 > libc.so.6 => /lib/libc.so.6 (0xb74d8000)
63 > libXau.so.6 => /usr/lib/libXau.so.6 (0xb74d4000)
64 > libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb74ce000)
65 > librt.so.1 => /lib/librt.so.1 (0xb74c4000)
66 > /lib/ld-linux.so.2 (0xb7852000)
67 >
68
69 Why are libX11-xcb.so.1, libX11.so.6, libdrm.so.2 in the
70 /opt/gfx-test/lib directory rather than in /usr/lib as they are on my
71 machine?
72
73 > o_0 opengl # ls -lh /usr/lib/opengl/xorg-x11/extensions/
74 > total 388K
75 > -rwxr-xr-x 1 root root 14K 2010-04-05 18:13 libdri2.so
76 > -rwxr-xr-x 1 root root 38K 2010-04-05 18:13 libdri.so
77 > -rwxr-xr-x 1 root root 327K 2010-04-05 18:13 libglx.so
78
79 The same as on my machine, but you need links from
80 /usr/lib/xorg/modules/extensions for each of these files. Have you done:
81
82 GentooPenguin# eselect opengl set xorg-x11
83
84 Sometimes this works.
85
86 > o_0 opengl # ldd /usr/lib/opengl/xorg-x11/extensions/libdri2.so
87 > linux-gate.so.1 => (0xb7837000)
88 > libdrm.so.2 => /opt/gfx-test/lib/libdrm.so.2 (0xb780c000)
89 > libm.so.6 => /lib/libm.so.6 (0xb77e6000)
90 > librt.so.1 => /lib/librt.so.1 (0xb77dd000)
91 > libc.so.6 => /lib/libc.so.6 (0xb7695000)
92 > /lib/ld-linux.so.2 (0xb7838000)
93 > libpthread.so.0 => /lib/libpthread.so.0 (0xb767b000)
94 >
95 > o_0 opengl # ldd /usr/lib/opengl/xorg-x11/extensions/libdri.so
96 > linux-gate.so.1 => (0xb773b000)
97 > libdrm.so.2 => /opt/gfx-test/lib/libdrm.so.2 (0xb770b000)
98 > libm.so.6 => /lib/libm.so.6 (0xb76e5000)
99 > librt.so.1 => /lib/librt.so.1 (0xb76dc000)
100 > libc.so.6 => /lib/libc.so.6 (0xb7594000)
101 > /lib/ld-linux.so.2 (0xb773c000)
102 > libpthread.so.0 => /lib/libpthread.so.0 (0xb757a000)
103 >
104
105 Again there are links to libs in /opt/gfx-test that aren't on my
106 machine.
107
108 >> Section "Device"
109 >>        Identifier  "ATI Graphics Adapter 0"
110 >>        Driver  "radeon"
111 >>        Option  "AccelMethod"   "EXA"
112 >>        BusID       "PCI:1:5:0"
113 >> EndSection
114 >>
115 > I tried copying yours. It all worked except it couldn't find the 'xtrap' module.
116
117 Oh dear! Neither can mine:
118
119 (EE) Failed to load module "xtrap" (module does not exist, 0)
120
121 I'd better remove it from my xorg.conf.
122
123 > Didn't make a difference though. Still have no accelerated rendering
124 > and nothing in /dev/dri.
125
126 Really odd. Have you re-emerged all the drivers found in
127 /var/db/pkg/x11-drivers? I'm starting to stab in the dark here.
128
129 > What does glxinfo | grep render say for you?
130
131 direct rendering: Yes
132 OpenGL renderer string: Mesa DRI R300 20060815 x86/MMX/SSE2 NO-TCL
133
134 Do you have this section in your /etc/X11/xorg.conf:
135
136 Section "DRI"
137 Mode 0666
138 EndSection
139
140 Have you followed the Hardware Acceleration Guide's Kernel config
141 directions?
142
143 I've got the:
144
145 Processor type and features --->
146 <*> MTRR (Memory Type Range Register) support
147
148 Device drivers --->
149 Graphics support --->
150 <M> /dev/agpgart (AGP Support) --->
151 <M> Direct Rendering Manager (XFree86 4.1.0 and higher DRI
152 support) --->
153
154
155 selected, as well as:
156
157 <M> ATI Radeon
158
159 What have you got in this directory:
160
161 GentooPenguin$ ls /usr/lib/xorg/modules/extensions
162
163 -rwxr-xr-x 1 root root 17820 2009-12-22 00:59 libdbe.so
164 lrwxrwxrwx 1 root root 46 2010-04-04 22:22 libdri2.so ->
165 ../../../opengl/xorg-x11/extensions/libdri2.so
166
167 lrwxrwxrwx 1 root root 45 2010-04-04 22:22 libdri.so ->
168 ../../../opengl/xorg-x11/extensions/libdri.so
169
170 -rwxr-xr-x 1 root root 88172 2009-12-22 00:59 libextmod.so
171
172 lrwxrwxrwx 1 root root 45 2010-04-04 22:22 libglx.so ->
173 ../../../opengl/xorg-x11/extensions/libglx.so
174
175 -rwxr-xr-x 1 root root 26052 2009-12-22 00:59 librecord.so
176
177 Note the links to the /usr/lib/opengl/xorg-x11/extensions directory.
178
179 I hope something in here helps!
180
181 --
182 Regards,
183
184 Gregory.
185 Gentoo Linux - Penguin Power

Replies

Subject Author
Re: [gentoo-user] can't get accelerated opengl renderer ati radeon xpress 200M Tony Miller <mcfiredrill@×××××.com>