Announcement

Collapse
No announcement yet.

Have R700 piglit test results - Now what?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Have R700 piglit test results - Now what?

    I have just run the r500 suite of piglit tests, but am now wondering what to do with the results ;-). I seem to have a large directory structure full of files on my hands...

    My PC is a 64 bit I7 with a Radeon 4890, running vanilla 2.6.33.1 and xf86-ati from git, and F12's Mesa 7.7-4 packages. Both "glean/vertProg1" and "ARBvp1.0 tests" core-dumped during the test run.

  • #2
    I think there's a summary report generated as well - my first thought would be to run the tests again with 7.9 mesa from git and see what changes.

    I have seen a number of side-by-side comparisons of piglet results, all in apparently the same format, which makes me think there is probably a standard mechanism for comparing results from multiple runs (rather than copy/paste into a spreadsheet).

    Comment


    • #3
      Is Mesa 7.9 compatible with Fedora 12?

      Originally posted by bridgman View Post
      I think there's a summary report generated as well - my first thought would be to run the tests again with 7.9 mesa from git and see what changes.
      I'm trying not to kill the box here, and even Fedora 13 is only using Mesa 7.8! (So F13 is obsolete before it's even been released! Yay!) What will I need to compile and install Mesa 7.9? A new libdrm? A different Xserver?

      Comment


      • #4
        Mesa 7.9 is in very early development (in fact git master turned to 7.9 a week ago or so, before that it was 7.8), so 7.8 is not that obsolete Bridgman was talking about git master, I think. It should easily work with F13 without compiling everything from git.

        Comment


        • #5
          Yep, git master. As Wielkie G said, it just became 7.9 recently, when the 7.8 branch was created.

          Comment


          • #6
            It's quite easy to build a minimal install of Mesa (just the driver you're interested in), install it to a temporary dir somewhere, then use environment variables to run your testcase:

            LD_LIBRARY_PATH="/tmp/mesa/lib" LIBGL_DRIVERS_PATH="/tmp/mesa/lib/dri" glxgears

            Ask if the devs are interested in failing tests, see if there are open bug reports about these, and if not, file new bugs... (if you find something broken which worked in 7.7/7.8, do a bisect to find the problem).

            Comment


            • #7
              So I can have a local version of libdrm that is different from the "system" version?

              Originally posted by whizse View Post
              It's quite easy to build a minimal install of Mesa (just the driver you're interested in), install it to a temporary dir somewhere, then use environment variables to run your testcase:

              LD_LIBRARY_PATH="/tmp/mesa/lib" LIBGL_DRIVERS_PATH="/tmp/mesa/lib/dri" glxgears
              Does this include libdrm? I think I'll need libdrm from git to compile git Mesa, but F12 only has libdrm-2.4.17-1.fc12.i686. So would multiple, different installations of libdrm be a problem? Would the Xserver / xorg-drv-ati be able to handle that?

              Comment


              • #8
                My understanding was that the libdrm version needed to be synced with the kernel drm code, not the userspace code.

                If you are already running 2.6.33.1 then I *think* you should be using libdrm 2.4.18 anyways (anyone ?).

                Comment


                • #9
                  LIBDRM_RADEON_REQUIRED=2.4.17 is specified in configure.ac, so there you go

                  Comment


                  • #10
                    Thanks, but...

                    Originally posted by whizse View Post
                    LIBDRM_RADEON_REQUIRED=2.4.17 is specified in configure.ac, so there you go
                    That doesn't answer the question of whether I should be using 2.4.17 with a 2.6.33.1 kernel.

                    Comment


                    • #11
                      You need 2.4.16 or newer compiled with --enable-radeon-experimental-api to build libdrm_radeon for kms. As of 2.4.18, libdrm_radeon is enabled by default. libdrm and libdrm_radeon are not tied to a particular kernel. You can happily use the more recent libdrm* with older kernels.

                      Comment


                      • #12
                        piglit core dumps with R600 - vertProg1

                        I am seeing a few core-dumps with Mesa-git:

                        This is with test vertProg1:
                        Code:
                        Core was generated by `bin/glean -r foo -t vertProg1'.
                        Program terminated with signal 11, Segmentation fault.
                        #0  0x00007f7f4f7ed36a in radeonFlush (ctx=0x1cd9b30) at radeon_common.c:1129
                        1129		if ((ctx->DrawBuffer->Name == 0) && radeon->front_buffer_dirty) {
                        Missing separate debuginfos, use: debuginfo-install expat-2.0.1-8.fc12.x86_64 glibc-2.11.1-1.x86_64 libICE-1.0.6-1.fc12.x86_64 libSM-1.1.0-7.fc12.x86_64 libX11-1.3-1.fc12.x86_64 libXau-1.0.5-1.fc12.x86_64 libXdamage-1.1.2-1.fc12.x86_64 libXext-1.1-2.fc12.x86_64 libXfixes-4.0.4-1.fc12.x86_64 libXi-1.3-2.fc12.x86_64 libXmu-1.0.5-1.fc12.x86_64 libXt-1.0.7-1.fc12.x86_64 libXxf86vm-1.1.0-1.fc12.x86_64 libdrm-2.4.18-0.1.fc12.x86_64 libgcc-4.4.3-4.fc12.x86_64 libjpeg-6b-46.fc12.x86_64 libstdc++-4.4.3-4.fc12.x86_64 libtiff-3.9.2-3.fc12.x86_64 libuuid-2.16.2-7.fc12.x86_64 libxcb-1.5-1.fc12.x86_64 zlib-1.2.3-23.fc12.x86_64
                        (gdb) print ctx
                        $1 = (GLcontext *) 0x1cd9b30
                        (gdb) print ctx->DrawBuffer
                        $2 = (GLframebuffer *) 0x0

                        Comment


                        • #13
                          piglit core dumps with R600 - pbo

                          This is with the "pbo -o -v" test; memcpy() into a NULL address:

                          Code:
                          Core was generated by `bin/glean -r foo -t pbo -o -v'.
                          Program terminated with signal 11, Segmentation fault.
                          #0  0x0000003963882fe1 in memcpy () from /lib64/libc.so.6
                          Missing separate debuginfos, use: debuginfo-install expat-2.0.1-8.fc12.x86_64 glibc-2.11.1-1.x86_64 libICE-1.0.6-1.fc12.x86_64 libSM-1.1.0-7.fc12.x86_64 libX11-1.3-1.fc12.x86_64 libXau-1.0.5-1.fc12.x86_64 libXdamage-1.1.2-1.fc12.x86_64 libXext-1.1-2.fc12.x86_64 libXfixes-4.0.4-1.fc12.x86_64 libXi-1.3-2.fc12.x86_64 libXmu-1.0.5-1.fc12.x86_64 libXt-1.0.7-1.fc12.x86_64 libXxf86vm-1.1.0-1.fc12.x86_64 libdrm-2.4.18-0.1.fc12.x86_64 libgcc-4.4.3-4.fc12.x86_64 libjpeg-6b-46.fc12.x86_64 libstdc++-4.4.3-4.fc12.x86_64 libtiff-3.9.2-3.fc12.x86_64 libuuid-2.16.2-7.fc12.x86_64 libxcb-1.5-1.fc12.x86_64 zlib-1.2.3-23.fc12.x86_64
                          (gdb) where
                          #0  0x0000003963882fe1 in memcpy () from /lib64/libc.so.6
                          #1  0x00007ff6de05baba in copy_rows (dst=0x0, dststride=<value optimized out>, 
                              src=0x7ff6dd917000, srcstride=<value optimized out>, numrows=100, 
                              rowsize=<value optimized out>) at radeon_texture.c:68
                          #2  0x00007ff6de04c359 in do_blit_readpixels (ctx=<value optimized out>, 
                              x=<value optimized out>, y=<value optimized out>, width=100, height=100, 
                              format=32993, type=5121, pack=0x1c6b7d0, pixels=0x0)
                              at radeon_pixel_read.c:165
                          #3  radeonReadPixels (ctx=<value optimized out>, x=<value optimized out>, 
                              y=<value optimized out>, width=100, height=100, format=32993, type=5121, 
                              pack=0x1c6b7d0, pixels=0x0) at radeon_pixel_read.c:182
                          #4  0x00007ff6de0bae78 in _mesa_ReadPixels (x=<value optimized out>, 
                              y=<value optimized out>, width=100, height=100, format=32993, type=5121, 
                              pixels=0x0) at main/readpix.c:200
                          #5  0x00000000004d5d88 in GLEAN::PBOTest::testDrawPixels (this=0x79ec20)
                              at /home/chris/Programs/piglit/tests/glean/tpbo.cpp:299
                          #6  0x00000000004d865b in GLEAN::PBOTest::testFunctionality (this=0x79ec20, r=
                              ...) at /home/chris/Programs/piglit/tests/glean/tpbo.cpp:1110
                          #7  0x00000000004d8c70 in GLEAN::PBOTest::runSubTests (this=0x79ec20, r=...)
                              at /home/chris/Programs/piglit/tests/glean/tpbo.cpp:1247
                          #8  0x00000000004d8d00 in GLEAN::PBOTest::runOne (this=0x79ec20, r=..., w=...)
                              at /home/chris/Programs/piglit/tests/glean/tpbo.cpp:1264
                          #9  0x0000000000498af2 in GLEAN::BaseTest<GLEAN::MultiTestResult>::run (
                              this=0x79ec20, environment=...)
                              at /home/chris/Programs/piglit/tests/glean/tbase.h:320
                          #10 0x00000000004906ec in main (argc=7, argv=0x7fff82f7f1a8)
                              at /home/chris/Programs/piglit/tests/glean/main.cpp:141

                          Comment


                          • #14
                            Ditto the depthStencil test

                            glean -t depthStencil

                            Code:
                            Program terminated with signal 11, Segmentation fault.
                            #0  0x00007f1d9af0cfdb in radeonWriteDepthSpan_s8_z24 (
                                ctx=<value optimized out>, rb=0x30588d0, n=<value optimized out>, 
                                x=<value optimized out>, y=971, values=<value optimized out>, mask=0x0)
                                at ../../../../../src/mesa/drivers/dri/common/depthtmp.h:61
                            61			     WRITE_DEPTH( x1, y, depth[i] );
                            Missing separate debuginfos, use: debuginfo-install expat-2.0.1-8.fc12.x86_64 glibc-2.11.1-1.x86_64 libICE-1.0.6-1.fc12.x86_64 libSM-1.1.0-7.fc12.x86_64 libX11-1.3-1.fc12.x86_64 libXau-1.0.5-1.fc12.x86_64 libXdamage-1.1.2-1.fc12.x86_64 libXext-1.1-2.fc12.x86_64 libXfixes-4.0.4-1.fc12.x86_64 libXi-1.3-2.fc12.x86_64 libXmu-1.0.5-1.fc12.x86_64 libXt-1.0.7-1.fc12.x86_64 libXxf86vm-1.1.0-1.fc12.x86_64 libdrm-2.4.18-0.1.fc12.x86_64 libgcc-4.4.3-4.fc12.x86_64 libjpeg-6b-46.fc12.x86_64 libstdc++-4.4.3-4.fc12.x86_64 libtiff-3.9.2-3.fc12.x86_64 libuuid-2.16.2-7.fc12.x86_64 libxcb-1.5-1.fc12.x86_64 zlib-1.2.3-23.fc12.x86_64
                            (gdb) where
                            #0  0x00007f1d9af0cfdb in radeonWriteDepthSpan_s8_z24 (
                                ctx=<value optimized out>, rb=0x30588d0, n=<value optimized out>, 
                                x=<value optimized out>, y=971, values=<value optimized out>, mask=0x0)
                                at ../../../../../src/mesa/drivers/dri/common/depthtmp.h:61
                            #1  0x00007f1d9afe56f8 in draw_depth_stencil_pixels (ctx=0x2b51c00, x=0, y=0, 
                                width=1000, height=972, type=34042, unpack=0x2b618e8, pixels=0x3332b70)
                                at swrast/s_drawpix.c:667
                            #2  0x00007f1d9afe59a4 in _swrast_DrawPixels (ctx=0x2b51c00, 
                                x=<value optimized out>, y=<value optimized out>, width=1000, height=1000, 
                                format=34041, type=34042, unpack=0x2b618e8, pixels=<value optimized out>)
                                at swrast/s_drawpix.c:812
                            #3  0x00007f1d9b01bb29 in _mesa_meta_DrawPixels (ctx=0x2b51c00, 
                                x=<value optimized out>, y=<value optimized out>, 
                                width=<value optimized out>, height=<value optimized out>, 
                                format=<value optimized out>, type=34042, unpack=0x2b618e8, 
                                pixels=0x3332b70) at drivers/common/meta.c:1798
                            #4  0x00007f1d9b043c05 in _mesa_DrawPixels (width=1000, height=1000, 
                                format=34041, type=34042, pixels=0x3332b70) at main/drawpix.c:119
                            #5  0x00000000004b4583 in GLEAN::DepthStencilTest::readPixelsRate (
                                this=0x79dd00, format=34041, type=34042)
                                at /home/chris/Programs/piglit/tests/glean/tdepthstencil.cpp:245
                            #6  0x00000000004b470e in GLEAN::DepthStencilTest::testPerformance (
                                this=0x79dd00, r=...)
                                at /home/chris/Programs/piglit/tests/glean/tdepthstencil.cpp:274
                            #7  0x00000000004b484c in GLEAN::DepthStencilTest::runOne (this=0x79dd00, 
                                r=..., w=...)
                                at /home/chris/Programs/piglit/tests/glean/tdepthstencil.cpp:307
                            #8  0x00000000004b5e52 in GLEAN::BaseTest<GLEAN::DepthStencilResult>::run (
                                this=0x79dd00, environment=...)
                                at /home/chris/Programs/piglit/tests/glean/tbase.h:320
                            #9  0x00000000004906ec in main (argc=5, argv=0x7fff4f4c68d8)
                                at /home/chris/Programs/piglit/tests/glean/main.cpp:141

                            Comment


                            • #15
                              They all look like bugs to me. You should file bug reports for them, if you haven't done so already.

                              http://bugs.freedesktop.org/

                              Comment

                              Working...
                              X