vkd3d-proton icon indicating copy to clipboard operation
vkd3d-proton copied to clipboard

Spider-Man: Water rendering is broken

Open K0bin opened this issue 2 years ago • 11 comments

Water rendering is broken. It happens regardless of the RT reflection setting.

20220813172724_1 20220813172844_1

It only seems to happen at the docks in Hell's Kitchen: 20220813215610_1

Looks like another issue with a depth prepass, unfortunately I couldn't run the game with Renderdoc.

Nvidia RTX 3090, 515.65.01 Proton Experimental (as of the 13th of August), shipping d00d035321c9f817e058985e32fe6876ba746de6 It does not happen on my SteamDeck.

K0bin avatar Aug 13 '22 15:08 K0bin

20220822161125_1

K0bin avatar Aug 22 '22 14:08 K0bin

Unfortunately this isn't 100% reproducible. I've had it happen multiple times but it doesn't happen every time I start the game. Might be related to the time of day.

K0bin avatar Aug 24 '22 13:08 K0bin

It happens at dusk. It's fine after initially loading into the game. Fast travelling triggers it.

Renderdoc works with the game after all (just needs no_upload_hvv to be usable) but unfortunately the bug doesn't occur with Renderdoc attached. .__.

K0bin avatar Aug 24 '22 21:08 K0bin

This also happened to me with a RTX 2070 with Driver version: 515.43.04

FSKiller avatar Aug 25 '22 19:08 FSKiller

So this is an NV exclusive bug?

just needs no_upload_hvv to be usable

Does it reproduce with just no_upload_hvv?

HansKristian-Work avatar Aug 29 '22 09:08 HansKristian-Work

I think it is NV exclusive and the bug itself is not impacted by no_upload_hvv.

I am however not sure whether this still happens after the latest patch.

K0bin avatar Aug 29 '22 10:08 K0bin

Nope this still occurs

halfmexican avatar Sep 07 '22 02:09 halfmexican

I've been testing this issue in this location during the day and it's not 100% reproducible even in the same time of day or location. I've managed to find out that having the launch option RADV_PERFTEST=sam and SAM enabled on my bios seems to push back the black reflection further to the point of being barely noticeable during the day time. Have not tested any other time of day and lighting is still odd. 20221029104711_1

Jaxseven avatar Oct 29 '22 15:10 Jaxseven

Wait, you can reproduce it on AMD GPUs?

K0bin avatar Oct 29 '22 21:10 K0bin

Yeah sorry, I guess I just jumped in. I'm running Nobara on my 6700 XT/5900x system. I didn't experience this before on my Manjaro so I'm try to track down the cause and got linked here.

Jaxseven avatar Oct 29 '22 21:10 Jaxseven

I've been facing this glitch in rendering water sometimes (rare, like 1 in 10 runs). This happens when I just finish a mission and go to the shore to see ocean. Just a quit to main menu and go back in would fix it though.

Using High Preset in game, running at 1080p with DLSS. Screen resolution (in System Settings) is 4k. Using Proton GE 7-38 with patched vkd3d-2.7-proton.

Kernel is 6.0.5-1-MANJARO. NVIDIA Driver version is 520.56.06.

CPU is 11th Gen Intel i5-11400H (12) @ 4.500 GHz
GPU is NVIDIA GeForce RTX 3060 Mobile / Max-Q
RAM is 16GB DDR4

Running two SSDs (Btrfs) with OS on one SSD and Home partition on secondary one
Both are NVME M.2 SSDs (500GB and 1TB respectively)
Running Manjaro (testing branch) with all packages up-to-date.

CPU goes arond 60-70°C while GPU goes to around 90°C.

Btw, not just in Hell's Kitchen, it happens on all shores for me. Will see if fast travel will affect this.

sriharshachilakapati avatar Oct 30 '22 15:10 sriharshachilakapati

Also happens in Miles Morales

RX 6600M - Mesa-git VKD3D-Proton-git Linux 6.0.9

The behaviour does change when you add VKD3D_CONFIG=no_upload_hvv to the launch options but the issue is still present

Images

Images 2 and 3 have VKD3D_CONFIG=no_upload_hvv applied

Trevonn avatar Nov 26 '22 17:11 Trevonn

What does no_upload_hvv do?

sriharshachilakapati avatar Nov 27 '22 07:11 sriharshachilakapati

It prevents VKD3D-Proton from putting D3D12_HEAP_UPLOAD buffers into CPU visible VRAM (resizable bar).

K0bin avatar Nov 27 '22 10:11 K0bin