Gentoo Archives: gentoo-user

From: Tony Miller <mcfiredrill@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] can't get accelerated opengl renderer ati radeon xpress 200M
Date: Sat, 10 Apr 2010 21:22:00
Message-Id: j2mb77b56401004101421xa6f84c61q1747425bcde7c1fb@mail.gmail.com
In Reply to: Re: [gentoo-user] can't get accelerated opengl renderer ati radeon xpress 200M by Gregory Shearman
1 On Thu, Apr 8, 2010 at 1:18 AM, Gregory Shearman <zekeyg@×××××.com> wrote:
2 > In linux.gentoo.user, you wrote:
3 >
4 > GentooPenguin# /usr/sbin/lspci | grep Radeon
5 >
6 > 01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon
7 > Xpress 200M]
8 >
9 Yesssir!
10
11 o_0 tony # lspci | grep Radeon
12 01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon
13 Xpress 200M]
14
15 > Are you sure your opengl libraries are being found in /usr/lib/opengl?
16
17 Maybe we could compare this information:
18
19 o_0 opengl # ls -lh /usr/lib/opengl/xorg-x11/lib/
20 total 352K
21 lrwxrwxrwx 1 root root 10 2010-04-08 02:46 libGL.so -> libGL.so.1
22 lrwxrwxrwx 1 root root 12 2010-04-08 02:46 libGL.so.1 -> libGL.so.1.2
23 -rwxr-xr-x 1 root root 345K 2010-04-08 02:45 libGL.so.1.2
24
25 o_0 opengl # ldd /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2
26 linux-gate.so.1 => (0xb7851000)
27 libXext.so.6 => /usr/lib/libXext.so.6 (0xb77ce000)
28 libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb77c8000)
29 libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb77c4000)
30 libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb77be000)
31 libX11-xcb.so.1 => /opt/gfx-test/lib/libX11-xcb.so.1 (0xb77ba000)
32 libX11.so.6 => /opt/gfx-test/lib/libX11.so.6 (0xb769d000)
33 libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xb768a000)
34 libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb766f000)
35 libdrm.so.2 => /opt/gfx-test/lib/libdrm.so.2 (0xb7664000)
36 libm.so.6 => /lib/libm.so.6 (0xb763e000)
37 libpthread.so.0 => /lib/libpthread.so.0 (0xb7624000)
38 libdl.so.2 => /lib/libdl.so.2 (0xb7620000)
39 libc.so.6 => /lib/libc.so.6 (0xb74d8000)
40 libXau.so.6 => /usr/lib/libXau.so.6 (0xb74d4000)
41 libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb74ce000)
42 librt.so.1 => /lib/librt.so.1 (0xb74c4000)
43 /lib/ld-linux.so.2 (0xb7852000)
44
45
46 o_0 opengl # ls -lh /usr/lib/opengl/xorg-x11/extensions/
47 total 388K
48 -rwxr-xr-x 1 root root 14K 2010-04-05 18:13 libdri2.so
49 -rwxr-xr-x 1 root root 38K 2010-04-05 18:13 libdri.so
50 -rwxr-xr-x 1 root root 327K 2010-04-05 18:13 libglx.so
51
52 o_0 opengl # ldd /usr/lib/opengl/xorg-x11/extensions/libdri2.so
53 linux-gate.so.1 => (0xb7837000)
54 libdrm.so.2 => /opt/gfx-test/lib/libdrm.so.2 (0xb780c000)
55 libm.so.6 => /lib/libm.so.6 (0xb77e6000)
56 librt.so.1 => /lib/librt.so.1 (0xb77dd000)
57 libc.so.6 => /lib/libc.so.6 (0xb7695000)
58 /lib/ld-linux.so.2 (0xb7838000)
59 libpthread.so.0 => /lib/libpthread.so.0 (0xb767b000)
60
61 o_0 opengl # ldd /usr/lib/opengl/xorg-x11/extensions/libdri.so
62 linux-gate.so.1 => (0xb773b000)
63 libdrm.so.2 => /opt/gfx-test/lib/libdrm.so.2 (0xb770b000)
64 libm.so.6 => /lib/libm.so.6 (0xb76e5000)
65 librt.so.1 => /lib/librt.so.1 (0xb76dc000)
66 libc.so.6 => /lib/libc.so.6 (0xb7594000)
67 /lib/ld-linux.so.2 (0xb773c000)
68 libpthread.so.0 => /lib/libpthread.so.0 (0xb757a000)
69
70 o_0 opengl # ldd /usr/lib/opengl/xorg-x11/extensions/libglx.so
71 linux-gate.so.1 => (0xb78a2000)
72 libm.so.6 => /lib/libm.so.6 (0xb780e000)
73 librt.so.1 => /lib/librt.so.1 (0xb7805000)
74 libc.so.6 => /lib/libc.so.6 (0xb76bd000)
75 /lib/ld-linux.so.2 (0xb78a3000)
76 libpthread.so.0 => /lib/libpthread.so.0 (0xb76a4000)
77
78 I also see a lot of lines like this in my Xorg.log, any particular one
79 I should look out for?
80
81 (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
82
83
84 > What does the command "eselect opengl list" show you?
85 >
86 > Mine tells me that the xorg-x11 driver is being used.
87 >
88 o_0 tony # eselect opengl list
89 Available OpenGL implementations:
90 [1] xorg-x11 *
91
92 >> But glxgears only gets about 19 fps. Here is what glxinfo | grep OpenGL reports:
93 >
94 > I get:
95 >
96 > 1438 frames in 5.0 seconds = 287.483 FPS
97 >
98 > Not really screaming along, but adequate for my needs.
99
100 That would be good enough for me as well. :)
101 >
102 >> Section "Module"
103 >>       Load  "record"
104 >>       Load  "extmod"
105 >>       Load  "dri"
106 >>       Load  "glx"
107 >>       Load  "GLcore"
108 >>       Load  "dri2"
109 >>       Load  "dbe"
110 >> EndSection
111 >
112 > My xorg.conf shows:
113 >
114 > Section "Module"
115 >        Load  "extmod"
116 >        Load  "dri"
117 >        Load  "dbe"
118 >        Load  "record"
119 >        Load  "xtrap"
120 >        Load  "glx"
121 > EndSection
122 >
123 >> Section "Device"
124 >>         ### Available Driver options are:-
125 >>         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
126 >>         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
127 >>         ### [arg]: arg optional
128 >>         #Option     "ShadowFB"                # [<bool>]
129 >>         #Option     "DefaultRefresh"          # [<bool>]
130 >>         #Option     "ModeSetClearScreen"      # [<bool>]
131 >>       Identifier  "Card0"
132 >>       Driver      "radeon"
133 >>       VendorName  "ATI Technologies Inc"
134 >>       BoardName   "RC410 [Radeon Xpress 200M]"
135 >>       BusID       "PCI:1:5:0"
136 >>       Option          "MergedFB"      "true"
137 >>       Option          "CRT2Position"  "LeftOf"
138 >>       Option          "ColorTiling"   "true"
139 >>       Option          "EnablePageFlip"        "true"
140 >>       #Option         "AccelMethod"   "EXA"
141 >>       #Option         "AccelDFS"              "true"
142 >> EndSection
143 >
144 > My Device Section:
145 >
146 > Section "Device"
147 >        Identifier  "ATI Graphics Adapter 0"
148 >        Driver  "radeon"
149 >        Option  "AccelMethod"   "EXA"
150 >        BusID       "PCI:1:5:0"
151 > EndSection
152 >
153 I tried copying yours. It all worked except it couldn't find the 'xtrap' module.
154
155 Didn't make a difference though. Still have no accelerated rendering
156 and nothing in /dev/dri.
157
158 What does glxinfo | grep render say for you?