dump 4 is taken within radeon driver, after startup
dump 5 is taken within radeon driver, after glxgears

All of course in chronological order...

Ok, some manual multi-diff compare and some minimal testing (thankfully radeon_dump can easily be used to write registers too for increased fun!) the guilty turned up pretty quickly. The boost_performance register is 0x2cf8, this turns out to be 0 for the open-source driver (it never writes to it as far as I can tell), but fglrx writes 0x17 to it. Writing 0x17 to that increases performance to the exact same level as does starting fglrx before the open source driver.

After looking in the docs, this determines when one map is used versus two for mipmaps.


#define R200_PP_TRI_PERF 0x2cf8

void set_linear_mip_cutoff(float cutoff)
{
GLuint a;
LOCALVARS;

if(cutoff<0)cutoff=0;

a=round((2.0*cutoff)*0x1f);
if(a>0x1f)a=0x1f;

OUTREG(R200_PP_TRI_PERF, a);
}

                   best

                       Vladimir Dergachev


Of course this register is nowhere to be documented in the various radeon_reg.h files. It may cause other things than just boost performance... And I have no idea if this is specific to rv250, the r200 chip family or even other radeons.

Roland



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to