Giter Site home page Giter Site logo

Comments (23)

ifl0w avatar ifl0w commented on June 3, 2024 6

Hello!

For me, the Eye Tracker 5 basically worked out of the box on Arch Linux after converting the tobii_config and tobiiusbservice packages in this repo with the tool "deptap".
Only the USB service kept crashing. It tried to create a PID file in /var/run/tobiiusb but the "tobiiusb" folder did not exist.
After creating the folder manually, and running the service as root I was able to run the tobii_config tool for calibration.
You can use strace -f tobiiusbserviced to see whether the child process exits with an error.

I also tested the stream engine SDK from this repository in my own project and subscribing to the gaze position worked fine. Subscribing to the head tracking however failed with a "not supported" error (it obviously works on Windows though).
Also, the tracking on windows seems to be a little bit smoother and better.
I guess, the stream engine and/or the tobiiusbservice are simply too old and do not fully support the Eye Tracker 5.
I did not try the example from this repo though.

Hope this helps someone :)

from tobii_eye_tracker_linux_installer.

betaboon avatar betaboon commented on June 3, 2024 4

For all those interested, i figured some things out.

My work can be found here: https://github.com/betaboon/python-tobii-stream-engine.

In a nutshell:

  • The publicly available Tobii Pro SDK contains libtobii_research.so.
  • libtobii_research.so (even tho undocumented) contains all the exports that libtobii_stream_engine.so has.
  • the contained stream_engine has version 4.24.0.33.
  • header-files for the stream-engine exports are not available.
  • documentation for stream-engine is available: https://tobiitech.github.io/stream-engine-docs/
  • together with tobiiusbserviced this results in the device working.

I haven't gotten a recent version of TobiiProEyeTrackerManager to work and detect the device tho.
Which forces me to still use tobii_config for calibration.

maybe @derdrdirk has some insight on this?

PS: feel free to hop over to my repo for further discussion.

from tobii_eye_tracker_linux_installer.

nl3v avatar nl3v commented on June 3, 2024 4

Also very interested in getting Eye Tracker 5 working w/ Star Citizen (via Lutris/Wine). I'd guess SC is using tobii_streams but I'm curious how tobii_streams could find the tracker when running through Wine...

Seems like on Windows, SC uses IPC to talk to the Tobii Platform Runtime (via tobii_streams) in order to communicate with the tracker, so I'm wondering if there is a way to make it "know" to talk with tobiiusbserviced instead. Not familiar with how Wine handles IPC. Also wondering if in SC, tobii_streams is looking for a particular process name for the platform runtime and just not finding it.

from tobii_eye_tracker_linux_installer.

betaboon avatar betaboon commented on June 3, 2024 3

some more news on the tobii_config TobiiProEyeTrackerManager situation:

@derdrdirk has reported success using TobiiProEyeTrackerManagerwith version 2.0.0.

i can confirm this works.
i can confirm up to version 2.1.2 the Tobii eye tracker 5 is being detected and usable for calibration.

starting somewhere between 2.1.2 and 2.3.4 the device is being detected but not being offered for calibration.
so it seems like they removed support for the tobii 5.

luckily, this can be reverted:

      cd /opt/TobiiProEyeTrackerManager/resources

      asar extract app.asar app.asar.unpack
      rm app.asar

      sed -ri "s/TPSP1/IS5FF/g" app.asar.unpack/main.*.js

      asar pack app.asar.unpack app.asar
      rm -rf app.asar.unpack

this way i got 2.3.7 and 2.6.1 recognizing the device and allowing calibration.

from tobii_eye_tracker_linux_installer.

betaboon avatar betaboon commented on June 3, 2024 2

fyi, the most recent version of TobiiProEyeTrackerManager can be found here:

the second page redirects to the most recent release.
which is at 2.6.1 right now:
https://s3-eu-west-1.amazonaws.com/tobiipro.eyetracker.manager/linux/TobiiProEyeTrackerManager-2.6.1.deb

from tobii_eye_tracker_linux_installer.

xDShot avatar xDShot commented on June 3, 2024 1

Curious as well

from tobii_eye_tracker_linux_installer.

jblaszczyk avatar jblaszczyk commented on June 3, 2024

sort of... I managed to calibrate Tobii Eye Tracker 5 with tobii_config
but can't run TobiiProEyeTrackerManager due to broken dependency:

(TobiiProEyeTrackerManager:5188): Pango-ERROR **: 22:41:47.895: Harfbuzz version too old (1.4.2)

this is a widely known problem with electron-based apps, not the driver itself

from tobii_eye_tracker_linux_installer.

Kn0rk avatar Kn0rk commented on June 3, 2024

Did you manage to get the main running?

from tobii_eye_tracker_linux_installer.

 avatar commented on June 3, 2024

Did you manage to get the main running?

No not yet unfortunately

from tobii_eye_tracker_linux_installer.

Kn0rk avatar Kn0rk commented on June 3, 2024

When I boot into Windows and use the eye tracker and then boot to linux the example works. When I reconnect the eye-tracker it does not work anymore.

from tobii_eye_tracker_linux_installer.

derdrdirk avatar derdrdirk commented on June 3, 2024

I got the TobiiProEyeTrackerManager running with the Tobii Eye Tracker 5 by installing an updated version, which can be found here https://s3-eu-west-1.amazonaws.com/tobiipro.eyetracker.manager/linux/TobiiProEyeTrackerManager-2.0.0.deb.

The manager can be used to calibrate the eye tracker. After the calibration the example ./main script runs fine.

