Gentoo Archives: gentoo-user

From: Fernando Meira <fmeira@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] struggling with dri
Date: Thu, 13 Oct 2005 07:06:51
Message-Id: a3c2e88b0510130002w376b976ev4c871c68eccefd0@mail.gmail.com
In Reply to: Re: [gentoo-user] struggling with dri by Robert Svoboda
1 On 10/12/05, Robert Svoboda <r080@×××××.cz> wrote:
2 >
3 > [...]
4 > > So, I'm back to radeon but still no rendering. However, there's noting
5 > > saying the opposite unless:
6 > > # glxinfo | grep -i rendering
7 > > direct rendering: No
8 >
9 > [...]
10 >
11 > Did you compile agp, drm, radeon into kernel or as modules?
12 > There are some issues (or at least there were) with this.
13 >
14 > Mine works like this:
15 > CONFIG_AGP=y
16 > CONFIG_AGP_INTEL=y
17 > CONFIG_DRM=y
18 > CONFIG_DRM_RADEON=y
19 >
20 > (Some people suggest compiling radeon as module but it works
21 > for me this way)
22
23
24 Ok, so here I am again! This was the last kernel configuration that I could
25 try.. and still rendering: no!! I think this rendering fellow just doesn't
26 like me :(
27
28 Any dmesg output?
29
30
31 # dmesg
32 Linux version 2.6.12-suspend2-r6 (root@nandux) (gcc version 3.4.4 (Gentoo
33 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) #5 Thu Oct 13 00:42:09 CEST 2005
34 BIOS-provided physical RAM map:
35 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
36 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
37 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
38 BIOS-e820: 0000000000100000 - 000000001ffe0000 (usable)
39 BIOS-e820: 000000001ffe0000 - 000000001fff8000 (ACPI NVS)
40 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
41 511MB LOWMEM available.
42 On node 0 totalpages: 131040
43 DMA zone: 4096 pages, LIFO batch:1
44 Normal zone: 126944 pages, LIFO batch:31
45 HighMem zone: 0 pages, LIFO batch:1
46 DMI 2.3 present.
47 ACPI: RSDP (v000 Acer ) @ 0x000fe030
48 ACPI: RSDT (v001 Acer TMH2 0x00000001 Acer 0x00000000) @ 0x1ffe0000
49 ACPI: FADT (v001 Acer TMH2 0x00000001 Acer 0x00000000) @ 0x1ffe0054
50 ACPI: BOOT (v001 Acer TMH2 0x00000001 Acer 0x00000000) @ 0x1ffe002c
51 ACPI: DSDT (v001 H2 H2 0x00001000 MSFT 0x0100000d) @ 0x00000000
52 Allocating PCI resources starting at 20000000 (gap: 1fff8000:dfff8000)
53 Built 1 zonelists
54 Kernel command line: root=/dev/hda1 vga=0x31A resume2=swap:/dev/hda3
55 Initializing CPU#0
56 PID hash table entries: 2048 (order: 11, 32768 bytes)
57 Detected 2400.046 MHz processor.
58 Using tsc for high-res timesource
59 Console: colour VGA+ 80x50
60 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
61 Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
62 Memory: 515560k/524160k available (2208k kernel code, 8112k reserved, 620k
63 data, 148k init, 0k highmem)
64 Checking if this processor honours the WP bit even in supervisor mode... Ok.
65 Calibrating delay loop... 4734.97 BogoMIPS (lpj=2367488)
66 Mount-cache hash table entries: 512
67 CPU: After generic identify, caps: bfebf9ff 00000000 00000000 00000000
68 00000400 00000000 00000000
69 CPU: After vendor identify, caps: bfebf9ff 00000000 00000000 00000000
70 00000400 00000000 00000000
71 CPU: Trace cache: 12K uops, L1 D cache: 8K
72 CPU: L2 cache: 512K
73 CPU: After all inits, caps: bfebf9ff 00000000 00000000 00000080 00000400
74 00000000 00000000
75 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 07
76 Enabling fast FPU save and restore... done.
77 Enabling unmasked SIMD FPU exception support... done.
78 Checking 'hlt' instruction... OK.
79 ACPI: setting ELCR to 0200 (from 0c00)
80 NET: Registered protocol family 16
81 PCI: PCI BIOS revision 2.10 entry at 0xf0200, last bus=2
82 PCI: Using configuration type 1
83 mtrr: v2.0 (20020519)
84 ACPI: Subsystem revision 20050309
85 ACPI: Interpreter enabled
86 ACPI: Using PIC for interrupt routing
87 ACPI: PCI Root Bridge [PCI0] (0000:00)
88 PCI: Probing PCI hardware (bus 00)
89 Boot video device is 0000:01:00.0
90 PCI: Transparent bridge - 0000:00:1e.0
91 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
92 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP0._PRT]
93 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
94 ACPI: PCI Interrupt Link [PILA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
95 ACPI: PCI Interrupt Link [PILB] (IRQs 3 4 5 6 7 *10 11 12 14 15)
96 ACPI: PCI Interrupt Link [PILC] (IRQs 3 4 5 6 7 10 *11 12 14 15)
97 ACPI: PCI Interrupt Link [PILD] (IRQs 3 4 5 6 7 10 *11 12 14 15)
98 ACPI: PCI Interrupt Link [PILE] (IRQs 3 4 5 6 7 10 *11 12 14 15)
99 ACPI: PCI Interrupt Link [PILF] (IRQs 3 4 5 6 7 10 *11 12 14 15)
100 ACPI: PCI Interrupt Link [PILG] (IRQs 3 4 5 6 7 10 *11 12 14 15)
101 ACPI: PCI Interrupt Link [PILH] (IRQs 3 4 5 6 7 10 *11 12 14 15)
102 ACPI: Embedded Controller [EC0] (gpe 29)
103 Linux Plug and Play Support v0.97 (c) Adam Belay
104 pnp: PnP ACPI init
105 pnp: PnP ACPI: found 11 devices
106 SCSI subsystem initialized
107 Linux Kernel Card Services
108 options: [pci] [cardbus] [pm]
109 usbcore: registered new driver usbfs
110 usbcore: registered new driver hub
111 PCI: Using ACPI for IRQ routing
112 PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a
113 report
114 pnp: 00:0a: ioport range 0xf100-0xf17f could not be reserved
115 pnp: 00:0a: ioport range 0xf200-0xf23f has been reserved
116 pnp: 00:0a: ioport range 0x4d0-0x4d1 has been reserved
117 pnp: 00:0a: ioport range 0x580-0x587 has been reserved
118 Simple Boot Flag at 0x6e set to 0x1
119 inotify device minor=63
120 VFS: Disk quotas dquot_6.5.1
121 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
122 Initializing Cryptographic API
123 lp: driver loaded but no devices found
124 Linux agpgart interface v0.101 (c) Dave Jones
125 agpgart: Detected an Intel i845 Chipset.
126 agpgart: AGP aperture is 256M @ 0xe0000000
127 [drm] Initialized drm 1.0.0 20040925
128 ACPI: PCI Interrupt Link [PILA] enabled at IRQ 11
129 PCI: setting IRQ 11 as level-triggered
130 ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [PILA] -> GSI 11 (level, low) ->
131 IRQ 11
132 [drm] Initialized radeon 1.16.0 20050311 on minor 0:
133 ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [PILA] -> GSI 11 (level, low) ->
134 IRQ 11
135 radeonfb: Retreived PLL infos from BIOS
136 radeonfb: Reference=27.00 MHz (RefDiv=60) Memory=175.00 Mhz, System=175.00MHz
137 radeonfb: PLL min 12000 max 35000
138 Non-DDC laptop panel detected
139 radeonfb: Monitor 1 type LCD found
140 radeonfb: Monitor 2 type no found
141 radeonfb: panel ID string: Samsung LTN150P1-L02
142 radeonfb: detected LVDS panel size from BIOS: 1400x1050
143 radeondb: BIOS provided dividers will be used
144 radeonfb: Dynamic Clock Power Management enabled
145 radeonfb (0000:01:00.0): ATI Radeon LY
146 vesafb: ATI Technologies Inc., P6 , 01.00 (OEM: ATI MOBILITY RADEON)
147 vesafb: VBE version: 2.0
148 vesafb: protected mode interface info at c000:5229
149 vesafb: pmi: set display start = c00c52bd, set palette = c00c5309
150 vesafb: pmi: ports = a010 a016 a054 a038 a03c a05c a000 a004 a0b0 a0b2 a0b4
151 vesafb: monitor limits: vf = 0 Hz, hf = 0 kHz, clk = 0 MHz
152 vesafb: scrolling: redraw
153 vesafb: cannot reserve video memory at 0x88000000
154 vesafb: framebuffer at 0x88000000, mapped to 0xe1980000, using 600k, total
155 32768k
156 fb1: VESA VGA frame buffer device
157 ACPI: AC Adapter [AC] (on-line)
158 ACPI: Battery Slot [BAT0] (battery present)
159 ACPI: Power Button (FF) [PWRF]
160 ACPI: Sleep Button (CM) [SLPB]
161 ACPI: Lid Switch [LID]
162 ACPI: Thermal Zone [THR1] (27 C)
163 ACPI: Thermal Zone [THR2] (36 C)
164 isapnp: Scanning for PnP cards...
165 isapnp: No Plug & Play device found
166 PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
167 i8042.c: Detected active multiplexing controller, rev 1.1.
168 serio: i8042 AUX0 port at 0x60,0x64 irq 12
169 serio: i8042 AUX1 port at 0x60,0x64 irq 12
170 serio: i8042 AUX2 port at 0x60,0x64 irq 12
171 serio: i8042 AUX3 port at 0x60,0x64 irq 12
172 serio: i8042 KBD port at 0x60,0x64 irq 1
173 Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
174 ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
175 ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
176 ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
177 ACPI: PCI Interrupt Link [PILB] enabled at IRQ 10
178 PCI: setting IRQ 10 as level-triggered
179 ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [PILB] -> GSI 10 (level, low) ->
180 IRQ 10
181 parport: PnPBIOS parport detected.
182 parport0: PC-style at 0x378, irq 7 [PCSPP]
183 lp0: using parport0 (interrupt-driven).
184 mice: PS/2 mouse device common for all mice
185 io scheduler noop registered
186 io scheduler deadline registered
187 io scheduler cfq registered
188 Floppy drive(s): fd0 is 1.44M
189 FDC 0 is a National Semiconductor PC87306
190 RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
191 loop: loaded (max 8 devices)
192 PPP generic driver version 2.4.2
193 8139too Fast Ethernet driver 0.9.27
194 ACPI: PCI Interrupt 0000:02:05.0[A] -> Link [PILB] -> GSI 10 (level, low) ->
195 IRQ 10
196 eth0: RealTek RTL8139 at 0xe082a800, 00:00:e2:8f:5b:59, IRQ 10
197 eth0: Identified 8139 chip type 'RTL-8100B/8139D'
198 Linux video capture interface: v1.00
199 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
200 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
201 ICH2: IDE controller at PCI slot 0000:00:1f.1
202 ICH2: chipset revision 5
203 ICH2: not 100% native mode: will probe irqs later
204 ide0: BM-DMA at 0xbc90-0xbc97, BIOS settings: hda:DMA, hdb:pio
205 ide1: BM-DMA at 0xbc98-0xbc9f, BIOS settings: hdc:DMA, hdd:pio
206 Probing IDE interface ide0...
207 input: AT Translated Set 2 keyboard on isa0060/serio0
208 hda: HITACHI_DK23DA-40, ATA DISK drive
209 Synaptics Touchpad, model: 1, fw: 5.8, id: 0x9248b1, caps: 0x904713/0x4000
210 input: SynPS/2 Synaptics TouchPad on isa0060/serio4
211 ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
212 Probing IDE interface ide1...
213 hdc: SONY CD-RW/DVD-ROM CRX810E, ATAPI CD/DVD-ROM drive
214 ide1 at 0x170-0x177,0x376 on irq 15
215 Probing IDE interface ide2...
216 Probing IDE interface ide3...
217 Probing IDE interface ide4...
218 Probing IDE interface ide5...
219 hda: max request size: 128KiB
220 hda: 78140160 sectors (40007 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
221 hda: cache flushes supported
222 hda: hda1 hda2 < hda5 > hda3 hda4
223 hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 8192kB Cache, UDMA(33)
224 Uniform CD-ROM driver Revision: 3.20
225 ieee1394: Initialized config rom entry `ip1394'
226 ACPI: PCI Interrupt Link [PILC] enabled at IRQ 11
227 ACPI: PCI Interrupt 0000:02:09.0[A] -> Link [PILC] -> GSI 11 (level, low) ->
228 IRQ 11
229 Yenta: CardBus bridge found at 0000:02:09.0 [1025:1027]
230 Yenta: Enabling burst memory read transactions
231 Yenta: Using CSCINT to route CSC interrupts to PCI
232 Yenta: Routing CardBus interrupts to PCI
233 Yenta TI: socket 0000:02:09.0, mfunc 0x01001022, devctl 0x64
234 Yenta: ISA IRQ mask 0x0038, PCI irq 11
235 Socket status: 30000006
236 ACPI: PCI Interrupt Link [PILG] enabled at IRQ 11
237 ACPI: PCI Interrupt 0000:02:09.1[B] -> Link [PILG] -> GSI 11 (level, low) ->
238 IRQ 11
239 Yenta: CardBus bridge found at 0000:02:09.1 [1025:1027]
240 Yenta: Using CSCINT to route CSC interrupts to PCI
241 Yenta: Routing CardBus interrupts to PCI
242 Yenta TI: socket 0000:02:09.1, mfunc 0x01001022, devctl 0x64
243 Yenta: ISA IRQ mask 0x0038, PCI irq 11
244 Socket status: 30000020
245 ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
246 USB Universal Host Controller Interface driver v2.2
247 ACPI: PCI Interrupt Link [PILD] enabled at IRQ 11
248 ACPI: PCI Interrupt 0000:00:1f.2[D] -> Link [PILD] -> GSI 11 (level, low) ->
249 IRQ 11
250 PCI: Setting latency timer of device 0000:00:1f.2 to 64
251 uhci_hcd 0000:00:1f.2: UHCI Host Controller
252 uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 1
253 uhci_hcd 0000:00:1f.2: irq 11, io base 0x00008000
254 hub 1-0:1.0: USB hub found
255 hub 1-0:1.0: 2 ports detected
256 ACPI: PCI Interrupt Link [PILH] enabled at IRQ 11
257 ACPI: PCI Interrupt 0000:00:1f.4[C] -> Link [PILH] -> GSI 11 (level, low) ->
258 IRQ 11
259 PCI: Setting latency timer of device 0000:00:1f.4 to 64
260 uhci_hcd 0000:00:1f.4: UHCI Host Controller
261 uhci_hcd 0000:00:1f.4: new USB bus registered, assigned bus number 2
262 uhci_hcd 0000:00:1f.4: irq 11, io base 0x00008060
263 hub 2-0:1.0: USB hub found
264 hub 2-0:1.0: 2 ports detected
265 usbcore: registered new driver usblp
266 drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
267 Initializing USB Mass Storage driver...
268 usb 2-1: new low speed USB device using uhci_hcd and address 2
269 usbcore: registered new driver usb-storage
270 USB Mass Storage support registered.
271 usbcore: registered new driver hiddev
272 input: USB HID v1.10 Mouse [CHESEN USB MOUSE] on usb-0000:00:1f.4-1
273 usbcore: registered new driver usbhid
274 drivers/usb/input/hid-core.c: v2.01:USB HID core driver
275 NET: Registered protocol family 2
276 IP: routing cache hash table of 4096 buckets, 32Kbytes
277 TCP established hash table entries: 32768 (order: 6, 262144 bytes)
278 TCP bind hash table entries: 32768 (order: 5, 131072 bytes)
279 TCP: Hash tables configured (established 32768 bind 32768)
280 IPv4 over IPv4 tunneling driver
281 ip_conntrack version 2.1 (4095 buckets, 32760 max) - 204 bytes per conntrack
282 Initializing IPsec netlink socket
283 NET: Registered protocol family 1
284 NET: Registered protocol family 17
285 p4-clockmod: P4/Xeon(TM) CPU On-Demand Clock Modulation available
286 Software Suspend Core.
287 Software Suspend Compression Driver loading.
288 Software Suspend Encryption Driver loading.
289 Software Suspend Swap Writer loading.
290 ACPI wakeup devices:
291 SLPB OZ68 OZ69 OBLN OBMO ICH2 LID
292 ACPI: (supports S0 S3 S4 S4bios S5)
293 Resume block device is c14d0280.
294 Software Suspend 2.1.9.9 <http://2.1.9.9>: Swapwriter: Signature found.
295 Software Suspend 2.1.9.9 <http://2.1.9.9>: Suspending enabled.
296 ReiserFS: hda1: found reiserfs format "3.6" with standard journal
297 ReiserFS: hda1: using ordered data mode
298 ReiserFS: hda1: journal params: device hda1, size 8192, journal first block
299 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
300 ReiserFS: hda1: checking transaction log (hda1)
301 ReiserFS: hda1: Using r5 hash to sort names
302 VFS: Mounted root (reiserfs filesystem) readonly.
303 Freeing unused kernel memory: 148k freed
304 Adding 506036k swap on /dev/hda3. Priority:-1 extents:1
305 ndiswrapper version 1.2 loaded (preempt=no,smp=no)
306 ndiswrapper: driver lsbcmnds (The Linksys Group, Inc.,07/17/2003,
307 3.30.15.0<http://3.30.15.0>)
308 loaded
309 PCI: Enabling device 0000:07:00.0 (0000 -> 0002)
310 ACPI: PCI Interrupt 0000:07:00.0[A] -> Link [PILG] -> GSI 11 (level, low) ->
311 IRQ 11
312 PCI: Setting latency timer of device 0000:07:00.0 to 64
313 ndiswrapper: using irq 11
314 wlan0: ndiswrapper ethernet device 00:12:17:10:42:d0 using driver lsbcmnds,
315 configuration file 14E4:4320:1737:4320.5.conf
316 wlan0: encryption modes supported: WEP, WPA with TKIP, WPA with AES/CCMP
317 usbcore: registered new driver spca50x
318 /var/tmp/portage/spca5xx-20041224/work/spca5xx-20041224/drivers/usb/spca50x.c:
319 spca5xx driver 0.55 registered
320 ReiserFS: hda4: found reiserfs format "3.6" with standard journal
321 ReiserFS: hda4: using ordered data mode
322 ReiserFS: hda4: journal params: device hda4, size 8192, journal first block
323 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
324 ReiserFS: hda4: checking transaction log (hda4)
325 ReiserFS: hda4: Using r5 hash to sort names
326 cdrom: open failed.
327 ACPI: PCI Interrupt 0000:00:1f.5[B] -> Link [PILB] -> GSI 10 (level, low) ->
328 IRQ 10
329 PCI: Setting latency timer of device 0000:00:1f.5 to 64
330 intel8x0_measure_ac97_clock: measured 49420 usecs
331 intel8x0: clocking to 48000
332 ohci1394: $Rev: 1250 $ Ben Collins <bcollins@××××××.org>
333 ACPI: PCI Interrupt Link [PILF] enabled at IRQ 11
334 ACPI: PCI Interrupt 0000:02:03.0[A] -> Link [PILF] -> GSI 11 (level, low) ->
335 IRQ 11
336 ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[11] MMIO=[80100000-801007ff]
337 Max Packet=[2048]
338 ieee1394: Host added: ID:BUS[0-00:1023] GUID[fffdb7a700000000]
339 eth1394: $Rev: 1247 $ Ben Collins <bcollins@××××××.org>
340 eth1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
341 cs: IO port probe 0xc00-0xcff: clean.
342 cs: IO port probe 0xc00-0xcff: clean.
343 cs: IO port probe 0x800-0x8ff: clean.
344 cs: IO port probe 0x800-0x8ff: clean.
345 cs: IO port probe 0x100-0x4ff: excluding 0x380-0x38f
346 cs: IO port probe 0x100-0x4ff: excluding 0x380-0x38f
347 cs: IO port probe 0xa00-0xaff: clean.
348 cs: IO port probe 0xa00-0xaff: clean.
349 agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
350 agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
351 agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
352
353 Even Xorg' log says:
354
355 (II) RADEON(0): Direct rendering enabled
356
357 This is just playing with me...
358
359 Fernando