<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:kai@dev.carbon-project.org" title="Kai <kai@dev.carbon-project.org>"> <span class="fn">Kai</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - [radeonsi] Tomb Raider: enabling TressFX makes hair disappear"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95285">bug 95285</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>kenneth@whitecape.org
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [radeonsi] Tomb Raider: enabling TressFX makes hair disappear"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95285#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [radeonsi] Tomb Raider: enabling TressFX makes hair disappear"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95285">bug 95285</a>
from <span class="vcard"><a class="email" href="mailto:kai@dev.carbon-project.org" title="Kai <kai@dev.carbon-project.org>"> <span class="fn">Kai</span></a>
</span></b>
<pre>(In reply to Ilia Mirkin from <a href="show_bug.cgi?id=95285#c2">comment #2</a>)
<span class="quote">> Try some of Ken's patches at
>
> <a href="https://cgit.freedesktop.org/~kwg/mesa/log/?h=tombraider-2">https://cgit.freedesktop.org/~kwg/mesa/log/?h=tombraider-2</a></span >
Thanks for the pointer, Ilia! I've applied the following patches:
fb4f8f9 glsl: Make opt_constant_variable() bail in useless cases.
a6bebce glsl: Remove bonus tree walking in opt_constant_folding().
b01114f glsl: Consolidate duplicate copies of constant folding.
2040a80 glsl: Avoid excess tree walking when folding ir_dereference_arrays.
285e966 glsl: Don't do constant propagation in opt_constant_folding.
862fb32 glsl: Make lower_const_arrays_to_uniforms work directly on constants.
341ee51 glsl: Don't constant propagate arrays
Additionally, I think I should mention, that I've applied
<<a href="https://patchwork.freedesktop.org/patch/85101/">https://patchwork.freedesktop.org/patch/85101/</a>> locally, since I'm using a
LLVM > 268259. Just in case that could have an impact.
Anyway, with those patches applied the game freezes the system (ie. the system
stops responding to any kind of input) while entering the main menu. The only
output I could capture was "[0505/185411:WARNING:x11_util.cc(1490)] X error
received: serial 1001, error_code 3 (BadWindow (invalid Window parameter)),
request_code 4, minor_code 0 (X_DestroyWindow)"
CCing Kenneth, maybe he has an idea which of his patches could cause this.
<span class="quote">> There are some issues which tressfx happens to hit. (And some other option
> too...)</span >
Do you mean <a class="bz_bug_link
bz_status_NEW "
title="NEW - Tomb Raider with PostProcessing enable and Depth of Field set to Ultra has white stuff in the foreground"
href="show_bug.cgi?id=95190">bug 95190</a> or something else? I'm seeing <a class="bz_bug_link
bz_status_NEW "
title="NEW - Tomb Raider with PostProcessing enable and Depth of Field set to Ultra has white stuff in the foreground"
href="show_bug.cgi?id=95190">bug 95190</a> as well.
Therefore I've kept post processing disabled so far.
<span class="quote">> However at least on nouveau, tressfx is still a fail even with
> those. [Sorry, don't have the game myself, so don't have further details.
> Just an FYI with the current state of affairs.]</span >
No need to apologize! Any piece of information is appreciated. As far as access
to TR goes: did you try contacting Feral? They were willing to give access to
XCOM 2 to some Mesa developers IIRC, maybe they're willing to do the same here?
(In reply to Nicolai Hähnle from <a href="show_bug.cgi?id=95285#c3">comment #3</a>)
<span class="quote">> If the patches mentioned by Ilia don't help, an apitrace showing the problem
> would be useful.</span >
Ok, I'll do that.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>