Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BOX32] Getting the native Linux version of steam working on Apple silicon #1780

Closed
m1m1k4tz opened this issue Aug 31, 2024 · 55 comments
Closed

Comments

@m1m1k4tz
Copy link

m1m1k4tz commented Aug 31, 2024

The furthest I’ve been able to get is by running krun box64 ~/box64/tests/bash then steam after installing it from the rpm https://download1.rpmfusion.org/nonfree/el/updates/7/x86_64/s/ with this command sudo rpm --nodeps --ignorearch -i steam-1.0.0.78-1.el7.i686.rpm when I do that it gives me https://pastebin.com/0SGDhuhZ

@ptitSeb
Copy link
Owner

ptitSeb commented Aug 31, 2024

This is a known issue.

The box32 option of box64 is not yet abe to run steam. It's still a WIP and the first step is to be ablle to run SteamCMD. Steam will come later.

@m1m1k4tz
Copy link
Author

Okay, I fixed the missing dependencies on the M1 by doing sudo dnf --installroot="$HOME/.local/share/asahi-krun/box64-sysroot" --forcearch=x86_64 --releasever 40 install steam then doing krun -e BOX64_LD_LIBRARY_PATH=/home/alex/.local/share/asahi-krun/box64-sysroot/lib/ box64 ~/box64/tests/bash finally I ran steamcmd but it gave me this

Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 Cores
Will use Hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 90 entries
Box64 with Dynarec v0.3.1 fc7f83c6 built on Sep 11 2024 23:53:10
BOX64: Detected 48bits at least of address space
Counted 28 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex/.cargo/bin/:/home/alex/.local/bin/:/home/alex/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/sbin/:/usr/sbin/:/sbin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for /home/alex/box64/tests/bash
bash detected, disabling banner
Apply RC params for bash
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 Cores
Will use Hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 90 entries
Box64 with Dynarec v0.3.1 fc7f83c6 built on Sep 11 2024 23:53:10
steamcmd detected
BOX64: Detected 48bits at least of address space
Counted 28 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex/.cargo/bin/:/home/alex/.local/bin/:/home/alex/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/sbin/:/usr/sbin/:/sbin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for /home/alex/steamcmd_linux/linux32/steamcmd
BOX64: Using Box32 to load 32bits elf
Memory higher than 32bits reserved
Rename process to "steamcmd"
Using native(wrapped) librt.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libm.so.6
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Redirecting stderr to '/home/alex/.local/share/Steam/logs/stderr.txt'
Using native(wrapped) crashhandler.so
Looks like steam didn't shutdown cleanly, scheduling immediate update check
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[  0%] Checking for available update...
0346|SIGSEGV @0x34c93dd8 (my32_gethostbyname(/home/alex/steamcmd_linux/linux32/steamcmd)) (x64pc=(nil)/"???", rsp=0xf1190000, stack=0xf1090000:0xf1190000 own=0xf1090000 fp=(nil)), for accessing 0x36a1a000 (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x0000000000000000 RSP-0x18:0x0000000000000000 RSP-0x10:0x0000000000000000 RSP-0x08:0x0000000000000000
RSP+0x00:0x8000200800000000 RSP+0x08:0x0000000034e30958 RSP+0x10:0x0000000034e30958 RSP+0x18:0x0000000034e30958
RAX:0x0000000000000000 RCX:0x0000000000000000 RDX:0x0000000000000000 RBX:0x0000000000000000 
RSP:0x00000000f1190000 RBP:0x0000000000000000 RSI:0x0000000000000000 RDI:0x0000000000000000 
 R8:0x0000000000000000  R9:0x0000000000000000 R10:0x0000000000000000 R11:0x0000000000000000 
R12:0x0000000000000000 R13:0x0000000000000000 R14:0x0000000000000000 R15:0x0000000000000000 
ES:0x002b CS:0x0023 SS:0x002b DS:0x002b FS:0x0053 GS:0x0033 0346|SIGSEGV @0x3486431c (???(/home/alex/steamcmd_linux/linux32/steamcmd+0x6431c)) (x64pc=(nil)/"???", rsp=0xf1190000, stack=0xf1090000:0xf1190000 own=0xf1090000 fp=(nil)), for accessing 0x5 (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x0000000000000000 RSP-0x18:0x0000000000000000 RSP-0x10:0x0000000000000000 RSP-0x08:0x0000000000000000
RSP+0x00:0x8000200800000000 RSP+0x08:0x0000000034e30958 RSP+0x10:0x0000000034e30958 RSP+0x18:0x0000000034e30958
RAX:0x0000000000000000 RCX:0x0000000000000000 RDX:0x0000000000000000 RBX:0x0000000000000000 
RSP:0x00000000f1190000 RBP:0x0000000000000000 RSI:0x0000000000000000 RDI:0x0000000000000000 
 R8:0x0000000000000000  R9:0x0000000000000000 R10:0x0000000000000000 R11:0x0000000000000000 
R12:0x0000000000000000 R13:0x0000000000000000 R14:0x0000000000000000 R15:0x0000000000000000 
ES:0x002b CS:0x0023 SS:0x002b DS:0x002b FS:0x0053 GS:0x0033 0346|Double SIGSEGV (code=1, pc=0x3486431c, addr=0x5, prot=00)!
./steamcmd.sh: line 38:   336 Segmentation fault      $DEBUGGER "$STEAMEXE" "$@"

@ptitSeb
Copy link
Owner

ptitSeb commented Sep 12, 2024

Strange, I don't have this issue on my side (not on M1, but still on arm64 machine).

I wounder if it could be a buffer overflow happening? Can you try to add

printf_log(LOG_INFO, "gethostbyname: idx=%d\n", idx);

line 130 of libc_net32.c to see if idx>=128?

@m1m1k4tz
Copy link
Author

Actually the steam app is the one that doesn’t detect the libraries not steamcmd my bad it still won’t detect it after using that env variable

@m1m1k4tz
Copy link
Author

Okay

Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 Cores
Will use Hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 90 entries
Box64 with Dynarec v0.3.1 fc7f83c6 built on Sep 12 2024 07:57:08
BOX64: Detected 48bits at least of address space
Counted 27 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex/.cargo/bin/:/home/alex/.local/bin/:/home/alex/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/sbin/:/usr/sbin/:/sbin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for /home/alex/box64/tests/bash
bash detected, disabling banner
Apply RC params for bash
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 Cores
Will use Hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 90 entries
Box64 with Dynarec v0.3.1 fc7f83c6 built on Sep 12 2024 07:57:08
steamcmd detected
BOX64: Detected 48bits at least of address space
Counted 28 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex/.cargo/bin/:/home/alex/.local/bin/:/home/alex/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/sbin/:/usr/sbin/:/sbin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for /home/alex/steamcmd_linux/linux32/steamcmd
BOX64: Using Box32 to load 32bits elf
Memory higher than 32bits reserved
Rename process to "steamcmd"
Using native(wrapped) librt.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libm.so.6
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Redirecting stderr to '/home/alex/.local/share/Steam/logs/stderr.txt'
Using native(wrapped) crashhandler.so
Looks like steam didn't shutdown cleanly, scheduling immediate update check
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[  0%] Checking for available update...
0349|SIGSEGV @0x34c93ddc (my32_gethostbyname(/home/alex/steamcmd_linux/linux32/steamcmd)) (x64pc=(nil)/"???", rsp=0xf11b0000, stack=0xf10b0000:0xf11b0000 own=0xf10b0000 fp=(nil)), for accessing 0x36a1a000 (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x0000000000000000 RSP-0x18:0x0000000000000000 RSP-0x10:0x0000000000000000 RSP-0x08:0x0000000000000000
RSP+0x00:0x8000200800000000 RSP+0x08:0x0000000034e30998 RSP+0x10:0x0000000034e30998 RSP+0x18:0x0000000034e30998
RAX:0x0000000000000000 RCX:0x0000000000000000 RDX:0x0000000000000000 RBX:0x0000000000000000 
RSP:0x00000000f11b0000 RBP:0x0000000000000000 RSI:0x0000000000000000 RDI:0x0000000000000000 
 R8:0x0000000000000000  R9:0x0000000000000000 R10:0x0000000000000000 R11:0x0000000000000000 
R12:0x0000000000000000 R13:0x0000000000000000 R14:0x0000000000000000 R15:0x0000000000000000 
ES:0x002b CS:0x0023 SS:0x002b DS:0x002b FS:0x0053 GS:0x0033 0349|SIGSEGV @0x3486431c (???(/home/alex/steamcmd_linux/linux32/steamcmd+0x6431c)) (x64pc=(nil)/"???", rsp=0xf11b0000, stack=0xf10b0000:0xf11b0000 own=0xf10b0000 fp=(nil)), for accessing 0x5 (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x0000000000000000 RSP-0x18:0x0000000000000000 RSP-0x10:0x0000000000000000 RSP-0x08:0x0000000000000000
RSP+0x00:0x8000200800000000 RSP+0x08:0x0000000034e30998 RSP+0x10:0x0000000034e30998 RSP+0x18:0x0000000034e30998
RAX:0x0000000000000000 RCX:0x0000000000000000 RDX:0x0000000000000000 RBX:0x0000000000000000 
RSP:0x00000000f11b0000 RBP:0x0000000000000000 RSI:0x0000000000000000 RDI:0x0000000000000000 
 R8:0x0000000000000000  R9:0x0000000000000000 R10:0x0000000000000000 R11:0x0000000000000000 
R12:0x0000000000000000 R13:0x0000000000000000 R14:0x0000000000000000 R15:0x0000000000000000 
ES:0x002b CS:0x0023 SS:0x002b DS:0x002b FS:0x0053 GS:0x0033 0349|Double SIGSEGV (code=1, pc=0x3486431c, addr=0x5, prot=00)!
./steamcmd.sh: line 38:   339 Segmentation fault      $DEBUGGER "$STEAMEXE" "$@"

@ptitSeb
Copy link
Owner

ptitSeb commented Sep 12, 2024

I don't reproduce that exact issue on my side, but I do have network error with steamcmd anyway, so I'm working on that. Hopefully it will fix your issue in the process?

@m1m1k4tz
Copy link
Author

I'll try deleting my container for krun and remake it from the guide and see

@m1m1k4tz
Copy link
Author

Remaking it didn't seem to fix it for me

ptitSeb added a commit that referenced this issue Sep 13, 2024
@ptitSeb
Copy link
Owner

ptitSeb commented Sep 13, 2024

I reproduce the issue on my M1, even without krun. I'm actively working on it...

@m1m1k4tz
Copy link
Author

Okay thanks, I think that fixed it now I'm getting a network error like you are

📦[alex@asahi-krun ~]$ krun box64 ~/box64/tests/bash
Using default interface naming scheme 'v255'.
INFO <sommelier-scope-timer.cc:30> ~ScopeTimer: configure event loop: 0.000485292 seconds
INFO <sommelier-scope-timer.cc:30> ~ScopeTimer: drm device: 0.0418417 seconds
INFO <sommelier-scope-timer.cc:30> ~ScopeTimer: connect display: 1.875e-05 seconds
INFO <sommelier-scope-timer.cc:30> ~ScopeTimer: client create: 2.6791e-05 seconds
INFO <sommelier-scope-timer.cc:30> ~ScopeTimer: display implementation: 2.75e-06 seconds
INFO <sommelier-scope-timer.cc:30> ~ScopeTimer: spawn xwayland: 0.00032 seconds
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINTThe XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
 PageSize:4096 Running on Firestorm-M1 with 4 Cores
Will use Hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 90 entries
Box64 with Dynarec v0.3.1 f674953b built on Sep 17 2024 06:49:51
BOX64: Detected 48bits at least of address space
Counted 18 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex/.cargo/bin/:/home/alex/.local/bin/:/home/alex/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/sbin/:/usr/sbin/:/sbin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for /home/alex/box64/tests/bash
bash detected, disabling banner
Apply RC params for bash
[alex@macbookair ~]$ cd steamcmd_linux/
[alex@macbookair steamcmd_linux]$ ./steamcmd.sh 
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 Cores
Will use Hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 90 entries
Box64 with Dynarec v0.3.1 f674953b built on Sep 17 2024 06:49:51
BOX64: Detected 48bits at least of address space
Counted 27 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex/.cargo/bin/:/home/alex/.local/bin/:/home/alex/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/sbin/:/usr/sbin/:/sbin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for /home/alex/box64/tests/bash
bash detected, disabling banner
Apply RC params for bash
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 Cores
Will use Hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 90 entries
Box64 with Dynarec v0.3.1 f674953b built on Sep 17 2024 06:49:51
steamcmd detected
BOX64: Detected 48bits at least of address space
Counted 28 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex/.cargo/bin/:/home/alex/.local/bin/:/home/alex/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/sbin/:/usr/sbin/:/sbin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for /home/alex/steamcmd_linux/linux32/steamcmd
BOX64: Using Box32 to load 32bits elf
Memory higher than 32bits reserved
Rename process to "steamcmd"
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libm.so.6
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) crashhandler.so
Redirecting stderr to '/home/alex/.local/share/Steam/logs/stderr.txt'
Logging directory: '/home/alex/.local/share/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
[  0%] Downloading update...
[  0%] Checking for available updates...
UpdateUI: skip show logo[----] !!! Fatal Error: Steamcmd needs to be online to update. Please confirm your network connection and try again.
src/tier0/threadtools.cpp (3465) : Assertion Failed: Illegal termination of worker thread 'Thread(0x0x61e576e0/0x0xf13f7f'

@ptitSeb
Copy link
Owner

ptitSeb commented Sep 17, 2024

Yep, I have the exact same log... I have started debugging but still haven't found the source cause of the issue.
I'm also adding some more libs support so I can run a few more program. For now, I can run zsnes (the 32bits linux version, and Unreal (the original version, 32bits linux build, but without sound for now), both using SDL1.2 to setup the display, because X11 is not wrapped. But OpenGL is. And both are running on my M1 as-is (no need for krun).
image

@m1m1k4tz
Copy link
Author

The network problem looks like a krun issue so I've opened a bug there AsahiLinux/muvm#61

@ptitSeb
Copy link
Owner

ptitSeb commented Sep 18, 2024

The network problem looks like a krun issue so I've opened a bug there AsahiLinux/krun#61

No it's not. I have the exact same issue without krun! It's a box64 issue.
You can try yourself, you can run it without krun you will get the same result as with krun.

@m1m1k4tz
Copy link
Author

Oh okay I guess I found a different one then with krun I don’t think the network would work on the m1 right now even if you fixed it on box64

@ptitSeb
Copy link
Owner

ptitSeb commented Sep 18, 2024

mmm, have you tried without krun? you get a different a output?

@ptitSeb
Copy link
Owner

ptitSeb commented Sep 18, 2024

Oh, you mean those error:

ping: socktype: SOCK_DGRAM
ping: socket: Address family not supported by protocol

Yes, that seems krun related indeed!

@m1m1k4tz
Copy link
Author

I tested out ping and it gave me this in krun

ping: socktype: SOCK_DGRAM
ping: socket: Address family not supported by protocol

@ptitSeb
Copy link
Owner

ptitSeb commented Sep 20, 2024

Not related to steamcmd, but Unreal fully working on M1: https://youtu.be/zLqEBSgtK38

@m1m1k4tz
Copy link
Author

Maybe some logs could give clues? I'm not sure why it doesn't think its online when its downloading things
bootstrap_log.txt
stderr.txt

@m1m1k4tz
Copy link
Author

Maybe some library that steam is using I guess because it says http status code 0

@m1m1k4tz
Copy link
Author

@m1m1k4tz
Copy link
Author

m1m1k4tz commented Dec 10, 2024

Here's a log with what I get with the latest updates

alex1@fedora:~/Downloads$ muvm box64 steam
Using default interface naming scheme 'v255'.
Failed to open /usr/lib/udev/rules.d/60-nfs.rules, ignoring: Permission denied
/usr/lib/udev/rules.d/90-alsa-restore.rules:16 GOTO="alsa_restore_std" has no matching label, ignoring.
/usr/lib/udev/rules.d/90-alsa-restore.rules:16 The line has no effect any more, dropping.
/usr/lib/udev/rules.d/90-alsa-restore.rules:20 GOTO="alsa_restore_std" has no matching label, ignoring.
/usr/lib/udev/rules.d/90-alsa-restore.rules:20 The line has no effect any more, dropping.
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 e6d1bf78 built on Dec 10 2024 14:37:04
steam detected
BOX64: Detected 48bits at least of address space
Counted 16 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for steam
Apply RC params for steam
Applying BOX64_CRASHHANDLER=1
Applying BOX64_EMULATED_LIBS=libudev.so.0
Not an ELF file (sign=#!/u)
Error: Reading elf header of /usr/lib/steam/bin_steam.sh, Try to launch using bash instead
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 e6d1bf78 built on Dec 10 2024 14:37:04
BOX64: Detected 48bits at least of address space
Counted 16 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
bin_steam.sh[297]: Setting up Steam content in /home/alex1/.local/share/Steam
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 e6d1bf78 built on Dec 10 2024 14:37:04
BOX64: Detected 48bits at least of address space
Counted 22 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
steam.sh[297]: Running Steam on fedora-asahi-remix 40 64-bit
steam.sh[297]: STEAM_RUNTIME is enabled automatically
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 e6d1bf78 built on Dec 10 2024 14:37:04
BOX64: Detected 48bits at least of address space
Counted 30 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
setup.sh[422]: Updating Steam runtime environment...
thread 'main' panicked at src/client.rs:157:60:
called `Result::unwrap()` on an `Err` value: ETIMEDOUT
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 100%   
steam.sh[297]: Error: You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6
Error:
You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6
Press enter to continue: 
steam.sh[297]: Can't find 'steam-runtime-check-requirements', continuing anyway
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 e6d1bf78 built on Dec 10 2024 14:37:04
steam detected
BOX64: Detected 48bits at least of address space
Counted 32 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /home/alex1/.local/share/Steam/ubuntu12_32/steam
Apply RC params for steam
Applying BOX64_CRASHHANDLER=1
Applying BOX64_EMULATED_LIBS=libudev.so.0
BOX64: Using Box32 to load 32bits elf
Memory higher than 32bits reserved
Rename process to "steam"
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libX11.so.6
Using native(wrapped) libm.so.6
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
[2024-12-10 15:13:42] Startup - updater built Apr 28 2023 18:32:42
[2024-12-10 15:13:42] Startup - Steam Client launched with: '/home/alex1/.local/share/Steam/ubuntu12_32/steam'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
Using native(wrapped) crashhandler.so
Using native(wrapped) libGL.so.1
[2024-12-10 15:13:42] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2024-12-10 15:13:42] Using the following download hosts for Public, Realm steamglobal
[2024-12-10 15:13:42] 1. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-12-10 15:13:42] Verifying installation...
[2024-12-10 15:13:42] Unable to read and verify install manifest /home/alex1/.local/share/Steam/package/steam_client_ubuntu12.installed
[2024-12-10 15:13:42] Verification complete
[2024-12-10 15:13:42] Downloading Update...
[2024-12-10 15:13:42] Checking for available update...
[2024-12-10 15:13:42] Downloading manifest: http://media.steampowered.com/client/steam_client_ubuntu12
[2024-12-10 15:13:42] Manifest download: send request
Error: PltResolver32: Symbol XSetWMSizeHints(ver 0: XSetWMSizeHints) not found, cannot apply R_386_JMP_SLOT 0x4069fba8 (0x400287a6) in /home/alex1/.local/share/Steam/ubuntu12_32/steam
src/common/framefunction.cpp (149) : Assertion Failed: CFrameFunctionMgr::~CFrameFunctionMgr: non static FrameFunction[CHTTPClient::BFrameFuncHandleCompletedWorkItems] still registered
src/common/framefunction.cpp (149) : Assertion Failed: CFrameFunctionMgr::~CFrameFunctionMgr: non static FrameFunction[CHTTPClient::BFrameFuncHandleCompletedWorkItems] still registered
FATAL <sommelier.cc:2963> sl_handle_x_connection_event: got error or hangup (mask 5) on X connection, exiting
Using default interface naming scheme 'v255'.
Failed to open /usr/lib/udev/rules.d/60-nfs.rules, ignoring: Permission denied
/usr/lib/udev/rules.d/90-alsa-restore.rules:16 GOTO="alsa_restore_std" has no matching label, ignoring.
/usr/lib/udev/rules.d/90-alsa-restore.rules:16 The line has no effect any more, dropping.
/usr/lib/udev/rules.d/90-alsa-restore.rules:20 GOTO="alsa_restore_std" has no matching label, ignoring.
/usr/lib/udev/rules.d/90-alsa-restore.rules:20 The line has no effect any more, dropping.
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 e6d1bf78 built on Dec 10 2024 14:37:04
steam detected
BOX64: Detected 48bits at least of address space
Counted 16 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for steam
Apply RC params for steam
Applying BOX64_CRASHHANDLER=1
Applying BOX64_EMULATED_LIBS=libudev.so.0
Not an ELF file (sign=#!/u)
Error: Reading elf header of /usr/lib/steam/bin_steam.sh, Try to launch using bash instead
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 e6d1bf78 built on Dec 10 2024 14:37:04
BOX64: Detected 48bits at least of address space
Counted 16 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 e6d1bf78 built on Dec 10 2024 14:37:04
BOX64: Detected 48bits at least of address space
Counted 22 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
steam.sh[299]: Running Steam on fedora-asahi-remix 40 64-bit
steam.sh[299]: STEAM_RUNTIME is enabled automatically
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 e6d1bf78 built on Dec 10 2024 14:37:04
BOX64: Detected 48bits at least of address space
Counted 30 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
setup.sh[413]: Steam runtime environment up-to-date!
thread 'main' panicked at src/client.rs:157:60:
called `Result::unwrap()` on an `Err` value: ETIMEDOUT
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
steam.sh[299]: Error: You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6
Error:
You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6
Press enter to continue: 
steam.sh[299]: Can't find 'steam-runtime-check-requirements', continuing anyway
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 e6d1bf78 built on Dec 10 2024 14:37:04
steam detected
BOX64: Detected 48bits at least of address space
Counted 32 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /home/alex1/.local/share/Steam/ubuntu12_32/steam
Apply RC params for steam
Applying BOX64_CRASHHANDLER=1
Applying BOX64_EMULATED_LIBS=libudev.so.0
BOX64: Using Box32 to load 32bits elf
Memory higher than 32bits reserved
Rename process to "steam"
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libX11.so.6
Using native(wrapped) libm.so.6
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
[2024-12-10 15:27:31] Startup - updater built Apr 28 2023 18:32:42
[2024-12-10 15:27:31] Startup - Steam Client launched with: '/home/alex1/.local/share/Steam/ubuntu12_32/steam'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
Using native(wrapped) crashhandler.so
Using native(wrapped) libGL.so.1
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2024-12-10 15:27:31] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2024-12-10 15:27:31] Using the following download hosts for Public, Realm steamglobal
[2024-12-10 15:27:31] 1. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-12-10 15:27:31] Checking for update on startup
[2024-12-10 15:27:31] Checking for available update...
[2024-12-10 15:27:31] Downloading manifest: http://media.steampowered.com/client/steam_client_ubuntu12
[2024-12-10 15:27:31] Manifest download: send request
[2024-12-10 15:27:32] Manifest download: waiting for download to finish
[2024-12-10 15:27:32] Manifest download: finished
[2024-12-10 15:27:32] Downloaded new manifest: /client/steam_client_ubuntu12 version 1733265492, installed version 0, existing pending version 0
[2024-12-10 15:27:32] Package file tenfoot_images_all.zip.vz.193cb8c4eb4446698ea2c0a9e8c4e6b6a623dac7_5572671 missing or incorrect size
[2024-12-10 15:27:32] Package file steamui_websrc_all.zip.vz.184ee6a9f80503783fc44586c1737aa62fb491e3_24870486 missing or incorrect size
[2024-12-10 15:27:32] Package file resources_misc_all.zip.vz.e86a975545f3ab21a77373870cb311ef93934b8c_2224876 missing or incorrect size
[2024-12-10 15:27:32] Package file resources_hidpi_all.zip.vz.3de815c3117712cb9eeb7ea4c8b275faf481dcfd_56342 missing or incorrect size
[2024-12-10 15:27:32] Package file resources_all.zip.vz.3c8b3203e5c69d75ea0684c2409b86fe4d0d6f83_2856188 missing or incorrect size
[2024-12-10 15:27:32] Package file strings_en_all.zip.147798246441b35c9a4dbdeecef8d6c4ffda4346 missing or incorrect size
[2024-12-10 15:27:32] Package file strings_all.zip.vz.c904f95b8996c66336305408448b8bede03956d6_2006928 missing or incorrect size
[2024-12-10 15:27:32] Package file public_all.zip.vz.9278fb89cc7d24f86341f1398ae3c7d578e4148c_23328700 missing or incorrect size
[2024-12-10 15:27:32] Package file steamui_websrc_sounds_all.zip.vz.a2b25775b33d943e54c45d176558de379111ef5f_3220470 missing or incorrect size
[2024-12-10 15:27:32] Package file steamui_websrc_movies_all.zip.4d2183b0476852dfb695b8d70192a0ccece8c7d0 missing or incorrect size
[2024-12-10 15:27:32] Package file bins_ubuntu12.zip.vz.74adc531ccd9c4f893e54c8d0507dc4b0d01e84d_29941711 missing or incorrect size
[2024-12-10 15:27:32] Package file bins_sdk_ubuntu12.zip.vz.1ace715c54c948afdf4c97f683accbd4aa597d65_19099349 missing or incorrect size
[2024-12-10 15:27:32] Package file bins_codecs_ubuntu12.zip.vz.559e65ef71ebc044f29071dbebee20785daaa46c_12204977 missing or incorrect size
[2024-12-10 15:27:32] Package file bins_misc_ubuntu12.zip.vz.b546bcb9349cf48028e1f94436d0f416b6be2b3b_18432978 missing or incorrect size
[2024-12-10 15:27:32] Package file webkit_ubuntu12.zip.vz.914e6a52d4da01a8559e76dc37dd7bb4b48a5c52_89837846 missing or incorrect size
[2024-12-10 15:27:32] Package file miles_ubuntu12.zip.vz.5093ef941e6e5195a60ab3259077694dec994016_295496 missing or incorrect size
[2024-12-10 15:27:32] Package file sdl3_ubuntu12.zip.vz.52a134ab49559c6e716af77c9ee9738136232149_6305794 missing or incorrect size
[2024-12-10 15:27:32] Package file steam_ubuntu12.zip.vz.85bb5d42005ecb29d1d34abff1bb9aa43ec58225_2620966 missing or incorrect size
[2024-12-10 15:27:32] Package file runtime_scout_ubuntu12.zip.594c28f2cb961e3fc891e817a699f010b002da98 missing or incorrect size
[2024-12-10 15:27:32] Package file runtime_sniper_ubuntu12.zip.6f95df8c94a3dfd945bf2b5cc0b0e16318d3899e missing or incorrect size
[2024-12-10 15:27:32] Add pending download: http://media.steampowered.com/client/tenfoot_images_all.zip.vz.193cb8c4eb4446698ea2c0a9e8c4e6b6a623dac7_5572671
[2024-12-10 15:27:32] Manifest download: send request
Error: PltResolver32: Symbol XSetWMSizeHints(ver 0: XSetWMSizeHints) not found, cannot apply R_386_JMP_SLOT 0x4069fba8 (0x400287a6) in /home/alex1/.local/share/Steam/ubuntu12_32/steam
[2024-12-10 15:27:32] Add pending download: http://media.steampowered.com/client/steamui_websrc_all.zip.vz.184ee6a9f80503783fc44586c1737aa62fb491e3_24870486
src/common/framefunction.cpp (149) : Assertion Failed: CFrameFunctionMgr::~CFrameFunctionMgr: non static FrameFunction[CHTTPClient::BFrameFuncHandleCompletedWorkItems] still registered
src/common/framefunction.cpp (149) : Assertion Failed: CFrameFunctionMgr::~CFrameFunctionMgr: non static FrameFunction[CHTTPClient::BFrameFuncHandleCompletedWorkItems] still registered
/home/alex1/.local/share/Steam/steam.sh: line 798:   485 Segmentation fault      "$STEAMROOT/$STEAMEXEPATH" "$@"
FATAL <sommelier.cc:2963> sl_handle_x_connection_event: got error or hangup (mask 5) on X connection, exiting

@ptitSeb
Copy link
Owner

ptitSeb commented Dec 10, 2024

I know steam is not working. but I just fixed steamcmd...

@m1m1k4tz
Copy link
Author

I know sweet job btw just thought you'd like to see a log from steam too. I also fixed a typo so other people can follow along

@m1m1k4tz m1m1k4tz changed the title Getting the native Linux version of steam working on Apple silicon [BOX32] Getting the native Linux version of steam working on Apple silicon Dec 19, 2024
@m1m1k4tz
Copy link
Author

For anyone else following along it gets further now but you also need to install the package zenity

@ptitSeb
Copy link
Owner

ptitSeb commented Dec 19, 2024

Yeah. It should work now. It work on my side at least (not on M1, but on other arm machine using box64 only), but can still crashes from time to time... Just relaunch when it crashes...

@m1m1k4tz
Copy link
Author

m1m1k4tz commented Dec 21, 2024

This could be a dependency issue as well since the reason I was installing with rpm was because the dependencies were broken trying to install steam with dnf installing libnsl dbus-x11 libunity and
libXScrnSaver gets me further

Using default interface naming scheme 'v255'.
Failed to open /usr/lib/udev/rules.d/60-nfs.rules, ignoring: Permission denied
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 9fc46972 built on Dec 20 2024 23:33:16
steam detected
BOX64: Detected 48bits at least of address space
Counted 21 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for steam
Apply RC params for steam
Applying BOX64_CRASHHANDLER=0
Applying BOX64_EMULATED_LIBS=libudev.so.0
Not an ELF file (sign=#!/u)
Error: Reading elf header of /usr/lib/steam/bin_steam.sh, Try to launch using bash instead
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 9fc46972 built on Dec 20 2024 23:33:16
BOX64: Detected 48bits at least of address space
Counted 21 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 9fc46972 built on Dec 20 2024 23:33:16
BOX64: Detected 48bits at least of address space
Counted 27 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
steam.sh[274]: Running Steam on fedora-asahi-remix 41 64-bit
steam.sh[274]: STEAM_RUNTIME is enabled automatically
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 9fc46972 built on Dec 20 2024 23:33:16
BOX64: Detected 48bits at least of address space
Counted 33 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
setup.sh[345]: Steam runtime environment up-to-date!
/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/srt-logger: /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/srt-logger: cannot execute binary file
srt-logger[374]: E: Unable to parse status from srt-logger subprocess: 
steam.sh[274]: Couldn't set up srt-logger, not logging to console-linux.txt
steam.sh[274]: Error: You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6
Failed to open /usr/lib/udev/rules.d/60-nfs.rules, ignoring: Permission denied
steam.sh[274]: Steam client's requirements are satisfied
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 9fc46972 built on Dec 20 2024 23:33:16
steam detected
BOX64: Detected 48bits at least of address space
Counted 37 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /home/alex1/.local/share/Steam/ubuntu12_32/steam
Apply RC params for steam
Applying BOX64_CRASHHANDLER=0
Applying BOX64_EMULATED_LIBS=libudev.so.0
BOX64: Using Box32 to load 32bits elf
Memory higher than 32bits reserved
Rename process to "steam"
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libX11.so.6
Using native(wrapped) libm.so.6
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
CProcessEnvironmentManager is ready, 6 preallocated environment variables.
[2024-12-20 23:42:42] Startup - updater built Dec  2 2024 21:26:10
[2024-12-20 23:42:42] Startup - Steam Client launched with: '/home/alex1/.local/share/Steam/ubuntu12_32/steam'
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/crashhandler.so
12/20 23:42:43 minidumps folder is set to /tmp/dumps
12/20 23:42:43 Init: Installing breakpad exception handler for appid(steam)/version(1733265492)/tid(481)
Using native(wrapped) libGL.so.1
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2024-12-20 23:42:43] Loading cached metrics from disk (/home/alex1/.local/share/Steam/package/steam_client_metrics.bin)
[2024-12-20 23:42:43] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2024-12-20 23:42:43] Using the following download hosts for Public, Realm steamglobal
[2024-12-20 23:42:43] 1. https://client-update.steamstatic.com, /, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-12-20 23:42:43] Checking for update on startup
[2024-12-20 23:42:43] Checking for available updates...
[2024-12-20 23:42:43] Downloading manifest: https://client-update.steamstatic.com/steam_client_ubuntu12
[2024-12-20 23:42:43] Manifest download: send request
[2024-12-20 23:42:43] Manifest download: waiting for download to finish
[2024-12-20 23:42:44] Manifest download: finished
[2024-12-20 23:42:44] Download skipped: /steam_client_ubuntu12 version 1733265492, installed version 1733265492, existing pending version 0
[2024-12-20 23:42:44] Nothing to do
[2024-12-20 23:42:44] Verifying installation...
[2024-12-20 23:42:44] Performing checksum verification of executable files
[2024-12-20 23:42:45] Verification complete
UpdateUI: skip show logoUsing emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libappindicator.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libindicator.so.7
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libdbusmenu-gtk.so.4
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libdbusmenu-glib.so.4
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libgtk-x11-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgio-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libglib-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libffi.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgmodule-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libz.so.1
Using native(wrapped) libresolv.so.2
Look for __dn_expand in loaded elfs
Found symbol with version GLIBC_2.17, value = 0xffff8838e820
Look for __res_nquery in loaded elfs
Found symbol with version GLIBC_2.17, value = 0xffff883965ec
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0
Using native(wrapped) libXfixes.so.3
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libatk-1.0.so.0
Using native(wrapped) libcairo.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpango-1.0.so.0
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libexpat.so.1
Using native(wrapped) libfreetype.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libpng12.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libtiff.so.4
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libjpeg.so.8
Using native(wrapped) libXext.so.6
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXdamage.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steamui.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libtier0_s.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvstdlib_s.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libSDL3.so.0
Warning: Mmap64 for (@0x43593000 0x3fe440) for elf "/home/alex1/.local/share/Steam/ubuntu12_32/libavcodec.so.61" returned 0xe5200000(0xe5200000/0x1000) instead
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavcodec.so.61
Warning: Mmap64 for (@0x43593000 0x10eeae4) for elf "/home/alex1/.local/share/Steam/ubuntu12_32/libavutil.so.59" returned 0xe4110000(0xe4110000/0x1000) instead
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavutil.so.59
Warning: Mmap64 for (@0x43593000 0x69f698) for elf "/home/alex1/.local/share/Steam/ubuntu12_32/libvideo.so" returned 0xd795f000(0xd795f000/0x1000) instead
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvideo.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libXtst.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpipewire-0.3.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpulse.so.0
Using native(wrapped) libX11-xcb.so.1
Using native(wrapped) libxcb-res.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libjson.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpulsecommon-1.1.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libdbus-1.so.3
Using native(wrapped) libxcb.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libwrap.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libsndfile.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libasyncns.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libFLAC.so.8
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvorbisenc.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvorbis.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libogg.so.0
Using native(wrapped) libnsl.so.1
Look for yp_get_default_domain in loaded elfs
Found symbol with version GLIBC_2.17, value = 0xe40a63a0
Warning: Mmap64 for (@0x43593000 0x122564) for elf "/home/alex1/.local/share/Steam/ubuntu12_32/libavformat.so.61" returned 0xd783b000(0xd783b000/0x1000) instead
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavformat.so.61
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libswresample.so.5
Warning: Mmap64 for (@0x43593000 0x8b194) for elf "/home/alex1/.local/share/Steam/ubuntu12_32/libswscale.so.8" returned 0xe4013000(0xe4013000/0x1000) instead
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libswscale.so.8
Warning: Mmap64 for (@0x43593000 0x27220) for elf "/home/alex1/.local/share/Steam/ubuntu12_32/libavfilter.so.10" returned 0xd7812000(0xd7812000/0x1000) instead
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavfilter.so.10
Using native(wrapped) libvdpau.so.1
Using native(wrapped) libdrm.so.2
Warning: Mmap64 for (@0x43593000 0x23960) for elf "/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libva.so.2" returned 0xd77cb000(0xd77cb000/0x1000) instead
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libva.so.2
Warning: Mmap64 for (@0x43593000 0x10ce8) for elf "/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libbz2.so.1.0" returned 0xe704e000(0xe704e000/0x1000) instead
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libbz2.so.1.0
Warning: Mmap64 for (@0x43593000 0x3604ac) for elf "/home/alex1/.local/share/Steam/ubuntu12_32/libvpx.so.6" returned 0xd7469000(0xd7469000/0x1000) instead
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvpx.so.6
Warning: Mmap64 for (@0x43593000 0x1d244) for elf "/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libgcc_s.so.1" returned 0xd744a000(0xd744a000/0x1000) instead
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libgcc_s.so.1
Failed to set the new pressure in the guest: could not connect to muvm server: Connection reset by peer (os error 104)

