On Tue, 30 Apr 2002 18:25:03 -0400 (EDT)
Leif Delgass <[EMAIL PROTECTED]> wrote:

> On Tue, 30 Apr 2002, Jos� Fonseca wrote:
> 
> > On 2002.04.30 13:41 Felix K�hling wrote:
> > > Hi,
> > > 
> > > I tried DMA on the mach64-0-0-4-branch now. All the gl application seem
> > > to work fine. But after switching to another console and back (without
> > > running a gl app at the same time:) the gl app's window is just black
> > > after starting it, full CPU load in the kernel and the X-server reacts
> > > very slowly. I get the following kind of messages in/var/log/kern.log
> > > repeatedly (about one of these blocks per second):
> > > 
> > > Apr 30 14:24:19 viking kernel: [drm] failed! GUI_STAT=0x02000001
> > > Apr 30 14:24:19 viking kernel: [drm] mach64_do_wait_for_idle failed
> > > Apr 30 14:24:19 viking kernel: [drm] resetting engine ...
> > 
> > This is odd. The card never gets idle but X keeps working so the card is 
> > not locked.
> 
> Well, once a DMA pass fails, you've got to reboot to get DMA back, so the
> engine reset allows things to continue, but it'll keep locking up.  The
> right thing to do at this point is probably to bail out rather than switch
> to MMIO, since it indicates a problem with DMA.  I guess we'll need to add
> a return value to _dispatch_vertex and have _dma_vertex return an error
> code.

Sorry, I forgot to mention that, for me it was sufficient to restart the
X-server to get DMA working again.

Felix

               __\|/__    ___     ___     ___
__Tsch��_______\_6 6_/___/__ \___/__ \___/___\___You can do anything,___
_____Felix_______\�/\ \_____\ \_____\ \______U___just not everything____
  [EMAIL PROTECTED]    >o<__/   \___/   \___/        at the same time!

Reply via email to