On Fri, 19 Mar 2004 12:51:14 -0800 (PST)
Alex Deucher <[EMAIL PROTECTED]> wrote:
> I've re-worked the non-Xv streams code and a few other things. I added
> a new streams reset function that seems to fix the occasional console
> corruption I got on my IX. I enabled the COB on savage4 and newer
> chips and added an option to disable it. Tim's driver had it disabled
> and had a note that there was a hardware bug in the COB on savage4 and
> prosavage; S3 enabled the COB. either way seems to work fine for me.
> With the COB enabled my frame rates with glxgears improved quite a bit:
>
> depth COB No-COB
> 16 ~560 ~450
> 24 ~270 ~240
Yes, I'm testing your patch on the ProSavageDDR and now I get about the
same glxgears fps as with DMA command transfer. So BCI+COB seems to work
pretty efficiently. I'm going to start working on DMA vertex transfers
this weekend. I'm curious how that will affect performance.
There's still one problem. The hardware cursor is corrupted when 3D apps
are active. It looks like the COB is scribbling over the memory that
stores the hardware cursor bitmasks. With glxgears the pattern changes
very frequently, with flightgear it takes between half a second and a
second between "updates". ;-)
>
> I also converted the BCI Xv stuff into an option, BCIforXv, but it
> still leaves artifacts even with the new streams setup and is disabled
> by default. I still haven't tracked down how S3 does interpolation in
> their driver with the old streams engine.
This one works without problems. I don't see any difference with or
without BCI. No cursor corruption either. But I think this line is
wrong: ;-)
xf86DrvMsg(pScrn->scrnIndex, X_CONFIG,
"Option: %s use of the BCI for
Xv\n",(psav->BCIforXv?"Disable":"Enable"));
It says BCI for Xv is disabled when it is actually enabled and vice
versa.
>
> Please test and let me know how it goes. If all is well I'll commit
> it.
> You can also download the patch here:
> http://www.botchco.com/alex/savage/streams_cleanup_big.diff
>
> Alex
Felix
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel