Created attachment 126950 [details]
Backtrace from gdb
on an up to date ArchLinux
Steps to reproduce:
- Set Dolphin to use its Vulkan backend.
- Play any game.
- Exit Dolphin.
- Start Dolphin again, when starting a game it will crash with this backtrace.
Created attachment 127038 [details]
End of a Valgrind trace of a Dolphin process, stopped with ^C
This problem actually occurs only when Dolphin is using its shader/pipeline cache. Whenever I nuke my $XDG_CACHE_HOME/dolphin-emu/Shaders I’ll be able to run the game just fine.
I just came across a similar looking issue in the pipeline cache today. I just sent 4 patches to the list to fix it. You can find it all in this branch:
Mind test it out?
This is fixed by the following commit:
Author: Jason Ekstrand <email@example.com>
Date: Tue Nov 1 15:10:29 2016 -0700
anv/pipeline: Properly cache prog_data::param
Before we were caching the prog data but we weren't doing anything with
brw_stage_prog_data::param so anything with push constants wasn't getting
cached properly. This commit fixes that.
Signed-off-by: Jason Ekstrand <firstname.lastname@example.org>
Reviewed-by: Timothy Arceri <email@example.com>
Cc: "13.0" <firstname.lastname@example.org>
Link Mauve confirmed on IRC.