1 |
I have a laptop with a ATI Radeon 9000 Mobility graphics card. I wanted to get |
2 |
3d rendering working with the free dri drivers so I followed this howto: |
3 |
http://www.gentoolinux.org/doc/en/dri-howto.xml |
4 |
|
5 |
But it does not work: |
6 |
~# glxinfo | grep rendering |
7 |
direct rendering: No |
8 |
|
9 |
Below is listed everything that I think might be relevant. I hope someone has |
10 |
an idea. What I notice in particular is these two lines |
11 |
from /var/log/Xorg.0.log: |
12 |
drmOpenDevice: node name is /dev/dri/card0 |
13 |
drmOpenDevice: open result is -1, (No such device) |
14 |
|
15 |
=========================================== |
16 |
~# lspci | grep AGP |
17 |
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev |
18 |
03) |
19 |
=========================================== |
20 |
~#cat /boot/config |
21 |
... |
22 |
CONFIG_MTRR=y |
23 |
... |
24 |
CONFIG_AGP=m |
25 |
CONFIG_AGP_INTEL=m |
26 |
... |
27 |
# CONFIG_DRM is not set |
28 |
... |
29 |
=========================================== |
30 |
~# emerge -vp xorg-x11 x11-drm |
31 |
|
32 |
These are the packages that I would merge, in order: |
33 |
|
34 |
Calculating dependencies ...done! |
35 |
[ebuild R ] x11-base/xorg-x11-6.8.2-r6 USE="bitmap-fonts ipv6 nls opengl |
36 |
pam sse truetype-fonts type1-fonts xprint xv dfx -3dnow -cjk -debug -dlloader |
37 |
-dmx -doc -font-server -insecure-drivers -minimal -mmx -nocxx -sdk -static" 0 |
38 |
kB |
39 |
[ebuild R ] x11-base/x11-drm-20050502 0 kB |
40 |
=========================================== |
41 |
~# cat /etc/X11/xorg.conf | grep -v ^# |
42 |
Section "Module" |
43 |
Load "synaptics" |
44 |
Load "dbe" |
45 |
SubSection "extmod" |
46 |
Option "omit xfree86-dga" |
47 |
EndSubSection |
48 |
Load "type1" |
49 |
Load "freetype" |
50 |
Load "dri" |
51 |
Load "glx" |
52 |
EndSection |
53 |
|
54 |
Section "Files" |
55 |
.... |
56 |
EndSection |
57 |
|
58 |
Section "InputDevice" |
59 |
Identifier "Keyboard1" |
60 |
.... |
61 |
EndSection |
62 |
|
63 |
Section "InputDevice" |
64 |
Identifier "Touchpad" |
65 |
... |
66 |
EndSection |
67 |
|
68 |
Section "InputDevice" |
69 |
Identifier "External Mouse" |
70 |
... |
71 |
EndSection |
72 |
|
73 |
Section "Monitor" |
74 |
Identifier "AcerMonitor" |
75 |
HorizSync 31.5-57.0 |
76 |
VertRefresh 50-70 |
77 |
EndSection |
78 |
|
79 |
Section "Device" |
80 |
Identifier "Ati Radeon 9000 Mobility" |
81 |
Driver "radeon" |
82 |
Option "AGPMode" "4" |
83 |
Option "AGPFastWrite" "True" |
84 |
Option "EnablePageFlip" "True" |
85 |
EndSection |
86 |
|
87 |
Section "Screen" |
88 |
Identifier "Screen 1" |
89 |
Device "Ati Radeon 9000 Mobility" |
90 |
Monitor "AcerMonitor" |
91 |
DefaultDepth 24 |
92 |
Subsection "Display" |
93 |
... |
94 |
Subsection "Display" |
95 |
Depth 24 |
96 |
Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480" |
97 |
ViewPort 0 0 |
98 |
EndSubsection |
99 |
EndSection |
100 |
|
101 |
Section "ServerLayout" |
102 |
Identifier "Simple Layout" |
103 |
Screen "Screen 1" |
104 |
InputDevice "Touchpad" "Corepointer" |
105 |
InputDevice "External Mouse" "SendCoreEvents" |
106 |
InputDevice "Keyboard1" "CoreKeyboard" |
107 |
EndSection |
108 |
|
109 |
Section "DRI" |
110 |
Mode 0666 |
111 |
EndSection |
112 |
=========================================== |
113 |
~# cat /etc/modules.autoload.d/kernel-2.6 |
114 |
... |
115 |
intel-agp |
116 |
... |
117 |
drm |
118 |
=========================================== |
119 |
~# lsmod | grep 'drm\|agp' |
120 |
drm 65944 0 |
121 |
intel_agp 20508 1 |
122 |
agpgart 29256 2 drm,intel_agp |
123 |
=========================================== |
124 |
~# cat /var/log/Xorg.0.log |
125 |
... |
126 |
(II) LoadModule: "dri" |
127 |
(II) Loading /usr/lib/modules/extensions/libdri.a |
128 |
(II) Module dri: vendor="X.Org Foundation" |
129 |
compiled for 6.8.2, module version = 1.0.0 |
130 |
ABI class: X.Org Server Extension, version 0.2 |
131 |
(II) Loading sub module "drm" |
132 |
(II) LoadModule: "drm" |
133 |
(II) Loading /usr/lib/modules/linux/libdrm.a |
134 |
(II) Module drm: vendor="X.Org Foundation" |
135 |
compiled for 6.8.2, module version = 1.0.0 |
136 |
ABI class: X.Org Server Extension, version 0.2 |
137 |
(II) Loading extension XFree86-DRI |
138 |
(II) LoadModule: "glx" |
139 |
(II) Loading /usr/lib/modules/extensions/libglx.a |
140 |
(II) Module glx: vendor="X.Org Foundation" |
141 |
compiled for 6.8.2, module version = 1.0.0 |
142 |
ABI class: X.Org Server Extension, version 0.2 |
143 |
(II) Loading sub module "GLcore" |
144 |
(II) LoadModule: "GLcore" |
145 |
(II) Loading /usr/lib/modules/extensions/libGLcore.a |
146 |
(II) Module GLcore: vendor="X.Org Foundation" |
147 |
compiled for 6.8.2, module version = 1.0.0 |
148 |
ABI class: X.Org Server Extension, version 0.2 |
149 |
(II) Loading extension GLX |
150 |
(II) LoadModule: "radeon" |
151 |
(II) Loading /usr/lib/modules/drivers/radeon_drv.o |
152 |
(II) Module radeon: vendor="X.Org Foundation" |
153 |
compiled for 6.8.2, module version = 4.0.1 |
154 |
Module class: X.Org Video Driver |
155 |
ABI class: X.Org Video Driver, version 0.7 |
156 |
(II) LoadModule: "ati" |
157 |
(II) Loading /usr/lib/modules/drivers/ati_drv.o |
158 |
(II) Module ati: vendor="X.Org Foundation" |
159 |
compiled for 6.8.2, module version = 6.5.6 |
160 |
Module class: X.Org Video Driver |
161 |
ABI class: X.Org Video Driver, version 0.7 |
162 |
... |
163 |
(II) Primary Device is: PCI 01:00:0 |
164 |
(--) Assigning device section with no busID to primary device |
165 |
(--) Chipset ATI Radeon Mobility 9000 (M9) Lf (AGP) found |
166 |
... |
167 |
(II) Loading sub module "radeon" |
168 |
(II) LoadModule: "radeon" |
169 |
(II) Reloading /usr/lib/modules/drivers/radeon_drv.o |
170 |
... |
171 |
(II) Setting vga for screen 0. |
172 |
(II) RADEON(0): MMIO registers at 0xd0100000 |
173 |
(II) RADEON(0): PCI bus 1 card 0 func 0 |
174 |
(**) RADEON(0): Depth 24, (--) framebuffer bpp 32 |
175 |
(II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps) |
176 |
(==) RADEON(0): Default visual is TrueColor |
177 |
(**) RADEON(0): Option "AGPMode" "4" |
178 |
(**) RADEON(0): Option "AGPFastWrite" "True" |
179 |
(**) RADEON(0): Option "EnablePageFlip" "True" |
180 |
... |
181 |
drmOpenDevice: node name is /dev/dri/card0 |
182 |
drmOpenDevice: open result is -1, (No such device) |
183 |
drmOpenDevice: open result is -1, (No such device) |
184 |
drmOpenDevice: Open failed |
185 |
drmOpenDevice: node name is /dev/dri/card0 |
186 |
drmOpenDevice: open result is -1, (No such device) |
187 |
drmOpenDevice: open result is -1, (No such device) |
188 |
drmOpenDevice: Open failed |
189 |
[drm] failed to load kernel module "radeon" |
190 |
(II) RADEON(0): [drm] drmOpen failed |
191 |
(EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI. |
192 |
(II) RADEON(0): Memory manager initialized to (0,0) (1408,8191) |
193 |
(II) RADEON(0): Reserved area from (0,1050) to (1408,1052) |
194 |
(II) RADEON(0): Largest offscreen area available: 1408 x 7139 |
195 |
(II) RADEON(0): Render acceleration enabled |
196 |
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA) |
197 |
... |
198 |
(II) RADEON(0): Acceleration enabled |
199 |
(==) RADEON(0): Backing store disabled |
200 |
(==) RADEON(0): Silken mouse enabled |
201 |
(II) RADEON(0): Using hardware cursor (scanline 1052) |
202 |
(II) RADEON(0): Largest offscreen area available: 1408 x 7136 |
203 |
(II) RADEON(0): Direct rendering disabled |
204 |
(==) RandR enabled |
205 |
... |
206 |
=========================================== |
207 |
|
208 |
-- |
209 |
Bo Andresen |
210 |
-- |
211 |
gentoo-user@g.o mailing list |