Bug#1007832: vulkaninfo,vkcube seg-faults on remote access.
Control: reassign 1007832 mesa 20.3.5-1
Further testing shows that this bug is related to mesa 20.3.5-1 (on
bullseye). Therefore, this bug should be assigned to the mesa package.
The issue goes away when a more recent version of mesa is compiled from
source and the resulting libGL.so is preloaded on the remote machine.
Then, vulkan-tools, vulkaninfo will not crash. This suggests the problem
is caused by libgl1 from mesa 20.3.5-1.
Most likely, libGL.so from libgl1 package is the culprit.
The test was successful test, when using using
mesa/22.1.5 (and later versions including 22.2.0)
libdrm/2.4.112 and llvm/13.0.1
and configuring mesa with the following options
-Degl=disabled \
-Dgles1=enabled \
-Dgles2=enabled \
-Dshared-glapi=enabled \
-Dglx=xlib \
-Dgallium-drivers=swrast \
-Dvulkan-drivers=intel,swrast \
-Dplatforms=x11 \
-Ddri3=enabled \
-Ddri-drivers="" \
-Dswr-arches=avx,avx2,skx \
-Dcpp_rtti=false \
The test is also successful when compiling mesa/22.2.0 with the
following configuration
-Dcpp_rtti=false \
-Ddri3=enabled \
-Ddri-drivers="" \
-Degl=disabled \
-Dgallium-drivers=swrast,virgl,svga,d3d12,zink,iris,crocus,i915 \
-Dgallium-xa=enabled \
-Dgles1=enabled \
-Dgles2=enabled \
-Dglx=xlib \
-Dosmesa=true \
-Dplatforms=x11 \
-Dshared-glapi=enabled \
-Dvulkan-drivers=intel,swrast,virtio-experimental,imagination-experimental \
Maybe this helps to bisect the issue.
Reply to: