HansKristian-Work / vkd3d-proton

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

Assassin's Creed Valhalla - Failed to wait for fence #1845

Open IvanCharcos opened 8 months ago

IvanCharcos commented 8 months ago

Please describe your issue as accurately as possible. Include screenshots or videos if relevant

Software information

Lutris 0.5.13 DXVK 2.3 VKD3D 2.10 Wine-GE-8-22-x86_64

System information

OpenGL Renderer: Mesa Intel(R) Arc(tm) A770 Graphics (DG2)
OpenGL Version: 4.6 (Compatibility Profile) Mesa 24.1~git2401240600.fdf6b2~oibaf~j (git-fdf6b22 2024-01-24 jammy-oi
OpenGL Core:   4.6 (Core Profile) Mesa 24.1~git2401240600.fdf6b2~oibaf~j (git-fdf6b22 2024-01-24 jammy-oibaf-ppa)
OpenGL ES:  OpenGL ES 3.2 Mesa 24.1~git2401240600.fdf6b2~oibaf~j (git-fdf6b22 2024-01-24 jammy-oibaf-ppa)
Vulkan Version:  1.3.204
Vulkan Drivers:  Intel(R) Arc(tm) A770 Graphics (DG2) (1.3.274)

Log files

12303.616:0630:0728:err:vkd3d-proton:dxgi_vk_swap_chain_wait_and_reset_acquire_fence: Failed to wait for fence, vr -4
12303.616:0630:0728:err:vkd3d-proton:dxgi_vk_swap_chain_submit_blit: Failed to wait for fence, vr -4
12303.616:0630:0728:err:vkd3d-proton:dxgi_vk_swap_chain_present_signal_blit_semaphore: Failed to submit present discard, vr = -4.
12303.616:0630:0728:err:vkd3d-proton:d3d12_command_queue_signal: Failed to submit signal operation, vr -4.
12303.616:0630:0728:err:vkd3d-proton:d3d12_command_queue_signal: Failed to submit signal operation, vr -4.
12303.616:0630:0724:err:vkd3d-proton:vkd3d_wait_for_gpu_timeline_semaphore: Failed to wait for Vulkan timeline semaphore, vr -4.
12303.616:0630:0728:err:vkd3d-proton:d3d12_command_queue_execute: Failed to submit queue(s), vr -4.
12303.616:0630:0724:err:vkd3d-proton:vkd3d_wait_for_gpu_timeline_semaphore: Failed to wait for Vulkan timeline semaphore, vr -4.
12303.616:0630:0728:err:vkd3d-proton:d3d12_command_queue_signal: Failed to submit signal operation, vr -4.
12303.616:0630:0728:err:vkd3d-proton:dxgi_vk_swap_chain_submit_blit: Failed to wait for fence, vr -4
12303.616:0630:0728:err:vkd3d-proton:dxgi_vk_swap_chain_present_signal_blit_semaphore: Failed to submit present discard, vr = -4.
12303.616:0630:0728:err:vkd3d-proton:d3d12_command_queue_signal: Failed to submit signal operation, vr -4.
12303.616:0630:0728:err:vkd3d-proton:d3d12_command_queue_signal: Failed to submit signal operation, vr -4.
12303.616:0630:0728:err:vkd3d-proton:d3d12_command_queue_execute: Failed to submit queue(s), vr -4.
12303.616:0630:0728:err:vkd3d-proton:d3d12_command_queue_signal: Failed to submit signal operation, vr -4.
12303.616:0630:0728:err:vkd3d-proton:dxgi_vk_swap_chain_submit_blit: Failed to wait for fence, vr -4
12303.616:0630:0728:err:vkd3d-proton:dxgi_vk_swap_chain_present_signal_blit_semaphore: Failed to submit present discard, vr = -4.
12303.616:0630:0728:err:vkd3d-proton:d3d12_command_queue_signal: Failed to submit signal operation, vr -4.

game.log

HansKristian-Work commented 8 months ago

OpenGL Renderer: Mesa Intel(R) Arc(tm) A770 Graphics (DG2)

Almost certainly a driver bug. vr -4 is DEVICE_LOST.

arekkulczycki commented 4 months ago

I'm getting the same issue with A770 GPU, latest mesa-git 24.2, linux kernel 6.9 and "xe" driver (that supposedly should work with directX 12) set in place of i915.

My error logs are identical as above with Proton 8, but version 9 and experimental say: Failed to wait for Vulkan timeline semaphore, vr -4

@HansKristian-Work Do you suggest, saying it's a driver bug, that the bug is likely in the kernel or rather in mesa vulkan stuff? I would like to report the error further, however I'm unsure where to, as I understand next to nothing from how the GPU is handled.

PS: Also while the game is still running I get a lot of warnings like d3d12_pipeline_library_load_pipeline: Pipeline "..." does not exist I don't know if that hints at another problem, feel free to share your thoughts :pray:

stereomato commented 3 months ago

You should report your bug, @arekkulczycki on the mesa gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/

I had reported this bug (OP's) since I hit it as well. https://gitlab.freedesktop.org/mesa/mesa/-/issues/10519