http://bugs.winehq.org/show_bug.cgi?id=25171
Summary: Just Cause 2 Steam DirectX error Code 2 Product: Wine Version: 1.3.7 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: directx-d3dx10 AssignedTo: wine-bugs@winehq.org ReportedBy: zdenek.styblik@gmail.com
Created an attachment (id=31931) --> (http://bugs.winehq.org/attachment.cgi?id=31931) wine output
What: --- Steam Just Cause 2 Demo
What doesn't work: --- Running the game
How to reproduce: --- Install game via Steam Set Windows version to 'Windows 7' via % winecfg; as the game requires it Run the game; which should result with error window:
~~~ SNIP ~~~ Fatal DirectX erorr! Code: 2 Result: 0x0: S_OK ~~~ SNIP ~~~
According to search this is related to DirectX and what not. With Wine-1.3.2 you get an empty error window.
Additional info: --- Game requires DirectX 10 capable hardware to run! Game requires DirectX 10 and better to run!
Test setup: --- Slackware64 nVidia GTX260 DX10 capable card Wine-1.3.7
http://bugs.winehq.org/show_bug.cgi?id=25171
3vi1 winehq.org@eternaldusk.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq.org@eternaldusk.com
--- Comment #1 from 3vi1 winehq.org@eternaldusk.com 2010-11-15 07:07:19 CST --- This one can be marked confirmed.
Given the current status of the DX10 implementation (http://www.winehq.org/site/status/directx), this is to be expected.
http://bugs.winehq.org/show_bug.cgi?id=25171
fakill fa.kill@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fa.kill@yahoo.com
--- Comment #2 from fakill fa.kill@yahoo.com 2012-06-09 03:58:15 CDT --- same problem here here is a screenshot (i'm using wine 1.5.5) http://bit.ly/JTlpR0
http://bugs.winehq.org/show_bug.cgi?id=25171
Luke Bratch l_bratch@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |l_bratch@yahoo.co.uk
http://bugs.winehq.org/show_bug.cgi?id=25171
--- Comment #3 from Josef Schlehofer pepe@bloodkings.eu --- Created attachment 46946 --> http://bugs.winehq.org/attachment.cgi?id=46946 unimplemented function msvcp110.dll
Still waiting for support! :-/
http://bugs.winehq.org/show_bug.cgi?id=25171
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|Just Cause 2 Steam DirectX |Just Cause 2 (Steam) fails |error Code 2 |to run, reports 'Fatal | |DirectX error! Code 2'
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello Josef,
your problem is bug 34925 Please don't mix different issues in one bug report.
Regards
http://bugs.winehq.org/show_bug.cgi?id=25171
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.goosev@gmail.com
--- Comment #5 from Ken Sharp imwellcushtymelike@gmail.com --- *** Bug 35844 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=25171
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Just Cause 2 (Steam) fails |dxgi.dll.dxgi_adapter_Check |to run, reports 'Fatal |InterfaceSupport too stubby |DirectX error! Code 2' |
http://bugs.winehq.org/show_bug.cgi?id=25171
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Severity|enhancement |minor
--- Comment #6 from Ken Sharp imwellcushtymelike@gmail.com --- Confirming.
http://bugs.winehq.org/show_bug.cgi?id=25171
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #7 from Jarkko K jarkko_korpi@hotmail.com --- http://source.winehq.org/git/wine.git/blob/f820d9723b2725d0fa8cc2012ed50a686...
Here is a guide, seems easy to do.
http://msdn.microsoft.com/en-us/library/windows/desktop/bb174524%28v=vs.85%2...
http://bugs.winehq.org/show_bug.cgi?id=25171
--- Comment #8 from Jarkko K jarkko_korpi@hotmail.com --- I just debugged this game, found this line related to the thread.
fixme:dxgi:dxgi_adapter_CheckInterfaceSupport iface 0x152c18, guid {9b7e4c0f-342c-4106-a19f-4f2704f689f0}, umd_version 0x33ea88 stub!
http://bugs.winehq.org/show_bug.cgi?id=25171
--- Comment #9 from Jarkko K jarkko_korpi@hotmail.com --- I made static HRESULT STDMETHODCALLTYPE dxgi_adapter_CheckInterfaceSupport
return S_OK
After that I couldn't see the error message mentioned here.
Then it complained about windows version, but I could skip that too when I changed windows version via winecfg into windows 7.
The next issue, which I tried to solve is
d3dx10_43.dll.D3DX10CreateDevice
I could see via debug that was next issue.
Overriding that .dll didn't bypass the problem.
I have the full game of just cause 2.
http://bugs.winehq.org/show_bug.cgi?id=25171
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx10 |directx-d3d Summary|dxgi.dll.dxgi_adapter_Check |Multiple games need |InterfaceSupport too stubby |dxgi.dll.dxgi_adapter_Check | |InterfaceSupport
http://bugs.winehq.org/show_bug.cgi?id=25171
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |store.steampowered.com/app/ | |35110 Summary|Multiple games need |Many DirectX10+ games need |dxgi.dll.dxgi_adapter_Check |IDXGIAdapter::CheckInterfac |InterfaceSupport |eSupport method | |implementation Severity|minor |normal
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello folks,
'Company of Heroes 2' also needs this and refuses to run further.
http://store.steampowered.com/app/231430/
--- snip --- ... 059:fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0080: stub! 0059:fixme:win:EnumDisplayDevicesW ((null),0,0x33d7a0,0x00000000), stub! 0059:fixme:dxgi:dxgi_adapter_CheckInterfaceSupport iface 0x18fd10, guid {9b7e4c0f-342c-4106-a19f-4f2704f689f0}, umd_version 0x33e088 stub! ...
Wine-dbg>bt Backtrace: =>0 0x7d97093a dxgi_adapter_CheckInterfaceSupport(iface=0x18fe30, guid=0x1a46660, umd_version=0x33e088) [/home/focht/projects/wine/wine.repo/src/dlls/dxgi/adapter.c:205] in dxgi (0x0033e348) 1 0x00d8c656 in reliccoh2 (+0x98c655) (0x0033e37c) 2 0x00ddd203 in reliccoh2 (+0x9dd202) (0x0033e400) 3 0x0875e8c8 (0x0875e8a8) 4 0x03c10128 (0x0875e880) 5 0x65666572 (0x506e6f4e)
Wine-dbg> 0x7d9709c2 dxgi_adapter_CheckInterfaceSupport+0x88 [/home/focht/projects/wine/wine.repo/src/dlls/dxgi/adapter.c:209] in dxgi: ret $0xc 209 } Wine-dbg> 0x00d8b1d6: testl %eax,%eax Wine-dbg> 0x00d8b1d8: js 0x00d8b933 --- snip ---
'{9b7e4c0f-342c-4106-a19f-4f2704f689f0}' -> IID_ID3D10Device
Some code from 'OGRE' Open Source 3D Graphics Engine on usage by clients:
https://bitbucket.org/sinbad/ogre/src/b0aa50969c29851666250f74ee35a635b2d409...
--- snip --- // We intentionally check for ID3D10Device support instead of ID3D11Device as CheckInterfaceSupport() is not supported for later. // We hope, that there would be one UMD for both D3D10 and D3D11, or two different but with the same version number, // or with different but correlated version numbers, so that blacklisting could be done with high confidence level. LARGE_INTEGER driverVersion; if(SUCCEEDED(pDXGIAdapter->CheckInterfaceSupport(IID_ID3D10Device /* intentionally D3D10, not D3D11 */, &driverVersion))) { mDriverVersion.major = HIWORD(driverVersion.HighPart); mDriverVersion.minor = LOWORD(driverVersion.HighPart); mDriverVersion.release = HIWORD(driverVersion.LowPart); mDriverVersion.build = LOWORD(driverVersion.LowPart); } --- snip ---
$ wine --version wine-1.7.22
Regards
https://bugs.winehq.org/show_bug.cgi?id=25171
John the.ideals@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |the.ideals@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=25171
Adam Bolte abolte@systemsaviour.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |abolte@systemsaviour.com
https://bugs.winehq.org/show_bug.cgi?id=25171
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |superrobowizard@gmail.com
--- Comment #11 from Ken Sharp imwellcushtymelike@gmail.com --- *** Bug 38798 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=25171
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |895c5f8234813d2b445376aa73e | |1fc93b5061b0b Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #12 from Andrey Gusev andrey.goosev@gmail.com --- Fixed by commit 895c5f8234813d2b445376aa73e1fc93b5061b0b
https://bugs.winehq.org/show_bug.cgi?id=25171
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.7.53.