Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] 3d rendering with dri radeon Bo Andresen <bo.andresen@×××××.com>