Direct rendering does not work anymore in my system.
Startx otput:
(EE) ATI(0): [drm] Failed to map DMA buffers list
glxinfo:
name of display: :0.0
libGL error: XF86DRIQueryDirectRenderingCapable returned false
display: :0 screen: 0
direct rendering: No
Xorg.0.log:
(--) ATI(0): 8192 kB of SDRAM (1:1) detected (using 8191 kB).
(WW) ATI(0): Cannot shadow an accelerated frame buffer.
(...)
(**) ATI(0): [agp] Using AGP 2x Mode
(**) ATI(0): [agp] Using 64 MB AGP aperture
(II) ATI(0): [agp] Mode 0x1f000203 [AGP 0x8086/0x7190; Card 0x1002/0x4c4d]
(II) ATI(0): [agp] 65536 kB allocated with handle 0x00000001
(II) ATI(0): [agp] Using 16 kB for DMA descriptor ring
(**) ATI(0): [agp] Using 2 MB for DMA buffers
(II) ATI(0): [agp] Using 62464 kB for AGP textures
(II) ATI(0): [agp] ring handle = 0xf4000000
(II) ATI(0): [agp] Ring mapped at 0x40d47000
(II) ATI(0): [agp] vertex buffers handle = 0xf4004000
(II) ATI(0): [agp] Vertex buffers mapped at 0x40d4b000
(II) ATI(0): [agp] AGP texture region handle = 0xf4204000
(II) ATI(0): [agp] AGP Texture region mapped at 0x454fa000
(II) ATI(0): [drm] register handle = 0xfcfff000
(II) ATI(0): [dri] Visual configs initialized
(II) ATI(0): [dri] Block 0 base at 0xfcfff400
(II) ATI(0): Memory manager initialized to (0,0) (1024,4095)
(II) ATI(0): Largest offscreen area available: 1024 x 3327
(II) ATI(0): Will use 3583 kB of offscreen memory for XAA
(II) ATI(0): Will use back buffer at offset 0x4ff800
(II) ATI(0): Will use depth buffer at offset 0x67f800
(II) ATI(0): Using XFree86 Acceleration Architecture (XAA)
(...)
(II) ATI(0): [drm] installed DRM signal handler
(II) ATI(0): [DRI] installation complete
(II) ATI(0): [drm] Added 128 16384 byte DMA buffers
(EE) ATI(0): [drm] Failed to map DMA buffers list
(II) ATI(0): [drm] removed 1 reserved context for kernel
(II) ATI(0): [drm] unmapping 8192 bytes of SAREA 0xd4be8000 at 0x40d45000
(II) ATI(0): Direct rendering disabled
ldd /usr/X11R6/bin/glxinfo:
linux-gate.so.1 => (0xffffe000)
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x4001b000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x42a40000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x42973000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4d021000)
libm.so.6 => /lib/tls/libm.so.6 (0x4cdff000)
libc.so.6 => /lib/tls/libc.so.6 (0x4ccde000)
libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x40090000)
libdl.so.2 => /lib/libdl.so.2 (0x4ce24000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4ccc7000)
dmesg:
PCI: Unable to reserve mem region #1:[EMAIL PROTECTED] for device
0000:01:00.0
agpgart: AGP aperture is 64M @ 0xf4000000
agpgart: Found an AGP 1.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 2x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 2x mode
[drm] Initialized drm 1.0.0 20040925
[drm] Initialized mach64 1.0.0 20020904 on minor 0:
[drm] Used old pci detect: framebuffer loaded
[drm] descriptor ring: cpu addr d4c24000, bus addr: 0xf4000000
[drm] DMA test succeeded, using asynchronous DMA mode
The report written above are the outputs got when setting "agp_size" "64".
With this setting I got direct rendering before.
Then, I tried to set "agp_size" "128" and the outputs were quite different:
Startx otput:
(EE) ATI(0): [agp] Could not bind
glxinfo:
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 6.5.6 mach64 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/mach64_dri.so
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
display: :0 screen: 0
direct rendering: Yes
Xorg.0.log:
(--) ATI(0): 8192 kB of SDRAM (1:1) detected (using 8191 kB).
(WW) ATI(0): Cannot shadow an accelerated frame buffer.
(...)
(**) ATI(0): [agp] Using AGP 2x Mode
(**) ATI(0): [agp] Using 128 MB AGP aperture
(II) ATI(0): [agp] Mode 0x1f000203 [AGP 0x8086/0x7190; Card 0x1002/0x4c4d]
(II) ATI(0): [agp] 131072 kB allocated with handle 0x00000001
(EE) ATI(0): [agp] Could not bind
(WW) ATI(0): [agp] AGP failed to initialize -- falling back to PCI mode.
(WW) ATI(0): [agp] Make sure you have the agpgart kernel module loaded.
(II) ATI(0): [drm] register handle = 0xfcfff000
(II) ATI(0): [dri] Visual configs initialized
(II) ATI(0): [dri] Block 0 base at 0xfcfff400
(II) ATI(0): Memory manager initialized to (0,0) (1024,4095)
(II) ATI(0): Largest offscreen area available: 1024 x 3327
(II) ATI(0): Will use 1598 kB of offscreen memory for XAA
(II) ATI(0): Will use back buffer at offset 0x30f800
(II) ATI(0): Will use depth buffer at offset 0x48f800
(II) ATI(0): Will use 1985 kB for local textures at offset 0x60f800
(II) ATI(0): Using XFree86 Acceleration Architecture (XAA)
(...)
(II) ATI(0): [drm] installed DRM signal handler
(II) ATI(0): [DRI] installation complete
(II) ATI(0): [drm] Added 128 16384 byte DMA buffers
(II) ATI(0): [drm] Mapped 128 DMA buffers at 0x40d47000
(II) ATI(0): [drm] Installed interrupt handler, using IRQ 11
(II) ATI(0): Direct rendering enabled
ldd /usr/X11R6/bin/glxinfo:
(The same as before)
dmesg:
(The same as before, notice agpgart: AGP aperture is 64M @ 0xf4000000)
Althoug with "agp_size" "128" it complains about agpgart, it is loaded
before startx and it remains loaded later. If I run glxgears with "agp_size"
"128" in xorg.conf, the window is black: no gears at all, and CPU is
working. This is from /var/log/kernel/errors when running glxgers with
"agp_size" "128":
Sep 14 18:58:11 localhost kernel: [drm:mach64_ring_tick] *ERROR* bad ring
head address: 0x00000000
Sep 14 18:59:14 localhost last message repeated 78 times
Sep 14 19:00:20 localhost last message repeated 136 times
Sep 14 19:00:27 localhost kernel: [drm:mach64_freelist_get] *ERROR* timeout
waiting for buffers: ring head_addr: 0x02f6fff0 head: 4092 tail: 752
Sep 14 19:00:27 localhost kernel: [drm:mach64_dma_dispatch_vertex] *ERROR*
mach64_dma_dispatch_vertex: couldn't get buffer in DMAGETPTR
Sep 14 19:00:30 localhost kernel: [drm:mach64_do_dma_idle] *ERROR*
mach64_do_dma_idle failed BM_GUI_TABLE=0x02f6c000 tail: 752
If I try to run the game gl-117 with "agp_size" "128", the whole xwindows
becomes unusable and resetting X is not enugh to solve it: I have to reset
linux.
I have an ATI Rage Mobility-M AGP 2X (mach64 chip) with 8 MB in a Dell
Inspiron 3700. Mandrake 10.1 kernel 2.6.8.1-25mdk
Should I report this in bugzilla?
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel