cntools/libsurvive

mp_qrsolv: Assertion `isfinite(sdiag[i])' failed.

happysmash27 opened this issue · 2 comments

Describe the bug
When trying to run libsurvive, it crashes with survive-cli: /var/tmp/portage/xr-libs/libsurvive-1.01/work/libsurvive/redist/mpfit/mpfit.c:1656: mp_qrsolv: Assertion isfinite(sdiag[i])' failed.`.

Log

 % survive-cli
Info: Loaded drivers: GlobalSceneSolver, HTCVive
libusb: error [udev_hotplug_event] ignoring udev action change
Info: Adding tracked object HMD from HTC
Info: Device HMD has watchman FW version 1462663157 and FPGA version 262/0/0; named '                  steamservices'. Hardware id 0x80020100 Board rev: 128 (len 56)
Info: HMD is treated as HMD device
Info: Detected LH gen 1 system.
Info: Locked onto state 11(12,  1316733) at     68489398 for HMD
Info: OOTX not set for LH 0; attaching ootx decoder using device HMD
Info: OOTX not set for LH 1; attaching ootx decoder using device HMD
survive-cli: /var/tmp/portage/xr-libs/libsurvive-1.01/work/libsurvive/redist/mpfit/mpfit.c:1656: mp_qrsolv: Assertion `isfinite(sdiag[i])' failed.
zsh: IOT instruction  survive-cli

Desktop (please complete the following information):

  • OS: Linux
  • Version: 5.18.10-gentoo

Additional context
Have re-enabled udev rules (sometimes it seems like they may interfere with SteamVR so I have disabled an re-enabled them) and the same bug still occurs. SteamVR works without issue and after starting then closing it the logs are virtually identical. This bug never occurred before – my previous install before version 1.0 was rock solid – but now libsurvive always seems to fail with some kind of IOT instruction or another.

Hi,
Have you tried deleting
~/.config/libsurvive/config.json?

This worked for me - Fedora 37.