[Bug 43440] Just Cause 2 needs nvcuda.dll.cuD3D10GetDevice

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Oct 5 18:15:22 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=43440

--- Comment #6 from BieHDC <byi5000 at gmail.com> ---
Created attachment 59404
  --> https://bugs.winehq.org/attachment.cgi?id=59404
Stub for cuD3D10CtxCreate

Followup on this: https://dev.wine-staging.com/patches/201/
I have read you accepted my patch, thanks ;)
Michael noted that the game is now crashing if you have Bokeh and/or GPU water
simulation due to missing cuD3D10CtxCreate.
I first tried to copy the D3D9 behaviour which was unsuccessful, but letting it
return pcuGLCtxCreate() (see attachment) fixes the crash. GPU water is not
successfully simulated, but at least we have a stub and no crashes :)

Needs testing, works for Just Cause 2

PS: this hint "otherwise we could use cuGLGetDevices" got me to the solution

-- 
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