Doesn't compile since OpenCV 5.0 - opentrack-git compiles and NeuralNet tracker works, but it requires a workaround.
Search Criteria
Package Details: opentrack 2026.1.0-4
Package Actions
| Git Clone URL: | https://aur.archlinux.org/opentrack.git (read-only, click to copy) |
|---|---|
| Package Base: | opentrack |
| Description: | Head tracking software |
| Upstream URL: | https://github.com/opentrack/opentrack/ |
| Keywords: | headtracking opencv |
| Licenses: | ISC |
| Submitter: | popux |
| Maintainer: | Moofed (gugah) |
| Last Packager: | gugah |
| Votes: | 14 |
| Popularity: | 0.21 |
| First Submitted: | 2015-04-25 23:46 (UTC) |
| Last Updated: | 2026-06-11 15:09 (UTC) |
Dependencies (13)
- opencv (opencv-cuda)
- qt6-5compat
- qt6-base (qt6-base-gitAUR, qt6-base-hifpsAUR, qt6-base-headlessAUR)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- ninja (ninja-gitAUR, ninja-memAUR, ninja-noemacs-gitAUR, ninja-kitwareAUR, ninja-fuchsia-gitAUR, n2-gitAUR) (make)
- procps-ng (procps-ng-nosystemd-gitAUR, procps-ng-gitAUR) (make)
- qt6-declarative (qt6-declarative-gitAUR) (make)
- qt6-tools (make)
- wine (wine-stable-nextAUR, wine-stableAUR, wine-pure-gitAUR, wine-pure-gitAUR, wine-tkg-staging-ntsync-binAUR, wine-asahi-gitAUR, wine-gitAUR, wine-staging-gitAUR, wine-cachyosAUR, wine-tkg-staging-wow64-binAUR, wine-tkg-staging-binAUR, wine32AUR, wine-dwproton-binAUR, wine-dwprotonAUR, wine-gohryt-wayland-wow64AUR, wine-staging) (make)
- xplane-sdk-develAUR (make)
- libgomp (libgomp-fast-optimizedAUR, libgomp-snapshotAUR) (optional) – OpenMP support for neuralnet tracker (GCC)
- onnxruntime (piper-phonemizeAUR, onnxruntime-gitAUR, onnxruntime-cpu, onnxruntime-cuda, onnxruntime-opt-cuda, onnxruntime-opt-rocm, onnxruntime-rocm) (optional) – ONNX support for neuralnet tracker
- openmp (optional) – OpenMP support for neuralnet tracker (Clang)
Required by (0)
Sources (6)
cprn commented on 2026-07-18 09:17 (UTC) (edited on 2026-07-18 09:34 (UTC) by cprn)
gugah commented on 2026-06-11 15:09 (UTC) (edited on 2026-06-11 18:21 (UTC) by gugah)
@judorange thanks for your remarks. I've addressed all the issues you pointed out:
- added
libgompandopenmpto optional depends (are you building with clang instead of GCC? in such case you are right about usingopenmpinstead oflibgomp... I'm wondering if that's your case) - print warning messages if any of onnxruntime or openmp libs are missing (upstream makes it fail silently, true, I guess because not everyone may be interested in the neuralnet feature)
- added
qt6-5compatto dependencies - patched low fps issue #2151 with PR #2146 (this fix is not shipped with 2026.1.0 but it's so basic I back-ported it)
judorange commented on 2026-03-03 20:19 (UTC) (edited on 2026-03-03 22:01 (UTC) by judorange)
I had some trouble to enable neuralnet b/c of missing openmp cf https://github.com/opentrack/opentrack/blob/6e733b5b1b9703c80b4e9cf9e0451cb9dc7cbbf7/tracker-neuralnet/CMakeLists.txt#L14
Without it, it will just silently fail, and build without the feature.
Like the previous comments, I had to rebuild after installing https://archlinux.org/packages/extra/x86_64/onnxruntime-cpu/
All good now. Thx for package!
edit: for the "Camera Settings" to work, you also need qt6-5compat else it logs a
/usr/bin/qv4l2: error while loading shared libraries: libQt6Core5Compat.so.6: cannot open shared object file: No such file or directory when clicking the button and just do nothing
edit2: if you are stuck with a 10 FPS capture but you know [ie checking the V4L2 bench, OBS, etc] that your webcam can work at 60FPS then you may be hitting this: https://github.com/opentrack/opentrack/issues/2151
gugah commented on 2026-02-25 14:12 (UTC) (edited on 2026-02-25 14:13 (UTC) by gugah)
@asura thanks for the comment, I added qt6-declarative to the make dependencies. I had it as a dependency and didn't notice it's required in the build.
I've also patched tracker-neuralnet with the latest specification of onnxruntime_cxx_api.h, the build wasn't working (tested with onnxruntime-cpu, need help testing the other variants).
As mentioned in previous comments, when wine or other dynamically linked dependencies are updated, a rebuild may be required: paru -S --rebuild opentrack
asura commented on 2026-02-16 15:25 (UTC)
Thanks for the package!
I needed to install qt6-declarative to make it build. /usr/lib/qt6/bin/lupdate which runs during the build links against libQt6Qml.so.6 which is available through qt6-declarative.
pirate_simon commented on 2026-01-28 19:35 (UTC)
I installed onnxruntime only after discovering neural wasn't available in the inputs drop down, paru -S --rebuild opentrackwas needed to get it working.
@gugah Thank You for your time on this repo
gugah commented on 2026-01-06 13:26 (UTC) (edited on 2026-01-06 17:54 (UTC) by gugah)
I've added a post-install message for the X-Plane plugin because it requires user intervention to move it to the proper plugin directory.
So far I've tested:
Inputs: PointTracker 1.1, neuralnet-tracker
Outputs: Flightgear, UDP, Wine (with the plugin in X-Plane 11)
I may want to try the aruco tracer next, but it requires https://aur.archlinux.org/packages/aruco or even maybe the variant https://github.com/opentrack/aruco. @jebez you may be interested in installing onnxruntime-cpu before opentrack to add another input (neuralnettracker)
jebez commented on 2026-01-05 19:53 (UTC)
Done, I wonder why no upstream answer, they prefer Window$ than Linux? Argh...
gugah commented on 2026-01-05 19:17 (UTC)
@jebez I had to check upstream to answer your question: you'll see here (https://github.com/opentrack/opentrack/blob/master/proto-mouse/CMakeLists.txt) that proto-mouse only builds in windows. Unfortunately, upstream does not provide mouse emulation in linux. You should follow up the conversation in https://github.com/opentrack/opentrack/discussions/2060
jebez commented on 2026-01-05 18:40 (UTC)
Calm, thanks for you free & open source works, well I'm a simple user, "build https://github.com/opentrack/aruco and link it to opentrack" I even knows not that... I created my account 1st for https://aur.archlinux.org/packages/filezilla-server?O=10#comment-1012542 .
So it is possible to have here all the inputs & outputs as on Window$? If yes why not?
Personally I at least want mouse emulation, for video games shooter.
Pinned Comments
gugah commented on 2026-02-25 14:12 (UTC) (edited on 2026-02-25 14:13 (UTC) by gugah)
@asura thanks for the comment, I added qt6-declarative to the make dependencies. I had it as a dependency and didn't notice it's required in the build.
I've also patched tracker-neuralnet with the latest specification of onnxruntime_cxx_api.h, the build wasn't working (tested with onnxruntime-cpu, need help testing the other variants).
As mentioned in previous comments, when
wineor other dynamically linked dependencies are updated, a rebuild may be required:paru -S --rebuild opentrack