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@winehq.org Reporter: madbyte@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/9c00af2bfe30e28d48f93f4c1b4c62c38b3e13...
Microsoft API Docs for "ID3DUserDefinedAnnotation": https://docs.microsoft.com/en-us/windows/win32/api/d3d11_1/nn-d3d11_1-id3dus...
"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-gist...
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
https://bugs.winehq.org/show_bug.cgi?id=52797
Lars Loe madbyte@tuta.io changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://store.steampowered. | |com/app/1637730/Crystal_Pro | |ject/ CC| |madbyte@tuta.io Distribution|--- |ArchLinux
https://bugs.winehq.org/show_bug.cgi?id=52797
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- If the problem is that Proton does not have this wined3d fix, it should be reported at Proton github issues, it does not belong in winehq bug tracker.
https://bugs.winehq.org/show_bug.cgi?id=52797
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3d-util |-unknown
https://bugs.winehq.org/show_bug.cgi?id=52797
--- Comment #2 from Lars Loe madbyte@tuta.io --- sorry, I'm not really able to interpret the wine source code, but I guess what you mean is that the code I linked in wine.git already fixes the issue?
I've just searched for the UserDefinedAnnotation methods in latest Proton and they indeed are missing, so I assume the fixes just need to be pulled into a future Proton release?
If so, this can be closed.
https://bugs.winehq.org/show_bug.cgi?id=52797
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE CC| |z.figura12@gmail.com Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Zeb Figura z.figura12@gmail.com --- (In reply to Lars Loe from comment #2)
I've just searched for the UserDefinedAnnotation methods in latest Proton and they indeed are missing, so I assume the fixes just need to be pulled into a future Proton release?
Correct.
*** This bug has been marked as a duplicate of bug 51354 ***
https://bugs.winehq.org/show_bug.cgi?id=52797
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing duplicate.