vinegarhq/sober

Ghostly Manor crashes after persistent Vulkan error

Opened this issue · 8 comments

Acknowledgement of checking existent issues

  • I have checked if my issue has already been reported, and I am certain that my problem has not already been addressed.

What problem did you encounter?

When attempting to join Ghostly Manor, Sober will begin to attempt the connection, and then crash shortly after, about when I would usually expect the Roblox "joining experience" screen to fade away.

This experience was working in a previous version of Sober. This bug only began to occur after updating it last night.

Log

2.641.0.737_20240906T223904Z_Player_61785_last.log
Possibly of note is this snippet, which suggests a failure in authentication for loading avatar thumbnails:

2024-09-06T22:39:04.967Z,0.967837,376d86c0,6 [FLog::Warning] Warning: HTTP error url:`https://apis.roblox.com/attribution/v1/events/post-authentication`
2024-09-06T22:39:04.967Z,0.967879,376d86c0,6 [FLog::Warning] Warning: HTTP error code:`nil`
2024-09-06T22:39:04.967Z,0.967889,376d86c0,6 [FLog::Warning] Warning: HTTP error body:`nil`
2024-09-06T22:39:05.052Z,1.052706,383ff6c0,6 [FLog::Error] Asset (Image) "rbxthumb://type=AvatarHeadShot&id=-1&w=48&h=48&filters=circular" load failed in TextureManager::PreloadTexture: Request failed

Roblox Experience link

https://www.roblox.com/games/11101831249/

Resolved per suggestion at #221 (comment). Possible duplicate, though there's more info there now, so if it is, then I will close this one as duplicate.

#221 was resolved with the same solution, making this a duplicate. Reclosing as such.

Reopening due to lack of response to #221 (comment) and to keep visible to the Sober developers.

While doing a full reinstall of Sober temporarily fixes the issue (as discussed in #221), the issue reoccurs in Ghostly Manor as soon as a lobby is joined. More specifically, once a lobby is joined, Sober works fine until the experience is left and rejoined. Sober will crash as described before only when attempting to rejoin the experience after joining a lobby.

The recent Sober update did not resolve this issue.

EDIT: See later comment

A response to the aforementioned comment on the other issue was received. The author no longer can resolve the issue with a full reinstall, making their issue different from mine, and this issue no longer a duplicate.

Retested this. I've found that my original reproduction finding was incorrect, and that this bug instead seems to happen randomly after an initial install when leaving an experience, then trying to join another. The amount of time it takes for it to trigger seems random, but doesn't take too long, no more than 5-10 minutes.

I was able to get a strange result on Deep Space Tycoon where the experience seemed to simply stop loading. However, I was able to join the experience afterward. I also experienced all of the experiences on the home page disappearing and being unable to reappear until after restarting Sober. This suggests that this bug can happen to any experience, but the effects are different for each experience, and only Ghostly Manor and Stateview Prison have known lasting consequences, possibly related to each other.

Unfortunately as usual, the logs seem to be of no help, but I'll upload my most recent two for thoroughness.
2024-10-01_21-06-56.log
2024-10-01_21-08-41.log

Further testing has shown that changing the Graphics setting in Ghostly Manor can reliably trigger this bug as well.

Additionally, I've found that if I back up the Sober app data in ~/.var/app/org.vinegarhq.Sober before the bug is triggered, and restore it when the bug is triggered, the bug can be undone with no apparent side effects. This works as a workaround, since it means I don't have to completely reinstall Sober (meaning going through bootstrap and logging in again). However, this obviously isn't a solution. It should still be helpful to anyone experiencing this though.

More importantly, the above indicates that the issue indeed lies within this directory. I tried removing both the cache and config folders, but the bug persisted, meaning the problem must lie in the other folders (data, .ld.so, or .local).

tunis4 commented

the crash in stateview prison has been fixed in the next update, but the ghostly manor crash is unrelated and it seems to be caused by a random vulkan error in roblox's renderer. not sure what you mean about the bug persisting until a reinstall

The bug, that being Ghostly Manor closes shortly after the lighting changes during loading, will continue to happen until Sober is fully reinstalled (with --delete-data), no matter what I do beforehand, and it will only start happening once this supposed Vulkan error manifests. UNLESS I restore the ~/.var/app/org.vinegarhq.Sober directory to a backed-up version before the error manifests, but that's obviously not intended program use.

I'll also adjust the title according to your comment; I made the change since there have been more and more reports of the program suddenly closing with no error in the log. Seems that there are many reasons why this might happen.