Bug 37234

Summary: gears of glxgears change brightness
Product: Mesa Reporter: almos <aaalmosss>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description almos 2011-05-15 11:21:59 UTC
The brightness of the gear faces varies periodically as the gears rotate. I think this problem started to appear around the same time as #36282, but I'm not sure. This affects both r300g and llvmpipe.

May be unrelated, but this is printed to the console:
Mesa: User error: GL_INVALID_OPERATION in glSampleMapATI(outsideShader)

Some other mesa demos have rendering errors, too. I think those are related, and most of them are correct with mesa 7.10.2. Should I add them here, or open separate reports?
Comment 1 Alexandre Demers 2011-05-15 14:50:18 UTC
Also seen it when running in indirect rendering.
Comment 2 Marek Olšák 2011-05-15 18:22:00 UTC
almos, either your libGL or the drivers were messed up during compilation or you have non-matching versions thereof (like an old libGL and a new driver). Delete and recompile everything.

It's very unlikely that Mesa couldn't run glxgears.
Comment 3 almos 2011-05-16 02:51:51 UTC
(In reply to comment #2)
> almos, either your libGL or the drivers were messed up during compilation or
> you have non-matching versions thereof (like an old libGL and a new driver).
> Delete and recompile everything.
> 
> It's very unlikely that Mesa couldn't run glxgears.

Now I tried all combinations. The color of the faces of the gears are the following (copied from OOo Calc, cell separator is ';'):
with shared glapi;;
;system libGL (7.10.2);compiled libGL (LD_LIBRARY_PATH=/home/almos/sources/mesa/lib/)
r300g;linear shift between normal color and darker, periodically;alternate between the dark color and a different one (red gear is yellow, blue is white, green is cyan)
llvmpipe;linear shift between normal color and darker, periodically;always white
;;
without shared glapi;;
;system libGL (7.10.2);compiled libGL (LD_LIBRARY_PATH=/home/almos/sources/mesa/lib/)
r300g;linear shift between normal color and darker, periodically;correct rendering
llvmpipe;linear shift between normal color and darker, periodically;correct rendering

The other demos I mentioned in the initial report are geartrain and gloss. Both render correctly, when gears does.
Comment 4 Fabio Pedretti 2011-06-09 01:44:11 UTC
This is likely a duplicate of bug #36282 which is fixed now.
Comment 5 almos 2011-06-11 03:38:17 UTC
I tried all combinations again with current mesa, and gears is rendered correctly in each case.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.