med-material / Whack_A_Mole_VR

Whack-A-Mole in VR
MIT License
3 stars 15 forks source link

Performance issues with pupil labs eye tracking #259

Open bastianilso opened 1 year ago

bastianilso commented 1 year ago

Reports of Whack-A-Mole crashing and being laggy whilst pupil labs eye tracking is activated.

image image

@tcaruchet @mrvilix06 we should test whether we can confirm/replicate this issue on our own VR headset. For that, you will need to install the latest Pupil Capture and run it in the background: https://github.com/pupil-labs/pupil/releases/tag/v3.5

bastianilso commented 1 year ago

OK, so after studying the problem for a bit, this is what I know:

Running a profiler on Whack-A-Mole shows that the progressive paradigm is creating lag spikes because of an inefficient implementation. I'll re-write the implementation to something more performant.

bastianilso commented 1 year ago

Some of the lag spikes should have been addressed now through commit 9f9f1a6eef7612bb5e50baf3b09debe78048a1f1. However, the general VR performance could still be better, further profiling is needed.

bastianilso commented 12 months ago

From further tests with @hendrikknoche and later down in the AVA lab I noted the following: