protonscr

Crysis 3 loads up to menu loading new game crashes..

dxvkclosed feature setd3d11
doitsujin/dxvk#53 · opened 2018-02-02 by oscarbg · updated 2018-03-10 · 8 comments · github
Ooscarbg 2018-02-02 github

interesting because I see needs DeferredContext & command lists..
I see lots of:
err: D3D11DeferredContext::FinishCommandList: Not implemented
err: D3D11DeviceContext::CopySubresourceRegion: Buffers not supported

System information

Log files

Crysis3_dxgi.log

Ooscarbg 2018-03-04 github

Ok updating now that D3D11DeferredContext::FinishCommandList is implemented..
@doitsujin seems DXVK is very near to run Crysis 3
at least from log only error is:
err: D3D11DeviceContext::RestoreState: Not implemented

Crysis3_d3d11.log
Crysis3_dxgi.log

Ddoitsujin maintainer 2018-03-04 github

Seems to be a theme in CryEngine games, they use Deferred Contexts a lot and rely on a feature that Microsoft themselves recommend not to use. Same thing in Kingdom Come: Deliverance.

Ppingubot 2018-03-04 github

I also tried Crysis 3 on my rig today:

GPU: Nvidia GTX 970
Driver: 390.25
Wine version: win-staging 2.21
DXVK version: up to 52f6ba1

I can start the game and also start the tutorial which displays broken graphics.

i notice the same in error in the log and in addition the following warning is spammed:

warn: D3D11Device::QueryInterface: Unknown interface query
warn: d56e2a4c-5127-8437-658a-98c5bb789498

d3d11.log:
Crysis3_d3d11.log

dxgi.log:
Crysis3_dxgi.log

thx

Ddoitsujin maintainer 2018-03-08 github

The warning is not a bug, it seems that the game uses some undocumented interface that might be part of some Windows driver (perhaps Nvidia, I think I've seen that exact same message pop up before in a different game).

Closing this for now because of #93, which seems to be the main blocker for this game.

Ppingubot 2018-03-10 github

@doitsujin : i tired right now with the latest build which could make crysis 3 work and i don't see errors regarding missing features in the logs anymore. But sadly instead of displaying broken graphics the tutorial does not load at all anymore, it somehow crashes/freezes during the mission load.

I enabled the debug and also logging level trace, what i see on the console shortly before the game freezes is this:

DS(ERROR): object: 0xffffffffdd02efb4 type: 6 location: 1987 msgCode: 408944663: vkCmdClearAttachments(): This call must be issued inside an active render pass. The spec valid usage text states 'This command must only be called inside of a render pass instance' (https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#VUID-vkCmdClearAttachments-renderpass)
fixme:faultrep:ReportFault 0x19e0e098 0x0 stub

Full logs attached. Also tried to optimize shaders, didn't change anything.

Crysis3_dxgi.log
Crysis3_d3d11.log

Ooscarbg 2018-03-10 github

Also I tested up to lastest commit today: similarly on Windows upon loading a saved games crashes (might be same error as Linux) on both Nv and AMD GPUs..

Ddoitsujin maintainer 2018-03-10 github

@pingubot please open a new issue for that, this issue is independent of the old deferred context issue and affects multiple Cryengine games (like Kingdom Come: Deliverance). It causes crashes on Nvidia and possibly AMDVLK (or their Windows driver) driver as well (which, btw, is not supported).

Ppingubot 2018-03-10 github

@doitsujin : done.

Nothing extracted yet.