[Bug 41636] Multiple DirectX 11 games need ID3D11Device1::CreateDeferredContext1 implementation (WWE 2K15, Dishonored: Death of the Outsider, Pro Evolution Soccer 2019, Shantae and the Pirate's Curse, Space Engineers)

WineHQ Bugzilla wine-bugs at winehq.org
Mon May 4 12:05:05 CDT 2020


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
          Component|-unknown                    |directx-d3d
            Summary|WWE 2K15 fails to launch    |Multiple DirectX 11 games
                   |dx10/11 game                |need
                   |                            |ID3D11Device1::CreateDeferr
                   |                            |edContext1 implementation
                   |                            |(WWE 2K15, Dishonored:
                   |                            |Death of the Outsider, Pro
                   |                            |Evolution Soccer 2019,
                   |                            |Shantae and the Pirate's
                   |                            |Curse, Space Engineers)
             Status|UNCONFIRMED                 |NEW
                 CC|                            |focht at gmx.net

--- Comment #4 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming and refining this ticket to be a dupe collector for affected games.

Adding 'Space Engineers' v1.194 (.NET Framework 4.6.x) here as well.

https://store.steampowered.com/app/244850

Trace log:

--- snip ---
$ pwd
/home/focht/wine-games/wineprefix64-steam/drive_c/Program Files (x86)/Steam

$  WINEDEBUG=+seh,+relay,+d3d,+dxgi,+loaddll,+process wine ./steam.exe
-no-cef-sandbox -applaunch 244850  >> log.txt 2>&1
...
049c:fixme:d3d11:d3d11_device_CreateDeferredContext iface 000000001FA39D40,
flags 0, context 000000001EF1E3A0 stub!
049c:Call KERNEL32.GetLastError() ret=02de0af2
049c:Ret  KERNEL32.GetLastError() retval=00000000 ret=02de0af2
049c:Call KERNEL32.FlushInstructionCache(ffffffffffffffff,27947a80,00000008)
ret=02de21b0
049c:Call ntdll.NtFlushInstructionCache(ffffffffffffffff,27947a80,00000008)
ret=7b037ffb
049c:Ret  ntdll.NtFlushInstructionCache() retval=00000000 ret=7b037ffb
049c:Ret  KERNEL32.FlushInstructionCache() retval=00000001 ret=02de21b0
...
049c:Call
KERNEL32.FormatMessageW(00001300,00000000,ffffffff80004001,00000000,1ef1e218,00000000,00000000)
ret=27cf7b68
049c:Ret  KERNEL32.FormatMessageW() retval=00000000 ret=27cf7b68
049c:Call KERNEL32.GetLastError() ret=02de0af2
049c:Ret  KERNEL32.GetLastError() retval=0000013d ret=02de0af2
...
049c:Call KERNEL32.RaiseException(e0434352,00000001,00000005,1ef1e0d8)
ret=02f7043a
049c:Call ntdll.memcpy(1ef1df48,1ef1e0d8,00000028) ret=7b00f656
049c:Ret  ntdll.memcpy() retval=1ef1df48 ret=7b00f656
049c:trace:seh:raise_exception code=e0434352 flags=1 addr=0x7b00f665
ip=7b00f665 tid=049c
049c:trace:seh:raise_exception  info[0]=ffffffff80004001
049c:trace:seh:raise_exception  info[1]=0000000000000000
049c:trace:seh:raise_exception  info[2]=0000000000000000
049c:trace:seh:raise_exception  info[3]=0000000000000000
049c:trace:seh:raise_exception  info[4]=0000000002dd0000
049c:trace:seh:raise_exception  rax=000000001ef1df48 rbx=0000000000000001
rcx=000000001ef1df28 rdx=0000000000000036
049c:trace:seh:raise_exception  rsi=0000000000000005 rdi=000000001ef1dff0
rbp=000000001ef1e028 rsp=000000001ef1df00
049c:trace:seh:raise_exception   r8=0000000000000000  r9=000000001ef1d700
r10=0000000000000000 r11=0000000000000000
049c:trace:seh:raise_exception  r12=0000000000004000 r13=000000001ef1ecd0
r14=00000000e0434352 r15=000000000487cbb8
049c:trace:seh:call_vectored_handlers calling handler at 0x2f72c80
code=e0434352 flags=1
049c:Call KERNEL32.GetLastError() ret=02f72cbf
049c:Ret  KERNEL32.GetLastError() retval=0000013d ret=02f72cbf 
...
049c:trace:seh:raise_exception code=c0000005 flags=0 addr=0x643f841b9bd
ip=643f841b9bd tid=049c
049c:trace:seh:raise_exception  info[0]=0000000000000000
049c:trace:seh:raise_exception  info[1]=0000000000000000
049c:trace:seh:raise_exception  rax=00000000230788f8 rbx=000000000411d6f8
rcx=0000000000000000 rdx=000000001fa54d70
049c:trace:seh:raise_exception  rsi=00000000045f6c80 rdi=0000000004ba2e08
rbp=000000001ef1e610 rsp=000000001ef1e5c0
049c:trace:seh:raise_exception   r8=000000001ef1da68  r9=000000001ef1d0b1
r10=0000000000000008 r11=000000001ef1e5a0
049c:trace:seh:raise_exception  r12=0000000000000000 r13=000000001ef1ecd0
r14=000000000487cc18 r15=000000000487cbb8
049c:trace:seh:call_vectored_handlers calling handler at 0x2f72c80
code=c0000005 flags=0 
--- snip ---

Game log:

--- snip ---
...
2020-05-04 18:44:53.045 - Thread:   1 ->  Log Started
2020-05-04 18:44:53.045 - Thread:   1 ->  Timezone (local - UTC): 2h
2020-05-04 18:44:53.045 - Thread:   1 ->  App Version: Version unknown
2020-05-04 18:44:53.045 - Thread:   1 ->  VRage renderer started
2020-05-04 18:44:53.891 - Thread:   1 ->  MyRenderSettings1 = {
2020-05-04 18:44:53.892 - Thread:   1 ->     AntialiasingMode = FXAA
2020-05-04 18:44:53.892 - Thread:   1 ->     ShadowQuality = MEDIUM
2020-05-04 18:44:53.892 - Thread:   1 ->     ShadowGPUQuality = NORMAL
2020-05-04 18:44:53.892 - Thread:   1 ->     TextureQuality = MEDIUM
2020-05-04 18:44:53.892 - Thread:   1 ->     AnisotropicFiltering = NONE
2020-05-04 18:44:53.892 - Thread:   1 ->     HqDepth = True
2020-05-04 18:44:53.892 - Thread:   1 ->     GrassDrawDistance = 160
2020-05-04 18:44:53.892 - Thread:   1 ->     GrassDensityFactor = 1
2020-05-04 18:44:53.892 - Thread:   1 ->     AmbientOcclusionEnabled = True
2020-05-04 18:44:53.892 - Thread:   1 ->     ModelQuality = NORMAL
2020-05-04 18:44:53.893 - Thread:   1 ->     VoxelQuality = NORMAL
2020-05-04 18:44:53.893 - Thread:   1 ->     VoxelShaderQuality = NORMAL
2020-05-04 18:44:53.893 - Thread:   1 ->     AlphaMaskedShaderQuality = NORMAL
2020-05-04 18:44:53.893 - Thread:   1 ->     AtmosphereShaderQuality = NORMAL
2020-05-04 18:44:53.893 - Thread:   1 ->     DistanceFade = 1000
2020-05-04 18:44:53.893 - Thread:   1 ->  }
2020-05-04 18:44:54.973 - Thread:  21 ->  CreateDeviceInternal
2020-05-04 18:44:55.298 - Thread:  21 ->  MyRenderDeviceSettings = {
2020-05-04 18:44:55.298 - Thread:  21 ->     Adapter id = 0
2020-05-04 18:44:55.298 - Thread:  21 ->     DXGIAdapter id = 0
2020-05-04 18:44:55.299 - Thread:  21 ->     DXGIOutput id = 0
2020-05-04 18:44:55.299 - Thread:  21 ->     Resolution = 1920 x 1080
2020-05-04 18:44:55.299 - Thread:  21 ->     Window mode = FullscreenWindow
2020-05-04 18:44:55.300 - Thread:  21 ->  }
2020-05-04 18:44:55.300 - Thread:  21 ->  CreateDeviceInternal InitDebugOutput
2020-05-04 18:44:55.300 - Thread:  21 ->  CreateDeviceInternal RC Dispose
2020-05-04 18:44:55.300 - Thread:  21 ->  CreateDeviceInternal RC Create
2020-05-04 18:44:55.310 - Thread:  21 ->  Device Context change
2020-05-04 18:44:55.310 - Thread:  21 ->  CreateDeviceInternal RC Initialize
2020-05-04 18:44:55.353 - Thread:  21 ->  Warning: Annotations for render
context are not available
2020-05-04 18:44:55.354 - Thread:  21 ->  CreateDeviceInternal
m_initializedOnce (False)
2020-05-04 18:44:55.354 - Thread:  21 ->  CreateDeviceInternal m_initialized
(False)
2020-05-04 18:44:59.722 - Thread:  21 ->  CreateDevice failed: Regular
exception occurred
2020-05-04 18:44:59.739 - Thread:  21 ->     Exception occured:
SharpDX.SharpDXException: HRESULT: [0x80004001], Module: [General], ApiCode:
[E_NOTIMPL/Not implemented], Message: Unknown
   at SharpDX.Result.CheckError()
   at SharpDX.Direct3D11.Device.CreateDeferredContext(Int32 contextFlags,
DeviceContext deferredContextOut)
   at SharpDX.Direct3D11.DeviceContext..ctor(Device device)
   at VRage.Render11.RenderContext.MyRenderContext.Initialize(DeviceContext1
context)
   at VRage.Render11.Resources.MyDeferredRenderContextManager.OnDeviceInit()
   at VRage.Render11.Common.MyGeneralManager.OnDeviceInit()
   at VRageRender.MyRender11.InitSubsystems(Boolean initParallel)
   at VRageRender.MyRender11.CreateDeviceInternal(Nullable`1 settings)
   at VRageRender.MyRender11.CreateDeviceInternalSafe(Nullable`1 settings,
MyRenderExceptionEnum& exceptionType)
2020-05-04 18:44:59.739 - Thread:  21 ->  CreateDevice failed: Disposing Device
2020-05-04 18:44:59.840 - Thread:  21 ->  Log Closed
--- snip ---

Wine source:

https://source.winehq.org/git/wine.git/blob/d1f858e03da732c621504f90e349d5170ca3336e:/dlls/d3d11/device.c#l3716

--- snip ---
3716 static HRESULT STDMETHODCALLTYPE
d3d11_device_CreateDeferredContext1(ID3D11Device2 *iface, UINT flags,
3717         ID3D11DeviceContext1 **context)
3718 {
3719     FIXME("iface %p, flags %#x, context %p stub!\n", iface, flags,
context);
3720 
3721     return E_NOTIMPL;
3722 }
--- snip ---

$ wine --version
wine-5.7-170-gd1f858e03d

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