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: Thu, 08 Apr 2010 09:04:50
Message-Id: 20100408081828.GA10959@pacific.net.au
1 In linux.gentoo.user, you wrote:
2
3 GentooPenguin# /usr/sbin/lspci | grep Radeon
4
5 01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon
6 Xpress 200M]
7
8 > drmOpenDevice: node name is /dev/dri/card0
9 > drmOpenDevice: open result is -1, (No such device)
10 > drmOpenDevice: open result is -1, (No such device)
11 > drmOpenDevice: Open failed
12 > drmOpenByBusid: Searching for BusID pci:0000:01:05.0
13 > drmOpenDevice: node name is /dev/dri/card0
14 > drmOpenDevice: open result is -1, (No such device)
15 > drmOpenDevice: open result is -1, (No such device)
16 > drmOpenDevice: Open failed
17 > drmOpenByBusid: drmOpenMinor returns -19
18 > drmOpenDevice: node name is /dev/dri/card1
19 > drmOpenDevice: open result is -1, (No such device)
20 > drmOpenDevice: open result is -1, (No such device)
21 > drmOpenDevice: Open failed
22 > drmOpenByBusid: drmOpenMinor returns -19
23 > drmOpenDevice: node name is /dev/dri/card2
24 > drmOpenDevice: open result is -1, (No such device)
25 > drmOpenDevice: open result is -1, (No such device)
26 > drmOpenDevice: Open failed
27 > drmOpenByBusid: drmOpenMinor returns -19
28 > (etc, etc, etc, etc, etc, etc, etc)
29 > (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
30 > [dri] Disabling DRI.
31 >
32 >
33 > Well the directory /dev/dri/ is empty, so there you go.
34
35 Hmmm... Mine has an entry for card0:
36
37 GentooPenguin# ls -l /dev/dri
38
39 crw-rw---- 1 root video 226, 0 2010-04-08 17:42 card0
40
41 Are you sure your opengl libraries are being found in /usr/lib/opengl?
42
43 I used to run the ATI proprietary driver and switched to the open Radeon
44 driver and remember some fiddling was required in this directory,
45 possibly a symlink pointing in the wrong direction.
46
47 What does the command "eselect opengl list" show you?
48
49 Mine tells me that the xorg-x11 driver is being used.
50
51 > I have these package versions:
52 >
53 > xorg-server 1.7.6
54 > mesa 7.8
55 > libdrm 2.4.19
56 > xf86-video-ati 6.12.192
57 > xorg-drivers 1.7
58
59 I'm running:
60
61 xorg-server 1.6.5-r1
62 mesa 7.5.2
63 libdrm 2.4.15
64 xf86-video-ati 6.12.5
65 xorg-drivers 1.6
66
67
68 > I have drm set in my kernel too:
69 >
70 > tony@o_0 ~ $ zgrep DRM /proc/config.gz
71 > CONFIG_DRM=m
72 > CONFIG_DRM_KMS_HELPER=m
73 > CONFIG_DRM_TTM=m
74 > # CONFIG_DRM_TDFX is not set
75 > # CONFIG_DRM_R128 is not set
76 > CONFIG_DRM_RADEON=m
77 > CONFIG_DRM_RADEON_KMS=y
78 > # CONFIG_DRM_I810 is not set
79 > # CONFIG_DRM_I830 is not set
80 > # CONFIG_DRM_I915 is not set
81 > # CONFIG_DRM_MGA is not set
82 > # CONFIG_DRM_SIS is not set
83 > # CONFIG_DRM_VIA is not set
84 > # CONFIG_DRM_SAVAGE is not set
85 > # CONFIG_DRM_VMWGFX is not set
86 > # CONFIG_DRM_NOUVEAU is not set
87 > # CONFIG_DRM_I2C_CH7006 is not set
88
89 GentooPenguin$ zgrep DRM /proc/config.gz
90
91 CONFIG_DRM=m
92 # CONFIG_DRM_TDFX is not set
93 # CONFIG_DRM_R128 is not set
94 CONFIG_DRM_RADEON=m
95 # CONFIG_DRM_I810 is not set
96 # CONFIG_DRM_I830 is not set
97 # CONFIG_DRM_I915 is not set
98 # CONFIG_DRM_MGA is not set
99 # CONFIG_DRM_SIS is not set
100 # CONFIG_DRM_VIA is not set
101 # CONFIG_DRM_SAVAGE is not set
102
103 > and this dmesg output appears to indicate that its working ok:
104 >
105 > [   53.428828] [drm] Initialized drm 1.1.0 20060810
106 > [   53.642115] [drm] radeon defaulting to kernel modesetting.
107 > [   53.642122] [drm] radeon kernel modesetting enabled.
108 >
109 > But glxgears only gets about 19 fps. Here is what glxinfo | grep OpenGL reports:
110
111 I get:
112
113 1438 frames in 5.0 seconds = 287.483 FPS
114
115 Not really screaming along, but adequate for my needs.
116
117 > Section "Module"
118 > Load "record"
119 > Load "extmod"
120 > Load "dri"
121 > Load "glx"
122 > Load "GLcore"
123 > Load "dri2"
124 > Load "dbe"
125 > EndSection
126
127 My xorg.conf shows:
128
129 Section "Module"
130 Load "extmod"
131 Load "dri"
132 Load "dbe"
133 Load "record"
134 Load "xtrap"
135 Load "glx"
136 EndSection
137
138 > Section "Device"
139 > ### Available Driver options are:-
140 > ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
141 > ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
142 > ### [arg]: arg optional
143 > #Option "ShadowFB" # [<bool>]
144 > #Option "DefaultRefresh" # [<bool>]
145 > #Option "ModeSetClearScreen" # [<bool>]
146 > Identifier "Card0"
147 > Driver "radeon"
148 > VendorName "ATI Technologies Inc"
149 > BoardName "RC410 [Radeon Xpress 200M]"
150 > BusID "PCI:1:5:0"
151 > Option "MergedFB" "true"
152 > Option "CRT2Position" "LeftOf"
153 > Option "ColorTiling" "true"
154 > Option "EnablePageFlip" "true"
155 > #Option "AccelMethod" "EXA"
156 > #Option "AccelDFS" "true"
157 > EndSection
158
159 My Device Section:
160
161 Section "Device"
162 Identifier "ATI Graphics Adapter 0"
163 Driver "radeon"
164 Option "AccelMethod" "EXA"
165 BusID "PCI:1:5:0"
166 EndSection
167
168 > If anyone has any idea, please let me know. Would posting to the xorg
169 > or radeon mailing lists be good places for help as well?
170
171 I hope this helps.
172
173 --
174 Regards,
175
176 Gregory.
177 Gentoo Linux - Penguin Power

Replies

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