https://bugs.winehq.org/show_bug.cgi?id=51523
Bug ID: 51523 Summary: Batman Arkham Knight - crashes on unimplemented functions cuD3D11GetDevice and cuGraphicsD3D11RegisterResource Product: Wine-staging Version: 6.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: cybermax@dexter.no CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Created attachment 70364 --> https://bugs.winehq.org/attachment.cgi?id=70364 Implement cuD3D11GetDevice and cuGraphicsD3D11RegisterResource
I am attaching a patch that will implement a semi-stub for cuD3D11GetDevice and cuGraphicsD3D11RegisterResource in wine-staging.
Since wine does not have the nvapi/nvcuda libraries included this patch can currently ONLY be used for WINE-STAGING.
I tested this with: wine-staging-6.13 Steamclient run from wineprefix nVidia PhysX software 9.19 (latest). Batman Arkham Knight
Using the winetricks PhysX version - 9.14 - is too old to implement Interactive smoke/fog.
The included patch makes you able to enable "Interactive smoke/fog" and "Interactive paper debris".
Currently wine implementation of D3D11 is not working too well, even tho the smoke/paper worked fine. Using this together with DXVK and DXVK-NVAPI makes this work pretty good.
I have also tested this with Steam/Proton, but this requires an additional patch for the lib to load libcuda.so.1 instead of libcuda.so (Due to steam runtime-soldier). I will leave that patch out for now, as it might not be appropriate for wine-staging (although would still work).
https://bugs.winehq.org/show_bug.cgi?id=51523
--- Comment #1 from Sveinar Søpler cybermax@dexter.no --- Just for clarification - DXVK/DXVK-NVAPI is NOT needed for the implementation to work.
https://bugs.winehq.org/show_bug.cgi?id=51523
Esdras Tarsis esdrastarsis@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |esdrastarsis@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=51523
Sveinar Søpler cybermax@dexter.no changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Sveinar Søpler cybermax@dexter.no --- Resolved in wine-staging-6.14
https://bugs.winehq.org/show_bug.cgi?id=51523
Sveinar Søpler cybermax@dexter.no changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Sveinar Søpler cybermax@dexter.no --- Closed - Fixed in wine-staging-6.14
https://bugs.winehq.org/show_bug.cgi?id=51523
--- Comment #4 from Zebediah Figura z.figura12@gmail.com --- (In reply to Sveinar Søpler from comment #3)
Closed - Fixed in wine-staging-6.14
In the future please don't close your own bugs; they will be closed by the maintainer on a release.