ghostiam / BrokenEye

Gain access to advanced eye tracking data and camera images for the Pimax Crystal or HP Reverb G2 Omnicept Eye Tracker.
11 stars 0 forks source link

Crash if eyes are closed for too long (like falling asleep) #4

Open sveken opened 5 months ago

sveken commented 5 months ago

Hello, I notice if you fall asleep/ leave your eyes close for a period of time, in my testing somewhere between 10-30 minutes, Broken eye just crashes/closes. As the app requires UAC it means taking the headset off and restarting the application.

Running a Pimax Crystal, Windows 11 23H2 5800X3D 6800XT brokeneye.log preferences.json

ghostiam commented 5 months ago

Hello, thank you for your interest in the project.

Please download the latest version, it fixes many errors(added auto-connection and fixed errors that lead to crash) and also improves logging.

https://github.com/ghostiam/BrokenEye/releases/latest

I will close this issue, open it if you encounter this problem again with the new version.

sveken commented 5 months ago

So now the crash seems to be random. In the log file for this session. The eye tracking dropped out and there was no video feed, however i could just hit disconnect and reconnect and everything was smooth again. Hour or so later, it dropped out against, however this time the disconnect button froze the entire application, forcing me to close it. I then have to go into task manager and find the Broken eye process and end it there too. Unfortunately this means i have to fully restart the whole chain of programs. At least the first drop out its a simple disconnect/reconnect and everything continues.

brokeneye-2024-01-30-19-28-18.log preferences.json

Some nights it only happens once. Some none at all.

ghostiam commented 5 months ago

Unfortunately, connection instability depends on the headset and cable.

I will study what can be done about the freeze, perhaps 2 disconnection commands from the device overlapped and that’s why it froze.

sveken commented 5 months ago

Thank you, Just Brokeneye not crashing would be a huge quality of life improvement, as when it does drop out and the brokeneye doesn't lock up it seems disconnect/reconnecting the device is enough for everything to just continue on like nothing happen (vrcft and vrtrack just keep working) Where as the full crash means restarting all of the above, then respawning the avatar etc.

Thank you again for your work into this program.