On 2002.04.29 15:37 Peter Andersson wrote:
> I did as you asked and commented out the line:
> 
> drmMach64FlushVertexBuffer( fd, prim, buffer->idx, buffer->used, 1 );
> 
> in xc/lib/GL/mesa/src/drv/mach64/mach64_ioctl.c
> 
> And as you predicted i got the error message:
> 
> "Error: Could not get new VB... exiting",
> 
> Peter
> 

I'm getting suspicious that it could be related with the FIFO, i.e., we 
are flooding your chip (which may be more picky) with requests.

One thing that we can do to check that is in 
xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/mach64_drv.h 
enable DMA my making

        #define MACH64_USE_DMA          1

as I believe that Leif already made the necessary changes to DMA works in 
PowerPC too (Isn't Leif?). Also change
         
        #define MACH64_VERBOSE          1

and redirect /proc/kmsg to a file. You need to build and install the 
kernel module, and remove the previous from memory. Don't forget to undo 
the changes in mach64_ioctl.c.

If this still doesn't work, then try to put "#if 0" ... "#endif" around 
"#if MACH64_USE_DMA"... "#endif /* MACH64_USE_DMA */" in 
xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/mach64_state.c 
like:

        #if 0
        #if MACH64_USE_DMA

        ...

        #endif /* MACH64_USE_DMA */
        #endif

to disable all that section.

Well, Peter, although the bissection algorithm can take some interations, 
if the initial conditions are met, it's guaranteed that it converges! ;-)

José Fonseca

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to