On 22 Feb 2003, Michel Dänzer wrote:

> On Sam, 2003-02-22 at 00:48, Alan Cox wrote: 
> > I updated the radeon DRM to include the texture upload changes. My
> > radeon hang with flightgear now happens every two hours instead of
> > instantly.
> 
> Is that exactly every two hours? :)
> 
> By texture upload changes do you mean my radeon_cp_dispatch_texture()
> fix? If so, are you sure that makes the difference? I merely fixed it
> not to leave out parts of big textures. I'd rather expect the
> COMMIT_RING() change to make a difference.
> 
> > When it dies X is stuck, the mouse pointer works. 
> 
> Because it's SIGIO driven.
> 
> I do wonder if the register writes in RADEONSetCursorPosition() could
> interfere with the CP to cause FIFO overflows. Does anyone have an idea
> how to determine whether writes to certain registers go through the
> FIFO? I asked ATI devrel about this but didn't get a reply. :( The only
> indication that these might not is that I'd expect it to cause problems
> much more frequently if they did.

IIRC, at least on mach64, hardware cursor position updates don't go
through the draw engine FIFO (any registers below dword offset 0x040 
don't use the FIFO), so locking isn't necessary.  However, we do
lock the DRM when updating the cursor image, since it blits the image to
the framebuffer through the host data FIFO.  When I was first working on 
2D/3D sync, we did the sync on every EnterServer, which slowed things down 
considerably since the sync happened on every cursor position update.  Now 
we only do the sync for blits and XAA operations and I've never seen a 
lockup because of the hardware cursor.
 
> Anyway, Alan, can you try if disabling Silken mouse or even using SW
> cursor (make sure you have the fix for crashes with SW cursor and DRI
> though :) makes a difference?
> 
> > The 3D app is burning a lot of CPU and the system is otherwise running. 
> > At the point the 3D is killed (kill -9 etc) the box hangs solid
> 
> Classical chip crash or lockup. :\
> 
> 
> 

-- 
Leif Delgass 
http://www.retinalburn.net



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to