2 Replies Latest reply on Jul 26, 2018 11:50 AM by kd-11

    TDR reset or driver crash on vkResetFences; only affects older GCN

    kd-11

      While investigating several reports of older GCN cards crashing without throwing an error when running rpcs3, I found the cause to be a call to vkResetFences. The status of the fence is checked first and if its not ready a wait with infinite timeout is done before attempting to reset the fence. A workaround is to discard fences after use and create a new fence instead which fixes the issue. There is no output from the debug layers when this crash happens, the display just hangs and the display system resets the adapter.

      Video cards reported to show this problem so far include:

      R9 270X

      R9 280X

      R7 260X

       

      [EDIT]

      On windows 7, the display resets, on windows 10 the driver hard crashes with a violation in amdvlk dll. Title changed to reflect this information.

       

      A quick google search shows the Doom demo has a (similar?) bug but the issue seems to have been ignored as the full game works fine. That issue is here Doom Not Loading - 7850 17.12.2

       

      There are several seemingly random bugs when using the AMD proprietary driver such as primitive restart seemingly not working properly when using vulkan (crashes and garbage graphics depending on hardware), and we have workarounds for those as well. Most reports I have here have not had replies but given that another application can probably recreate this problem, I figured its worth a shot.