Skip to contentSkip to conversation

Shadows missing in Mafia II

Bug 107692 [email protected] 1 participant 4 messages Aug 26, 2018 – Sep 25, 2019

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 107692
Summary: [wine] Shadows missing in Mafia II
Product: Mesa
Version: 18.2
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 141288
--> https://bugs.freedesktop.org/attachment.cgi?id=141288&action=edit
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:
https://bugs.winehq.org/show_bug.cgi?id=28251

Apitrace (236 MB):
https://www.dropbox.com/s/wo8jmhy7wyykk9b/mafia2.trace.xz?dl=0

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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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

--- Comment #1 from Sven Arvidsson <[email protected]> ---
Created attachment 141289
--> https://bugs.freedesktop.org/attachment.cgi?id=141289&action=edit
comparison with shadows

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

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

--- Comment #2 from Sven Arvidsson <[email protected]> --- System environment:
-- system architecture: 64-bit
-- Linux distribution: Debian unstable
-- GPU: TONGA
-- Model: Asus Strix R9 285 2GB
-- Display connector: DVI
-- xf86-video-amdgpu: 18.0.1
-- xserver: 1.20.1
-- mesa: 18.2.0~rc4
-- drm: 2.4.93
-- kernel: 4.17

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

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

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #3 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1325.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel