protonscr

[d3d11] GPU hang in Final Fantasy XV (Demo)

dxvkopen d3d11
doitsujin/dxvk#4727 · opened 2025-03-02 by mbriar · updated 2025-05-18 · 4 comments · github
Mmbriar 2025-03-02 github

This reddit post made me try it out: https://reddit.com/r/linux_gaming/comments/1j0fwjc/final_fantasy_xv_is_unplayable_on_linux/

FFXV seems to reliably hang the GPU if you alt+tab in and out a few times while in the open world. This happens with both RADV and AMDVLK. Using RADV_DEBUG=hang or having vulkan validation layers enabled seems to work around it, but there are no validation errors (note that Arch' VVL package seems broken at the moment and fails to load due to undefined symbols, i had to build it manually adding -D UPDATE_DEPS=ON to the cmake option in the PKGBUILD).

RADV prints this in the log:

radv/amdgpu: The CS has been cancelled because the context is lost. This context is innocent.
radv: GPUVM fault detected at address 0x800100050000.
GCVM_L2_PROTECTION_FAULT_STATUS: 0x401031
	 CLIENT_ID: (TCP) 0x8
	 MORE_FAULTS: 1
	 WALKER_ERROR: 0
	 PERMISSION_FAULTS: 3
	 MAPPING_ERROR: 0
	 RW: 0

However, the dmesg it looks like FFXV is causing the hang after all?

[11252.399596] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[11400.070709] rfkill: input handler disabled
[11582.356495] gmc_v10_0_process_interrupt: 15 callbacks suppressed
[11582.356498] amdgpu 0000:2f:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:4 pasid:32782)
[11582.356502] amdgpu 0000:2f:00.0: amdgpu:  in process ffxv_s.exe pid 18949 thread dxvk-submit pid 18961
[11582.356504] amdgpu 0000:2f:00.0: amdgpu:   in page starting at address 0x0000800100050000 from client 0x1b (UTCL2)
[11582.356507] amdgpu 0000:2f:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00401031
[11582.356509] amdgpu 0000:2f:00.0: amdgpu:      Faulty UTCL2 client ID: TCP (0x8)
[11582.356510] amdgpu 0000:2f:00.0: amdgpu:      MORE_FAULTS: 0x1
[11582.356512] amdgpu 0000:2f:00.0: amdgpu:      WALKER_ERROR: 0x0
[11582.356513] amdgpu 0000:2f:00.0: amdgpu:      PERMISSION_FAULTS: 0x3
[11582.356514] amdgpu 0000:2f:00.0: amdgpu:      MAPPING_ERROR: 0x0
[11582.356516] amdgpu 0000:2f:00.0: amdgpu:      RW: 0x0

I tried this on both KDE and gnome (wayland).

To reproduce, start a new game in the demo, skip cutscenes, run around in the open world for a bit and then alt+tab in and out a few times.

I realize this might not be a DXVK issue, but I'm unsure how to properly narrow this down, so maybe you can take a look?

Software information

FFXV Demo

System information

  • GPU: 6700XT
  • Driver: Mesa 25.0.99 (104857699)
  • Wine version: Experimental BE as of 02.03.25
  • DXVK version: Experimental BE as of 02.03.25

Apitrace file(s)

Log files

steam-671210.log

Ddoitsujin maintainer 2025-03-02 github

FWIW, I'm aware of the alt+tab hang but not sure what's causing it, and debugging this is a huge pain in the arse so I kinda gave up on it. At the time I wasn't able to get UMR dumps either, all I know is that it's not a recent regression and has been a thing since at least 2.4, if not earlier.

Mmbriar 2025-03-02 github

I know is that it's not a recent regression and has been a thing since at least 2.4, if not earlier.

The post on reddit mentioned that the problem apparently doesn't exist on "the Proton version that added support for the game", so I asked which one they mean exactly. Maybe i'll try to bisect this then starting with DXVK from that proton version.

Ddoitsujin maintainer 2025-03-02 github

Not sure how useful that is tbh, old DXVK versions tend to not build on current compilers and things have moved on a little in the past 6 or so years. I'd rather revisit this at some time when debug tools actually work, it's not an urgent issue anyway, users can throw gamescope at the problem for now.

IIndiTheo 2025-05-06 github

Happens to me in No Man's Sky in one specific place

Launch options