In the latest builds of COD: Warzone, it seems that D3D12.1 is required. Forcing support allows me to get through the menus and in to the game but the rendering in the game is psychedelic. This I assume is either something not quite right in vkd3d or the missing support for ROVs and ConservativeRaterizationTier. Not sure which at the moment.
@dave-juicelabs Could you describe what you did to get the game running?
When I launch the game, there is just the "Run In Safe Mode?" question, then the game exits.
Maybe additional vkd3d logs could help the devs?
Outdated and the game won't work because of the anti cheat anyway.
proton 2.0x1 2020-11
I did some digging with CoD Warzone. All findings should also apply to Modern Warfare because it's the same engine and the executable and process is even called ModernWarfare. I don't own that however. The testing was done on Windows with VKD3D-Proton 2.0.
It crashes on a black screen before the main menu. This seems to be caused by an issue around ref counting or object lifetimes.
If I never destroy the device in
d3d12_device_Release, it gets into the main menu, renders a mouse cursor and I start hearing music.The instance seems to be the problem. Commenting out
vkd3d_instance_decrefind3d12_device_destroy, is enough to make it work.At that point I encounter a bunch of validation errors:
I only managed to dump one of the problematic shaders.
warzone_shaders.zip