Steam logging initialized: directory: /home/alex1/.local/share/Steam/logs

Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
Warning: Unsupported libc Syscall 0xDC (220)
Warning, long 4294967295 is not a 32bits value
Using native(wrapped) libudev.so.1
Warning: Mmap64 for (@0x43593000 0x7ef04) for elf "/home/alex1/.local/share/Steam/ubuntu12_32/filesystem_stdio.so" returned 0xd4480000(0xd4480000/0x1000) instead
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/filesystem_stdio.so
Warning: Mmap64 for (@0x43593000 0x172d84) for elf "/home/alex1/.local/share/Steam/ubuntu12_32/vgui2_s.so" returned 0xd428c000(0xd428c000/0x1000) instead
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/vgui2_s.so
Using native(wrapped) libopenal.so.1
Warning: Mmap64 for (@0x43593000 0x80b4) for elf "/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libSM.so.6" returned 0xffff88276000(0xffff88276000/0x1000) instead
Warning, pointer 0xffff88276000 is not a 32bits value
NativeBT: /home/alex1/.local/share/Steam/ubuntu12_32/steam() [0x34860dd0]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffff8848b7e8]
NativeBT: /lib64/libc.so.6(+0x8e700) [0xffff8830e700]
NativeBT: /lib64/libc.so.6(gsignal+0x20) [0xffff882bb140]
NativeBT: /lib64/libc.so.6(abort+0xf8) [0xffff882a59c8]
NativeBT: /home/alex1/.local/share/Steam/ubuntu12_32/steam() [0x34862d90]
NativeBT: /home/alex1/.local/share/Steam/ubuntu12_32/steam() [0x34d8d8a8]
NativeBT: /home/alex1/.local/share/Steam/ubuntu12_32/steam() [0x34856a60]
NativeBT: /home/alex1/.local/share/Steam/ubuntu12_32/steam() [0x34856f9c]
NativeBT: /home/alex1/.local/share/Steam/ubuntu12_32/steam() [0x3485a61c]
NativeBT: /home/alex1/.local/share/Steam/ubuntu12_32/steam() [0x34854fd8]
NativeBT: /home/alex1/.local/share/Steam/ubuntu12_32/steam() [0x3483afd0]
NativeBT: /home/alex1/.local/share/Steam/ubuntu12_32/steam() [0x34854bac]
NativeBT: /home/alex1/.local/share/Steam/ubuntu12_32/steam() [0x34854e84]
NativeBT: /home/alex1/.local/share/Steam/ubuntu12_32/steam(my_dlopen+0x53c) [0x34e5d064]
NativeBT: /home/alex1/.local/share/Steam/ubuntu12_32/steam() [0x34dc62d4]
NativeBT: [0x1003dffa0]
EmulatedBT: box64(dlmopen+0) [0x308100a0]
EmulatedBT: /home/alex1/.local/share/Steam/ubuntu12_32/steamui.so(__wrap_dlmopen+86) [0x41dc89e6]
EmulatedBT: ??? [0x43aae01000000000]
0481|SIGABRT @0xffff8830e700 (???(/lib64/libc.so.6+0x8e700)) (x64pc=0x308100b3/"???", rsp=0x30808c5c, stack=0x30010000:0x30810000 own=(nil) fp=0x30808ea8), for accessing 0x3e8000001e1 (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=0x4073ce80
RSP-0x20:0x0000000000000000 RSP-0x18:0x41dc5d7b00000000 RSP-0x10:0x42d7739442d77394 RSP-0x08:0x30808ea800000000
RSP+0x00:0x0000000041dc89e6 RSP+0x08:0x0000000243aae010 RSP+0x10:0x0000000000000000 RSP+0x18:0x0000000000000000
RAX:0x0000000043aae010 RCX:0x0000000000000000 RDX:0x0000000000000000 RBX:0x0000000042d77394 
RSP:0x0000000030808c5c RBP:0x0000000030808ea8 RSI:0x0000000042d77394 RDI:0x0000000000000000 
 R8:0x0000000000000000  R9:0x0000000000000000 R10:0x0000000000000000 R11:0x0000000000000000 
R12:0x0000000000000000 R13:0x0000000000000000 R14:0x0000000000000000 R15:0x0000000000000000 
ES:0x002b CS:0x0023 SS:0x002b DS:0x002b FS:0x0000 GS:0x0033 
Signal32 6: si_addr=(nil), TRAPNO=0, ERR=0, RIP=0x308100b3, prot:0, mmaped:2
/home/alex1/.local/share/Steam/steam.sh: line 906:   481 Aborted                 "$STEAMROOT/$STEAMEXEPATH" "$@"

@ptitSeb
Copy link
Owner

ptitSeb commented Dec 21, 2024

I have create a shellscript install_steam.sh (in the root of box64 repo) to simply install steam and create a shortcut to launch it. The important this is to use STEAMOS=1 env. var. when launching steam so all the libraries installed by steam get used to launch steam itself. That remove most of the dependancies issues.
Just install gtk2, with gstreamer-1.0 and friends for steamwebhelper, libICE and libSM and you should be good to go.

@ptitSeb
Copy link
Owner

ptitSeb commented Dec 21, 2024

Now, the thing is, sometimes, you get an error with a pointer not being 32bits and it abort. Just restart, it's a known issue, but it will not be fixed easily.

@m1m1k4tz
Copy link
Author

This is what I get now, I should have all of the packages that provide libpk-gtk-module.so and libunity.so.9

Using default interface naming scheme 'v255'.
Failed to open /usr/lib/udev/rules.d/60-nfs.rules, ignoring: Permission denied
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 9fc46972 built on Dec 21 2024 03:08:30
steam detected
BOX64: Detected 48bits at least of address space
Counted 21 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for steam
Apply RC params for steam
Applying BOX64_CRASHHANDLER=0
Applying BOX64_EMULATED_LIBS=libudev.so.0
Not an ELF file (sign=#!/b)
Error: Reading elf header of /usr/local/bin/steam, Try to launch using bash instead
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 9fc46972 built on Dec 21 2024 03:08:30
BOX64: Detected 48bits at least of address space
Counted 21 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 9fc46972 built on Dec 21 2024 03:08:30
BOX64: Detected 48bits at least of address space
Counted 27 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 9fc46972 built on Dec 21 2024 03:08:30
BOX64: Detected 48bits at least of address space
Counted 30 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /home/alex1/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-steam-remote
Rename process to "steam-runtime-steam-remote"
Using native(wrapped) libglib-2.0.so.0
Using native(wrapped) libgobject-2.0.so.0
Using native(wrapped) libgio-2.0.so.0
Using native(wrapped) libgmodule-2.0.so.0
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Error loading needed lib libsystemd.so.0
Warning: Cannot dlopen("libsystemd.so.0"/0x40e38c, 1002)
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 9fc46972 built on Dec 21 2024 03:08:30
BOX64: Detected 48bits at least of address space
Counted 30 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
steam.sh[280]: Running Steam on fedora-asahi-remix 41 64-bit
steam.sh[280]: STEAM_RUNTIME is enabled by the user
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 9fc46972 built on Dec 21 2024 03:08:30
BOX64: Detected 48bits at least of address space
Counted 36 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
setup.sh[346]: Steam runtime environment up-to-date!
/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/srt-logger: /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/srt-logger: cannot execute binary file
srt-logger[376]: E: Unable to parse status from srt-logger subprocess: 
steam.sh[280]: Couldn't set up srt-logger, not logging to console-linux.txt
steam.sh[280]: Steam client's requirements are satisfied
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 9fc46972 built on Dec 21 2024 03:08:30
steam detected
BOX64: Detected 48bits at least of address space
Counted 39 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /home/alex1/.local/share/Steam/ubuntu12_32/steam
Apply RC params for steam
Applying BOX64_CRASHHANDLER=0
Applying BOX64_EMULATED_LIBS=libudev.so.0
BOX64: Using Box32 to load 32bits elf
Memory higher than 32bits reserved
Rename process to "steam"
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libX11.so.6
Using native(wrapped) libm.so.6
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
CProcessEnvironmentManager is ready, 6 preallocated environment variables.
[2024-12-21 03:14:12] Startup - updater built Dec  2 2024 21:26:10
[2024-12-21 03:14:12] Startup - Steam Client launched with: '/home/alex1/.local/share/Steam/ubuntu12_32/steam'
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/crashhandler.so
12/21 03:14:12 minidumps folder is set to /tmp/dumps
12/21 03:14:12 Init: Installing breakpad exception handler for appid(steam)/version(1733265492)/tid(386)
Using native(wrapped) libGL.so.1
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2024-12-21 03:14:13] Loading cached metrics from disk (/home/alex1/.local/share/Steam/package/steam_client_metrics.bin)
[2024-12-21 03:14:13] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2024-12-21 03:14:13] Using the following download hosts for Public, Realm steamglobal
[2024-12-21 03:14:13] 1. https://client-update.steamstatic.com, /, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-12-21 03:14:13] Checking for update on startup
[2024-12-21 03:14:13] Checking for available updates...
[2024-12-21 03:14:13] Downloading manifest: https://client-update.steamstatic.com/steam_client_ubuntu12
[2024-12-21 03:14:13] Manifest download: send request
[2024-12-21 03:14:13] Manifest download: waiting for download to finish
[2024-12-21 03:14:13] Manifest download: finished
[2024-12-21 03:14:13] Download skipped: /steam_client_ubuntu12 version 1733265492, installed version 1733265492, existing pending version 0
[2024-12-21 03:14:13] Nothing to do
[2024-12-21 03:14:13] Verifying installation...
[2024-12-21 03:14:13] Performing checksum verification of executable files
[2024-12-21 03:14:14] Verification complete
UpdateUI: skip show logoUsing emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libappindicator.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libindicator.so.7
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libdbusmenu-gtk.so.4
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libdbusmenu-glib.so.4
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libgtk-x11-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgio-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libglib-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libffi.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgmodule-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libz.so.1
Using native(wrapped) libresolv.so.2
Look for __dn_expand in loaded elfs
Found symbol with version GLIBC_2.17, value = 0xffff88bde820
Look for __res_nquery in loaded elfs
Found symbol with version GLIBC_2.17, value = 0xffff88be65ec
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0
Using native(wrapped) libXfixes.so.3
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libatk-1.0.so.0
Using native(wrapped) libcairo.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpango-1.0.so.0
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libexpat.so.1
Using native(wrapped) libfreetype.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libpng12.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libtiff.so.4
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libjpeg.so.8
Using native(wrapped) libXext.so.6
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXdamage.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steamui.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libtier0_s.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvstdlib_s.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libSDL3.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavcodec.so.61
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavutil.so.59
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvideo.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libXtst.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpipewire-0.3.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpulse.so.0
Using native(wrapped) libX11-xcb.so.1
Using native(wrapped) libxcb-res.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libjson.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpulsecommon-1.1.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libdbus-1.so.3
Using native(wrapped) libxcb.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libwrap.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libsndfile.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libasyncns.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libFLAC.so.8
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvorbisenc.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvorbis.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libogg.so.0
Using native(wrapped) libnsl.so.1
Look for yp_get_default_domain in loaded elfs
Found symbol with version GLIBC_2.17, value = 0xe55963a0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavformat.so.61
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libswresample.so.5
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libswscale.so.8
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavfilter.so.10
Using native(wrapped) libvdpau.so.1
Using native(wrapped) libdrm.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libva.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libbz2.so.1.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvpx.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libgcc_s.so.1

Steam logging initialized: directory: /home/alex1/.local/share/Steam/logs

Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
Warning: Unsupported libc Syscall 0xDC (220)
Warning, long 4294967295 is not a 32bits value
Using native(wrapped) libudev.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/filesystem_stdio.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/vgui2_s.so
Using native(wrapped) libopenal.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libSM.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libICE.so.6
Using native(wrapped) libuuid.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/chromehtml.so
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0x30940100
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0x30940120
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so
/usr/share/themes/Adwaita/gtk-2.0/main.rc:733: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Adwaita/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libcanberra-gtk.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libcanberra.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvorbisfile.so.3
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libtdb.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libltdl.so.7
Error loading needed lib libpk-gtk-module.so
Warning: Cannot dlopen("libpk-gtk-module.so"/0x3f773940, 1)
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
Using native(wrapped) libXss.so.1
Failed to open /usr/lib/udev/rules.d/60-nfs.rules, ignoring: Permission denied
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
/home/alex1/.steam/root/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/logger-0.bash: line 25: /home/alex1/.steam/root/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/srt-logger: cannot execute binary file: Exec format error
steamwebhelper.sh[465]: Couldn't set up logger, continuing to use inherited fd
steamwebhelper.sh[465]: Using supervisor /home/alex1/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
steamwebhelper.sh[465]: Starting steamwebhelper under bootstrap sniper steam runtime via /home/alex1/.local/share/Steam/ubuntu12_64/steam-runtime-sniper.sh
/home/alex1/.local/share/Steam/ubuntu12_64/steamwebhelper.sh: line 92: /home/alex1/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor: cannot execute binary file: Exec format error
Error loading needed lib libunity.so.9
Warning: Cannot dlopen("libunity.so.9"/0x45820609, 1)
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steamservice.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steamclient.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libnm.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgnutls.so.30
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgudev-1.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libp11-kit.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libidn.so.11
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libtasn1.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libnettle.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libhogweed.so.4
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgmp.so.10
src/clientdll/steamengine.cpp (2773) : Assertion Failed: CSteamEngine::BMainLoop appears to have stalled > 15 seconds without event signalled
src/clientdll/steamengine.cpp (2773) : Assertion Failed: CSteamEngine::BMainLoop appears to have stalled > 15 seconds without event signalled
Warning: Unsupported Syscall 0x8Dh (141)
12/21 03:14:34 Failed writing minidump, nothing to upload.

@m1m1k4tz
Copy link
Author

I opened an issue in muvm because it looks like there are some errors related to muvm in there though

@ptitSeb
Copy link
Owner

ptitSeb commented Dec 21, 2024

Mmmm, it's trying to launch steam-runtime-steam-remote instead of steam. I saw that 1 time on my side. But I rebooted and that fixed it. No idea why it would launch this app instead of steam, I haven't checked the steam.sh script. But this app needs systemd.so for some reason, which is not wrapped (and not sure I will).

@ptitSeb
Copy link
Owner

ptitSeb commented Dec 21, 2024

Also, I would suggest to enable binfmt integration for box32 too, if that's possible. It seems srt-logger cannot start because of the lack of some binfmt integration

@ptitSeb
Copy link
Owner

ptitSeb commented Dec 21, 2024

@LukeShortCloud didn't you succeed in running steam on asahi with box64/box32?

@LukeShortCloud
Copy link
Collaborator

Yeah, it's working for me with Box64 commit: 8a37b12 . I even retested just now to confirm.

$ muvm -- /home/user/git/box64/build/box64 /home/user/games/steam/usr/bin/steam

I manually extracted the Steam DEB package myself first.

@LukeShortCloud
Copy link
Collaborator

Game support has been hit-or-miss but I just played Overcooked! All You Can Eat on Steam on Fedora Asahi Remix using Box64/32. :-)

@m1m1k4tz
Copy link
Author

Also, I would suggest to enable binfmt integration for box32 too, if that's possible. It seems srt-logger cannot start because of the lack of some binfmt integration

I can confirm that I compile with DBOX32_BINFMT=1

@m1m1k4tz
Copy link
Author

alex1@fedora:~$ muvm box64 steam
Using default interface naming scheme 'v255'.
Failed to open /usr/lib/udev/rules.d/60-nfs.rules, ignoring: Permission denied
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 3e745474 built on Dec 21 2024 09:59:00
steam detected
BOX64: Detected 48bits at least of address space
Counted 21 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for steam
Apply RC params for steam
Applying BOX64_CRASHHANDLER=0
Applying BOX64_EMULATED_LIBS=libudev.so.0
Not an ELF file (sign=#!/b)
Error: Reading elf header of /usr/local/bin/steam, Try to launch using bash instead
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 3e745474 built on Dec 21 2024 09:59:00
BOX64: Detected 48bits at least of address space
Counted 21 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 3e745474 built on Dec 21 2024 09:59:00
BOX64: Detected 48bits at least of address space
Counted 27 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 3e745474 built on Dec 21 2024 09:59:00
BOX64: Detected 48bits at least of address space
Counted 30 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /home/alex1/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-steam-remote
Rename process to "steam-runtime-steam-remote"
Using native(wrapped) libglib-2.0.so.0
Using native(wrapped) libgobject-2.0.so.0
Using native(wrapped) libgio-2.0.so.0
Using native(wrapped) libgmodule-2.0.so.0
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Error loading needed lib libsystemd.so.0
Warning: Cannot dlopen("libsystemd.so.0"/0x40e38c, 1002)
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 3e745474 built on Dec 21 2024 09:59:00
BOX64: Detected 48bits at least of address space
Counted 30 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
steam.sh[280]: Running Steam on fedora-asahi-remix 41 64-bit
steam.sh[280]: STEAM_RUNTIME is enabled by the user
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 3e745474 built on Dec 21 2024 09:59:00
BOX64: Detected 48bits at least of address space
Counted 36 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
setup.sh[346]: Steam runtime environment up-to-date!
/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/srt-logger: /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/srt-logger: cannot execute binary file
srt-logger[375]: E: Unable to parse status from srt-logger subprocess: 
steam.sh[280]: Couldn't set up srt-logger, not logging to console-linux.txt
steam.sh[280]: Steam client's requirements are satisfied
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 97 entries
Box64 with Dynarec v0.3.3 3e745474 built on Dec 21 2024 09:59:00
steam detected
BOX64: Detected 48bits at least of address space
Counted 39 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/bin/:/usr/local/sbin/:/usr/bin/:/usr/sbin/
Looking for /home/alex1/.local/share/Steam/ubuntu12_32/steam
Apply RC params for steam
Applying BOX64_CRASHHANDLER=0
Applying BOX64_EMULATED_LIBS=libudev.so.0
BOX64: Using Box32 to load 32bits elf
Memory higher than 32bits reserved
Rename process to "steam"
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libX11.so.6
Using native(wrapped) libm.so.6
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
CProcessEnvironmentManager is ready, 6 preallocated environment variables.
[2024-12-21 10:00:57] Startup - updater built Dec  2 2024 21:26:10
[2024-12-21 10:00:57] Startup - Steam Client launched with: '/home/alex1/.local/share/Steam/ubuntu12_32/steam'
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/crashhandler.so
12/21 10:00:57 minidumps folder is set to /tmp/dumps
12/21 10:00:57 Init: Installing breakpad exception handler for appid(steam)/version(1733265492)/tid(385)
Using native(wrapped) libGL.so.1
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2024-12-21 10:00:57] Loading cached metrics from disk (/home/alex1/.local/share/Steam/package/steam_client_metrics.bin)
[2024-12-21 10:00:57] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2024-12-21 10:00:57] Using the following download hosts for Public, Realm steamglobal
[2024-12-21 10:00:57] 1. https://client-update.steamstatic.com, /, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-12-21 10:00:57] Checking for update on startup
[2024-12-21 10:00:57] Checking for available updates...
[2024-12-21 10:00:57] Downloading manifest: https://client-update.steamstatic.com/steam_client_ubuntu12
[2024-12-21 10:00:57] Manifest download: send request
[2024-12-21 10:00:58] Manifest download: waiting for download to finish
[2024-12-21 10:00:58] Manifest download: finished
[2024-12-21 10:00:58] Download skipped: /steam_client_ubuntu12 version 1733265492, installed version 1733265492, existing pending version 0
[2024-12-21 10:00:58] Nothing to do
[2024-12-21 10:00:58] Verifying installation...
[2024-12-21 10:00:58] Performing checksum verification of executable files
[2024-12-21 10:00:59] Verification complete
UpdateUI: skip show logoUsing emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libappindicator.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libindicator.so.7
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libdbusmenu-gtk.so.4
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libdbusmenu-glib.so.4
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libgtk-x11-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgio-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libglib-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libffi.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgmodule-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libz.so.1
Using native(wrapped) libresolv.so.2
Look for __dn_expand in loaded elfs
Found symbol with version GLIBC_2.17, value = 0xffffb09ae820
Look for __res_nquery in loaded elfs
Found symbol with version GLIBC_2.17, value = 0xffffb09b65ec
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0
Using native(wrapped) libXfixes.so.3
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libatk-1.0.so.0
Using native(wrapped) libcairo.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpango-1.0.so.0
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libexpat.so.1
Using native(wrapped) libfreetype.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libpng12.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libtiff.so.4
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libjpeg.so.8
Using native(wrapped) libXext.so.6
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXdamage.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steamui.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libtier0_s.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvstdlib_s.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libSDL3.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavcodec.so.61
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavutil.so.59
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvideo.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libXtst.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpipewire-0.3.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpulse.so.0
Using native(wrapped) libX11-xcb.so.1
Using native(wrapped) libxcb-res.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libjson.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpulsecommon-1.1.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libdbus-1.so.3
Using native(wrapped) libxcb.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libwrap.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libsndfile.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libasyncns.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libFLAC.so.8
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvorbisenc.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvorbis.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libogg.so.0
Using native(wrapped) libnsl.so.1
Look for yp_get_default_domain in loaded elfs
Found symbol with version GLIBC_2.17, value = 0xe56463a0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavformat.so.61
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libswresample.so.5
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libswscale.so.8
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavfilter.so.10
Using native(wrapped) libvdpau.so.1
Using native(wrapped) libdrm.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libva.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libbz2.so.1.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvpx.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libgcc_s.so.1

Steam logging initialized: directory: /home/alex1/.local/share/Steam/logs

Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
Warning: Unsupported libc Syscall 0xDC (220)
Warning, long 4294967295 is not a 32bits value
Using native(wrapped) libudev.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/filesystem_stdio.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/vgui2_s.so
Using native(wrapped) libopenal.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libSM.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libICE.so.6
Using native(wrapped) libuuid.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/chromehtml.so
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0x30940100
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0x30940120
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so
/usr/share/themes/Adwaita/gtk-2.0/main.rc:733: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Adwaita/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libcanberra-gtk.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libcanberra.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvorbisfile.so.3
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libtdb.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libltdl.so.7
Error loading needed lib libpk-gtk-module.so
Warning: Cannot dlopen("libpk-gtk-module.so"/0x68a57c40, 1)
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
Using native(wrapped) libXss.so.1
Failed to open /usr/lib/udev/rules.d/60-nfs.rules, ignoring: Permission denied
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
/home/alex1/.steam/root/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/logger-0.bash: line 25: /home/alex1/.steam/root/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/srt-logger: cannot execute binary file: Exec format error
steamwebhelper.sh[462]: Couldn't set up logger, continuing to use inherited fd
steamwebhelper.sh[462]: Using supervisor /home/alex1/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
steamwebhelper.sh[462]: Starting steamwebhelper under bootstrap sniper steam runtime via /home/alex1/.local/share/Steam/ubuntu12_64/steam-runtime-sniper.sh
/home/alex1/.local/share/Steam/ubuntu12_64/steamwebhelper.sh: line 92: /home/alex1/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor: cannot execute binary file: Exec format error
Error loading needed lib libunity.so.9
Warning: Cannot dlopen("libunity.so.9"/0x45820609, 1)
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steamservice.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steamclient.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libnm.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgnutls.so.30
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgudev-1.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libp11-kit.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libidn.so.11
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libtasn1.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libnettle.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libhogweed.so.4
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgmp.so.10

^CSignal32 2: si_addr=(nil), TRAPNO=0, ERR=0, RIP=0x308503b3, prot:0, mmaped:0

@ptitSeb
Copy link
Owner

ptitSeb commented Dec 21, 2024

Yeah, I noticed that muvm enabled binfmt stuffs inside the VM only for FEX, not box64. The change is trivial, but it needs to be added to muvm codebase.

@m1m1k4tz
Copy link
Author

Oh, okay thats cool!

@ptitSeb
Copy link
Owner

ptitSeb commented Dec 21, 2024

muvm doesn't work on my side tho. I get a panic in virtio_gpu.rs line 240, and I'm not sure I want to invest more time in this tbh.

@m1m1k4tz
Copy link
Author

Thats fine, this looks like a muvm issue at this point then so I'll close this.

@m1m1k4tz
Copy link
Author

m1m1k4tz commented Jan 8, 2025

How did you make the change btw? I tried this and it wont work for some reason

use std::fs::File;
use std::io::Write;

use anyhow::{Context, Result};

use crate::utils::env::find_in_path;

const FEX_X86_BINFMT_MISC_RULE: &str = ":FEX-x86:M:0:\\x7fELF\\x01\\x01\\x01\\x00\\x00\\x00\\x00\\\
                                        x00\\x00\\x00\\x00\\x00\\x02\\x00\\x03\\x00:\\xff\\xff\\\
                                        xff\\xff\\xff\\xfe\\xfe\\x00\\x00\\x00\\x00\\xff\\xff\\\
                                        xff\\xff\\xff\\xfe\\xff\\xff\\xff:${FEX_INTERPRETER}:POCF";
const FEX_X86_64_BINFMT_MISC_RULE: &str =
    ":FEX-x86_64:M:0:\\x7fELF\\x02\\x01\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x02\\\
     x00\\x3e\\x00:\\xff\\xff\\xff\\xff\\xff\\xfe\\xfe\\x00\\x00\\x00\\x00\\xff\\xff\\xff\\xff\\\
     xff\\xfe\\xff\\xff\\xff:${FEX_INTERPRETER}:POCF";

const BOX_X86_BINFMT_MISC_RULE: &str = 
    ":box32:M::\\x7fELF\\x01\\x01\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x02\\\
     x00\\x03\\x00:\\xff\\xff\\xff\\xff\\xff\\xff\\xff\\x00\\xff\\xff\\xff\\xff\\xff\\xff\\\
     xff\\xff\\xfe\\xff\\xff\\xff:${CMAKE_INSTALL_PREFIX}/bin/${BOX64}:";

const BOX_X86_64_BINFMT_MISC_RULE: &str = 
    ":box64:M::\\x7fELF\\x02\\x01\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x02\\\
     x00\\x3e\\x00:\\xff\\xff\\xff\\xff\\xff\\xff\\xff\\x00\\x00\\x00\\x00\\xff\\xff\\xff\\\
     xff\\xff\\xfe\\xff\\xff\\xff:${CMAKE_INSTALL_PREFIX}/bin/${BOX64}:";

pub fn setup_fex() -> Result<()> {
    let fex_interpreter_path =
        find_in_path("FEXInterpreter").context("Failed to check existence of `FEXInterpreter`")?;
    let Some(fex_interpreter_path) = fex_interpreter_path else {
        return Ok(());
    };
    let fex_interpreter_path = fex_interpreter_path
        .to_str()
        .context("Failed to process `FEXInterpreter` path as it contains invalid UTF-8")?;

    let mut file = File::options()
        .write(true)
        .open("/proc/sys/fs/binfmt_misc/register")
        .context("Failed to open binfmt_misc/register for writing")?;

    {
        let rule = FEX_X86_BINFMT_MISC_RULE.replace("${FEX_INTERPRETER}", fex_interpreter_path);
        file.write_all(rule.as_bytes())
            .context("Failed to register `FEX-x86` binfmt_misc rule")?;
    }
    {
        let rule = FEX_X86_64_BINFMT_MISC_RULE.replace("${FEX_INTERPRETER}", fex_interpreter_path);
        file.write_all(rule.as_bytes())
            .context("Failed to register `FEX-x86_64` binfmt_misc rule")?;
    }

    {
        let rule = BOX_X86_BINFMT_MISC_RULE;
        file.write_all(rule.as_bytes())
            .context("Failed to register `BOX32` binfmt_misc rule")?;
    }
    {
        let rule = BOX_X86_64_BINFMT_MISC_RULE;
        file.write_all(rule.as_bytes())
            .context("Failed to register `BOX64` binfmt_misc rule")?;
    }


    Ok(())
}

@ptitSeb
Copy link
Owner

ptitSeb commented Jan 8, 2025

In your code, this

    let fex_interpreter_path =
        find_in_path("FEXInterpreter").context("Failed to check existence of `FEXInterpreter`")?;

will fail if FEX is not installed and the rest of the code never run...

@m1m1k4tz
Copy link
Author

m1m1k4tz commented Jan 8, 2025

Okay, I put it in a new file called box.rs but it still wont work for some reason :/

use std::fs::File;
use std::io::Write;

use anyhow::{Context, Result};

use crate::utils::env::find_in_path;

const BOX_X86_BINFMT_MISC_RULE: &str = 
    ":box32:M::\\x7fELF\\x01\\x01\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x02\\\
     x00\\x03\\x00:\\xff\\xff\\xff\\xff\\xff\\xff\\xff\\x00\\xff\\xff\\xff\\xff\\xff\\xff\\\
     xff\\xff\\xfe\\xff\\xff\\xff:${CMAKE_INSTALL_PREFIX}/bin/${BOX64}:";

const BOX_X86_64_BINFMT_MISC_RULE: &str = 
    ":box64:M::\\x7fELF\\x02\\x01\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x02\\\
     x00\\x3e\\x00:\\xff\\xff\\xff\\xff\\xff\\xff\\xff\\x00\\x00\\x00\\x00\\xff\\xff\\xff\\\
     xff\\xff\\xfe\\xff\\xff\\xff:${CMAKE_INSTALL_PREFIX}/bin/${BOX64}:";

let mut file = File::options()
    .write(true)
    .open("/proc/sys/fs/binfmt_misc/register")
    .context("Failed to open binfmt_misc/register for writing")?;

{
    let rule = BOX_X86_BINFMT_MISC_RULE;
    file.write_all(rule.as_bytes())
        .context("Failed to register `BOX32` binfmt_misc rule")?;
}
{
    let rule = BOX_X86_64_BINFMT_MISC_RULE;
    file.write_all(rule.as_bytes())
        .context("Failed to register `BOX64` binfmt_misc rule")?;
}


Ok(())

@ptitSeb
Copy link
Owner

ptitSeb commented Jan 8, 2025

There is no function there? You don't know rust I guess... I'll check later to provide a rust patch. to add box64 detection...

@m1m1k4tz
Copy link
Author

m1m1k4tz commented Jan 8, 2025

You're right lol I dont know rust but a patch would be nice thanks

@m1m1k4tz
Copy link
Author

m1m1k4tz commented Jan 8, 2025

I got further but now I get could not find box64 in guest even though the file is there 😩

@ptitSeb
Copy link
Owner

ptitSeb commented Jan 8, 2025

muvm_box64.diff.tar.gz

My rust is bit ... rusty... but at least this build. Seems a bit ugly but that should make the job. To be applied on top of latest sources. Not really tested as I have issue with graphic on my side. Also, not sure how to be sure this version of muvm_guest is used instead of the one installed by dnf...

@teohhanhui
Copy link

@ptitSeb Why not open a draft PR on muvm repo? I can help to get it into a mergeable state.

@ptitSeb
Copy link
Owner

ptitSeb commented Jan 8, 2025

@ptitSeb Why not open a draft PR on muvm repo? I can help to get it into a mergeable state.

My mac is not running yet the latest Fedora 41 version, and my local muvm install doesn't do graphic. So I'm not in position to properly test yet. I'm migrating (to asahi fedora remix 41) and once things are working, I can try to have something clean to make a PR if it has a chance of being merged.

@m1m1k4tz
Copy link
Author

m1m1k4tz commented Jan 8, 2025

Heres the log I get with that patch btw, for some reason the steam logger still wont work

⬢ [alex1@toolbx release]$ muvm box64 steam
Failed to set the new pressure in the guest: could not connect to muvm server: Connection refused (os error 111)
Using default interface naming scheme 'v255'.
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 98 entries
Box64 with Dynarec v0.3.3 b5de464e built on Jan  8 2025 03:02:55
steam detected
BOX64: Detected 48bits at least of address space
Counted 20 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.cargo/bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for steam
Apply RC params for steam
Applying BOX64_CRASHHANDLER=0
Applying BOX64_EMULATED_LIBS=libudev.so.0
Not an ELF file (sign=#!/u)
Error: Reading elf header of /usr/lib/steam/bin_steam.sh, Try to launch using bash instead
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 98 entries
Box64 with Dynarec v0.3.3 b5de464e built on Jan  8 2025 03:02:55
BOX64: Detected 48bits at least of address space
Counted 20 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.cargo/bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 98 entries
Box64 with Dynarec v0.3.3 b5de464e built on Jan  8 2025 03:02:55
BOX64: Detected 48bits at least of address space
Counted 26 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.cargo/bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
steam.sh[277]: Running Steam on fedora 41 64-bit
steam.sh[277]: STEAM_RUNTIME is enabled automatically
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 98 entries
Box64 with Dynarec v0.3.3 b5de464e built on Jan  8 2025 03:02:55
BOX64: Detected 48bits at least of address space
Counted 32 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.cargo/bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
setup.sh[349]: Steam runtime environment up-to-date!
/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/srt-logger: /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/srt-logger: cannot execute binary file
srt-logger[378]: E: Unable to parse status from srt-logger subprocess: 
steam.sh[277]: Couldn't set up srt-logger, not logging to console-linux.txt
steam.sh[277]: Error: You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6
Failed to set the new pressure in the guest: could not connect to muvm server: Connection reset by peer (os error 104)
steam.sh[277]: Steam client's requirements are satisfied
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 98 entries
Box64 with Dynarec v0.3.3 b5de464e built on Jan  8 2025 03:02:55
steam detected
BOX64: Detected 48bits at least of address space
Counted 36 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/bin/:/home/alex1/.cargo/bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for /home/alex1/.local/share/Steam/ubuntu12_32/steam
Apply RC params for steam
Applying BOX64_CRASHHANDLER=0
Applying BOX64_EMULATED_LIBS=libudev.so.0
BOX64: Using Box32 to load 32bits elf
Memory higher than 32bits reserved
Rename process to "steam"
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libX11.so.6
Using native(wrapped) libm.so.6
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
CProcessEnvironmentManager is ready, 6 preallocated environment variables.
[2025-01-08 20:53:18] Startup - updater built Dec  2 2024 21:26:10
[2025-01-08 20:53:18] Startup - Steam Client launched with: '/home/alex1/.local/share/Steam/ubuntu12_32/steam'
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/crashhandler.so
01/08 20:53:18 minidumps folder is set to /tmp/dumps
01/08 20:53:18 Init: Installing breakpad exception handler for appid(steam)/version(1733265492)/tid(465)
Using native(wrapped) libGL.so.1
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2025-01-08 20:53:18] Loading cached metrics from disk (/home/alex1/.local/share/Steam/package/steam_client_metrics.bin)
[2025-01-08 20:53:18] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2025-01-08 20:53:18] Using the following download hosts for Public, Realm steamglobal
[2025-01-08 20:53:18] 1. https://client-update.steamstatic.com, /, Realm 'steamglobal', weight was 1, source = 'baked in'
[2025-01-08 20:53:18] Checking for update on startup
[2025-01-08 20:53:18] Checking for available updates...
[2025-01-08 20:53:18] Downloading manifest: https://client-update.steamstatic.com/steam_client_ubuntu12
[2025-01-08 20:53:18] Manifest download: send request
[2025-01-08 20:53:18] Manifest download: waiting for download to finish
[2025-01-08 20:53:19] Manifest download: finished
[2025-01-08 20:53:19] Download skipped: /steam_client_ubuntu12 version 1733265492, installed version 1733265492, existing pending version 0
[2025-01-08 20:53:19] Nothing to do
[2025-01-08 20:53:19] Verifying installation...
[2025-01-08 20:53:19] Performing checksum verification of executable files
[2025-01-08 20:53:20] Verification complete
UpdateUI: skip show logoUsing emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libappindicator.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libindicator.so.7
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libdbusmenu-gtk.so.4
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libdbusmenu-glib.so.4
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libgtk-x11-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgio-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libglib-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libffi.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgmodule-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libz.so.1
Using native(wrapped) libresolv.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0
Using native(wrapped) libXfixes.so.3
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libatk-1.0.so.0
Using native(wrapped) libcairo.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpango-1.0.so.0
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libexpat.so.1
Using native(wrapped) libfreetype.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libpng12.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libtiff.so.4
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libjpeg.so.8
Using native(wrapped) libXext.so.6
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXdamage.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steamui.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libtier0_s.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvstdlib_s.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libSDL3.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavcodec.so.61
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavutil.so.59
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvideo.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libXtst.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpipewire-0.3.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpulse.so.0
Using native(wrapped) libX11-xcb.so.1
Using native(wrapped) libxcb-res.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libjson.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpulsecommon-1.1.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libdbus-1.so.3
Using native(wrapped) libxcb.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libwrap.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libsndfile.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libasyncns.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libFLAC.so.8
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvorbisenc.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvorbis.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libogg.so.0
Using native(wrapped) libnsl.so.1
Look for yp_get_default_domain in loaded elfs
Found symbol with version GLIBC_2.17, value = 0xe54063a0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavformat.so.61
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libswresample.so.5
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libswscale.so.8
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavfilter.so.10
Error initializing native libvdpau.so.1 (last dlerror is libvdpau.so.1: wrong ELF class: ELFCLASS32)
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libvdpau.so.1
Using native(wrapped) libdrm.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libva.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libbz2.so.1.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvpx.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libgcc_s.so.1

Steam logging initialized: directory: /home/alex1/.local/share/Steam/logs

Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
Warning: Unsupported libc Syscall 0xDC (220)
Warning, long 4294967295 is not a 32bits value
Using native(wrapped) libudev.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/filesystem_stdio.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/vgui2_s.so
Error initializing native libopenal.so.1 (last dlerror is libopenal.so.1: wrong ELF class: ELFCLASS32)
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libopenal.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libSM.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libICE.so.6
Using native(wrapped) libuuid.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/chromehtml.so
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0x30940100
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0x30940120
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libcanberra-gtk.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libcanberra.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvorbisfile.so.3
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libtdb.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libltdl.so.7
Error loading needed lib libpk-gtk-module.so
Warning: Cannot dlopen("libpk-gtk-module.so"/0x6ab38540, 1)
sh: line 1: lspci: command not found
Using native(wrapped) libXss.so.1
sh: line 1: lspci: command not found
/home/alex1/.steam/root/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/logger-0.bash: line 25: /home/alex1/.steam/root/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/srt-logger: cannot execute binary file: Exec format error
steamwebhelper.sh[487]: Couldn't set up logger, continuing to use inherited fd
steamwebhelper.sh[487]: Using supervisor /home/alex1/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
steamwebhelper.sh[487]: Starting steamwebhelper under bootstrap sniper steam runtime via /home/alex1/.local/share/Steam/ubuntu12_64/steam-runtime-sniper.sh
/home/alex1/.local/share/Steam/ubuntu12_64/steamwebhelper.sh: line 92: /home/alex1/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor: cannot execute binary file: Exec format error
Error loading needed lib libunity.so.9
Warning: Cannot dlopen("libunity.so.9"/0x45825609, 1)
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steamservice.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steamclient.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libnm.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgnutls.so.30
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgudev-1.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libp11-kit.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libidn.so.11
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libtasn1.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libnettle.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libhogweed.so.4
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgmp.so.10
0500|SIGBUS @0x3485f33c (???(/home/alex1/.local/share/Steam/ubuntu12_32/steam+0x5f33c)) (x64pc=0x30860853/"???", rsp=0x3314f89c, stack=0x33050000:0x33150000 own=0x33050000 fp=0x44), for accessing 0x3ad00004 (code=2/prot=103), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=0x4073ce80
RSP-0x20:0xac2ea84091314800 RSP-0x18:0x44ebce69ac2ea840 RSP-0x10:0x44ee8ff444ee8ff4 RSP-0x08:0xac2ea91844ee8ff4
RSP+0x00:0x0000000044ebd1fc RSP+0x08:0x0000000304001000 RSP+0x10:0x0000004400004001 RSP+0x18:0x0000000000000000
RAX:0x00000000000001d1 RCX:0x0000000044ed8dc9 RDX:0x0000000004000028 RBX:0x0000000044ee8ff4 
RSP:0x000000003314f89c RBP:0x0000000000000044 RSI:0x00000000ac2ea918 RDI:0x000000003ad00000 
 R8:0x0000000000000000  R9:0x0000000000000000 R10:0x0000000000000000 R11:0x0000000000000000 
R12:0x0000000000000000 R13:0x0000000000000000 R14:0x0000000000000000 R15:0x0000000000000000 
ES:0x002b CS:0x0023 SS:0x002b DS:0x002b FS:0x0000 GS:0x0033  x86opcode=C3 00 00 C5 11 56 6A 00 (opcode=38001402)
Signal32 7: si_addr=0x3ad00004, TRAPNO=17, ERR=0, RIP=0x30860853, prot:103, mmaped:1
0500|Double SIGBUS (code=2, pc=0x3485f33c, x64pc=0x30860853, addr=0x3ad00004, prot=103)!
src/common/framefunction.cpp (238) : Assertion Failed: CFrameFunctionMgr::~CFrameFunctionMgr: non static FrameFunction[Bootstrapper HTTP Client] still registered
src/common/framefunction.cpp (238) : Assertion Failed: CFrameFunctionMgr::~CFrameFunctionMgr: non static FrameFunction[Bootstrapper HTTP Client] still registered
Warning: Unsupported Syscall 0x8Dh (141)
01/08 20:53:22 Failed writing minidump, nothing to upload.
/home/alex1/.local/share/Steam/steam.sh: line 906:   465 Segmentation fault      "$STEAMROOT/$STEAMEXEPATH" "$@"

@ptitSeb
Copy link
Owner

ptitSeb commented Jan 8, 2025

Yeah, I notice that on my side. Did you install the version on top of the one from the system or just launch from the build folder? I just launched from the build folder but I'm unsure it actually use the newly built muvm-guest binary like that. I haven't investigated yet (but I did finaly migrated to fedora 41, so I'll be able to test now)

@m1m1k4tz
Copy link
Author

m1m1k4tz commented Jan 8, 2025

I just copied the binaries into /usr/bin becuase it told me it couldnt find one of the binaries

@m1m1k4tz
Copy link
Author

m1m1k4tz commented Jan 9, 2025

Also, heres the full list of packages I needed to install, I think everything else comes installed

zenity dbus-x11 libnsl libunity libXScrnSaver-1.2.4-4.fc41.aarch64 pciutils

Forgot pciutils for the last log too btw but it still gives me errors with that

⬢ [alex1@toolbx ~]$ muvm box64 steam
Failed to set the new pressure in the guest: could not connect to muvm server: Connection refused (os error 111)
Using default interface naming scheme 'v255'.
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 98 entries
Box64 with Dynarec v0.3.3 b5de464e built on Jan  8 2025 03:02:55
steam detected
BOX64: Detected 48bits at least of address space
Counted 20 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.cargo/bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for steam
Apply RC params for steam
Applying BOX64_CRASHHANDLER=0
Applying BOX64_EMULATED_LIBS=libudev.so.0
Not an ELF file (sign=#!/u)
Error: Reading elf header of /usr/lib/steam/bin_steam.sh, Try to launch using bash instead
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 98 entries
Box64 with Dynarec v0.3.3 b5de464e built on Jan  8 2025 03:02:55
BOX64: Detected 48bits at least of address space
Counted 20 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.cargo/bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 98 entries
Box64 with Dynarec v0.3.3 b5de464e built on Jan  8 2025 03:02:55
BOX64: Detected 48bits at least of address space
Counted 26 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.cargo/bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
steam.sh[278]: Running Steam on fedora 41 64-bit
steam.sh[278]: STEAM_RUNTIME is enabled automatically
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 98 entries
Box64 with Dynarec v0.3.3 b5de464e built on Jan  8 2025 03:02:55
BOX64: Detected 48bits at least of address space
Counted 32 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.cargo/bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for /usr/local/bin/box64-bash
bash detected, disabling banner
Apply RC params for box64-bash
setup.sh[351]: Steam runtime environment up-to-date!
/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/srt-logger: /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/srt-logger: cannot execute binary file
srt-logger[380]: E: Unable to parse status from srt-logger subprocess: 
steam.sh[278]: Couldn't set up srt-logger, not logging to console-linux.txt
steam.sh[278]: Error: You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6
Failed to set the new pressure in the guest: could not connect to muvm server: Connection reset by peer (os error 104)
steam.sh[278]: Steam client's requirements are satisfied
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Firestorm-M1 with 4 cores
Will use hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 98 entries
Box64 with Dynarec v0.3.3 b5de464e built on Jan  8 2025 03:02:55
steam detected
BOX64: Detected 48bits at least of address space
Counted 36 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/:/home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/bin/:/home/alex1/.cargo/bin/:/home/alex1/.local/bin/:/home/alex1/bin/:/usr/lib64/ccache/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for /home/alex1/.local/share/Steam/ubuntu12_32/steam
Apply RC params for steam
Applying BOX64_CRASHHANDLER=0
Applying BOX64_EMULATED_LIBS=libudev.so.0
BOX64: Using Box32 to load 32bits elf
Memory higher than 32bits reserved
Rename process to "steam"
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libX11.so.6
Using native(wrapped) libm.so.6
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
CProcessEnvironmentManager is ready, 6 preallocated environment variables.
[2025-01-09 02:12:07] Startup - updater built Dec  2 2024 21:26:10
[2025-01-09 02:12:07] Startup - Steam Client launched with: '/home/alex1/.local/share/Steam/ubuntu12_32/steam'
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/crashhandler.so
01/09 02:12:07 minidumps folder is set to /tmp/dumps
01/09 02:12:07 Init: Installing breakpad exception handler for appid(steam)/version(1733265492)/tid(466)
Using native(wrapped) libGL.so.1
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2025-01-09 02:12:07] Loading cached metrics from disk (/home/alex1/.local/share/Steam/package/steam_client_metrics.bin)
[2025-01-09 02:12:07] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2025-01-09 02:12:07] Using the following download hosts for Public, Realm steamglobal
[2025-01-09 02:12:07] 1. https://client-update.steamstatic.com, /, Realm 'steamglobal', weight was 1, source = 'baked in'
[2025-01-09 02:12:07] Checking for update on startup
[2025-01-09 02:12:07] Checking for available updates...
[2025-01-09 02:12:07] Downloading manifest: https://client-update.steamstatic.com/steam_client_ubuntu12
[2025-01-09 02:12:07] Manifest download: send request
[2025-01-09 02:12:08] Manifest download: waiting for download to finish
[2025-01-09 02:12:08] Manifest download: finished
[2025-01-09 02:12:08] Download skipped: /steam_client_ubuntu12 version 1733265492, installed version 1733265492, existing pending version 0
[2025-01-09 02:12:08] Nothing to do
[2025-01-09 02:12:08] Verifying installation...
[2025-01-09 02:12:08] Performing checksum verification of executable files
[2025-01-09 02:12:09] Verification complete
UpdateUI: skip show logoUsing emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libappindicator.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libindicator.so.7
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libdbusmenu-gtk.so.4
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libdbusmenu-glib.so.4
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libgtk-x11-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgio-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libglib-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libffi.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgmodule-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libz.so.1
Using native(wrapped) libresolv.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0
Using native(wrapped) libXfixes.so.3
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libatk-1.0.so.0
Using native(wrapped) libcairo.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpango-1.0.so.0
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libexpat.so.1
Using native(wrapped) libfreetype.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libpng12.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libtiff.so.4
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libjpeg.so.8
Using native(wrapped) libXext.so.6
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXdamage.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steamui.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libtier0_s.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvstdlib_s.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libSDL3.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavcodec.so.61
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavutil.so.59
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvideo.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libXtst.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpipewire-0.3.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpulse.so.0
Using native(wrapped) libX11-xcb.so.1
Using native(wrapped) libxcb-res.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libjson.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libpulsecommon-1.1.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libdbus-1.so.3
Using native(wrapped) libxcb.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libwrap.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libsndfile.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libasyncns.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libFLAC.so.8
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvorbisenc.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvorbis.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libogg.so.0
Using native(wrapped) libnsl.so.1
Look for yp_get_default_domain in loaded elfs
Found symbol with version GLIBC_2.17, value = 0xe54463a0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavformat.so.61
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libswresample.so.5
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libswscale.so.8
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libavfilter.so.10
Error initializing native libvdpau.so.1 (last dlerror is libvdpau.so.1: wrong ELF class: ELFCLASS32)
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libvdpau.so.1
Using native(wrapped) libdrm.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libva.so.2
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libbz2.so.1.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvpx.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libgcc_s.so.1

Steam logging initialized: directory: /home/alex1/.local/share/Steam/logs

Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
Warning: Unsupported libc Syscall 0xDC (220)
Warning, long 4294967295 is not a 32bits value
Using native(wrapped) libudev.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/filesystem_stdio.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/vgui2_s.so
Error initializing native libopenal.so.1 (last dlerror is libopenal.so.1: wrong ELF class: ELFCLASS32)
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libopenal.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libSM.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libICE.so.6
Using native(wrapped) libuuid.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/chromehtml.so
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0x30940100
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0x30940120
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libcanberra-gtk.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libcanberra.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/libvorbisfile.so.3
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libtdb.so.1
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libltdl.so.7
Error loading needed lib libpk-gtk-module.so
Warning: Cannot dlopen("libpk-gtk-module.so"/0x6c75b3f0, 1)
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
Using native(wrapped) libXss.so.1
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
/home/alex1/.steam/root/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/logger-0.bash: line 25: /home/alex1/.steam/root/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/srt-logger: cannot execute binary file: Exec format error
steamwebhelper.sh[489]: Couldn't set up logger, continuing to use inherited fd
steamwebhelper.sh[489]: Using supervisor /home/alex1/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
steamwebhelper.sh[489]: Starting steamwebhelper under bootstrap sniper steam runtime via /home/alex1/.local/share/Steam/ubuntu12_64/steam-runtime-sniper.sh
/home/alex1/.local/share/Steam/ubuntu12_64/steamwebhelper.sh: line 92: /home/alex1/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor: cannot execute binary file: Exec format error
Error loading needed lib libunity.so.9
Warning: Cannot dlopen("libunity.so.9"/0x45825609, 1)
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steamservice.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steamclient.so
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libnm.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgnutls.so.30
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgudev-1.0.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libp11-kit.so.0
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libidn.so.11
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libtasn1.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libnettle.so.6
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libhogweed.so.4
Using emulated /home/alex1/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgmp.so.10
0503|SIGBUS @0x3485f33c (???(/home/alex1/.local/share/Steam/ubuntu12_32/steam+0x5f33c)) (x64pc=0x30860853/"???", rsp=0x3314f89c, stack=0x33050000:0x33150000 own=0x33050000 fp=0x44), for accessing 0x3ad00004 (code=2/prot=103), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=0x4073ce80
RSP-0x20:0xac2eae9091314800 RSP-0x18:0x44ebce69ac2eae90 RSP-0x10:0x44ee8ff444ee8ff4 RSP-0x08:0xac2eaf9844ee8ff4
RSP+0x00:0x0000000044ebd1fc RSP+0x08:0x0000000304001000 RSP+0x10:0x0000004400004001 RSP+0x18:0x0000000000000000
RAX:0x00000000000001d2 RCX:0x0000000044ed8dc9 RDX:0x0000000004000028 RBX:0x0000000044ee8ff4 
RSP:0x000000003314f89c RBP:0x0000000000000044 RSI:0x00000000ac2eaf98 RDI:0x000000003ad00000 
 R8:0x0000000000000000  R9:0x0000000000000000 R10:0x0000000000000000 R11:0x0000000000000000 
R12:0x0000000000000000 R13:0x0000000000000000 R14:0x0000000000000000 R15:0x0000000000000000 
ES:0x002b CS:0x0023 SS:0x002b DS:0x002b FS:0x0000 GS:0x0033  x86opcode=C3 00 00 C5 41 18 6C 00 (opcode=38001402)
Signal32 7: si_addr=0x3ad00004, TRAPNO=17, ERR=0, RIP=0x30860853, prot:103, mmaped:1
0503|Double SIGBUS (code=2, pc=0x3485f33c, x64pc=0x30860853, addr=0x3ad00004, prot=103)!
src/common/framefunction.cpp (238) : Assertion Failed: CFrameFunctionMgr::~CFrameFunctionMgr: non static FrameFunction[Bootstrapper HTTP Client] still registered
src/common/framefunction.cpp (238) : Assertion Failed: CFrameFunctionMgr::~CFrameFunctionMgr: non static FrameFunction[Bootstrapper HTTP Client] still registered
Warning: Unsupported Syscall 0x8Dh (141)
01/09 02:12:11 Failed writing minidump, nothing to upload.
/home/alex1/.local/share/Steam/steam.sh: line 906:   466 Segmentation fault      "$STEAMROOT/$STEAMEXEPATH" "$@"

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

No branches or pull requests

4 participants