Gentoo Archives: gentoo-user

From: Tony Miller <mcfiredrill@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] can't get accelerated opengl renderer ati radeon xpress 200M
Date: Tue, 06 Apr 2010 20:13:17
Message-Id: x2gb77b56401004061312gddf35865r9a5907fbd0c57390@mail.gmail.com
1 I've been trying for awhile now to get the accelerated opengl renderer
2 working on my radeon xpress 200M card(which is supposedly an rv370 or
3 rs4000 according to this wiki page:
4 http://dri.freedesktop.org/wiki/ATIRadeon). I've been following this
5 guide alot: http://dri.freedesktop.org/wiki/ATIRadeon
6
7 I know it is important to change this string from glxinfo:
8
9 OpenGL renderer string: Software Rasterizer
10
11 to this:
12
13 OpenGL renderer string: Mesa DRI R200 (RV280 5C61) 20090101
14 x86/MMX+/3DNow!+/SSE TCL DRI2
15
16 But I'm not sure how.
17
18 This error in my xorg.log seems to be the key:
19
20
21 drmOpenDevice: node name is /dev/dri/card0
22 drmOpenDevice: open result is -1, (No such device)
23 drmOpenDevice: open result is -1, (No such device)
24 drmOpenDevice: Open failed
25 drmOpenByBusid: Searching for BusID pci:0000:01:05.0
26 drmOpenDevice: node name is /dev/dri/card0
27 drmOpenDevice: open result is -1, (No such device)
28 drmOpenDevice: open result is -1, (No such device)
29 drmOpenDevice: Open failed
30 drmOpenByBusid: drmOpenMinor returns -19
31 drmOpenDevice: node name is /dev/dri/card1
32 drmOpenDevice: open result is -1, (No such device)
33 drmOpenDevice: open result is -1, (No such device)
34 drmOpenDevice: Open failed
35 drmOpenByBusid: drmOpenMinor returns -19
36 drmOpenDevice: node name is /dev/dri/card2
37 drmOpenDevice: open result is -1, (No such device)
38 drmOpenDevice: open result is -1, (No such device)
39 drmOpenDevice: Open failed
40 drmOpenByBusid: drmOpenMinor returns -19
41 (etc, etc, etc, etc, etc, etc, etc)
42 (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
43 [dri] Disabling DRI.
44
45
46 Well the directory /dev/dri/ is empty, so there you go.
47
48 I have these package versions:
49
50 xorg-server 1.7.6
51 mesa 7.8
52 libdrm 2.4.19
53 xf86-video-ati 6.12.192
54 xorg-drivers 1.7
55
56 I have drm set in my kernel too:
57
58 tony@o_0 ~ $ zgrep DRM /proc/config.gz
59 CONFIG_DRM=m
60 CONFIG_DRM_KMS_HELPER=m
61 CONFIG_DRM_TTM=m
62 # CONFIG_DRM_TDFX is not set
63 # CONFIG_DRM_R128 is not set
64 CONFIG_DRM_RADEON=m
65 CONFIG_DRM_RADEON_KMS=y
66 # CONFIG_DRM_I810 is not set
67 # CONFIG_DRM_I830 is not set
68 # CONFIG_DRM_I915 is not set
69 # CONFIG_DRM_MGA is not set
70 # CONFIG_DRM_SIS is not set
71 # CONFIG_DRM_VIA is not set
72 # CONFIG_DRM_SAVAGE is not set
73 # CONFIG_DRM_VMWGFX is not set
74 # CONFIG_DRM_NOUVEAU is not set
75 # CONFIG_DRM_I2C_CH7006 is not set
76
77 and this dmesg output appears to indicate that its working ok:
78
79 [   53.428828] [drm] Initialized drm 1.1.0 20060810
80 [   53.642115] [drm] radeon defaulting to kernel modesetting.
81 [   53.642122] [drm] radeon kernel modesetting enabled.
82
83 But glxgears only gets about 19 fps. Here is what glxinfo | grep OpenGL reports:
84 OpenGL vendor string: Mesa Project
85 OpenGL renderer string: Software Rasterizer
86 OpenGL version string: 2.1 Mesa 7.8
87 OpenGL shading language version string: 1.20
88 OpenGL extensions:
89
90 And might as well post my xorg.conf as well:
91 Section "ServerLayout"
92 Identifier "X.org Configured"
93 Screen 0 "Screen0" 0 0
94 InputDevice "Mouse0" "CorePointer"
95 InputDevice "Keyboard0" "CoreKeyboard"
96 EndSection
97
98 Section "Files"
99 ModulePath "/usr/lib/xorg/modules"
100 FontPath "/usr/share/fonts/misc/"
101 FontPath "/usr/share/fonts/TTF/"
102 FontPath "/usr/share/fonts/OTF"
103 FontPath "/usr/share/fonts/Type1/"
104 FontPath "/usr/share/fonts/100dpi/"
105 FontPath "/usr/share/fonts/75dpi/"
106 EndSection
107
108 Section "Module"
109 Load "record"
110 Load "extmod"
111 Load "dri"
112 Load "glx"
113 Load "GLcore"
114 Load "dri2"
115 Load "dbe"
116 EndSection
117
118 Section "InputDevice"
119 Identifier "Keyboard0"
120 Driver "kbd"
121 EndSection
122
123 Section "InputDevice"
124 Identifier "Mouse0"
125 Driver "mouse"
126 Option "Protocol" "auto"
127 Option "Device" "/dev/input/mice"
128 Option "ZAxisMapping" "4 5 6 7"
129 EndSection
130
131 Section "Monitor"
132 Identifier "Monitor0"
133 VendorName "Monitor Vendor"
134 ModelName "Monitor Model"
135 EndSection
136
137 Section "Device"
138 ### Available Driver options are:-
139 ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
140 ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
141 ### [arg]: arg optional
142 #Option "ShadowFB" # [<bool>]
143 #Option "DefaultRefresh" # [<bool>]
144 #Option "ModeSetClearScreen" # [<bool>]
145 Identifier "Card0"
146 Driver "radeon"
147 VendorName "ATI Technologies Inc"
148 BoardName "RC410 [Radeon Xpress 200M]"
149 BusID "PCI:1:5:0"
150 Option "MergedFB" "true"
151 Option "CRT2Position" "LeftOf"
152 Option "ColorTiling" "true"
153 Option "EnablePageFlip" "true"
154 #Option "AccelMethod" "EXA"
155 #Option "AccelDFS" "true"
156 EndSection
157
158 Section "Screen"
159 Identifier "Screen0"
160 Device "Card0"
161 Monitor "Monitor0"
162 DefaultDepth 24
163 SubSection "Display"
164 Depth 24
165 Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
166 Virtual 2560 1024 #the first value is the sum of horizontal
167 resolutions your displays use
168 EndSubSection
169 SubSection "Display"
170 Viewport 0 0
171 Depth 1
172 EndSubSection
173 SubSection "Display"
174 Viewport 0 0
175 Depth 4
176 EndSubSection
177 SubSection "Display"
178 Viewport 0 0
179 Depth 8
180 EndSubSection
181 SubSection "Display"
182 Viewport 0 0
183 Depth 15
184 EndSubSection
185 SubSection "Display"
186 Viewport 0 0
187 Depth 16
188 EndSubSection
189 SubSection "Display"
190 Viewport 0 0
191 Depth 24
192 EndSubSection
193 EndSection
194
195
196
197 If anyone has any idea, please let me know. Would posting to the xorg
198 or radeon mailing lists be good places for help as well?

Replies