Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Stuck on loading screen #23

Open
liquidev opened this issue Sep 13, 2019 · 4 comments
Open

Stuck on loading screen #23

liquidev opened this issue Sep 13, 2019 · 4 comments

Comments

@liquidev
Copy link

liquidev commented Sep 13, 2019

After updating to 1.3 Celeste suddenly gets stuck at the initial loading screen when you boot up the game. Killing the game from System Monitor also requires killing an additional SDL Audio-related process.

The game didn't work initially, then it worked for a day or two, and it stopped working today again. No clue what could be the issue behind this.

Running the game on Fedora Linux, native port from Steam.

@olekolek1000
Copy link

Same on Manjaro, OpenSUSE and Ubuntu.

@flibitijibibo
Copy link

flibitijibibo commented Sep 15, 2019

Can't reproduce this on Fedora 30 x86_64. The audio work has changed but not significantly.

If you run ./Celeste in a terminal and wait for it to freeze you'll get full thread dump when hitting Ctrl+\.

@liquidev
Copy link
Author

It seems that this only happens in certain situations and on Mesa amdgpu drivers, I'll try that when it happens again because it suddenly started working.

@flibitijibibo
Copy link

Turns out FMOD has a little race condition in it! If your machine is fast enough SDL init will complete faster than FMOD init, causing the audio thread to poll mixer samples from FMOD before it has a chance to finish initializing. That corruption probably bled into Mesa, so thankfully it's not them.

Here's the commit on my end to get around it, we'll get this uploaded ASAP:

flibitijibibo/FMOD_SDL@8914631

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants