From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98776] [regression] Rendering glitches in Life Is Strange Date: Sat, 19 Nov 2016 05:32:29 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1180919837==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id DD3416E0DB for ; Sat, 19 Nov 2016 05:32:32 +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 --===============1180919837== Content-Type: multipart/alternative; boundary="14795335500.A6E5e.30542"; charset="UTF-8" --14795335500.A6E5e.30542 Date: Sat, 19 Nov 2016 05:32:30 +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=3D98776 Bug ID: 98776 Summary: [regression] Rendering glitches in Life Is Strange Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: daniel@constexpr.org QA Contact: dri-devel@lists.freedesktop.org Created attachment 128065 --> https://bugs.freedesktop.org/attachment.cgi?id=3D128065&action=3Dedit Glitched car windows The game Life Is Strange has various rendering glitches with current mesa master. I have recorded an apitrace of the game: http://constexpr.org/tmp/LifeIsStrange-radeonsi.trace.xz (124 MiB) The trace contains garbage geometry that is not there in the game (probably= due to persistent coherent mappings - the game crashes with MESA_EXTENSION_OVERRIDE=3D-GL_ARB_buffer_storage), but the glitched car win= dows seen in the screenshot are visible. I've tracked the origin of the glitches= to e.g. draw call 4741838. All of the glitches go away when reverting commit 74e39de "radeonsi: set IF_THRESHOLD to 3" while https://patchwork.freedesktop.org/patch/122101/ do= es not help, so this is likely related to bug #98761. GPU: R9 380X (tonga) Kernel: 4.8.7-gentoo Mesa: git-0c85d2f LLVM: r287273 --=20 You are receiving this mail because: You are the assignee for the bug.= --14795335500.A6E5e.30542 Date: Sat, 19 Nov 2016 05:32:30 +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 98776
Summary [regression] Rendering glitches in Life Is Strange
Product Mesa
Version git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter daniel@constexpr.org
QA Contact dri-devel@lists.freedesktop.org

Created attachment 128065 [details]
Glitched car windows

The game Life Is Strange has various rendering glitches with current mesa
master.

I have recorded an apitrace of the game:
 http:=
//constexpr.org/tmp/LifeIsStrange-radeonsi.trace.xz (124 MiB)

The trace contains garbage geometry that is not there in the game (probably=
 due
to persistent coherent mappings - the game crashes with
MESA_EXTENSION_OVERRIDE=3D-GL_ARB_buffer_storage), but the glitched car win=
dows
seen in the screenshot are visible. I've tracked the origin of the glitches=
 to
e.g. draw call 4741838.

All of the glitches go away when reverting commit 74e39de "radeonsi: s=
et
IF_THRESHOLD to 3" while https://patchwork.freedesktop.org/patch/122101/ does
not help, so this is likely related to bug #98761.

GPU: R9 380X (tonga)
Kernel: 4.8.7-gentoo
Mesa: git-0c85d2f
LLVM: r287273


You are receiving this mail because:
  • You are the assignee for the bug.
= --14795335500.A6E5e.30542-- --===============1180919837== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1180919837==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98776] [regression] Rendering glitches in Life Is Strange Date: Sat, 19 Nov 2016 05:34:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1519771080==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 18FA56E105 for ; Sat, 19 Nov 2016 05:34:24 +0000 (UTC) In-Reply-To: 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 --===============1519771080== Content-Type: multipart/alternative; boundary="14795336630.0Bca04f3.30576"; charset="UTF-8" --14795336630.0Bca04f3.30576 Date: Sat, 19 Nov 2016 05:34:23 +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=3D98776 --- Comment #1 from Daniel Scharrer --- Created attachment 128066 --> https://bugs.freedesktop.org/attachment.cgi?id=3D128066&action=3Dedit Glitched shoreline --=20 You are receiving this mail because: You are the assignee for the bug.= --14795336630.0Bca04f3.30576 Date: Sat, 19 Nov 2016 05:34:23 +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


You are receiving this mail because:
  • You are the assignee for the bug.
= --14795336630.0Bca04f3.30576-- --===============1519771080== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1519771080==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98776] [regression] Rendering glitches in Life Is Strange Date: Sat, 19 Nov 2016 05:38:07 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0242602402==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 627C36E110 for ; Sat, 19 Nov 2016 05:38:07 +0000 (UTC) In-Reply-To: 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 --===============0242602402== Content-Type: multipart/alternative; boundary="14795338870.43B47.30970"; charset="UTF-8" --14795338870.43B47.30970 Date: Sat, 19 Nov 2016 05:38:07 +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=3D98776 --- Comment #2 from Daniel Scharrer --- Created attachment 128067 --> https://bugs.freedesktop.org/attachment.cgi?id=3D128067&action=3Dedit Glitched face There are more examples of glitches that all look slightly different - howe= ver the glitches always affect the same objects and the glitch for each objects looks more or less the same for each run. All glitches that I have noticed = are fixed by reverting the mentioned commit. --=20 You are receiving this mail because: You are the assignee for the bug.= --14795338870.43B47.30970 Date: Sat, 19 Nov 2016 05:38:07 +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

Comment= # 2 on bug 98776<= /a> from Daniel Scharrer
Created attachment 128067 
References: 
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1594113442=="
Return-path: 
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
 [131.252.210.165])
 by gabe.freedesktop.org (Postfix) with ESMTP id 037746E118
 for ; Sat, 19 Nov 2016 08:13:13 +0000 (UTC)
In-Reply-To: 
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


