From: bugzilla-daemon@freedesktop.org Subject: [Bug 88978] [bisected] [SI Scheduler] Graphical corruption in Dota 2 Date: Sat, 23 May 2015 20:43:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1438985268==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 009616E132 for ; Sat, 23 May 2015 13:43:12 -0700 (PDT) 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 --===============1438985268== Content-Type: multipart/alternative; boundary="1432413792.1fE112B1.17480"; charset="UTF-8" --1432413792.1fE112B1.17480 Date: Sat, 23 May 2015 20:43:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D88978 --- Comment #11 from Daniel Scharrer --- Created attachment 115995 --> https://bugs.freedesktop.org/attachment.cgi?id=3D115995&action=3Dedit patch to disable the machine scheduler for SI I can confirm that these these glitches are still present on current LLVM + Mesa git with a 7950 (TAHITI). Glitches happen in various games with different engines (Source, Unity, =E2= =80=A6). Here is a trace of The Talos Principle (first posted in bug #88561 comment = 9), that still produces more than just occasional glitches (even with Marek's patch): http://constexpr.org/tmp/Talos-radeonsi.3.trace.xz (147 MiB) Like sarnex, I have bisected this to LLVM 51a3c27d6e0c66cc8d2d1da8e9205fec7b74ca5c (r227461). I had to revert b8797a7 and a99a16a in current Mesa git for it to build aga= inst that LLVM revision. Some Source engine games (L4D2, Nuclear Dawn, maybe others) don't just prod= uce graphical glitches but also frequently lock up the GPU since a later change= to the machine scheduler (r233366) - see bug #90378. Disabling the machine scheduler for SI on current LLVM (see attached patch) also fixes both the lockups an graphical glitches. Additionally, using R600_DEBUG=3Dswitch_on_eop with unpatched LLVM also wor= ks around both the graphical glitches and and GPU lockups. --=20 You are receiving this mail because: You are the assignee for the bug. --1432413792.1fE112B1.17480 Date: Sat, 23 May 2015 20:43:12 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 11 on bug 88978<= /a> from Daniel Scharrer
Created attachment 115995 [details]=
 [review]
patch to disable the machine scheduler for SI

I can confirm that these these glitches are still present on current LLVM +
Mesa git with a 7950 (TAHITI).

Glitches happen in various games with different engines (Source, Unity, =E2=
=80=A6).
Here is a trace of The Talos Principle (first posted in bug #88561 comment 9),
that still produces more than just occasional glitches (even with Marek's
patch):
 http://cons=
texpr.org/tmp/Talos-radeonsi.3.trace.xz (147 MiB)

Like sarnex, I have bisected this to LLVM
51a3c27d6e0c66cc8d2d1da8e9205fec7b74ca5c (r227461).
I had to revert b8797a7 and a99a16a in current Mesa git for it to build aga=
inst
that LLVM revision.

Some Source engine games (L4D2, Nuclear Dawn, maybe others) don't just prod=
uce
graphical glitches but also frequently lock up the GPU since a later change=
 to
the machine scheduler (r233366) - see bug #90378.

Disabling the machine scheduler for SI on current LLVM (see attached patch)
also fixes both the lockups an graphical glitches.

Additionally, using R600_DEBUG=3Dswitch_on_eop with unpatched LLVM also wor=
ks
around both the graphical glitches and and GPU lockups.


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