protonscr

Battlefield V - DXR broken on 2.11

vkd3dclosed
HansKristian-Work/vkd3d-proton#1794 · opened 2023-11-27 by jkrhu · updated 2024-03-30 · 8 comments · github
Jjkrhu 2023-11-27 github

Selecting DXR still crashes the game on Nvidia 545.29.06 driver using Proton Bleeding Edge.

Spams these two:

:warn:d3d12_resource_validate_texture_alignment: Invalid resource alignment 0x1000 (required 0x10000)

:warn:d3d12_resource_QueryInterface: {6b3b2502-6e51-45b3-90ee-9884265e8df3} not implemented, returning E_NOINTERFACE.

Software information

Battlefield V, DX12, NVAPI On, DXR On

System information

  • GPU: RTX 3060
  • Driver: 545.29.06
  • Wine version: Proton Experimental Bleeding Edge
  • VKD3D-Proton version: 2.11.0, build: eb4b411734f8de0

Log files

BFV-BleedingEdge-27-11-23.txt

HHansKristian-Work maintainer 2023-11-28 github

Known driver bug. It gets ingame on RADV.

Jjkrhu 2024-02-25 github

Tested BFV DXR on 550.54.14 and it's still broken. Just letting you know they haven't fixed it yet.

Have a new log file in case anyone wants to take a look, if anything changed.
BFV VKD3D-Proton LOG

Sshelterx 2024-03-11 github

NVRM: Xid (PCI:0000:01:00): 109, pid=1611048, name=GameLoop, Ch 00000080, errorString CTX SWITCH TIMEOUT, Info 0x38c080

Seems like the bug is still present in Vulkan dev 550.40.53 too.
Adding VKD3D_CONFIG=nodxr makes the game launch again at least, but of course RT is unavailable then.

HHansKristian-Work maintainer 2024-03-11 github

After further investigation, this is actually a game bug. The bug is near impossible to work around on our end, so this will likely stay broken indefinitely.

Sshelterx 2024-03-11 github

I assume it's an Nvidia specific game bug then. Otherwise RADV would crash too.

BBillli11 2024-03-11 github

It also crash on RADV.
It cause gpu page fault when launch with dx12 and dxr enabled with mesa-git and proton experimental [breeding-edge]

Mar 12 03:30:07 BILLLI-X570 kernel: umip: bfv.exe[10431] ip:147754efa sp:11da18: SGDT instruction cannot be used by applications.
Mar 12 03:30:07 BILLLI-X570 kernel: umip: bfv.exe[10431] ip:147754efa sp:11da18: For now, expensive software emulation returns the result.
Mar 12 03:30:08 BILLLI-X570 kernel: umip: bfv.exe[10431] ip:14d58bd74 sp:11d928: SGDT instruction cannot be used by applications.
Mar 12 03:30:08 BILLLI-X570 kernel: umip: bfv.exe[10431] ip:14d58bd74 sp:11d928: For now, expensive software emulation returns the result.
Mar 12 03:30:08 BILLLI-X570 kernel: umip: bfv.exe[10431] ip:14560f7c4 sp:11f518: SGDT instruction cannot be used by applications.
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:88 vmid:3 pasid:32788, for process bfv.exe pid 10431 thread Job1 pid 10701)
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:   in page starting at address 0x00000000ffff8000 from client 10
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x003012B1
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          Faulty UTCL2 client ID: SQC (inst) (0x9)
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          MORE_FAULTS: 0x1
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          WALKER_ERROR: 0x0
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          PERMISSION_FAULTS: 0xb
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          MAPPING_ERROR: 0x0
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          RW: 0x0
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:88 vmid:3 pasid:32788, for process bfv.exe pid 10431 thread Job1 pid 10701)
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:   in page starting at address 0x00000000ffff8000 from client 10
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00000000
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          Faulty UTCL2 client ID: CB/DB (0x0)
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          MORE_FAULTS: 0x0
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          WALKER_ERROR: 0x0
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          PERMISSION_FAULTS: 0x0
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          MAPPING_ERROR: 0x0
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          RW: 0x0
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:88 vmid:3 pasid:32788, for process bfv.exe pid 10431 thread Job1 pid 10701)
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:   in page starting at address 0x00000000ffff8000 from client 10
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00000000
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          Faulty UTCL2 client ID: CB/DB (0x0)
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          MORE_FAULTS: 0x0
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          WALKER_ERROR: 0x0
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          PERMISSION_FAULTS: 0x0
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          MAPPING_ERROR: 0x0
Mar 12 03:32:12 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          RW: 0x0
Mar 12 03:32:22 BILLLI-X570 kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, but soft recovered
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:88 vmid:3 pasid:32788, for process bfv.exe pid 10431 thread Job1 pid 10701)
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:   in page starting at address 0x00001800ffff8000 from client 10
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x003012B1
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          Faulty UTCL2 client ID: SQC (inst) (0x9)
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          MORE_FAULTS: 0x1
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          WALKER_ERROR: 0x0
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          PERMISSION_FAULTS: 0xb
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          MAPPING_ERROR: 0x0
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          RW: 0x0
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:88 vmid:3 pasid:32788, for process bfv.exe pid 10431 thread Job1 pid 10701)
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:   in page starting at address 0x00001800ffff8000 from client 10
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00000000
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          Faulty UTCL2 client ID: CB/DB (0x0)
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          MORE_FAULTS: 0x0
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          WALKER_ERROR: 0x0
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          PERMISSION_FAULTS: 0x0
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          MAPPING_ERROR: 0x0
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          RW: 0x0
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:88 vmid:3 pasid:32788, for process bfv.exe pid 10431 thread Job1 pid 10701)
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:   in page starting at address 0x00001800ffff8000 from client 10
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00000000
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          Faulty UTCL2 client ID: CB/DB (0x0)
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          MORE_FAULTS: 0x0
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          WALKER_ERROR: 0x0
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          PERMISSION_FAULTS: 0x0
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          MAPPING_ERROR: 0x0
Mar 12 03:32:22 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          RW: 0x0
Mar 12 03:32:32 BILLLI-X570 kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, but soft recovered
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:88 vmid:3 pasid:32788, for process bfv.exe pid 10431 thread Job1 pid 10701)
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:   in page starting at address 0x0000f000ffff8000 from client 10
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x003012B1
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          Faulty UTCL2 client ID: SQC (inst) (0x9)
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          MORE_FAULTS: 0x1
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          WALKER_ERROR: 0x0
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          PERMISSION_FAULTS: 0xb
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          MAPPING_ERROR: 0x0
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          RW: 0x0
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:88 vmid:3 pasid:32788, for process bfv.exe pid 10431 thread Job1 pid 10701)
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:   in page starting at address 0x0000f000ffff8000 from client 10
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00000000
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          Faulty UTCL2 client ID: CB/DB (0x0)
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          MORE_FAULTS: 0x0
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          WALKER_ERROR: 0x0
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          PERMISSION_FAULTS: 0x0
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          MAPPING_ERROR: 0x0
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          RW: 0x0
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:88 vmid:3 pasid:32788, for process bfv.exe pid 10431 thread Job1 pid 10701)
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:   in page starting at address 0x0000f000ffff8000 from client 10
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00000000
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          Faulty UTCL2 client ID: CB/DB (0x0)
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          MORE_FAULTS: 0x0
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          WALKER_ERROR: 0x0
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          PERMISSION_FAULTS: 0x0
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          MAPPING_ERROR: 0x0
Mar 12 03:32:32 BILLLI-X570 kernel: amdgpu 0000:34:00.0: amdgpu:          RW: 0x0

Setting VKD3D_CONFIG=nodxr work fine
steam-1238810.log.gz

BBillli11 2024-03-20 github

If this is the game bug that affect both radv and nvidia (Maybe intel too?) , and cannot workaround easily.

Would it better to add a quirks to disable dxr for bfv.exe?

We can still force enable it with VKD3D_CONFIG AFAIK.

Edit: Never mind, Steam Deck can run the game with dxr enable. Look like the radv problem only happen with RX7000 series.

Edit 2:"run" on steam deck. mostly sub 30 with dxr on, everything low, and 20% render resolution.

steamuserimages-a akamaihd

Jjkrhu 2024-03-30 github

BF V is getting EA Anticheat on April 3rd, which means the game will stop working on Proton. I will close this issue, as it's pointless to spend more time to get DXR running.

Proton versions

Launch options