Yellow-Dog-Man / Resonite-Issues

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

Steam link crash on application hang #1890

Open RueShejn opened 2 months ago

RueShejn commented 2 months ago

Describe the bug?

when Resonite is loading any assets it seems to hang and at times can make windows think the program is unresponsive only for it to USUALLY resume like nothing happend.

since getting the Quest Pro these "hangs" have been more cumbersome as in addition to freezing Resonite momentarily, steam link will detect the mistakenly unresponsive program and issue a request to restart steam VR with no other option.

If you wait Resonite MIGHT unfreeze but steam link will still require the restart, in most cases the error from steam link will prevent Resonite from resuming as well.... this can be seen when everything continues to load normally in the small time frame it takes to close resonite after steam VR closes its self when steam link is closed/restarted

It should be noted that there are some cases where steam link will encounter and error during one of these freezes and instead of asking for a restart it will actually recover and will "reconnect to the session", ive notice this happen when something loads in that is heavy on performance but not enough to cause a freeze with a long enough duration to warrent a popup, like a complex avatar or object. most of the long freezes come from trying to load large complex worlds or worlds with a lot of users.

also of note but something i have to do more testing on is clearing the cache seems (at first glance) to make this issue worse as the assets take a much longer time to load in, sometimes if i am having this issue i can just keep trying to load the world after a restart to eventually get in as new assets are cached after every attempt.

this is all the information i have on this problem at the moment

To Reproduce

Im not yet sure how to reproduce as this is a problem that seems to come and go with no discernible pattern, it might vary well be my poor internet connection.

Expected behavior

loading into Resonite should not cause steam link to issue a restart request.

Screenshots

No response

Resonite Version Number

Beta 2024.4.30.495

What Platforms does this occur on?

Windows, Android / Quest

What headset if any do you use?

Quest Pro

Log Files

DESKTOP-L6KVB13 - 2024.4.26.1258 - 2024-04-29 21_46_15.log DESKTOP-L6KVB13 - 2024.4.26.1258 - 2024-04-29 21_43_48.log DESKTOP-L6KVB13 - 2024.4.26.1258 - 2024-04-29 21_41_57.log DESKTOP-L6KVB13 - 2024.4.26.1258 - 2024-04-29 21_38_59.log DESKTOP-L6KVB13 - 2024.4.26.1258 - 2024-04-29 21_36_57.log

Additional Context

there were a few mods active during this session but this is because they are necessary for the functionality of the headset as its not fully supported.

Open VR space calibratior - for connecting index controllers/ vive pucks to the quest VR calibration space https://github.com/bdunderscore/OpenVR-SpaceCalibrator/releases/tag/v1.4-bd_-r0

Resonite Mod Loader - to load the "Impressive" mod (no link will update)

Impressive - Quest Pro face tracking data relay (i think), i use this mod so that resonite can use the quest pro face tracking data. (no link will update)

also the version number says BETA but im not on a beta branch on steam steamwebhelper_Z6bgy4MrN3

These are my launch options steamwebhelper_N3PcLg3HWU

my internet connection is unreliable 30mb down and up ApplicationFrameHost_RWuTtIMKif mmc_j63ByCaZaa

Reporters

No response

RueShejn commented 2 months ago

not sure if its related but launching Resonite today 4/30/2023 in screen mode now only runs at about 30fps or lower in a grid world with GPU at 80%

DESKTOP-L6KVB13 - 2024.4.30.495 - 2024-04-30 15_13_43.log DESKTOP-L6KVB13 - 2024.4.30.495 - 2024-04-30 15_05_46.log

shadowpanther commented 2 months ago

Hmm, I also use SteamLink, but neither SteamLink itself nor SteamVR would close while Resonite is unresponsive. I can even open the SteamVR dash and use it as usual (including using the desktop) while Resonite is processing the assets.

I think I've also disabled the "Fade to grid on app hang" setting in SteamVR so that when any game hangs momentarily I just have the reprojection stuck on one frame. For Resonite it feels better than the whole view going to the default grid every couple seconds.

FlameSoulis commented 2 months ago

I can confirm the same, with or without modloader. This is becoming increasingly worse over time, and the start up time for Resonite is getting longer.

shiftyscales commented 1 month ago

The startup time sounds like a separate issue, @FlameSoulis - but are you able to provide any additional info on the source of this issue? It sounds in part to be an issue with the SteamLink application prematurely restarting SteamVR when the user hasn't asked for it- which would be an issue to take up with the SteamLink/SteamVR software itself.

I unfortunately don't have access to a SteamLink capable headset, so I am unable to reproduce this myself. shadowpanther's report would also suggest there is some undetermined variable at play here.