From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 86720] [radeon] Europa Universalis 4 freezing during game start (10.3.3+, still broken on 11.0.2)
Date: Wed, 20 Jul 2016 20:24:03 +0000 [thread overview]
Message-ID: <bug-86720-502-pODvNZ57Py@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-86720-502@http.bugs.freedesktop.org/>
[-- Attachment #1.1: Type: text/plain, Size: 2536 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=86720
iive@yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Assignee|dri-devel@lists.freedesktop |iive@yahoo.com
|.org |
Resolution|FIXED |---
CC| |iive@yahoo.com
--- Comment #34 from iive@yahoo.com ---
Created attachment 125183
--> https://bugs.freedesktop.org/attachment.cgi?id=125183&action=edit
EU4 shader #175 in TGSI , unoptmized disassembly, sbdump of all stages and
optimized disassembly
While the committed workaround does work for this case, the bug in R600 Shader
Backend is not fixed and it is triggered by other more complicated shaders. For
example:
https://bugs.freedesktop.org/show_bug.cgi?id=94900
I had locally reverted the unroll workaround in order to obtain the form that
triggers this bug. If you need to test the bug with this shader, then in
`r600_pipe.c:559` you have to set `PIPE_SHADER_CAP_MAX_UNROLL_ITERATIONS_HINT`
to 32, instead of 255.
The buggy shader is the vertex shader of call 1024042 in the trace.
When using `R600_DEBUG=ps,vs`, the shader is under #175 .
Like in the other bugreport, this shader causes assertion failure in the
sb_checker (if mesa is compiled with debugging) and the bug is also
workarounded by `R600_DEBUG=sbsafemath`.
This works because it disables the call to `fold_assoc()` in
`expr_handler::fold_alu_op2()` somewhere around `sb_expr.cpp:740`
In order to locate the bug, I've enabled the sbdump for all SB stages.
I'm also uploading a second log, with the "fold_assoc()" disabled, so a
side-by-side comparison of both logs could indicate how the function affects
the result through the different stages. (I recommend `diffuse` program.)
This shader is easier to analyze, because it contains just one loop with 4
iterations and no other conditional branches and jumps. The loop counter
register is used as index for memory access. The memory address calculations
might be involved in triggering the bug as `fold_assoc()` works on them.
The `sb_checker` complains about instructions that list the counter register,
so it is possible that the instruction that increments it is somehow
"optimized" out.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 4825 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
prev parent reply other threads:[~2016-07-20 20:24 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-26 2:37 [Bug 86720] Europa Universalis 4 freezing during game start (10.3.3) bugzilla-daemon
2014-11-26 3:26 ` bugzilla-daemon
2014-11-26 8:59 ` bugzilla-daemon
2014-11-26 11:11 ` [Bug 86720] [radeon] " bugzilla-daemon
2014-11-26 18:00 ` bugzilla-daemon
2014-11-27 11:14 ` bugzilla-daemon
2014-11-28 22:27 ` bugzilla-daemon
2014-12-06 17:24 ` bugzilla-daemon
2014-12-14 19:29 ` bugzilla-daemon
2015-01-08 21:57 ` bugzilla-daemon
2015-01-08 22:00 ` bugzilla-daemon
2015-01-14 17:46 ` bugzilla-daemon
2015-01-15 20:00 ` bugzilla-daemon
2015-01-16 5:25 ` bugzilla-daemon
2015-01-16 14:56 ` bugzilla-daemon
2015-02-07 12:22 ` bugzilla-daemon
2015-02-07 12:52 ` bugzilla-daemon
2015-02-07 18:31 ` bugzilla-daemon
2015-02-08 12:04 ` bugzilla-daemon
2015-02-09 7:48 ` bugzilla-daemon
2015-02-20 20:16 ` bugzilla-daemon
2015-02-20 21:00 ` bugzilla-daemon
2015-02-21 22:36 ` bugzilla-daemon
2015-02-21 22:41 ` bugzilla-daemon
2015-02-21 22:41 ` bugzilla-daemon
2015-02-21 23:45 ` bugzilla-daemon
2015-03-17 8:30 ` bugzilla-daemon
2015-03-17 12:21 ` bugzilla-daemon
2015-07-06 18:40 ` bugzilla-daemon
2015-07-06 19:37 ` bugzilla-daemon
2015-08-14 20:47 ` bugzilla-daemon
2015-08-14 22:32 ` bugzilla-daemon
2015-08-14 23:44 ` bugzilla-daemon
2015-08-14 23:47 ` bugzilla-daemon
2015-09-29 3:12 ` bugzilla-daemon
2015-10-13 6:40 ` [Bug 86720] [radeon] Europa Universalis 4 freezing during game start (10.3.3+, still broken on 11.0.2) bugzilla-daemon
2015-10-20 21:00 ` bugzilla-daemon
2015-10-26 16:55 ` bugzilla-daemon
2016-01-14 11:23 ` bugzilla-daemon
2016-01-14 11:24 ` bugzilla-daemon
2016-07-20 20:24 ` bugzilla-daemon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-86720-502-pODvNZ57Py@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox