Hello, What is the status of this regression? Can you find a better solution? I tried the suggested patch on my Xpress 200m. It does help to increase FPS in glxgears, but lockups the system periodically in 3d games. Please help. It seriously affects the 3D performance of R300-based ATI cards in Ubuntu 9.04 with Mesa 7.4. Thank you in advance.
Michel Dänzer-2 wrote: > > On Sat, 2009-04-18 at 09:21 -0400, GS Hunt wrote: >> Michel Dänzer wrote: >> > On Fri, 2009-04-17 at 22:25 -0400, GS Hunt wrote: >> >> Please bear with me, I am not a developer. >> >> >> >> I am using an RS740 chip HS2100IGP integrated Radeon Video Card. >> >> >> >> It uses the R300 driver, (support added in the 2.6.28 kernel by Alex >> >> Deucher) >> >> >> >> 3D rendering is normal in Mesa 7.2, but is slow in subsequent >> versions. >> >> >> >> CPU useage goes to 100%, and 3D framerates drop dramtically. >> >> >> >> glxinfo shows: >> >> >> >> Direct rendering: YES >> >> OpenGL renderer string: Mesa DRI R300 20060815 NO-TCL >> >> >> >> >> >> This commit is good: >> >> >> >> >> http://lists.freedesktop.org/archives/mesa-commit/2008-September/004140.html >> >> >> >> >> >> This commit is the earliest which best exhibits the problem: >> >> >> >> >> http://lists.freedesktop.org/archives/mesa-commit/2008-September/004354.html >> > >> > Does this patch fix the problem? >> > >> > >> > diff --git a/src/mesa/drivers/dri/r300/r300_context.c >> b/src/mesa/drivers/dri/r300/r300_context.c >> > index 12bee1a..4de95f1 100644 >> > --- a/src/mesa/drivers/dri/r300/r300_context.c >> > +++ b/src/mesa/drivers/dri/r300/r300_context.c >> > @@ -374,7 +374,6 @@ GLboolean r300CreateContext(const __GLcontextModes >> * glVisual, >> > ctx->Const.FragmentProgram.MaxNativeTexIndirections = >> > PFS_MAX_TEX_INDIRECT; >> > ctx->Const.FragmentProgram.MaxNativeAddressRegs = 0; /* and these >> are?? */ >> > - ctx->VertexProgram._MaintainTnlProgram = GL_TRUE; >> > ctx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE; >> > >> > driInitExtensions(ctx, card_extensions, GL_TRUE); >> > @@ -421,7 +420,8 @@ GLboolean r300CreateContext(const __GLcontextModes >> * glVisual, >> > } >> > TCL_FALLBACK(r300->radeon.glCtx, >> > RADEON_TCL_FALLBACK_TCL_DISABLE, 1); >> > - } >> > + } else >> > + ctx->VertexProgram._MaintainTnlProgram = GL_TRUE; >> > >> > return GL_TRUE; >> > } >> > >> > >> >> YES. >> >> CPU usage normal, FPS are better. > > Maciej Cencora mentioned on IRC that he's seeing GPU lockups with this > change, so I'm not pushing it for now - decreased performance is > probably the lesser evil than lockups... > > > -- > Earthling Michel Dänzer | http://www.vmware.com > Libre software enthusiast | Debian, X and DRI developer > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > Mesa3d-dev mailing list > Mesa3d-dev@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mesa3d-dev > > -- View this message in context: http://www.nabble.com/R300-regression-tp23108996p23209681.html Sent from the mesa3d-dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev