Floating point exception in libvulkan_intel.so
Hi,
I'm trying to run vulkan compute kernels on an intel integrated GPU. My system is Ubuntu 20.04. The output of lspci -k | grep -EA3 'VGA|3D|Display'
shows both my Nvidia and Intel GPU:
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Desktop 9 Series) (rev 02)
DeviceName: Onboard - Video
Subsystem: Dell UHD Graphics 630 (Desktop 9 Series)
Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation TU104GL [Quadro RTX 4000] (rev a1)
Subsystem: Dell TU104GL [Quadro RTX 4000]
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
However, if I run vulkaninfo
from the vulkan-tools package, I get the following error:
'DISPLAY' environment variable not set... skipping surface info
Floating point exception (core dumped)
I tried building Mesa and pointing vulkan to the new libvulkan_intel.so and I get this slightly more informative error:
'DISPLAY' environment variable not set... skipping surface info
vulkaninfo: ../src/intel/dev/gen_device_info.c:1084: update_from_topology: Assertion `n_subslices > 0' failed.
Aborted (core dumped)
I'm not sure if this is a bug in Mesa if I'm doing something wrong. Thanks in advance!
(@jekstrand mentioned he's interested in following this issue)