Dxvk: Warframe x64 misses D3D11DeferredContext::MapImage

Created on 24 Mar 2018  路  7Comments  路  Source: doitsujin/dxvk

Software information

Warframe, started using Lutris. The launcher uses https://github.com/GloriousEggroll/warframe-linux

Using DXVK at startup (before any window appears) Warframe crashes

5.477 Sys [Info]: Resource load completed in one pass and 1.3s (inherited 9 of 1550), Frame peak: 217ms
5.495 Gfx [Info]: Creating dynamic texture: /Textures/DynamicTexture0
err:   D3D11DeferredContext::Map: Not implemented
5.497 Gfx [Warning]: D3DAssert: DeviceContext().Map(texData.mTexture, 0, D3D11_MAP_WRITE_DISCARD, 0, &mapped) returned 0x80004001

5.497 Error [Info]: Assertion Failure
Error [Debug]: Loaded unexpected version of dbghelp.dll from C:\windows\system32\dbghelp.dll

System information

  • GPU: GeForce GTX 780 Ti
  • Driver: 390.42.0
  • Wine version: wine-staging 3.4
  • DXVK version: 0.31 (binary release)

Apitrace file(s)

I was not able to generate a trace

wine apitrace.exe trace -v -a dxgi Warframe.x64.exe  -log:/Preprocessing.log -dx10:1 -dx11:1 -threadedworker:1 -cluster:public -language:en -fullscreen:0 
000b:fixme:winediag:start_process Wine Staging 3.4 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
info: did not find Z:\mnt\tux_data\Games\Lutris\warframe\drive_c\Program Files\Warframe\Downloaded\Public\..\wrappers\RelWithDebInfo\dxgitrace.dll
info: found Z:\mnt\tux_data\Games\Lutris\warframe\drive_c\Program Files\Warframe\Downloaded\Public\..\lib\wrappers\dxgitrace.dll
inject -D "Z:\mnt\tux_data\Games\Lutris\warframe\drive_c\Program Files\Warframe\Downloaded\Public\..\lib\wrappers\dxgitrace.dll" -- Warframe.x64.exe -log:/Preprocessing.log -dx10:1 -dx11:1 -threadedworker:1 -cluster:public -language:en -fullscreen:0
error: failed to execute inject
002f:fixme:kernelbase:AppPolicyGetProcessTerminationMethod 0xfffffffffffffffa, 0x23fd00

starting warframe without apitrace.exe works

wine Warframe.x64.exe  -log:/Preprocessing.log -dx10:1 -dx11:1 -threadedworker:1 -cluster:public -language:en -fullscreen:0

Log files

d3d11 feature set

Most helpful comment

Alright, thanks for the info, will bump priority for that function a bit.

All 7 comments

Please re-test with latest master where this method is supported (see #93).

tried with master dxvk-git 20180324.87d6fde-1

I got just a little further

5.377 Gfx [Info]: Creating dynamic texture: /Textures/DynamicTexture0
err:   D3D11DeferredContext::MapImage: Not implemented
5.380 Gfx [Warning]: D3DAssert: DeviceContext().Map(texData.mTexture, 0, D3D11_MAP_WRITE_DISCARD, 0, &mapped) returned 0x80004001

dxvk-crash-master.txt

updating the title

AC:Black flag also need mapimage as well

Alright, thanks for the info, will bump priority for that function a bit.

Please test with 675b1c5b8c682a4b1d335eee07ab9386c95dd7f2. Note that the image-specific code is mostly untested at the moment, will work on that later.

works thanks a lot

in game i have many lag spikes from 100 fps to 0.7 fps (mostly when enter in other room)
dxgi log https://gist.github.com/MEXAHOTABOP/7c9df6fad462d869881e9645537be854
d3d11 log https://gist.github.com/MEXAHOTABOP/017ac02b69a947b6c04c1ad0c528700a

even with lag spikes gameplay still much better then with wined3d

Stutter is probably caused by shader compilation, will try to address that at some point.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SveSop picture SveSop  路  133Comments

jarrard picture jarrard  路  58Comments

oscarbg picture oscarbg  路  51Comments

doitsujin picture doitsujin  路  89Comments

shmerl picture shmerl  路  90Comments