[Bug 101731] System freeze with AMDGPU when playing The Witcher 3 (GOG GOTY)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 20 09:36:11 UTC 2017


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

--- Comment #64 from Samuel Pitoiset <samuel.pitoiset at gmail.com> ---
See the attached trace from
https://bugs.freedesktop.org/show_bug.cgi?id=102797, it reproduces the same
issue.

So, basically the issue is that wine fails to set the transform feedback
varyings in some situations, this explains why the following message is
reported "fixme:d3d_shader:shader_glsl_generate_transform_feedback_varyings
Unsupported component range 2-2.". Then, the GPU will hang later on because it
will read garbage from a TFB buffer.

About TW3, I think that game uses TFB in some scenarios, I don't know why and
when, maybe it's based on some occlusion queries or some time constraints?
Either way, this might explain why TFB is not used when tracing with apitrace
or when using "GALLIUM_DDEBUG=800" which will flush and wait 800ms after every
draw call.

The attached patches should workaround both issues (TW3 and Superposition), but
wine has to be fixed here.

Please, let the bug open until it's really fixed.

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


More information about the dri-devel mailing list