protonscr

Warframe x64 misses D3D11DeferredContext::MapImage

dxvkclosed feature setd3d11
doitsujin/dxvk#198 · opened 2018-03-24 by NeroBurner · updated 2018-03-25 · 7 comments · github
1 matching comments, n / p to jump
NNeroBurner 2018-03-24 github

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

Ddoitsujin maintainer 2018-03-24 github

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

NNeroBurner 2018-03-24 github

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

AAltosk 2018-03-24 github

AC:Black flag also need mapimage as well

Ddoitsujin maintainer 2018-03-24 github

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

Ddoitsujin maintainer 2018-03-25 github

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

MMEXAHOTABOP 2018-03-25 github

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

Ddoitsujin maintainer 2018-03-25 github

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

DLLs

Error codes