How to install Github repositories (OpenTrack)

First of all, I am a complete beginner. I've read through the Bazzite documentation so far, although I don't understand everything. I would like to install OpenTrack from Github. A flatpak version would of course be best for me as a beginner. Unfortunately, it doesn't exist yet. The installation instructions in the OpenTrack wiki don't work with Bazzite. (https://github.com/opentrack/opentrack/wiki/Building-on-Linux) My question now is, which way should I continue with the installation? Can I create something like this via Homebrew or should I ask the creator of OpenTrack or try to create a Flatpak version myself? I am grateful for any tips, even if I have to familiarize myself with a topic. As I am a beginner, I need a little guidance to get started.
GitHub
Building on Linux
Head tracking software for MS Windows, Linux, and Apple OSX - opentrack/opentrack
6 Replies
PegaSys
PegaSys•2mo ago
ask the creator for a flatpak (if possible) and for now you can make a distrobox via distroshelf, and build it in there
sudo dnf install cmake git qt6-qttools-devel qt6-qtbase-private-devel procps-ng-devel opencv-devel
git clone https://github.com/opentrack/opentrack
cd opentrack/
cmake .
make
make install
cd install/bin
./opentrack
sudo dnf install cmake git qt6-qttools-devel qt6-qtbase-private-devel procps-ng-devel opencv-devel
git clone https://github.com/opentrack/opentrack
cd opentrack/
cmake .
make
make install
cd install/bin
./opentrack
You'll put this in the distrobox tell me if it worked make sure it's a fedora 42 distrobox there's a couple of them in the list (under the base image dropdown) afterwards you should be able to take the binary that it built and do whatever you want with it
Mathis
MathisOP•2mo ago
As you say, I can find many distro versions of Fedora in the DistroShelf software when creating the Distrobox (Guided) under Base Image. But unfortunately only up to version 41.
PegaSys
PegaSys•2mo ago
oh right, yeah do 41 then
BossArdnutz
BossArdnutz•2mo ago
Using the following base image: quay.io/fedora/fedora:41 Not the OP, but trying to achieve the same objective... I followed these instructions, everything appeared to work up until the last step: 📦[user@OpenTrack bin]$ ./opentrack qt.qpa.xcb: could not connect to display qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin. qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Via Dolphin I tried navigating to the distrobox install/bin folder, I could execute the opentrack file from there - now I just have to work out how to link it to my webcam No luck so far. Supposedly neuralnet should appear in the input options, and I even tried rebuilding it with onnx runtime added to the dnf command, but still nothing...
Mathis
MathisOP•2mo ago
I have not read the log from the installation completely, so I may have encountered errors as well. But I didn't know. However, the program has started. My PS3 Camera (Playstation Eye) was also recognized and the picture is visible. Unfortunately, like you, I tried to use Neuralnet as input. But this was not listed. I also wanted to install Onnx, but I haven't gotten around to it yet.
BossArdnutz
BossArdnutz•2mo ago
I'm putting my troubleshooting in an issue on the OpenTrack github: https://github.com/opentrack/opentrack/issues/2054
GitHub
NeuralNet input option missing in 2024.1.1 (Linux, bazzite/Fedora 4...
Running Bazzite (based on Silverblue immutable Fedora 42 distro). AMD 8700F CPU, AMD RX 9070 GPU, Logitech BRIO webcam. Compiled in a Fedora 41 distrobox using the following commands: sudo dnf inst...

Did you find this page helpful?