question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

osu!lazer freezes/crashes on certain beatmaps at certain points

See original GitHub issue

Describe the bug:

Certain points in some beatmaps appear to freeze osu!lazer. The behavior is similar to what being described in #2457 and #11691: rendering freezes while inputs and audios works just fine. The game un-freeze itself after ~10 seconds. Spamming inputs during the freeze appears to crash the game sometimes.

The beatmap that I can reproduce the freeze constantly is 1264972 at 0:52.

Screenshots or videos showing encountered issue:

Sorry. I cannot really reliably capture this.

osu!lazer version:

2021.524.0.0 on macOS 11.2.3 (20D91)

Logs:

logs.tar.gz

As mentioned before, spamming inputs during freeze sometimes crash the game. The crash report generated by macOS (osu!_2021-05-24-194559_nato-macbook.crash) is also attached.

Snippet from the os-generated crash report indicates that this may be some sort of GPU issue:

Application Specific Signatures:
Graphics hardware encountered an error and was reset: 0x00000002

I’m using Radeon Pro 5300M with an external monitor (Dell S2417DG) via DP. The freezing issue also exists when using the integrated graphics. I however can’t get the game to crash by spamming inputs when using integrated graphics.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:25 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
peppycommented, Jan 2, 2023

We’ll be switching to metal soon, which should resolve this in that case.

0reactions
AkiSakuraicommented, Jan 2, 2023

Switching to use ANGLE with metal backing renderer fixes the issue for me, however the performance is not great, around 25 fps when scrolling the beatmap list.

//Set before SDL_CreateWindow
SDL.SDL_GL_SetAttribute(SDL.SDL_GLattr.SDL_GL_CONTEXT_PROFILE_MASK, SDL.SDL_GLprofile.SDL_GL_CONTEXT_PROFILE_ES);
export DYLD_LIBRARY_PATH=/Applications/Google\ Chrome.app/Contents/Frameworks/Google\ Chrome\ Framework.framework/Libraries/
export ANGLE_DEFAULT_PLATFORM=metal
dotnet run --project  ./osu.Desktop/osu.Desktop.csproj -c Release
Read more comments on GitHub >

github_iconTop Results From Across the Web

[Archived] osu!lazer setup wizard crashes the game / cannot ...
Problem details: When attempting to setup the osu!lazer client or add any beatmaps, the game freezes for a few seconds before closing.
Read more >
osu lazer crashing from shadowplay : r/osugame
the lazer starts crashing on startup, while the og osu client works as normal, does anyone know why this is happening? 3.
Read more >
Osu!
Editing a beatmap to use a 5.1 .wav file disguised as an .mp3 file, will cause the beatmap to crash, whereas using stereo...
Read more >
Osu lazer beatmaps
An Osu beatmap (also known as a map or song) by Inori Minase ... New issue osu!lazer freezes/crashes on certain beatmaps at certain...
Read more >
Osu lazer beatmaps
“lazer” is just a codename for the development project. osu!lazer beatmap ... New issue osu!lazer freezes/crashes on certain beatmaps at certain points ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found