From: bugzilla-daemon@freedesktop.org Subject: [Bug 86720] [radeon] Europa Universalis 4 freezing during game start (10.3.3) Date: Thu, 15 Jan 2015 20:00:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1438799628==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1318B6E7D3 for ; Thu, 15 Jan 2015 12:00:19 -0800 (PST) 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 --===============1438799628== Content-Type: multipart/alternative; boundary="1421352019.E5a1e4A4.30692"; charset="UTF-8" --1421352019.E5a1e4A4.30692 Date: Thu, 15 Jan 2015 20:00:19 +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=3D86720 --- Comment #10 from Felix Schwarz --- I can confirm that the issue was introduced (on master) with this commit: commit 6fcb5520b78cdf1e5013c125501932315a069955 Author: Marek Ol=C5=A1=C3=A1k Date: Tue Oct 28 19:49:44 2014 +0100 Revert "st/mesa: set MaxUnrollIterations =3D 255" This reverts commit 20836c81851e0df29a8ee9c86e5e5388738c840b. 255 is a huge number. If you have a loop with 255 iterations, unrolling= it will exceed the SM3 instruction limit. Let's use the default again. The comment about a SM3 limit doesn't make sense. For SM3, we generally want 32 (default) or a lower number due to the SM3 instruction limit, w= hich is 512 instructions. For SM4, we can try higher numbers if needed, but some shaders can end up being pretty huge and shader compilation can ta= ke more time. This fixes a shader compile failure on R500/SM3. Reported on IRC. Cc: 10.2 10.3 Reviewed-by: Brian Paul Marek: You mentioned that the r600 driver might be unable to handle certain loops. Is there anything the community can do to get this fixed? apitrace? Checking for piglit regressions related to the mentioned commit? I assume t= hat you would be able to fix this much better if you could reproduce the problem easily. --=20 You are receiving this mail because: You are the assignee for the bug. --1421352019.E5a1e4A4.30692 Date: Thu, 15 Jan 2015 20:00:19 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 10 on bug 86720<= /a> from Felix Schwarz
I can confirm that the issue was introduced (on master) with t=
his commit:

commit 6fcb5520b78cdf1e5013c125501932315a069955
Author: Marek Ol=C5=A1=C3=A1k <marek.olsak@amd.com>
Date:   Tue Oct 28 19:49:44 2014 +0100

    Revert "st/mesa: set MaxUnrollIterations =3D 255"

    This reverts commit 20836c81851e0df29a8ee9c86e5e5388738c840b.

    255 is a huge number. If you have a loop with 255 iterations, unrolling=
 it
    will exceed the SM3 instruction limit. Let's use the default again.

    The comment about a SM3 limit doesn't make sense. For SM3, we generally
    want 32 (default) or a lower number due to the SM3 instruction limit, w=
hich
    is 512 instructions. For SM4, we can try higher numbers if needed, but
    some shaders can end up being pretty huge and shader compilation can ta=
ke
    more time.

    This fixes a shader compile failure on R500/SM3. Reported on IRC.

    Cc: 10.2 10.3 <mesa-stable@lists.freedesktop.org>
    Reviewed-by: Brian Paul <br=
ianp@vmware.com>


Marek: You mentioned that the r600 driver might be unable to handle certain
loops. Is there anything the community can do to get this fixed? apitrace?
Checking for piglit regressions related to the mentioned commit? I assume t=
hat
you would be able to fix this much better if you could reproduce the problem
easily.


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