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
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.
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
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.
@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.
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..
@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).
@doitsujin : done.
Nothing extracted yet.
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
d3d11.log:
Crysis3_d3d11.log
dxgi.log:
Crysis3_dxgi.log