From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 105218] Regresion in 847d0a393d7f0f967f39302900d5330f32b804c8
Date: Thu, 22 Feb 2018 23:40:47 +0000
Message-ID:
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@lists.freedesktop.org
Reporter
dark_sylinc@yahoo.com.ar
QA Contact
dri-devel@lists.freedesktop.org
Our Terrain sample from Ogre 2.1 uses a compute shader to gene=
rate 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
(http=
s://bitbucket.org/sinbad/ogre/src/09181053ca69f4760b655c2eed5b5ca7d62fd7bc/=
Samples/Media/2.0/scripts/materials/Tutorial_Terrain/GLSL/TerraShadowGenera=
tor.glsl?at=3Dv2-1&fileviewer=3Dfile-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/Sa=
mples/Media/2.0/scripts/materials/Tutorial_Terrain/GLSL/GpuNormalMapper_ps.=
glsl?at=3Dv2-1&fileviewer=3Dfile-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://bitbu=
cket.org/sinbad/ogre/src/09181053ca69f4760b655c2eed5b5ca7d62fd7bc/Samples/M=
edia/Hlms/Terra/GLSL/VertexShader_vs.glsl?at=3Dv2-1&fileviewer=3Dfile-v=
iew-default#VertexShader_vs.glsl-66)
and reads the heightmap.
After commit 847d0a393d7f0f967f39302900d5330f32b804c8 and at least until la=
test
from today, running this sample causes an entire system freeze: Mouse curso=
r 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 bisec=
t).
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 b=
uild
from source (https://ogrecave.github.io/ogre/api/2.1/SettingUpOgreLinux.ht=
ml).
Whatever you need.
I'm flagging this as blocker because of the security implications of freezi=
ng
the entire system with ease.
Cheers