[Moving this to dri-devel]
Kostas Gewrgiou wrote:
> If i remember corectly 4.0.1 doesn't need agpgart but i fear that 3d
> performance is far worst without it.
Do you recommend me continuing with 4.0.1, or should I work on the DRI CVS
> The mb() should be enough in r128_dma.c (we might not need it at all though
> but it shouldn't hurt). The R128_WRITE/R128_READ macros in r128_drv.h will
> need to do byteswapping also i imagine.
Damn - why can't it be as easy as I imagined? ;)
> The writes to the CCE ring buffer might be a problem also you might need
> to do different swaps depending on where the buffer lives (host memory or
> in the framebuffer) since the framebuffer writes get swapped depending on
> the current depth. (voodoo3 has this problem)
> The drm modules need some asm code as well, look at my patches in
> dri.sourceforge.net (patch_id 100488,100568) the code is almost a copy
> from the glibc sources (i know next to nothing about ppc asm) but they
> work well with my voodoo3.
I've applied those patches.
> Also note that the DRI drivers don't get build by default in PPC
> you have to #define BuildXF86DRI YES in xf config files
> *AND* patch xc/lib/GL/mesa/src/drv/Imakefile to enable the dri drivers
> to build under ppc.
I've noticed build problems in xc/lib/GL/mesa/src, but am I right in thinking
that this is for the client part of DRI?
I haven't even been able to get direct rendering enabled in the server yet -
even if I use Option "ForcePCIMode" - it just says "Direct rendering diabled"
without further reason. I'll dig through the code.
BTW, do I have to create the /dev entries before starting the server or will
they be created automatically?
> Unfortunately i don't have an r128 card so i can't do anything here :(
Thanks for your hints!
Intel: where Quality is job number 0.9998782345!
Earthling Michel Dänzer (MrCooper) \ CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \ member of XFree86, Team *AMIGA*, AUGS