Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
oscarbg opened this issue Feb 2, 2018 · 8 comments
Closed

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

oscarbg opened this issue Feb 2, 2018 · 8 comments

Comments

@oscarbg
Copy link

oscarbg commented Feb 2, 2018

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

  • GPU: Vega 56
  • Driver: adrenalin 18.1.1
  • Wine version: none native win
  • DXVK version: up to 14d5054

Log files

Crysis3_dxgi.log

@oscarbg
Copy link
Author

oscarbg commented Mar 4, 2018

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

@doitsujin
Copy link
Owner

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.

@pingubot
Copy link
Contributor

pingubot commented Mar 4, 2018

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

@doitsujin
Copy link
Owner

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.

@pingubot
Copy link
Contributor

@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

@oscarbg
Copy link
Author

oscarbg commented Mar 10, 2018

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..

@doitsujin
Copy link
Owner

@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).

@pingubot
Copy link
Contributor

@doitsujin : done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants