Code Monkey home page Code Monkey logo

Comments (8)

oscarbg avatar oscarbg commented on May 18, 2024 1

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

from dxvk.

doitsujin avatar doitsujin commented on May 18, 2024

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.

from dxvk.

pingubot avatar pingubot commented on May 18, 2024

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

from dxvk.

doitsujin avatar doitsujin commented on May 18, 2024

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.

from dxvk.

pingubot avatar pingubot commented on May 18, 2024

@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

from dxvk.

oscarbg avatar oscarbg commented on May 18, 2024

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

from dxvk.

doitsujin avatar doitsujin commented on May 18, 2024

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

from dxvk.

pingubot avatar pingubot commented on May 18, 2024

@doitsujin : done.

from dxvk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.