HansKristian-Work / vkd3d-proton

Fork of VKD3D. Development branches for Proton's Direct3D 12 implementation.
GNU Lesser General Public License v2.1
1.93k stars 202 forks source link

Battlefield V DXR effects not rendered #1969

Open vlasta-labsky opened 7 months ago

vlasta-labsky commented 7 months ago

I noticed, that when I enable DXR in Battlefield V, reflections are not rendered at all. With DXR disabled, screen space reflections works just right.

Software information

Running the game with VKD3D_CONFIG=vk_debug VKD3D_DEBUG=warn VKD3D_SHADER_DEBUG=warn DXVK_ENABLE_NVAPI=1 wine64 bfv.exe

When I looked at the log, there is lot of d3d12_command_list_update_raygen_pipeline: Global root signature compatible with the RTPSO. and d3d12_command_list_DispatchRays: Failed to update raygen state, ignoring dispatch.

With shader debug enabled, i get 45MB log only to lobby screen, filled with errors like this 1404.301:0020:0140:warn:vkd3d-proton:parse_dxbc: Ignoring DXBC checksum. 1404.301:0020:0140:warn:vkd3d-proton:skip_dword_unknown: Skipping 4 unknown DWORDs: 1404.301:0020:0140:warn:vkd3d-proton:skip_dword_unknown: 0x052f528a 1404.301:0020:0140:warn:vkd3d-proton:skip_dword_unknown: 0x82963b4b 1404.301:0020:0140:warn:vkd3d-proton:skip_dword_unknown: 0x2e359d5b 1404.301:0020:0140:warn:vkd3d-proton:skip_dword_unknown: 0x4e2add21 1404.301:0020:0140:warn:vkd3d-proton:skip_dword_unknown: Skipping 1 unknown DWORDs: 1404.301:0020:0140:warn:vkd3d-proton:skip_dword_unknown: 0x00000008 1404.301:0020:0140:warn:vkd3d-proton:parse_dxbc: Ignoring DXBC checksum. 1404.301:0020:0140:warn:vkd3d-proton:skip_dword_unknown: Skipping 4 unknown DWORDs: 1404.301:0020:0140:warn:vkd3d-proton:skip_dword_unknown: 0x052f528a 1404.301:0020:0140:warn:vkd3d-proton:skip_dword_unknown: 0x82963b4b 1404.301:0020:0140:warn:vkd3d-proton:skip_dword_unknown: 0x2e359d5b 1404.301:0020:0140:warn:vkd3d-proton:skip_dword_unknown: 0x4e2add21 1404.301:0020:0140:warn:vkd3d-proton:skip_dword_unknown: Skipping 1 unknown DWORDs: 1404.301:0020:0140:warn:vkd3d-proton:skip_dword_unknown: 0x00000008 1404.301:0020:0140:warn:vkd3d-proton:parse_dxbc: Ignoring DXBC checksum.

System information

Logs

Attached log without shader debug (file too big) battlefield-v-dxr.log

Blisto91 commented 7 months ago

How are you getting the game to run after the anti cheat update.

vlasta-labsky commented 7 months ago

How are you getting the game to run after the anti cheat update.

The same way all other games are played on linux after publisher screws up DRM or anti cheat. But it is not related to DXR implementation, I think.

Blisto91 commented 7 months ago

We do not support pirated versions of games here. I've made a note to check out the downgraded version of the game on Steam in single player.

jkrhu commented 7 months ago

https://github.com/HansKristian-Work/vkd3d-proton/issues/1794

shelterx commented 6 months ago

I'm kind of wondering how you managed to get it to run with DXR at all, because just days before the EA anticheat requirement it crashed with DXR enabled (Nvidia RTX 4070). As mentioned, it's been discussd in https://github.com/HansKristian-Work/vkd3d-proton/issues/1794 already. It's probably a game bug and the up to date version does not run under proton now, it's not worth wasting resources to fix this.