https://bugs.winehq.org/show_bug.cgi?id=39834
Bug ID: 39834 Summary: Just Cause 2 needs d3dx10_43.dll.D3DX10CreateDevice Product: Wine Version: 1.8 Hardware: x86 URL: http://store.steampowered.com/app/8190/ OS: Linux Status: NEW Severity: normal Priority: P2 Component: directx-d3dx10 Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com Distribution: ---
Created attachment 53175 --> https://bugs.winehq.org/attachment.cgi?id=53175 terminal output
With built-in d3dx10* the game crashes on start: wine: Unimplemented function d3dx10_43.dll.D3DX10CreateDevice called at address 0x7b839f0c (thread 0031), starting debugger...
When native d3dx10* is installed, the game still fails to start (displays a different error message related to Directx).
https://bugs.winehq.org/show_bug.cgi?id=39834
Adam Goode adam@spicenitz.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adam@spicenitz.org
https://bugs.winehq.org/show_bug.cgi?id=39834
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #1 from super_man@post.com --- I can confirm this.I was blocked by bug 38648, but I made a small change in source code so I was able to skip the block.
wine 1.9.1
https://bugs.winehq.org/show_bug.cgi?id=39834
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 54240 --> https://bugs.winehq.org/attachment.cgi?id=54240 patch
Hi, Béla.
Could you test this patch? Mostly to see if it's actually able to create a device.
https://bugs.winehq.org/show_bug.cgi?id=39834
--- Comment #3 from super_man@post.com --- The attached patch seem to help 3dmark vantage.
https://bugs.winehq.org/show_bug.cgi?id=39834
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |40487
https://bugs.winehq.org/show_bug.cgi?id=39834
--- Comment #4 from super_man@post.com --- Created attachment 54260 --> https://bugs.winehq.org/attachment.cgi?id=54260 1.9.8 with few patches
Most likely my shader level is incorrectly changed. It was a hack around a bug that blocked 3dmark vantage testing.
https://bugs.winehq.org/show_bug.cgi?id=39834
--- Comment #5 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 54275 --> https://bugs.winehq.org/attachment.cgi?id=54275 terminal output (patch applied)
(In reply to Nikolay Sivov from comment #2)
Created attachment 54240 [details] patch
Hi, Béla.
Could you test this patch? Mostly to see if it's actually able to create a device.
The game hits the next unimplemented function with the patch applied: d3dx10_43.dll.D3DX10GetFeatureLevel1
https://bugs.winehq.org/show_bug.cgi?id=39834
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=39834
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 54276 --> https://bugs.winehq.org/attachment.cgi?id=54276 patch2
Thanks for testing, attached a fix for D3DX10GetFeatureLevel1, let's see what else it needs.
https://bugs.winehq.org/show_bug.cgi?id=39834
--- Comment #7 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 54279 --> https://bugs.winehq.org/attachment.cgi?id=54279 terminal output (patch2 applied)
(In reply to Nikolay Sivov from comment #6)
Created attachment 54276 [details] patch2
Thanks for testing, attached a fix for D3DX10GetFeatureLevel1, let's see what else it needs.
Now the game shows an error message about some unknown Directx error and it crashes. Please see attached log.
https://bugs.winehq.org/show_bug.cgi?id=39834
--- Comment #8 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 54280 --> https://bugs.winehq.org/attachment.cgi?id=54280 terminal output with d3d11.dll disabled
Next, I disabled d3d11.dll in winecfg and received another crash. Any idea how to proceed?
https://bugs.winehq.org/show_bug.cgi?id=39834
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Béla Gyebrószki from comment #7)
Created attachment 54279 [details] terminal output (patch2 applied)
(In reply to Nikolay Sivov from comment #6)
Created attachment 54276 [details] patch2
Thanks for testing, attached a fix for D3DX10GetFeatureLevel1, let's see what else it needs.
Now the game shows an error message about some unknown Directx error and it crashes. Please see attached log.
That's a progress. Maybe that's a next problem:
--- fixme:dxgi:dxgi_swapchain_SetFullscreenState iface 0x1bdab8, fullscreen 0, target (nil) stub! ---
(In reply to Béla Gyebrószki from comment #8)
Created attachment 54280 [details] terminal output with d3d11.dll disabled
Next, I disabled d3d11.dll in winecfg and received another crash. Any idea how to proceed?
Disabling d3d11.dll causes a chain reaction, so d3d10core fails to load, then d3d10_1 fails, and finally d3dx10_43 fails too, because it depends on d3d10_1. So it's not useful for testing.
https://bugs.winehq.org/show_bug.cgi?id=39834
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com --- First one is in http://source.winehq.org/git/wine.git/?a=commit;h=8622cdac40471c9be4c26d1d12.... Let's resolve this when second one gets committed.
https://bugs.winehq.org/show_bug.cgi?id=39834
--- Comment #11 from Nikolay Sivov bunglehead@gmail.com --- Second one in http://source.winehq.org/git/wine.git/?a=commit;h=ef36a25aec33670cd2099e4bce.... I think it's better to close this report and open another.
https://bugs.winehq.org/show_bug.cgi?id=39834
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |ef36a25aec33670cd2099e4bce3 | |79bd6e2ac42a0 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #12 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Nikolay Sivov from comment #11)
Second one in http://source.winehq.org/git/wine.git/?a=commit; h=ef36a25aec33670cd2099e4bce379bd6e2ac42a0. I think it's better to close this report and open another.
Marking fixed. Thanks Nikolay for taking your time to look at this bug.
https://bugs.winehq.org/show_bug.cgi?id=39834
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.9.
https://bugs.winehq.org/show_bug.cgi?id=39834
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx10 |directx-d3d-util