[Bug 25171] Many DirectX10+ games need IDXGIAdapter::CheckInterfaceSupport method implementation

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jul 12 13:49:02 CDT 2014


http://bugs.winehq.org/show_bug.cgi?id=25171

Anastasius Focht <focht at 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 at 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/b0aa50969c29851666250f74ee35a635b2d4097e/RenderSystems/Direct3D11/src/OgreD3D11RenderSystem.cpp?at=default#cl-834

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

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