[Bug 49078] New: piglit glean/readPixSanity fails when ColorTiling2D is enabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 23 06:49:47 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=49078

             Bug #: 49078
           Summary: piglit glean/readPixSanity fails when ColorTiling2D is
                    enabled
    Classification: Unclassified
           Product: xorg
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/Radeon
        AssignedTo: xorg-driver-ati at lists.x.org
        ReportedBy: johannes.hirte at fem.tu-ilmenau.de
         QAContact: xorg-team at lists.x.org


When enabling ColorTiling2D, piglit is failing on glean/readPixSanity.

Running glean by hand gives: 

bin/glean -r tmp/ -v -t +readPixSanity

----------------------------------------------------------------------
This test performs a sanity check of glReadPixels, using as
few other portions of the GL as possible.  If this test fails,
it may be pointless to run other tests, since so many of them
depend on reading the contents of the framebuffer to determine
if they pass.

The test works by using glClear to fill the framebuffer with a
randomly-chosen value, reading the contents of the
framebuffer, and comparing the actual contents with the
expected contents.  RGB, RGBA, color index, stencil, and depth
buffers (whichever are applicable to the current rendering
context) are checked.  The test passes if the actual contents
are within 1 LSB of the expected contents.

radeon: The kernel rejected CS, see dmesg for more information.
readPixSanity:  FAIL rgba8, db, z24, s8, win+pmap, id 33
        Stencil expected 38; got 0.
        RGBA largest readback error was 0 bits
        Depth largest readback error was 0 bits
radeon: The kernel rejected CS, see dmesg for more information.
readPixSanity:  FAIL rgba8, db, z24, s8, win+pmap, id 34
        Stencil expected 38; got 0.
        RGBA largest readback error was 0 bits
        Depth largest readback error was 0 bits
radeon: The kernel rejected CS, see dmesg for more information.
readPixSanity:  FAIL rgba8, db, z24, s8, win+pmap, id 97
        Stencil expected 38; got 0.
        RGBA largest readback error was 0 bits                                  
        Depth largest readback error was 0 bits
readPixSanity:  PASS rgba8, win+pmap, id 242                                    
        RGBA largest readback error was 0 bits                                  
readPixSanity:  PASS rgba8, accrgba16, win+pmap, slow, id 243                   
        RGBA largest readback error was 0 bits                                  
readPixSanity:  PASS rgba8, db, win+pmap, id 244                                
        RGBA largest readback error was 0 bits

and dmesg showed a lot of:

radeon 0000:01:00.0: evergreen_cs_track_validate_stencil:570 stencil read bo
too small (layer size 4096, offset 14188032, max layer 1, bo size 16384)
radeon 0000:01:00.0: evergreen_cs_track_validate_stencil:574 stencil invalid
(0x0000000f 0x0000003f 0x00000401 0x00002022)
radeon 0000:01:00.0: evergreen_packet3_check:2055 invalid cmd stream 468
[drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !

Hardware is a Mobility Radeon HD5470, native resolution is 1366x768.

When disabling ColorTiling2D, glean/readPixSanity passes without error.

I also see a garbled screen short time when starting X. But this happens with
and without ColorTiling2D, so I'm not sure this is related.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the xorg-driver-ati mailing list