José Fonseca writes: > On Wed, May 21, 2003 at 10:38:45PM +1000, Paul Mackerras wrote: > > * The hang always occurs within a mach64_dma_dispatch_vertex call for > > primitive 8 (MACH64_PRIM_QUAD_STRIP), at least with glxgears. > > glxgears only uses quads primitives, so the primitive is not relevant > here.
Hmmm, I am _definitely_ observing calls to mach64_dma_dispatch_vertex with prim = 8 while running glxgears. And it is the one that seems to cause the trouble. > > * I can get it to hang in mmio mode running glxgears if I make > > mach64_dispatch_pseudo_dma() just wait for space in the FIFO (or even > > for the FIFO to be empty) rather than waiting for the engine to be > > idle every 16 words. > > Was this using direct MMIO or HOST_TO_DATA? MMIO. > > Can anyone give me any pointers about how to get this chip going > > properly? > > From what you describe here I see three explanations: > - there is some kind of caching corrupting the data from/to the > hardware, which is specific to some of the PPC architectures That would not explain how I can get the chip to hang when I am feeding it with MMIO. > - the driver is emitting bad 3D data - this is IMHO unlike since some > other people have no problems with PPC and I also think this is unlikely, given that it works fine in MMIO mode (as long as I use the normal code which waits for the engine to be idle every 16 words). > - your hardware is buggy - I had problems in the past with an AGP > controller, but AFAIK the AGP isn't used in PPC, so I don't know what > could be in fault. Later powerbooks (PPC laptops) have AGP, but not this one. I have AGP on my titanium G4 powerbook, which has a Rage 128 chip, for instance. This chip (3D Rage LT Pro, code 'LI') does have some bugs; for instance, 2D diagonal lines sometimes get drawn incorrectly (most noticeable with xpilot). So it is quite possible that there is a hardware bug. Paul. ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel