From: bugzilla-daemon@freedesktop.org Subject: [Bug 94900] HD6950 GPU lockup loop with various steam games (octodad[always], saints row 4[always], dead island[always], grid autosport[sometimes]) Date: Mon, 18 Jul 2016 09:04:40 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0055665378==" 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 04E126E2A0 for ; Mon, 18 Jul 2016 09:04:41 +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 --===============0055665378== Content-Type: multipart/alternative; boundary="14688326800.4cF4.26449"; charset="UTF-8" --14688326800.4cF4.26449 Date: Mon, 18 Jul 2016 09:04:40 +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=3D94900 --- Comment #19 from iive@yahoo.com --- Created attachment 125130 --> https://bugs.freedesktop.org/attachment.cgi?id=3D125130&action=3Dedit Octrodad crashing pixel shader - TGSI, disassembly, sbdump of IR code and c= rash backtrace I've discovered few more things. 1. When retracing with mesa3d debug enabled, the shader backend internal checker is run and it does detect errors (and crashes at failed assert). It seems to error out at shader 70 (a draw command before the one that hangs). I've attached a log that includes the output of `sbdump` too. 2. `R600_DEBUG=3Dsbsafemath` could also be used to workaround the above cra= sh and the original lockup. (Please test if this works with the other titles too.) Looking at the source, the 'safe math' option skips few optimization. The o= ne that seems to cause problem is the call to `fold_assoc()` in `expr_handler::fold_alu_op2()` somewhere around `sb_expr.cpp:740`. --=20 You are receiving this mail because: You are the assignee for the bug.= --14688326800.4cF4.26449 Date: Mon, 18 Jul 2016 09:04:40 +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

Commen= t # 19 on bug 94900<= /a> from iive@yahoo.com
Created attachment 125130 [details]
Octrodad crashing pixel shader - TGSI, disassembly, sbdump of IR code and c=
rash
backtrace

I've discovered few more things.

1. When retracing with mesa3d debug enabled, the shader backend internal
checker is run and it does detect errors (and crashes at failed assert). It
seems to error out at shader 70 (a draw command before the one that hangs).
I've attached a log that includes the output of `sbdump` too.

2. `R600_DEBUG=3Dsbsafemath` could also be used to workaround the above cra=
sh and
the original lockup. (Please test if this works with the other titles too.)

Looking at the source, the 'safe math' option skips few optimization. The o=
ne
that seems to cause problem is the call to `fold_assoc()` in
`expr_handler::fold_alu_op2()` somewhere around `sb_expr.cpp:740`.


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