Package Details: monado-git 25.0.0.r227.g0d513229f-1

Git Clone URL: https://aur.archlinux.org/monado-git.git (read-only, click to copy)
Package Base: monado-git
Description: The open source OpenXR runtime.
Upstream URL: https://monado.dev
Licenses: BSL-1.0
Conflicts: monado
Provides: monado, openxr-runtime
Submitter: haagch
Maintainer: haagch (lubosz)
Last Packager: haagch
Votes: 8
Popularity: 1.16
First Submitted: 2019-03-18 13:59 (UTC)
Last Updated: 2025-08-05 14:32 (UTC)

Dependencies (25)

Required by (3)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

lithx commented on 2026-05-04 19:42 (UTC)

Comment that was accidentally placed in the monado package that was intended for here, basically was wondering if build times could be sped up on this package (have it as a necessary dependency for envision-xr-git).

Long story short, build times can be dramatically sped up by installing ccache and enabling it in /etc/makepkg.conf, here's the arch wiki entry for doing that, roughly 10 minute build gets trimmed down to ~15-25s :)

EndlessEden commented on 2026-04-18 15:57 (UTC) (edited on 2026-04-18 16:29 (UTC) by EndlessEden)

ok, to solve the missing hand models issue, i located them and made a package (https://aur.archlinux.org/packages/monado-mercury-hand-data-git)[monado-mercury-hand-data-git]

however "monado/src/xrt/tracking/hand/mercury/hg_model.cpp" doesnt probe "$XRT_DATA_DIR" like its supposed to, instead it tries to load the files from the $PWD/$CWD. So we need a patch or monado.service with changing to $XRT_DATA_DIR on launch.


Update: resolved with this patch, as you dont have it enabled to allow pull requests (i think this is a restriction on the aur's implementation of git) i couldnt send it, so i uploaded it to my github gists: https://gist.github.com/EndlessEden/a4297ebe11670658360191bf9455a173


Update 2: I made a bug on Monado's issue tracker (https://gitlab.freedesktop.org/monado/monado/-/work_items/597), my patch will silently fail if it cant find the appropriate strings so its safe to do for now, till this gets triaged.

haagch commented on 2026-03-12 19:45 (UTC)

I think with latest libsurvive-git you shouldn't need cnmatrix separately.

Dr.Fr4nk3n5731n commented on 2026-03-12 17:15 (UTC)

cnmatrix seems to be missing as a dependency, I had to manually install it to get this package compiled.

Flat commented on 2025-05-23 19:50 (UTC)

PKGBUILD needs python added to makedepends.

Graith95 commented on 2025-04-18 08:52 (UTC) (edited on 2025-04-18 08:54 (UTC) by Graith95)

Quoting @Deweden from the main package:

Please include the cmake option -DXRT_HAVE_SYSTEM_CJSON:BOOL='OFF' Without this, games running from Steam with OpenComposite are unable to load Monado. I have verified that building with this option resolves the issue for this package (and I did already have the cjson package installed to the system too so that on its own did not resolve it, probably a quirk with Steam's pressure-vessel game containerisation). The solution is taken from this tutorial which states 'If there is an error related to libcjson.so.1 you will need to build Monado with the cmake option -DXRT_HAVE_SYSTEM_CJSON=off.'

haagch commented on 2025-03-06 02:07 (UTC)

Oh wow so many suggestions I overlooked.

onnxruntime is the same as on the monado package: https://aur.archlinux.org/pkgbase/monado#comment-1014308. imo onnxruntime is broken and it's not a bug of this package, any package trying to use the onnxruntime package will have the same issues. Downgrade to 1.19.2 to get a working onnxruntime.

I think the latest libsurvive tag technically works but imo this one is really best to use the latest git (it's on low maintenance and doesn't update often).

basalt-monado-git is only packaged as a git version. I might change it to basalt-monado if someone packages it but I don't think the release tags are very meaningful.

kimera has not been updated to the new interfaces, so won't work in any case. Removed it from optdepends. orbslam3 also is supposedly even more jittery than basalt and won't get an update so basalt is currently the only supported slam system for monado.

dreieck commented on 2025-03-04 11:57 (UTC) (edited on 2025-03-04 11:58 (UTC) by dreieck)

build() fails for me while linking:

[...]
[510/538] Linking CXX executable src/xrt/targets/cli/monado-cli
FAILED: src/xrt/targets/cli/monado-cli 
: && /usr/bin/c++ -march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -fstack-clash-protection -fcf-protection -w -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -pedantic -Wall -Wextra -Wno-unused-parameter -msse2 -mfpmath=sse -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto    -fPIE -pie -Wl,--dependency-file=src/xrt/targets/cli/CMakeFiles/cli.dir/link.d src/xrt/targets/cli/CMakeFiles/cli.dir/cli_cmd_calibration_dump.c.o src/xrt/targets/cli/CMakeFiles/cli.dir/cli_cmd_info.c.o src/xrt/targets/cli/CMakeFiles/cli.dir/cli_cmd_lighthouse.c.o src/xrt/targets/cli/CMakeFiles/cli.dir/cli_cmd_probe.c.o src/xrt/targets/cli/CMakeFiles/cli.dir/cli_cmd_slambatch.c.o src/xrt/targets/cli/CMakeFiles/cli.dir/cli_cmd_test.c.o src/xrt/targets/cli/CMakeFiles/cli.dir/cli_main.c.o src/xrt/targets/cli/CMakeFiles/cli.dir/cli_cmd_calibrate.c.o -o src/xrt/targets/cli/monado-cli  src/xrt/auxiliary/tracking/libaux_tracking.a  src/xrt/auxiliary/os/libaux_os.a  src/xrt/auxiliary/os/libaux_os_ble.a  src/xrt/auxiliary/util/libaux_util.a  src/xrt/auxiliary/math/libaux_math.a  src/xrt/targets/common/libtarget_instance_no_comp.a  src/xrt/state_trackers/prober/libst_prober.a  /usr/lib/libudev.so  -luvc  -lusb-1.0  src/xrt/targets/common/libtarget_lists.a  src/xrt/drivers/libdrv_multi.a  src/xrt/drivers/libdrv_v4l2.a  src/xrt/drivers/libdrv_vf.a  -lgstapp-1.0  -lgstvideo-1.0  -lgstbase-1.0  -lgstreamer-1.0  -lgobject-2.0  -lglib-2.0  src/xrt/drivers/libdrv_wmr.a  src/xrt/drivers/libdrv_qwerty.a  /usr/lib/libSDL2-2.0.so.0.3200.52  src/xrt/drivers/libdrv_xreal_air.a  src/xrt/drivers/libdrv_arduino.a  src/xrt/drivers/libdrv_cemu.a  src/xrt/drivers/libdrv_daydream.a  src/xrt/auxiliary/os/libaux_os_ble.a  -ldbus-1  src/xrt/drivers/libdrv_simulated.a  src/xrt/drivers/libdrv_hdk.a  src/xrt/drivers/libdrv_hydra.a  src/xrt/drivers/libdrv_twrap.a  src/xrt/drivers/libdrv_ohmd.a  /usr/lib/libopenhmd.so  src/xrt/drivers/libdrv_opengloves.a  -lbluetooth  src/xrt/drivers/libdrv_psmv.a  src/xrt/drivers/libdrv_pssense.a  src/xrt/drivers/libdrv_psvr.a  /usr/lib/libhidapi-libusb.so  src/xrt/drivers/libdrv_realsense.a  /usr/lib/librealsense2.so.2.55.1  /usr/lib/librsutils.a  src/xrt/drivers/libdrv_remote.a  src/xrt/drivers/libdrv_rift_s.a  src/xrt/drivers/libdrv_ht.a  src/xrt/tracking/hand/mercury/libt_ht_mercury.a  src/xrt/tracking/hand/mercury/kine_lm/libt_ht_mercury_kine_lm.a  src/xrt/tracking/hand/mercury/libt_ht_mercury_model.a  src/xrt/tracking/hand/mercury/libt_ht_mercury_distorter.a  /usr/lib/libonnxruntime.so  src/xrt/tracking/hand/libhand_async.a  src/xrt/drivers/libdrv_rokid.a  /usr/lib/libusb-1.0.so  src/xrt/drivers/libdrv_vive.a  /usr/lib/libz.so  src/xrt/drivers/libdrv_survive.a  /usr/lib/libsurvive.so  src/xrt/drivers/libdrv_steamvr_lh.a  src/xrt/auxiliary/vive/libaux_vive.a  src/xrt/drivers/libdrv_euroc.a  src/xrt/auxiliary/tracking/libaux_tracking.a  src/xrt/auxiliary/util/libaux_util_sink.a  /usr/lib/libjpeg.so  -ldl  /usr/lib/libopenvr_api.so  /usr/lib/libopencv_highgui.so.4.11.0  /usr/lib/libopencv_videoio.so.4.11.0  /usr/lib/libopencv_imgcodecs.so.4.11.0  /usr/lib/libopencv_video.so.4.11.0  /usr/lib/libopencv_calib3d.so.4.11.0  /usr/lib/libopencv_features2d.so.4.11.0  /usr/lib/libopencv_flann.so.4.11.0  /usr/lib/libopencv_dnn.so.4.11.0  /usr/lib/libopencv_imgproc.so.4.11.0  /usr/lib/libopencv_core.so.4.11.0  src/xrt/drivers/libdrv_svr.a  src/xrt/auxiliary/util/libaux_util.a  src/xrt/auxiliary/math/libaux_math.a  src/xrt/auxiliary/util/libaux_util.a  src/xrt/auxiliary/math/libaux_math.a  src/external/libxrt-external-nanopb.a  src/xrt/auxiliary/bindings/libaux_generated_bindings.a  src/xrt/auxiliary/os/libaux_os.a  /lib/libvulkan.so  /usr/lib/libcjson.so.1.7.18  -lm && :
/usr/bin/ld: warning: libonnx.so, needed by /usr/lib/libonnxruntime.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libonnx_proto.so, needed by /usr/lib/libonnxruntime.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/libonnxruntime.so: undefined reference to `onnx::OpSchema onnx::GetOpSchema<onnx::Exp_Onnx_ver1>()'
/usr/bin/ld: /usr/lib/libonnxruntime.so: undefined reference to `onnx::OpSchema onnx::GetOpSchema<onnx::ArgMax_Onnx_ver13>()'
[...]
/usr/bin/ld: /usr/lib/libonnxruntime.so: undefined reference to `onnx::OpSchema onnx::GetOpSchema<onnx::Pow_Onnx_ver13>()'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().

File /usr/lib/libonnxruntime.so is provided by package extra/onnxruntime-opt, version 1.20.2-1.

Regards and thanks for maintaining!

dreieck commented on 2024-06-04 15:34 (UTC)

boost is not a valid SPDX license identifier. Please correct:

monado-dreieck-git E: boost is not a valid SPDX license identifier. See https://spdx.org/licenses/ for valid identifiers, or prefix the identifier with 'LicenseRef-', if it is custom.

Regards!

dreieck commented on 2024-06-04 15:32 (UTC)

openvr needs to be added to the depends array.