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 <firstname.lastname@example.org>
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 <email@example.com>
Reviewed-by: Timothy Arceri <firstname.lastname@example.org>
Cc: "13.0" <email@example.com>
Link Mauve confirmed on IRC.
on Mar 27, 2017 at 06:42:49.
(provided by the Example extension).