Announcement

Collapse
No announcement yet.

Have R700 piglit test results - Now what?

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

  • #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