[Bug 86720] [radeon] Europa Universalis 4 freezing during game start (10.3.3)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 15 12:00:19 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=86720

--- Comment #10 from Felix Schwarz <felix.schwarz at oss.schwarz.eu> ---
I can confirm that the issue was introduced (on master) with this commit:

commit 6fcb5520b78cdf1e5013c125501932315a069955
Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Oct 28 19:49:44 2014 +0100

    Revert "st/mesa: set MaxUnrollIterations = 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, which
    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 take
    more time.

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

    Cc: 10.2 10.3 <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Brian Paul <brianp at 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 that
you would be able to fix this much better if you could reproduce the problem
easily.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150115/ecc1d1e2/attachment.html>


More information about the dri-devel mailing list