<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [wine] Shadows missing in Mafia II"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107692">107692</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[wine] Shadows missing in Mafia II
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>18.2
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/Gallium/radeonsi
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sa@whiz.se
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=141288" name="attach_141288" title="radeonsi screenshot no shadows">attachment 141288</a> <a href="attachment.cgi?id=141288&action=edit" title="radeonsi screenshot no shadows">[details]</a></span>
radeonsi screenshot no shadows
Shadows are missing in the game Mafia II, running in Wine 3.14.
Attached screenshots are from a run with radeonsi (no shadows) and a comparison
shot from a video clip (with shadows).
Shadows are described as working with Wine 3.11 and above, but only for the
Nvidia driver:
<a href="https://bugs.winehq.org/show_bug.cgi?id=28251">https://bugs.winehq.org/show_bug.cgi?id=28251</a>
Apitrace (236 MB):
<a href="https://www.dropbox.com/s/wo8jmhy7wyykk9b/mafia2.trace.xz?dl=0">https://www.dropbox.com/s/wo8jmhy7wyykk9b/mafia2.trace.xz?dl=0</a>
Replaying the trace shows some shader compiler issues:
19736 @0 glXCreateWindow(dpy = 0x7d46c620, config = 0x7b9b85c0, win = 48234528,
attribList = {}) = 48234529
19736: warning: unsupported glXCreateWindow call
19747: message: shader compiler issue 1: Shader Stats: SGPRS: 96 VGPRS: 16 Code
Size: 72 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0
PrivMem VGPRs: 0
19747: message: shader compiler issue 1: Shader Stats: SGPRS: 96 VGPRS: 8 Code
Size: 136 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0
PrivMem VGPRs: 0
19747: message: shader compiler issue 2: LLVM diagnostic (remark):
<unknown>:0:0: 4 instructions in function
120455: message: shader compiler issue 1: Shader Stats: SGPRS: 96 VGPRS: 20
Code Size: 36 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0
PrivMem VGPRs: 0
120456: message: shader compiler issue 1: Shader Stats: SGPRS: 96 VGPRS: 12
Code Size: 272 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0
PrivMem VGPRs: 0
120514: message: shader compiler issue 1: Shader Stats: SGPRS: 96 VGPRS: 8 Code
Size: 84 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0
PrivMem VGPRs: 0
120533: message: shader compiler issue 1: Shader Stats: SGPRS: 96 VGPRS: 16
Code Size: 64 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0
PrivMem VGPRs: 0
120533: message: shader compiler issue 1: Shader Stats: SGPRS: 96 VGPRS: 20
Code Size: 132 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0
PrivMem VGPRs: 0
120533: message: shader compiler issue 1: Shader Stats: SGPRS: 96 VGPRS: 8 Code
Size: 72 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0
PrivMem VGPRs: 0
120533: message: shader compiler issue 1: Shader Stats: SGPRS: 96 VGPRS: 16
Code Size: 72 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0
PrivMem VGPRs: 0
120533: message: shader compiler issue 1: Shader Stats: SGPRS: 96 VGPRS: 8 Code
Size: 136 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0
PrivMem VGPRs: 0
120533: message: shader compiler issue 1: Shader Stats: SGPRS: 96 VGPRS: 16
Code Size: 40 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0
PrivMem VGPRs: 0
120533: message: shader compiler issue 1: Shader Stats: SGPRS: 96 VGPRS: 4 Code
Size: 108 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0
PrivMem VGPRs: 0
120533: message: shader compiler issue 2: LLVM diagnostic (remark):
<unknown>:0:0: 3 instructions in function
120533: message: shader compiler issue 2: LLVM diagnostic (remark):
<unknown>:0:0: 2 instructions in function
141097 @0 glXDestroyWindow(dpy = 0x7d46c620, window = 48234529)
141097: warning: unsupported glXDestroyWindow call
141099 @0 glXCreateWindow(dpy = 0x7d46c620, config = 0x7b9b85c0, win =
48234562, attribList = {}) = 48234563
141099: warning: unsupported glXCreateWindow call</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>