Created attachment 144953 [details]
Running any Vulkan program which creates pipelines (vulkaninfo works, crash info from vkcube) triggers an assertion:
../src/amd/vulkan/radv_cs.h:45: radeon_set_config_reg_seq: Assertion `reg >= SI_CONTEXT_REG_OFFSET && reg < SI_CONFIG_REG_END' failed.
219d6939df8070bdc6e5054e71985a9d6d668da4 is the first bad commit
Author: Samuel Pitoiset <firstname.lastname@example.org>
Date: Fri Jul 12 11:12:57 2019 +0200
radv: add more assertions to make sure packets are correctly emitted
Signed-off-by: Samuel Pitoiset <email@example.com>
Reviewed-by: Bas Nieuwenhuizen <firstname.lastname@example.org>
GPU: 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM]
Kernel: 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19) x86_64 GNU/Linux
LLVM: 9.0 SVN revision 366059 from apt.llvm.org
No errors in dmesg
Commenting out the assert allows it to proceed and seems to work but I doubt it's the right thing.
This should probably be a release blocker.
Looks like one of the assert bounds was wrong,
should fix this. Please confirm whether it fixes the issue for you.
Confirmed, that fixes it for me.
Patch has landed, closing.