vkQuake icon indicating copy to clipboard operation
vkQuake copied to clipboard

vkWaitForFences failed

Open konstmonst opened this issue 10 years ago • 4 comments

Hi, I've got amdgpu-pro running on Arch Linux and have the following error: QUAKE ERROR: vkWaitForFences failed Here is my vulkaninfo: vkinfo.txt

konstmonst avatar Aug 01 '16 12:08 konstmonst

I managed to setup vkQuake in eclipse. The error happens at gl_vidsdl.c:1287.

konstmonst avatar Aug 01 '16 12:08 konstmonst

If I comment out vkWaitForFences and it works, but with horrible rendering artefacts. This seems like a general Problem with amdgpu-pro on linux. Here is a similar issue: https://github.com/ValveSoftware/Dota-2-Vulkan/issues/154

In the following patch I added GetVulkanErrorString() for better error messages and fixed a missing Linux header (for XGetXCBConnection). Here is the patch, I hope you will find it usefull:

error_handling.patch.txt

konstmonst avatar Aug 01 '16 13:08 konstmonst

That sounds like a driver issue.

Novum avatar Aug 01 '16 16:08 Novum

Just wanted to point out my potential solution found at https://github.com/ValveSoftware/Dota-2-Vulkan/issues/154 - this happened in Dota when using the upstream open source AMDGPU kernel driver on top of the AMDGPU-PRO userspace driver. If this is the same problem, using the AMD supplied AMDGPU-PRO kernel driver (which is included as the DKMS module) should resolve the issue.

ethan961 avatar Aug 08 '16 05:08 ethan961