Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
118 stars 1 forks source link

Headless client won't startup after latest update #1134

Closed ScarsTRF closed 5 months ago

ScarsTRF commented 5 months ago

Describe the bug?

The headless client can't find something for opus assembly

To Reproduce

Expected behavior

Headless client should launch without issue

Screenshots

No response

Resonite Version Number

Beta 2024.1.12.1336

What Platforms does this occur on?

Linux

What headset if any do you use?

No response

Log Files

73e7bde3dd4a - 2024.1.12.1336 - 2024-01-12 17_42_56.log

Additional Context

No response

Reporters

ScarsTRF | Discord: scarstrf

BigRedWolfy commented 5 months ago

Can confirm mentor gathering workshop headless ain't loading for the same reasons

93ca53d4-6ad1-4990-8f37-43beae8bf237 - 2024.1.12.1336 - 2024-01-12 23_59_07.log 93ca53d4-6ad1-4990-8f37-43beae8bf237 - 2024.1.12.1336 - 2024-01-12 23_59_23.log

The environment I'm running for my headless is about the same as ScarsTRF

Frooxius commented 5 months ago

Fixed in 2024.1.13.8, thanks!

sveken commented 5 months ago

Reuploading log file,

But the latest hotfix is still broken for me and has a new error 0c033a41fe44 - 2024.1.13.8 - 2024-01-13 11_26_38.log

ProbablePrime commented 5 months ago

Looks like the same issue as opus but for assimp.

11:22:47.080    Exception Initializing AssimpContext:
Assimp.AssimpException: Error loading unmanaged library from path: libassimp.so

libassimp.so: cannot open shared object file: No such file or directory

Additionally brotli doesn't look happy:

11:22:46.507    Exception from calling native Brotli methods:
System.TypeInitializationException: The type initializer for 'Brotli.Brolib64' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Brotli.LibPathBootStrapper' threw an exception. ---> System.NotSupportedException: Unable to find library brolib_x64.dll
Frooxius commented 5 months ago

It doesn't seem like that. It continues past that error, assimp is not blocking the startup.

stiefeljackal commented 5 months ago

Brotli seems to be the culprit since it is present in all logs.

BigRedWolfy commented 5 months ago

I have a headless run only once. It was updated to version Beta 2024.1.12.1336 and after the hotfix it did run, but on second startup I was getting the same issue.

Collecting the logs atm

BigRedWolfy commented 5 months ago

93ca53d4-6ad1-4990-8f37-43beae8bf237 - 2024.1.13.8 - 2024-01-13 00_22_00.log 93ca53d4-6ad1-4990-8f37-43beae8bf237 - 2024.1.13.8 - 2024-01-13 00_22_16.log 93ca53d4-6ad1-4990-8f37-43beae8bf237 - 2024.1.13.8 - 2024-01-13 00_32_40.log 93ca53d4-6ad1-4990-8f37-43beae8bf237 - 2024.1.13.8 - 2024-01-13 00_32_59.log 93ca53d4-6ad1-4990-8f37-43beae8bf237 - 2024.1.13.8 - 2024-01-13 00_19_52.log 93ca53d4-6ad1-4990-8f37-43beae8bf237 - 2024.1.13.8 - 2024-01-13 00_20_58.log 93ca53d4-6ad1-4990-8f37-43beae8bf237 - 2024.1.13.8 - 2024-01-13 00_21_13.log

stiefeljackal commented 5 months ago

It doesn't seem like that. It continues past that error, assimp is not blocking the startup.

You are correct. The assimp error is a thing for the Linux Headless build, so it does not block the startup. I'm thinking it is Brotli that could be the cause since that is used to load the settings for the account at the start.

BigRedWolfy commented 5 months ago

93ca53d4-6ad1-4990-8f37-43beae8bf237 - 2024.1.13.8 - 2024-01-13 00_19_52.log is the first startup after hotfix I think

Frooxius commented 5 months ago

I'm checking. It does seem the Brotli is having issues, but this one is a bit less clear, because the library does seem to be present there.

Can you check if brolib_x64.so is present in your Linux headless install?

stiefeljackal commented 5 months ago

Another thing common in those logs. Around Line 320, it looks like Brotli is failing to sync R-Settings because R-Settings is larger than 1 MB. The R-Settings size somehow became 1.31 MB

BigRedWolfy commented 5 months ago

image Yep

bredo228 commented 5 months ago

I'm checking. It does seem the Brotli is having issues, but this one is a bit less clear, because the library does seem to be present there.

Can you check if brolib_x64.so is present in your Linux headless install?

root@glaceon:/var/lib/pterodactyl/volumes/93ca53d4-6ad1-4990-8f37-43beae8bf237# find . -iname brolib* -exec md5sum {} \;
9d4da89ec6cb8909934459b9d3de0b45  ./Resonite_Data/Plugins/brolib_x64.so
9d4da89ec6cb8909934459b9d3de0b45  ./Headless/brolib_x64.so

Same headless @BigRedWolfy is looking at.

bredo228 commented 5 months ago

Threw a brotli related exception into the console on shutdown.

Resonite log and copy of the console log:

resonite-test-debian - 2024.1.13.8 - 2024-01-13 13_54_38.log

new 16.txt

Frooxius commented 5 months ago

I have a fix coming: https://github.com/Yellow-Dog-Man/brotli.net/pull/2

Issue is that the the CI/CD update switched to .NET 4.6 version instead of .NET Standard 2.0 of the library. This version for some reason was hardcoded to always assume it's in Windows, instead of detecting this dynamically.

Once the library is recompiled, I'll push an update.

stiefeljackal commented 5 months ago

Yep. I was just going to mention that due to the following: System.NotSupportedException: Unable to find library brolib_x64.dll

Those that were affected with the larger R-Settings size will have issues with syncing due to the 1 MB limit, I believe.

Frooxius commented 5 months ago

@stiefeljackal There's no actual 1 MB limit, that's a bug in Brotli. It'll get resolved with this.

stiefeljackal commented 5 months ago

Cool. That might help resolve #941 since that user's R-Settings size is over 1 MB as well.

Frooxius commented 5 months ago

@stiefeljackal I'd recommend posting in that issue if there's another to keep this one focused on the startup issue.

Frooxius commented 5 months ago

Should be fixed with 2024.1.13.83, thanks!

Reopen if there's still an issue with startup. For other issues, please make a new issue or post into appropriate one.

bredo228 commented 5 months ago

appears to be working now!

enjoy your food @Frooxius