Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
135 stars 2 forks source link

Resonite in VR mode will not stop trying to run/start SRanipal if installed. #953

Open Azavit opened 9 months ago

Azavit commented 9 months ago

Describe the bug?

When starting Resonite in VR mode with SRanipal installed but no Vive Resonite will contantly continue to try starting up and using SRanipal and continue to throw errors and slow the game to a crawl.

The only way currently to hault this is to uninstall SRanipal

To Reproduce

Set up SRanipal for Vive eye or facetracking. Hook up any other VR headset and try to start Resonite in VR mode.

Expected behavior

Either for Resonite to have a cutoff to not continue to try and boot up SRanipal. Or at least to not break slow everything else down to a crall.

Screenshots

No response

Resonite Version Number

2023.12.15.22

What Platforms does this occur on?

Windows

What headset if any do you use?

Vive Pro Eye and Varjo Aero

Log Files

DESKTOP-T01DI4L - 2023.12.15.22 - 2023-12-17 19_25_13.log

Additional Context

I found out about this bug after switching from a Vive Pro Eye (Broken) to a Varjo Aero and found out I couldn't start up resonite properly (freezing for multiple seconds between every few frames). Noticed that the SRanipal program started up despite no longer having my Vive plugged in, I tried turning it off and found it just forced it's self to start back up again. Uninstalling SRanipal did the trick for me.

This also seems to be the same issue experienced in #402 but that was offering a solution to this problem rather than reporting the problem at hand. This may also be related to or even the cause of #102

Reporters

No response

FlameSoulis commented 9 months ago

Reported this back in the past years ago. This is still an issue, even if the service is terminated prior or if the app is called from Oculus's OpenXR runtime, which then starts some strange situations of the system then starting SteamVR's runtime. This just makes a mess.

shiftyscales commented 6 months ago

Hmm... in this case, #402 would might be the best option for handling this. If SRanipal is installed- I don't think we would have a means of knowing whether a device is connected through it until such point as after it is already running.

We can't assume a user doesn't have use for SRanipal based on the headset- as it is possible to use the facial tracker independent of headset- hence why it makes sense for it to run at startup if a user has it installed. The other detail mentioned of Resonite periodically locking up as SRanipal is re-initialized after a device is disconnected/reconnected would be something better considered under #102 which you also linked.

Seeking feedback on this from @Frooxius.