From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91725] R600 asserts in sb_shed.c:251 during Shader Backend optimization pass. Date: Sat, 22 Aug 2015 13:53:12 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1789912581==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5C6416E0DC for ; Sat, 22 Aug 2015 06:53:12 -0700 (PDT) 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 --===============1789912581== Content-Type: multipart/alternative; boundary="1440251592.6731EC0.31078"; charset="UTF-8" --1440251592.6731EC0.31078 Date: Sat, 22 Aug 2015 13:53:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91725 Bug ID: 91725 Summary: R600 asserts in sb_shed.c:251 during Shader Backend optimization pass. Product: Mesa Version: git Hardware: x86 (IA32) OS: All Status: NEW Severity: major Priority: medium Component: Drivers/Gallium/r600 Assignee: dri-devel@lists.freedesktop.org Reporter: ikalvachev@gmail.com QA Contact: dri-devel@lists.freedesktop.org Created attachment 117861 --> https://bugs.freedesktop.org/attachment.cgi?id=117861&action=edit The shader causing the problem as TGSI and R600 bytecode. Created by Nine. The exact error message is: sb/sb_sched.cpp:251:unreserve: Assertion `rp[cycle][chan] == sel && uc[cycle][chan]' failed. It doesn't trigger if I replay with "R600_DEBUG=nobs". My hardware is Radeon HD5670 (Redwood). I have attached part of the log created by "R600_DEBUG=vs,ps" containing the TGSI code and the unoptimized R600 bytecode. The bug is reproduced by replaying d3d9 trace of the game "The Forest". The trace file has been uploaded to ixit ftp server. You need d3dretrace.exe (from apitrace compiled for windows) and wine. It is preferable is wine have ixit Nine patch and mesa-git with Nine enabled. The bug is reproduced by both Nine state tracker and by the OpenGL one (when using vanilla wined3d opengl wrapper). Since the the OpenGL TGSI code is different, I'm attaching it too. If you need more info, feel free to ask me. -- You are receiving this mail because: You are the assignee for the bug. --1440251592.6731EC0.31078 Date: Sat, 22 Aug 2015 13:53:12 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Bug ID 91725
Summary R600 asserts in sb_shed.c:251 during Shader Backend optimization pass.
Product Mesa
Version git
Hardware x86 (IA32)
OS All
Status NEW
Severity major
Priority medium
Component Drivers/Gallium/r600
Assignee dri-devel@lists.freedesktop.org
Reporter ikalvachev@gmail.com
QA Contact dri-devel@lists.freedesktop.org

Created attachment 117861 [details]
The shader causing the problem as TGSI and R600 bytecode. Created by Nine.

The exact error message is:
sb/sb_sched.cpp:251:unreserve: Assertion `rp[cycle][chan] == sel &&
uc[cycle][chan]' failed.

It doesn't trigger if I replay with "R600_DEBUG=nobs".
My hardware is Radeon HD5670 (Redwood).

I have attached part of the log created by "R600_DEBUG=vs,ps" containing the
TGSI code and the unoptimized R600 bytecode.

The bug is reproduced by replaying d3d9 trace of the game "The Forest". The
trace file has been uploaded to ixit ftp server. You need d3dretrace.exe (from
apitrace compiled for windows) and wine. It is preferable is wine have ixit
Nine patch and mesa-git with Nine enabled.

The bug is reproduced by both Nine state tracker and  by the OpenGL one (when
using vanilla wined3d opengl wrapper). Since the the OpenGL TGSI code is
different, I'm attaching it too.

If you need more info, feel free to ask me.


You are receiving this mail because:
  • You are the assignee for the bug.
--1440251592.6731EC0.31078-- --===============1789912581== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1789912581==--