[Mesa-dev] r600g: status of my work on the shader optimization

Sebastien Caty scaty at dcinformatique.com
Fri Mar 1 17:15:13 PST 2013


On February 28, 2013 12:19:30 PM Vadim Girlin wrote:
> Make sure that you have recent patches, some problems with R7xx chips
> were fixed yesterday. Then please check if there are any regressions
> with piglit tests (as compared to the piglit results with R600_SB=0). If
> there are regressions, send me the shader dumps printed when you run the
> regressed tests with "R600_SB_DUMP=3 R600_DUMP_SHADERS=2". If you could
> also figure out the failing shader in each case (as described in [1]),
> this will help to spot the problem. Also you might want to check if
> there are any problems with some other more simple and/or open-source
> applications, so that it will be easier for me to reproduce the issue
> (if it's not r7xx-specific). One more way to help me with debugging your
> issue with SS3 is to use apitrace to create the minimal trace that
> reproduces it (again, if only it's not r7xx-specific, so that it may be
> reproduced with my evergreen card, otherwise you could try to apply the
> method [1] to locate the guilty shader and send me the shader dump).
> Anyway, it's better to start with piglit - it's usually a lot easier to
> debug any issues with a small and simple apps such as the piglit tests.
> 
> Vadim

Got piglit running after figuring out that piglit uses LLVM if it's available 
even if R600_LLVM is not set. I had a lot of GPU lockups and CS errors.

I reduced piglit tests to the shaders set. Most of them passes correctly, 3 
are marked as fixed, 9 of them regressions, no chrases.

Trying to dig more and found out which shader is causing trouble but I haven't 
found out how to run a specific test with piglit. Documentation isn't to 
friendly...Id appreciate some help with this.

Test that failed :

glx-visuals-stencil-pixmap
glsl-const-builtin-notEqual-06
glsl-fs-discard-02
glsl-fs-fogcolor-statechange
glsl-fs-loop-two-counter-02
glsl-fs-loop-two-counter-04
glsl-fs-vec4-indexing-5
glsl-fs-vec4-indexing-6
glsl-uniform-non-uniform-array-compare


> 
> [1]: see section "Regression debugging" at
>       http://people.freedesktop.org/~vadimg/r600-sb.html
> 
> >> Vadim
> > 
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130301/2978ca60/attachment.html>


More information about the mesa-dev mailing list