doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
12.97k stars 832 forks source link

Project Cars 2 demo has black screen then crashes #292

Closed ZeroFault closed 6 years ago

ZeroFault commented 6 years ago

Project Cars 2 demo

The game starts with a black screen and crashes a short while later.

System information

Apitrace file(s)

apitrace

Log files

d3d11.log dxgi.log

vulkanlog.txt

There are 2 graphics pipelines not compiling.

doitsujin commented 6 years ago

While almost certainly doesn't cause the crash, there's a bug in my GenerateMips implementation. Guess I'll have to create and use render passes manually instead of relying on Vulkan's blitting.

The messages about format mismatches should be irrelevant, Final Fantasy XIV has that issue as well and seems to render properly on Nvidia (see #208).

doitsujin commented 6 years ago

Looking at your trace again it seems that either apitrace doesn't pick it up or something is really broken. The game never actually writes any data to its constant buffers for some reason, which is why nothing gets rendered.

ZeroFault commented 6 years ago

It's the apitrace that is broken and won't record it properly. The game itself on DXVK renders fine until I get to the map loading screen where it will crash near the end. So, I'm not sure how we are going to fix this without an apitrace.

empiredave commented 6 years ago

does dxvk 0.60 make a difference?

ZeroFault commented 6 years ago

Closing for duplicate issue https://github.com/doitsujin/dxvk/issues/375