[Bug 52797] New: FNA3D_Driver D3D11 needs ID3DUserDefinedAnnotation (game "Crystal Project")
WineHQ Bugzilla
wine-bugs at winehq.org
Sun Apr 10 06:15:15 CDT 2022
https://bugs.winehq.org/show_bug.cgi?id=52797
Bug ID: 52797
Summary: FNA3D_Driver D3D11 needs ID3DUserDefinedAnnotation
(game "Crystal Project")
Product: Wine
Version: unspecified
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: directx-d3d-util
Assignee: wine-bugs at winehq.org
Reporter: madbyte at tuta.io
Distribution: ---
Created attachment 72177
--> https://bugs.winehq.org/attachment.cgi?id=72177
Generated using Proton 7.0 for the game "Crystal Project Demo"
Links
------
FNA:
https://github.com/FNA-XNA/FNA3D
Crystal Project (Steam):
https://store.steampowered.com/app/1637730/Crystal_Project/
There is a demo version available.
Proton issue page:
https://github.com/ValveSoftware/Proton/issues/5197#issuecomment-1092134636
Error check in FNA3D_Driver_D3D11 for "ID3DUserDefinedAnnotation":
https://github.com/FNA-XNA/FNA3D/blob/9c00af2bfe30e28d48f93f4c1b4c62c38b3e13a3/src/FNA3D_Driver_D3D11.c#L5213
Microsoft API Docs for "ID3DUserDefinedAnnotation":
https://docs.microsoft.com/en-us/windows/win32/api/d3d11_1/nn-d3d11_1-id3duserdefinedannotation
"ID3DUserDefinedAnnotation" methods in latest Wine.git source:
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/d3d11/device.c#l3182
Description
------------
FNA is a reimplementation of the Microsoft XNA Game Studio 4.0 Refresh
libraries.
The steam game "Crystal Project" crashes on start up due to the following error
message:
https://gist.github.com/MadByteDE/9c7a084743009b3455f9f67e1e228698#file-gistfile1-txt-L1287
I'm unable to launch the game with vanilla Wine because of DRM (init SteamAPI
failed) so the report is based on tests with latest Proton.
I tried launching the game with WINED3D and DXVK, both were not able to launch
the game.
Workarounds
------------
- Another user hinted that the issue can be circumvented by installing
Microsoft's d3dcompiler_47.dll into the game's prefix ie by using
protontricks/winetricks. I wasn't able to reproduce this.
- FNA also allows to switch to other drivers ie for OpenGL or Vulkan which seem
to work well with Wine/Proton.
System Info
------------
Distro: Arch Linux
Kernel: Linux 5.17.1-arch1-1
GPU: AMD Radeon 5700 XT
Driver: Mesa 22.0.1-3
CPU: AMD Ryzen 3600
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list