[Bug 105218] Regresion in 847d0a393d7f0f967f39302900d5330f32b804c8

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 22 23:40:47 UTC 2018


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

            Bug ID: 105218
           Summary: Regresion in 847d0a393d7f0f967f39302900d5330f32b804c8
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: dark_sylinc at yahoo.com.ar
        QA Contact: dri-devel at lists.freedesktop.org

Our Terrain sample from Ogre 2.1 uses a compute shader to generate the shadows
of the terrain, and later uses a special vs & ps to render the terrain.

What's special about that sample over the rest (that run fine) are:

1. The compute shader that generates the shadows
(https://bitbucket.org/sinbad/ogre/src/09181053ca69f4760b655c2eed5b5ca7d62fd7bc/Samples/Media/2.0/scripts/materials/Tutorial_Terrain/GLSL/TerraShadowGenerator.glsl?at=v2-1&fileviewer=file-view-default).
The heigthmap is in format R16_UNORM, the generated shadows texture is in
RGB10A2
2. A PS that generates the normals
(https://bitbucket.org/sinbad/ogre/src/09181053ca69f4760b655c2eed5b5ca7d62fd7bc/Samples/Media/2.0/scripts/materials/Tutorial_Terrain/GLSL/GpuNormalMapper_ps.glsl?at=v2-1&fileviewer=file-view-default).
The normals' texture are in RGB10A2
3. The VS has no vertex buffer bound, but rather relies on gl_VertexID and
integer ops
(https://bitbucket.org/sinbad/ogre/src/09181053ca69f4760b655c2eed5b5ca7d62fd7bc/Samples/Media/Hlms/Terra/GLSL/VertexShader_vs.glsl?at=v2-1&fileviewer=file-view-default#VertexShader_vs.glsl-66)
and reads the heightmap.

After commit 847d0a393d7f0f967f39302900d5330f32b804c8 and at least until latest
from today, running this sample causes an entire system freeze: Mouse cursor is
the only thing that responds. Keyboard does not respond, hard resetting is the
only way and tends to corrupt files in the drive (This was painful to bisect).

Before this commit the sample behaves as expected.

My GPU is a Radeon RX 560 2GB

I can provide a binary with the failing sample, or instructions on how to build
from source (https://ogrecave.github.io/ogre/api/2.1/SettingUpOgreLinux.html).
Whatever you need.

I'm flagging this as blocker because of the security implications of freezing
the entire system with ease.

Cheers

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180222/be331d7b/attachment.html>


More information about the dri-devel mailing list