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: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1854325799==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id C3F1D6EDA3 for ; Thu, 22 Feb 2018 23:40:47 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1854325799== Content-Type: multipart/alternative; boundary="15193428470.FdB9FE0.22368" Content-Transfer-Encoding: 7bit --15193428470.FdB9FE0.22368 Date: Thu, 22 Feb 2018 23:40:47 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D105218 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 generate the shad= ows 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/09181053ca69f4760b655c2eed5b5ca7d62f= d7bc/Samples/Media/2.0/scripts/materials/Tutorial_Terrain/GLSL/TerraShadowG= enerator.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/09181053ca69f4760b655c2eed5b5ca7d62f= d7bc/Samples/Media/2.0/scripts/materials/Tutorial_Terrain/GLSL/GpuNormalMap= per_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://bitbucket.org/sinbad/ogre/src/09181053ca69f4760b655c2eed5b5ca7d62f= d7bc/Samples/Media/Hlms/Terra/GLSL/VertexShader_vs.glsl?at=3Dv2-1&fileviewe= r=3Dfile-view-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.htm= l). Whatever you need. I'm flagging this as blocker because of the security implications of freezi= ng the entire system with ease. Cheers --=20 You are receiving this mail because: You are the assignee for the bug.= --15193428470.FdB9FE0.22368 Date: Thu, 22 Feb 2018 23:40:47 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
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


You are receiving this mail because:
  • You are the assignee for the bug.
= --15193428470.FdB9FE0.22368-- --===============1854325799== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1854325799==--