from tobii_eye_tracker_linux_installer.

quantum-booty avatar quantum-booty commented on June 3, 2024

Hello!

For me, the Eye Tracker 5 basically worked out of the box on Arch Linux after converting the tobii_config and tobiiusbservice packages in this repo with the tool "deptap". Only the USB service kept crashing. It tried to create a PID file in /var/run/tobiiusb but the "tobiiusb" folder did not exist. After creating the folder manually, and running the service as root I was able to run the tobii_config tool for calibration. You can use strace -f tobiiusbserviced to see whether the child process exits with an error.

I also tested the stream engine SDK from this repository in my own project and subscribing to the gaze position worked fine. Subscribing to the head tracking however failed with a "not supported" error (it obviously works on Windows though). Also, the tracking on windows seems to be a little bit smoother and better. I guess, the stream engine and/or the tobiiusbservice are simply too old and do not fully support the Eye Tracker 5. I did not try the example from this repo though.

Hope this helps someone :)

Hi, I'm interested in developing a vim plugin that can use eye tracker. Do you know if the Tobii eye tracker API has the ability to give me the coordinate of a "box" from where I'm looking at?

from tobii_eye_tracker_linux_installer.

skewty avatar skewty commented on June 3, 2024

@quantum-booty did you get anywhere with the VIM plugin?
I'd like to use it to control JetBrains IDE scrolling and active window/pane.

from tobii_eye_tracker_linux_installer.

dkbast avatar dkbast commented on June 3, 2024

@quantum-booty @skewty looks like this is the thread for likeminded people - I'm also looking into exactly this for vim and maybe VS Code. Did either of you make any progress in that regard?

from tobii_eye_tracker_linux_installer.

ifl0w avatar ifl0w commented on June 3, 2024

@quantum-booty The API documentation is public and can be found here. So you can check whether everything you need is supported. You can get the point on the screen at which the user is looking and the position of the head or eyes relative to the monitor.

A Vim/Nvim extension would be super cool; I'd love to try that! And sorry for answering so late 🙈 !

from tobii_eye_tracker_linux_installer.

thenom avatar thenom commented on June 3, 2024

https://s3-eu-west-1.amazonaws.com/tobiipro.eyetracker.manager/linux/TobiiProEyeTrackerManager-2.0.0.deb.

Do you know if there is an RPM version of this or is there a listing anywhere of whats in this S3 bucket?

from tobii_eye_tracker_linux_installer.

LitBoiBoris avatar LitBoiBoris commented on June 3, 2024

Hi does it work in games like StarCitizen?

from tobii_eye_tracker_linux_installer.

JustCryen avatar JustCryen commented on June 3, 2024

Hi. I haven't yet bought the device but I'm trying to figure out if either tobii eye tracker 4C or 5 actually work in games on Linux.
I have in mind wine support, not native, how are things looking right now? If the windows version of the game supports eye tracking, how well if at all it translates through wine?

from tobii_eye_tracker_linux_installer.

betaboon avatar betaboon commented on June 3, 2024

Hi. I haven't yet bought the device but I'm trying to figure out if either tobii eye tracker 4C or 5 actually work in games on Linux. I have in mind wine support, not native, how are things looking right now? If the windows version of the game supports eye tracking, how well if at all it translates through wine?

i happen to have two games in my steam library that are supposed to have tobii support (namely "offworld trading company" and "stranded deep").

i tried with the usbservice running and having calibrated the device using manager.

the games do not detect the tracker and i couldn't find any options to enable it.

so i guess the answer to your question: it's not looking good.

from tobii_eye_tracker_linux_installer.

minecrawler avatar minecrawler commented on June 3, 2024

Hi. I haven't yet bought the device but I'm trying to figure out if either tobii eye tracker 4C or 5 actually work in games on Linux. I have in mind wine support, not native, how are things looking right now? If the windows version of the game supports eye tracking, how well if at all it translates through wine?

No luck on my side either. It's a dead brick on Linux. Expensive, but dead. If you want to use it, you'll have to use Windows.

I have the feeling that we'd need Wine support for it to work, or some kind of translation of the game's DLL API calls to the Linux engine (just like they did for some of the NVIDIA APIs)... Or pray that Tobii releases some kind of official Linux support. But I think they even deleted the Linux thread from their forums (I can't find it anymore), so I give up on anything official.

from tobii_eye_tracker_linux_installer.

JustCryen avatar JustCryen commented on June 3, 2024

I guess both of you use Tobii Eye Tracker 5, right?
That's a shame but maybe at least the 4C version is actually working. Anyone can confirm that?

from tobii_eye_tracker_linux_installer.

minecrawler avatar minecrawler commented on June 3, 2024

Sorry, yes, I'm using Eye Tracker 5

from tobii_eye_tracker_linux_installer.

JustCryen avatar JustCryen commented on June 3, 2024

I know it's not a "general discussion forum"… but I feel like this fits here more than anywhere else. I can buy a "Tobii Eye Tracker" from a disassembled Alienware m17 R3. Part number R3VR8.
Since it's basically an OEM part I can't really find any information about it but honestly, the price is not that bad.
(It should be using an internal USB connection so this should be easy to change to a normal USB plug)

I also don't want to buy a paperweight so the question is, has anyone tried using an eye tracker from an Alienware device on Linux?

It would be ideal if it at least partially communicates with the current driver implementation but even if it doesn't, do you think it might be useful for testing the driver and hopefully, improving support to at least some Tobii products on Linux?

from tobii_eye_tracker_linux_installer.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.