Patreon Logo Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal Logo PayPal. You can also buy games using our partner links for GOG and Humble Store.
Title: Head Tracking!
Page: 1/2
  Go to:
pete910 10 Jan 2016
Anyone use/tried it ?

Downloaded the opentrack software to have a play, I put a post up in the trackhat forums with regards support on linux as was thinking about trying it. He did answer and seems genuinely interested in how it works out, he states they cannot officially support it. Offered me a refund if it dont work out. So took a chance and ordered one. Post [here](http://www.trackhat.org/#!forum/c1oq5)
Chose the trackhat as it's the cheaper option compared to most + its wireless and its based on opentrack.

A few things with opentrack, it is it needs opencv 3, also you need to edit a cmake file in order to build the evdev plugin. I can see why it's disabled though. Wont work unless root. Permissions thing I think. Need the uinput module loaded :whistle:

Not really tried Linuxtrack yet

Thoughts?
pete910 30 Jan 2016
bump, anyone?
slaapliedje 31 Jan 2016
I've considered several times about trying out some of the head tracking hacks, but have always decided in the end I was going to just go straight for some sort of VR headset which of course would eliminate the need for head tracking. Of course I guess it comes down to what would be better, a cheap head tracking solution, and a bunch of monitors, or a headset that straps to your face?

A bit more useful information. Apparently the Linux head tracking stuff does work with games like Euro Truck Simulator.

https://www.youtube.com/watch?v=oquBKX-YIv8
https://www.youtube.com/watch?v=bwSQSYoP__s
pete910 31 Jan 2016
I has seen the euro truck vid, I've also tried it since I originally posted . Couldn't get it to work. Not tried war thunder though. Will have another go.

Linux-track appears to be a base for others to integrate into their own program rather than a full control app like what opentrack is/does.

The dev of opentrack unfortunately does not see linux as needing or viable for gaming thus its only supported for developing on. Though how you can develop something with out testing during the development is beyond me :huh:
slaapliedje 1 Feb 2016
I've always been annoyed by people with the attitude that it's not viable for gaming. Why not? I tend to think it's even a bit better than Windows in that regard, since with Windows everyone inevitably has tons of crap running in the background, which takes power of the system away from the gaming, which is arguably a single-tasking thing to be doing. While a typical Linux machine probably has a bunch of background processes as well, it's easy enough to tone those down and optimize it for gaming, like SteamOS.
Julius 1 Feb 2016
You saw this?
https://github.com/opentrack/opentrack/wiki/Smartphone-Headtracking
slaapliedje 1 Feb 2016
Ha ha, that's pretty cool, but with how huge my Note 4 is, I tend to think my neck would get sore. The one thing I've never quite understood about how headtracking would work, is that you'd need to have it accelerated somehow so that turning your head a little bit would allow you to see to your right/left, because if you actually look to your right/left, then you are no longer looking at the monitor(s). Which is why I really want VR, because the monitors go with you.
Homepcgamer 2 Feb 2016
Its a pity that we dont have any decent head tracking... Im a big fan of simulators and play with a head track system is a must have.

I know that the simulator world is a niche even in windows... but if anybody start pushing the simulator world in linux will never have a good health.
pete910 3 Feb 2016
Quoting: JuliusYou saw this?
https://github.com/opentrack/opentrack/wiki/Smartphone-Headtracking
That's all ready in opentrack, look on the android store for an app called freepie.
I've tried it and it does work. Still the same problem as the protocol that a lot of games use is freetrack [http://www.free-track.net/](http://www.free-track.net/)
Which is windows only :(

Edit: freetrack is what euro truck sim uses.
pete910 3 Feb 2016
Quoting: HomepcgamerIts a pity that we dont have any decent head tracking... Im a big fan of simulators and play with a head track system is a must have.

I know that the simulator world is a niche even in windows... but if anybody start pushing the simulator world in linux will never have a good health.
It's one of the reasons I posted to get the interest shown to people like the dev of opentrack .

Julius 5 Feb 2016
There is also "Linuxtrack", have never tried it, but it seems to work with those truck simulators under Linux:
https://youtu.be/oquBKX-YIv8
pete910 5 Feb 2016
Tried that too, only work with the freetrack plug-in used via wine with wine install of euro truck. So never bothered.

It works well if am honest but with no protocols to use with it, it's next to useless unfortunately. Dev does state its a base app for integrating into your own.
Xpander 5 Feb 2016
i'll keep my eye on this thread.. been looking for some tracking devices for ATS lately..sad to hear that they dont work with the linux build of the game :( ...

and im not going to run the game through wine, even if it performs fine
Xpander 6 Feb 2016
I Managed to get the Head Tracking working in American Truck Simulator [Native version]

1) Install OpenTrack (opentrack)
2) Install HeadTracker for your Android

External Media: You need to be logged in to view this.


3) Change the port to 4242 in the App
4) Open up Opentrack: set tracker to UDP and protocol to libevdev

External Media: You need to be logged in to view this.


5) Check your jstest-gtk if you see your device (intall jstest-gtk if needed)
6) Go to American Truck Sim and it should show under Controllers as headpose, configure your X and Y axis!

Quick Video:
View video on youtube.com
Julius 7 Feb 2016
Hmm, they way it moves back an forth really makes it seem less like head tracking but more like 'camera control that happens to be done through an input device mounted on your head'. Cool that you got it to work like that never the less.
Xpander 7 Feb 2016
Quoting: JuliusHmm, they way it moves back an forth really makes it seem less like head tracking but more like 'camera control that happens to be done through an input device mounted on your head'. Cool that you got it to work like that never the less.
that was just a quick test, you have to finetune the movements ofc.

i also found this: https://github.com/opentrack/opentrack/wiki/Smartphone-Headtracking
pete910 8 Feb 2016
Did that with euro truck with both my phone and the trackhat, it uses the joystick emu so not really the same as you have to then look the opposite way to pan the cam back. It should work the same as looking with your mouse.
Xpander 8 Feb 2016
made a video of it.. instead of UDP i use FreePIE UDP

View video on youtube.com
Homepcgamer 8 Feb 2016
Quoting: JuliusThere is also "Linuxtrack", have never tried it, but it seems to work with those truck simulators under Linux:
https://youtu.be/oquBKX-YIv8
Humm I didnt know it exist "linuxtrack"

definitely I need to try it as I have track ir 4...

I'll post here when I do the test...
pete910 9 Feb 2016
Quick question, anyone done any .deb packaging, The dev of opentrack seems to have come around a bit :D

He's wanting either .deb or rpm so he can test it. Know idea about debs.

Think he would be better off targeting ubuntu as steam is targeted at it!

http://trackhat-forum.1125090.n5.nabble.com/Linux-support-tp210p280.html
Xpander 9 Feb 2016
Quoting: pete910Quick question, anyone done any .deb packaging, The dev of opentrack seems to have come around a bit :D

He's wanting either .deb or rpm so he can test it. Know idea about debs.

Think he would be better off targeting ubuntu as steam is targeted at it!

http://trackhat-forum.1125090.n5.nabble.com/Linux-support-tp210p280.html
dependecies seems to be:
depends=('opencv' 'qt5-serialport')
makedepends=('cmake')


it shouldnt be hard to build?
i havent used ubuntu, nor rpm distros much so i dont really know how its there
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon Logo Patreon. Plain Donations: PayPal Logo PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register