On 2002.05.03 04:13 Peter Andersson wrote: > ... > > I have just downloaded and installed the latest cvs source (i assume > that you have applied the patch), at least i thought so when comparing > the patch with the "would be patched files" (mach64_drv.h and > mach64_state.c). But i might be mistaken as i am not very knowledgeable > about these things, as you know :) . The outcome is the same as before > i´m afraid. What i mean is i still get the "Error flushing vertex > buffer: return = -16" when running glxgears. A strange thing is that i > can run the doom clone (prboom) for a while, when it either crashes with > the same message or completley hangs my computer. I wish i could have > more "happy" news. > > Peter
Peter, this is a regression. There may be two causes for this: a) The use of readl/writel somehow poses even further problems. b) Recent changes on the CVS broke PowerPC. It may be just the wait_for_{idle,fifo} already failed before, but it passed unoticed before the recentely added checks. The only way to figure this out is to reverse the use of the readl/writel macros and see if this changes anything. So Peter, in mach64_drv.h, instead of: #define MACH64_READ(reg) readl(MACH64_ADDR(reg)) #define MACH64_WRITE(reg,val) writel((val), MACH64_ADDR(reg)) put back: #define MACH64_DEREF(reg) *(volatile u32 *)MACH64_ADDR(reg) #define MACH64_READ(reg) le32_to_cpu(MACH64_DEREF(reg)) #define MACH64_WRITE(reg,val) do { MACH64_DEREF(reg) = cpu_to_le32(val); } while (0) (note that each definition takes a whole line, just in case it gets broken by the mailer) and check both with MACH64_USE_DMA set to 1 and 0. To be sure that everything is recompiled do, make -f Makefile.linux clean mach64.o Don't forget to install the kernel and be sure the previous is removed from memory. José Fonseca _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel