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.

Unable to launch on aarch64 (arm) linux

See original GitHub issue

Describe the bug: Attempt to launch om aarch64 ubuntu linux does not succeed. What have failed:

  • osu failed to load acodec-related libraries, as my distribution does not have libavformat.so (and others) symlinked to actual library, only libavcodec.so.58 is symlinked (for a concrete ABI version). Adding symlinks fixes the issue
  • after adding symlinks to avcodec-related libraries errors on video decoding appeared in the log (shown below)
  • osu failed to load libstbi.so (probably due to lack of version compiled for aarch64)
  • osu stalled while loading with 100% cpu load. As runtime.log stops at Loading SocialOverlay..., I guess that it does cause the issue

Screenshots or videos showing encountered issue:

osu! stalls in this state: Screenshot from 2019-12-12 03-53-30

osu!lazer version:

2019.1205.0

Logs:

Video decoding errors:

[runtime:verbose] 2019-12-12 12:53:18: at osu.Framework.Graphics.Video.VideoDecoder.prepareDecoding()
[runtime:verbose] 2019-12-12 12:53:18: at osu.Framework.Graphics.Video.VideoDecoder.StartDecoding()

runtime.log

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:18 (5 by maintainers)

github_iconTop GitHub Comments

7reactions
squidink7commented, Nov 24, 2022

Sorry to necro-bump (if that’s even a thing here), but I just attempted to build osu! on my Raspberry Pi 4, and thought I’d leave some notes for anyone else who wanted to undertake this challenge. Since the other comments in this issue, osu! switched to realm as the database, which requires a native librealm-wrappers.so library. This doesn’t come built for arm64 by default, and I had to build the realm-dotnet repository from source in order to get it to work. Unfortunately for whatever reason, arch Linux’s version of OpenSSL didn’t contain the files necessary for this to build, and that library didn’t contain a prebuilt version of it to automatically download like it does x64. To avoid myself the pain of having to compile a library for compiling library for compiling this game, I just grabbed the Debian package and added the necessary files. After I got it all worked out, eventually it produced the realm-wrappers library which I added to the native libs folder along with the bass libraries mentioned above. After all this osu! now works, albeit very slowly (but that’s just the power of the PI’s gpu and outdated OpenGL).

0reactions
HopeBaroncommented, Sep 12, 2020

I can confirm the same issue on my machine with arch64 but I fixed this by changing the audio source to Pulse Audio Server which I use for my setup. Thought it’s worth mentioning

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running 32-bit ARM binary on aarch64 not working ...
I'm running out of things to try at this point. Any idea how to get the kernel to recognize these binaries and run...
Read more >
Could not open '/lib/ld-linux-aarch64.so.1': No such file or ...
1 Answer 1 · Enable the arm64 architecture (this matches aarch64 ): sudo dpkg --add-architecture arm64 · Update the local repository caches: sudo ......
Read more >
Unable to open disk file for reading using arm64 system ...
I am unable to open and then read a simple text file using the arm64 syscalls. I am new to arm assembler programing...
Read more >
Where to get, or how to build toolchain "aarch64 for ...
I see no aarch64-hosted aarch64-linux-target available. Then I want to build it myself, but fail.
Read more >
Run with sudo not working on aarch64 Linux - YouTrack
I expect the application to run with sudo privileges. What happens instead? Failed to launch elevation service using 'pkexec': Process ...
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