protonscr

PROTOTYPE ™ missing shadows and weak other graphical effects

dxvkclosed d3d9
doitsujin/dxvk#4008 · opened 2024-05-18 by Mrblubb · updated 2024-11-23 · 22 comments · github
MMrblubb 2024-05-18 github

When using dxvk shadows, bloom and other graphical effects are missing/weakened/not rendered correctly

Untitled-1
Untitled-2
Untitled-3
Untitled-4
Untitled-5
Untitled-6

Software information

PROTOTYPE PC Max settings with emoose patch

System information

  • GPU: GTX 1060 6GB stock
  • CPU: FX 8350 stock
  • Driver: 546.17
  • Windows: Win 10 x64
  • DXVK version: 2.3.1

Apitrace file(s)

https://we.tl/t-Bu8NKoCMzb

Log files

prototypef_d3d9.log

KK0bin maintainer 2024-05-18 github
WWinterSnowfall 2024-05-18 github

@Mrblubb Out of curiosity, does dxgi.nvapiHack = False do anything for the missing shadows?

Edit: My bad, this is d3d9 game, so it wouldn't do anything anyway.

MMrblubb 2024-05-18 github

That happens on AMD cards and the fix provided in that makes shadows and some effects pixelated and not exactly accurate. With dxvk on nvidia it should render everything correctly

KK0bin maintainer 2024-05-18 github

image

Works fine when replaying the apitrace.

MMrblubb 2024-05-18 github

@Mrblubb Out of curiosity, does dxgi.nvapiHack = False do anything for the missing shadows?

didn't tried it I'll try
Edit: Tried enabling it but it's same. I think there's something else causing this.

MMrblubb 2024-05-18 github

@K0bin that's good! anyway it could render that way with only dxvk ?

KK0bin maintainer 2024-05-18 github

No, it's probably something that's baked into the apitrace.

MMrblubb 2024-05-18 github

Oh ok. Just tried with dgvoodoo and everything is rendered correctly there. But performance is not so good as dxvk

BBlisto91 2024-05-18 github

Does it look correct if you create a file called dxvk.conf next to the games exe and insert d3d9.supportDFFormats = False

MMrblubb 2024-05-18 github

Does it look correct if you create a file called dxvk.conf next to the games exe and insert d3d9.supportDFFormats = False

I'll try.

MMrblubb 2024-05-18 github

OMG! Absolutely Fantastic. Shadows work perfectly now. Bloom as well. I'm not sure about smoke though, as it still looks better in native d3d9. But finally the game runs perfect locked 60fps without any dips. It's incredible on PC. Thanks a lot guys 😄
vlcsnap-2024-05-18-19h20m51s733
vlcsnap-2024-05-18-19h21m01s573
vlcsnap-2024-05-18-19h23m32s419
vlcsnap-2024-05-18-19h22m39s310
vlcsnap-2024-05-18-19h21m58s932
vlcsnap-2024-05-18-19h21m49s659
vlcsnap-2024-05-18-19h21m35s326
vlcsnap-2024-05-18-19h21m12s752

BBlisto91 2024-05-18 github

Can you can get a couple of screenshots that better show the smoke difference between d3d9 and dxvk

MMrblubb 2024-05-18 github

Can you can get a couple of screenshots that better show the smoke difference between d3d9 and dxvk

Ok I'll make a good comparison.

MMrblubb 2024-05-18 github

Alright, its hard to get perfect one to one comparison given the scene is dynamic every time. So the density and transparency depends on it. I tried and got a close shot though
vlcsnap-2024-05-18-19h47m07s599
vlcsnap-2024-05-18-19h45m37s228

BBlisto91 2024-05-18 github

I am not completely sure what i should look at as i am not sure i see a difference.
You could try to get a apitrace of just the smoke.

Or see if d3d9.floatEmulation = Strict makes a difference

MMrblubb 2024-05-18 github

Ok I'll try it & yeah it's pretty hard to notice sometimes. Smoke actually flickers when using mouse or pop-in pop-out or doesn't fade correctly. Hopefully this will fix it.

KK0bin maintainer 2024-05-18 github

I honestly don't see problem in the DXVK video clip.

WWinterSnowfall 2024-05-18 github

@Mrblubb The shadows should work fine with Nvidia on latest master now (in line with native drivers), without having to mess with any config options. To fix this on AMD and potentially also Intel, we'd still need a config option for the game though. I'll leave that to @Blisto91, since he has the game.

MMrblubb 2024-05-18 github

Wonderful! Thanks a million @WinterSnowfall @K0bin @Blisto91 & everyone in the team. The game is looking and performing better than ever. And yeah about the smoke quality I played some scenarios multiple times and it seems smoke pop-in with mouse moving is vanilla issue so its fine for now, if only I could find any other perceivable difference further.
Cheers guys! 😁

BBlisto91 2024-05-18 github

Thank you for a well made issue report.

DDebbir94 2024-11-23 github

Does it look correct if you create a file called dxvk.conf next to the games exe and insert d3d9.supportDFFormats = False

today 11/23/2024 its working on AMD 6700xt, now shows correctly.

Nothing extracted yet.