Yeah, got a couple things here.
First, the dmesg. the dma test is failing. It worked fine on the old branch.
This of course happens when starting X. Here's a dmesg clip:
------------------------------
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] descriptor ring: cpu addr 0xcc878000, bus addr: 0xe0000000
[drm] mach64_do_wait_for_idle failed! GUI_STAT=0x00800001
[drm]
[drm] ring contents:
[drm] head_addr: 0x00000000 head: 0 tail: 0
[drm] 0xe0000000: 0x007ffe48 0x06134000 0xc0000ff8 0x00000000 (head) (tail)
[drm] 0xe0000010: 0x00000000 0x00000000 0x00000000 0x00000000
[drm] 0xe0000020: 0x00000000 0x00000000 0x00000000 0x00000000
[drm] 0xe0000030: 0x00000000 0x00000000 0x00000000 0x00000000
[drm] ...
[drm] 0xe0003fd0: 0x00000000 0x00000000 0x00000000 0x00000000
[drm] 0xe0003fe0: 0x00000000 0x00000000 0x00000000 0x00000000
[drm] 0xe0003ff0: 0x00000000 0x00000000 0x00000000 0x00000000
[drm]
[drm]
[drm] BM_GUI_TABLE = 0xe0000000
[drm]
[drm] BM_FRAME_BUF_OFFSET = 0x007ff980
[drm] BM_SYSTEM_MEM_ADDR = 0xe0000000
[drm] BM_COMMAND = 0x00000000
[drm]
[drm] BM_STATUS = 0x834860ca
[drm] BUS_CNTL = 0x7b33a111
[drm] FIFO_STAT = 0x00000000
[drm] GUI_STAT = 0x00800001
[drm] SRC_CNTL = 0x00000f00
[drm] mach64_do_wait_for_idle failed (result=-16)
[drm]
[drm] AGP_BASE = 0xe0000000
[drm] AGP_CNTL = 0x0002003e
[drm] ALPHA_TST_CNTL = 0x00000470
[drm]
[drm] BM_COMMAND = 0x00000000
[drm] BM_FRAME_BUF_OFFSET = 0x007ff980
[drm] BM_GUI_TABLE = 0xe0000000
[drm] BM_STATUS = 0x834860ca
[drm] BM_SYSTEM_MEM_ADDR = 0xe0000000
[drm] BM_SYSTEM_TABLE = 0x4cb80000
[drm] BUS_CNTL = 0x7b33a111
[drm]
[drm] CLR_CMP_CLR = 0x00000000
[drm] CLR_CMP_CNTL = 0x00000000
[drm] CONFIG_CHIP_ID = 0xdc004c42
[drm] CONFIG_CNTL = 0x00003f46
[drm] CONFIG_STAT0 = 0x00a10095
[drm] CONFIG_STAT1 = 0x00000000
[drm] CONFIG_STAT2 = 0x00000200
[drm] CRC_SIG = 0x00000000
[drm] CUSTOM_MACRO_CNTL = 0x003c0171
[drm]
[drm] DP_BKGD_CLR = 0x00000000
[drm] DP_FRGD_CLR = 0xffffffff
[drm] DP_MIX = 0x00070003
[drm] DP_PIX_WIDTH = 0x01000404
[drm] DP_SRC = 0x00000100
[drm] DP_WRITE_MASK = 0xffffffff
[drm] DSP_CONFIG = 0x00370a09
[drm] DSP_ON_OFF = 0x0158072e
[drm] DST_CNTL = 0x00000023
[drm] DST_OFF_PITCH = 0x19000000
[drm]
[drm] EXT_MEM_CNTL = 0x64000c01
[drm]
[drm] FIFO_STAT = 0x00000000
[drm]
[drm] GEN_TEST_CNTL = 0x00000100
[drm] GUI_CMDFIFO_DATA = 0x017c020b
[drm] GUI_CMDFIFO_DEBUG = 0x00248026
[drm] GUI_CNTL = 0x00000001
[drm] GUI_STAT = 0x00800001
[drm] GUI_TRAJ_CNTL = 0x00000023
[drm]
[drm] HOST_CNTL = 0x00000000
[drm] HW_DEBUG = 0x48803800
[drm]
[drm] MEM_ADDR_CONFIG = 0x00000101
[drm] MEM_BUF_CNTL = 0x00382848
[drm]
[drm] PAT_REG0 = 0x11111111
[drm] PAT_REG1 = 0x11111111
[drm]
[drm] SC_LEFT = 0x00000000
[drm] SC_RIGHT = 0x0000031f
[drm] SC_TOP = 0x00000000
[drm] SC_BOTTOM = 0x00000a3c
[drm]
[drm] SCALE_3D_CNTL = 0x00000000
[drm] SCRATCH_REG0 = 0x04100400
[drm] SCRATCH_REG1 = 0x00000000
[drm] SETUP_CNTL = 0x31000000
[drm] SRC_CNTL = 0x00000f00
[drm]
[drm] TEX_CNTL = 0x00000000
[drm] TEX_SIZE_PITCH = 0x00000000
[drm] TIMER_CONFIG = 0x00000000
[drm]
[drm] Z_CNTL = 0x00000110
[drm] Z_OFF_PITCH = 0x19062a20
[drm]
[drm] resetting engine ...
[drm] freeing data buffer memory.
[drm] DMA test failed (ret=-16), using pseudo-DMA mode
-----------------------------------
As for the glxgears thing, I got some output from it when I ran it with gdb
from an ssh session:
glxgears: vblank.c:338: driWaitForVBlank: Assertion `interval != (unsigned)-1'
failed.
I got some patchy backtrace action too:
(gdb) bt
#0 0x4021e031 in kill () from /lib/libc.so.6
#1 0x4018b49e in pthread_kill () from /lib/libpthread.so.0
#2 0x00000006 in ?? ()
#3 0xbffff668 in ?? ()
#4 0x4018b454 in pthread_kill () from /lib/libpthread.so.0
#5 0x40009a00 in _dl_runtime_resolve () from /lib/ld-linux.so.2
#6 0x080515d8 in ?? ()
#7 0xbffff688 in ?? ()
#8 0x4018b7a3 in raise () from /lib/libpthread.so.0
#9 0x4021de1c in raise () from /lib/libc.so.6
#10 0x4021f2a7 in abort () from /lib/libc.so.6
#11 0x4021777e in __assert_fail () from /lib/libc.so.6
#12 0x4044d34a in driWaitForVBlank (priv=0x8050cd8, vbl_seq=0x40192e40,
flags=4294967295, missed_deadline=0xbffff86b "") at vblank.c:338
#13 0x40451d2a in mach64CopyBuffer (dPriv=0x8050cd8) at mach64_ioctl.c:309
#14 0x40453887 in mach64SwapBuffers (dPriv=0x8050cd8) at mach64_screen.c:285
#15 0x4034f4a3 in driSwapBuffers (dpy=0x804c050, drawablePrivate=0x0)
at dri_util.c:586
#16 0x4007003a in glXSwapBuffers (dpy=0x804c050, drawable=10485762)
at glxcmds.c:971
#17 0x0804a58d in ?? ()
#18 0x0804c050 in ?? ()
#19 0x00a00002 in ?? ()
#20 0x0000001d in ?? ()
#21 0x0000001d in ?? ()
#22 0x403143e0 in __libc_tsd_MALLOC_data () from /lib/libc.so.6
#23 0x0807f528 in ?? ()
#24 0xbffff928 in ?? ()
#25 0x40189b54 in pthread_mutex_unlock () from /lib/libpthread.so.0
#26 0x08049237 in ?? ()
#27 0x0804c050 in ?? ()
#28 0x00a00002 in ?? ()
#29 0xbffff9f8 in ?? ()
#30 0x0804921f in ?? ()
#31 0x3f800000 in ?? ()
#32 0x40313980 in __DTOR_END__ () from /lib/libc.so.6
#33 0x00000001 in ?? ()
#34 0x00048ba9 in ?? ()
On a side note, what kind of stuff should I put in my host.def to build a nice
static debuging server? I googled for this and found a few things, but they
didn't work out so well.
-James
> wierd is their anything in dmesg? send me a copy of it .. I've just had a
> game of tuxracer and it works great for me .. I've also started two
> glxgears side by side ... and exited them.. does gears lock up after you
> try to exit it or straight away? if it is on exit, I'd re-build the tree
> and confirm yuou have the latest 2d driver as that is what was happening
> me before about 8 hours ago..
>
> Dave.
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel