Control: reassign -1 mesa-vulkan-drivers 26.2.6-1
Control: retitle -1 mesa-vulkan-drivers: lavapipe swapchain-resize race makes otpclient crash when resizing its window
Control: affects -1 otpclient
According to Mistral AI (short answer):
The crash is in Mesa's lavapipe (the software Vulkan driver,
libvulkan_lvp.so), not in otpclient itself. GTK4 (which otpclient
uses) tries its Vulkan renderer first; when no hardware Vulkan
device is usable it silently falls back to lavapipe, and lavapipe is
a known-fragile, explicitly non-conformant implementation that
segfaults on the swapchain-recreate path that GTK4 exercises when
you resize a window. The "X server running on host A" correlation is
real but misleading: what actually matters is whether you have an
active local logind session on host A, because that's what grants
you access to /dev/dri/renderD128.
I can confirm about /dev/dri/renderD128 with "getfacl /dev/dri/renderD128":
* Without a local X session active, I get in the output:
user:lightdm:rw-
* With a local X session active, I get in the output:
user:vlefevre:rw-
Mistral AI also gave me workarounds:
GSK_RENDERER=cairo otpclient
GSK_RENDERER=ngl otpclient
I confirm that they both work.
It also says:
"The real fix belongs in Mesa (lavapipe swapchain-resize race)".
Reassigning to mesa-vulkan-drivers (which provides libvulkan_lvp.so).
--
Vincent Lefèvre <vinc…@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)