Operating system: Ubuntu 18.04
Graphics card: AMD RX 460 & Intel HD 4000
Broken: blender-2.80-40412499433e-linux-glibc224-x86_64 up until latest nightly, blender-2.80-17c15798c35f-linux-glibc224-x86_64. It's worked in the past, before 40412..., but I'm not sure of the commit ID.
Short description of error
Blender crashes a few moments after hitting bake, the bake does start. The error message makes it seem like Blender is picking the wrong GPU driver. I am using the opensource AMDGPU driver not Gallium if I understand correctly, but there is a display plugged directly into each GPU.
DRI_PRIME is set to 1 in /etc/environment
Starting Blender with DRI_PRIME=0 launches Blender on the Intel GPU and the bake completes successfully.
Starting Blender with DRI_PRIME=1 (or not specifying it) launches Blender on the AMD GPU and the crash occurs with the error:
blender: ../src/gallium/drivers/radeonsi/si_descriptors.c:1489: si_desc_reset_buffer_offset: Assertion `old_buf_va <= old_desc_va' failed.
I wanted to see if I could get to the bottom of this myself, but I could not find that file. ¯\_(ツ)_/¯
Exact steps for others to reproduce the error
Add an iridescence volume and hit "Bake Indirect Lighting" on a system with multiple GPUs.