OpenGL API-trace to trigger AMD-GPU crash ERROR ring gfx timeout
Tested on AMD 560 and AMD Vega 8 - crash 100%. Tested on proprietary and opensource drivers Linux/Windows.
Not tested on RDNA - no idea if this crash happening there.
Steps to reproduce:
Download this my trace - https://danilw.github.io/GLSL-howto/amd_ogl_trace_bug.zip
extract amd_ogl.trace
Download apitrace - https://github.com/apitrace/apitrace/releases/tag/11.1
Under Linux you can just use wine - to launch downloaded windows build of apitrace
or:
git clone --recurse-submodules https://github.com/apitrace/apitrace
cd apitrace
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release
make -C build
For Wine:
Copy amd_ogl.trace
from amd_ogl_trace_bug.zip
to location apitrace-11.1-win64/bin
and wine apitrace.exe replay amd_ogl.trace
Native apitrace:
Copy amd_ogl.trace
to build
folder where build apitrace.
cd build
./apitrace replay amd_ogl.trace
I have crash with this api-trace.