--===============1594113442==
Content-Type: multipart/alternative; boundary="14795431920.AEb26.15236";
 charset="UTF-8"


--14795431920.AEb26.15236
Date: Sat, 19 Nov 2016 08:13:12 +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=3D98776

--- Comment #3 from Daniel Scharrer  ---
Reverting LLVM r286766 "AMDGPU: Implement SGPR spilling with scalar stores"
(while not reverting anything in Mesa) also fixes the glitches.

--=20
You are receiving this mail because:
You are the assignee for the bug.=

--14795431920.AEb26.15236
Date: Sat, 19 Nov 2016 08:13:12 +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


    
      
    
    
      

Comment= # 3 on bug 98776<= /a> from Daniel Scharrer
Reverting LLVM r286766 "AMDGPU: Implement SGPR spilling w=
ith scalar stores"
(while not reverting anything in Mesa) also fixes the glitches.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14795431920.AEb26.15236-- --===============1594113442== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1594113442==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98776] [regression] Rendering glitches in Life Is Strange Date: Sun, 20 Nov 2016 15:34:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0760159067==" 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 1F5056E0FB for ; Sun, 20 Nov 2016 15:34:08 +0000 (UTC) In-Reply-To: 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 --===============0760159067== Content-Type: multipart/alternative; boundary="14796560480.7766C0d.32045"; charset="UTF-8" --14796560480.7766C0d.32045 Date: Sun, 20 Nov 2016 15:34:08 +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=3D98776 --- Comment #4 from Arek Ru=C5=9Bniak --- Daniel I can't reproduce this on verde/polaris probably this can be HW spec= ific issue.=20 And I can't replay your trace because apitrace crashes with: 4108417: warning: region 0x7f26ce079000-0x7f26ce07a188 intersects existing region 0x7f26ce07a000-0x7f26ce07a120 glretrace: /build/apitrace/src/apitrace-7.1/retrace/retrace_swizzle.cpp:166: std::map::iterator retrace::lookupRegion(long long unsigned int): Assertion `contains(it, address)' failed. apitrace: warning: caught signal 6 4108425: error: caught an unhandled exception glretrace+0x234eec /usr/lib/libpthread.so.0+0x1107f /usr/lib/libc.so.6: gsignal+0xcf /usr/lib/libc.so.6: abort+0x169 /usr/lib/libc.so.6+0x2bea6 /usr/lib/libc.so.6: __assert_fail+0x41 glretrace+0xd9ef glretrace+0xe7cb glretrace+0xdb15 glretrace+0xd7e8 glretrace+0xc48b glretrace+0xcbe9 glretrace+0xce91 /usr/lib/libpthread.so.0+0x7453 /usr/lib/libc.so.6: clone+0x5e ? apitrace: info: taking default action for signal 6 Aborted (core dumped) --=20 You are receiving this mail because: You are the assignee for the bug.= --14796560480.7766C0d.32045 Date: Sun, 20 Nov 2016 15:34:08 +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

Comment= # 4 on bug 98776<= /a> from Arek Ru=C5=9Bniak
Daniel I can't reproduce this on verde/polaris probably this c=
an be HW specific
issue.=20
And I can't replay your trace because apitrace crashes with:

4108417: warning: region 0x7f26ce079000-0x7f26ce07a188 intersects existing
region 0x7f26ce07a000-0x7f26ce07a120
glretrace: /build/apitrace/src/apitrace-7.1/retrace/retrace_swizzle.cpp:166:
std::map<long long unsigned int, retrace::Region>::iterator
retrace::lookupRegion(long long unsigned int): Assertion `contains(it,
address)' failed.
apitrace: warning: caught signal 6
4108425: error: caught an unhandled exception
glretrace+0x234eec
/usr/lib/libpthread.so.0+0x1107f
/usr/lib/libc.so.6: gsignal+0xcf
/usr/lib/libc.so.6: abort+0x169
/usr/lib/libc.so.6+0x2bea6
/usr/lib/libc.so.6: __assert_fail+0x41
glretrace+0xd9ef
glretrace+0xe7cb
glretrace+0xdb15
glretrace+0xd7e8
glretrace+0xc48b
glretrace+0xcbe9
glretrace+0xce91
/usr/lib/libpthread.so.0+0x7453
/usr/lib/libc.so.6: clone+0x5e
?
apitrace: info: taking default action for signal 6
Aborted (core dumped)


You are receiving this mail because:
  • You are the assignee for the bug.
= --14796560480.7766C0d.32045-- --===============0760159067== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0760159067==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98776] [regression] Rendering glitches in Life Is Strange Date: Thu, 08 Dec 2016 19:25:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0397075846==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2BF9F6E79F for ; Thu, 8 Dec 2016 19:25:44 +0000 (UTC) In-Reply-To: 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 --===============0397075846== Content-Type: multipart/alternative; boundary="14812251440.65aaDf.20169"; charset="UTF-8" --14812251440.65aaDf.20169 Date: Thu, 8 Dec 2016 19:25:44 +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=3D98776 Daniel Scharrer changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #5 from Daniel Scharrer --- Everything renders fine with LLVM r289080 and Mesa git-31f988a9d6. --=20 You are receiving this mail because: You are the assignee for the bug.= --14812251440.65aaDf.20169 Date: Thu, 8 Dec 2016 19:25:44 +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 Daniel Scharrer changed bug 98776<= /a>
What Removed Added
Resolution --- FIXED
Status NEW RESOLVED

Comment= # 5 on bug 98776<= /a> from Daniel Scharrer
Everything renders fine with LLVM r289080 and Mesa git-31f988a=
9d6.


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