Open TuxThePenguin0 opened 4 years ago
I got it working on side. I just tried again with latest source and does start on my side (on a Pi4 4GB with default raspbian). It seems there is some memory leak for now, so it's pretty unstable. Still usable on a 4GB Pi4 on my side (just have to relaunch when it crash). Also, only "Small mode" works, Large mode will be empty (Steam browser needs x86_64), and Big Picture crash.
Also, message at start about missing libc.so.6 is "normal". Some workaround will (hopefully) be done later.
Final word: OpenGL and 32bpp X11 is needed for this, so be sure mesa or gl4es is accessible and running on your chroot @TuxThePenguin0
That's odd, mesa is functional in my chroot, I tested running glxgears and it worked as expected I also tried running steam with its built libraries rather than the native ones but that didn't even get to the login prompt
How much memory do you have?
4GB, the machine I am using has similar specs to the RPI 4 although the GPU is better supported
The final error before closing out is:
(box86:17705): GLib-GObject-WARNING **: 07:37:41.991: ../glib/gobject/gsignal.c:1742: signal "device-added" already exists in the 'NMObject' class ancestry
(box86:17705): GLib-GObject-WARNING **: 07:37:41.991: ../glib/gobject/gsignal.c:1742: signal "device-removed" already exists in the 'NMObject' class ancestry
(box86:17705): GLib-GObject-WARNING **: 07:37:41.991: ../glib/gobject/gsignal.c:1742: signal "permission-changed" already exists in the 'NMObject' class ancestry
(box86:17705): GLib-GObject-CRITICAL **: 07:37:41.992: g_object_new_is_valid_property: object class 'NMClient' has no property named 'dbus-connection'
/home/tux/.local/share/Steam/steam.sh: line 750: 17705 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
Ok, strange. Steam is still very experimental anyway, and highly unstable. I need to relaunch 2 or 3 time the app to install something, because it create many thread and don't close them (that's certainly a box86 issue, but I haven't found the cause of this).
If you can get a gdb backtrace of the crash (be sure to build box86 with debug symbol), that could help.
(maybe start a new ticket in box86 issue then)
This is the end of the log and the (very small, I might have done something wrong?) backtrace I wonder if it might be steam somehow detecting that it's a 64 bit OS despite being in a 32 bit chroot and trying to run 64 bit chromium, which fails because box86 isn't made to handle that and the 64 bit libraries don't exist
[Detaching after vfork from child process 27088]
/lib64/ld-linux-x86-64.so.2: No such file or directory
Warning: Cannot dlopen("/home/tux/.local/share/Steam/libopenvr_api.so"/0x74a87388, 2)
Using emulated /home/tux/.local/share/Steam/ubuntu12_32/libopenvr_api.so
[New Thread 0xce52d3a0 (LWP 27090)]
Installing breakpad exception handler for appid(steam)/version(1588032389)
/data/src/common/html/chrome_ipc_client.cpp (257) : Assertion Failed: Is64BitOS()
/data/src/common/html/chrome_ipc_client.cpp (257) : Assertion Failed: Is64BitOS()
/data/src/common/html/chrome_ipc_client.cpp 257 Assertion Failed: Is64BitOS()[New Thread 0xce32b3a0 (LWP 27091)]
Installing breakpad exception handler for appid(steam)/version(1588032389)
[New Thread 0xcdd293a0 (LWP 27092)]
Installing breakpad exception handler for appid(steam)/version(1588032389)
Warning, Custom Class initializer with unknown class type -742476688 (NMObject)
Warning, Custom Class initializer with unknown class type -742476688 (NMObject)
(box86:27051): GLib-GObject-WARNING **: 08:39:38.471: ../glib/gobject/gsignal.c:1742: signal "device-added" already exists in the 'NMObject' class ancestry
(box86:27051): GLib-GObject-WARNING **: 08:39:38.471: ../glib/gobject/gsignal.c:1742: signal "device-removed" already exists in the 'NMObject' class ancestry
(box86:27051): GLib-GObject-WARNING **: 08:39:38.471: ../glib/gobject/gsignal.c:1742: signal "permission-changed" already exists in the 'NMObject' class ancestry
(box86:27051): GLib-GObject-CRITICAL **: 08:39:38.472: g_object_new_is_valid_property: object class 'NMClient' has no property named 'dbus-connection'
Thread 5 "CIPCServer::Thr" received signal SIGILL, Illegal instruction.
[Switching to Thread 0xd5bfe3a0 (LWP 27062)]
0xde3baeac in ?? ()
(gdb) backtrace
#0 0xde3baeac in ()
#1 0xea3b87a4 in () at /usr/lib/libgobject-2.0.so.0
I looked into the launch script and found how it detects architecture, this might explain why it's trying 64 bit binaries since even in a chroot uname returns aarch64
function detect_arch()
{
case $(uname -m) in
*64)
echo "64-bit"
;;
*)
echo "32-bit"
;;
esac
}
EDIT: I made it see the system as 32 bit by wrapping uname and it does say that the system is detected as 32 bit but it still tries to execute 64 bit binaries for some reason
The SIGILL you have is the issue. I guess it's a gobject function that I haven't wrapped correctly, according to the stacktrace.
If you have the crash in gdb, it would be interresting to do x/10i $pc-40
just to see what it is trying to execute.
Also, if you can have debug symbol for libgobject, that would be nice.
(gdb) x/10i $pc-40
0xde3bae84: ; <UNDEFINED> instruction: 0xffffa978
0xde3bae88: streq r8, [r4, -r9, lsl #7]
0xde3bae8c: strgt r0, [r3], #0
0xde3bae90: svcpl 0x005e5b30
0xde3bae94: ldrbtcs r8, [r4], -r3, asr #27
0xde3bae98: ldrcs r8, [r12, r0, lsl #26]!
0xde3bae9c: andeq r0, r0, r0
0xde3baea0: cmppl r6, #22282240 ; 0x1540000
0xde3baea4: blhi 0xdf2f60b8
0xde3baea8: ldmda r4, {r2, r6, r10, sp}^
Yeah, that's probably some x86 code... I guess some of the gtk2.0 function is not correctly wrapped, and that trigger only on your configuration (because of the version of nm you are using? or something else?). Having the gobject function name would help (maybe).
@TuxThePenguin0 As I know, prefix your command with "linux32" on AArch64 kernel will let it returns "armv8l" in uname.
I just blindly downloaded box86, built from source for RPi4 and ran steam. Crashes immediately after logging in.
Looks like it crashes right after trying to do an incorrect glib cast.
Maybe it's because of the presence or absence of certain gtk lib, like appindicator or "nm" something?
I tried running steam and for your convienience, I launched it from the terminal
``pi@raspberrypi:~ $ steam Package xterm needs to be installed Package libgl1-mesa-dri:i386 needs to be installed Package libgl1:i386 needs to be installed Package libc6:i386 needs to be installed Running Steam on raspbian 10 32-bit STEAM_RUNTIME is enabled automatically Pins up-to-date! Error: You are missing the following 32-bit libraries, and Steam may not run: libc.so.6 Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 56 Env var Looking for /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/bin/steam-runtime-check-requirements steam detected, forcing emulated libudev, disabling SSSE3, faking 64bits OS BOX86: Warning, RPATH with $ variable not supported yet (${ORIGIN}/../lib/i386-linux-gnu/steam-runtime-tools-0) Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libsteam-runtime-tools-0.so.0 Using native(wrapped) libdl.so.2 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libelf.so.1 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) librt.so.1 Using native(wrapped) libgio-2.0.so.0 Using native(wrapped) libgmodule-2.0.so.0 Using native(wrapped) libglib-2.0.so.0 Using native(wrapped) libgobject-2.0.so.0 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libjson-glib-1.0.so.0 Sorry, this computer's CPU is too old to run Steam. Steam requires at least an Intel Pentium 4 or AMD Opteron, with the following features: - x86-64 (AMD64) instruction set (lm in /proc/cpuinfo flags) - CMPXCHG16B instruction support (cx16 in /proc/cpuinfo flags) - SSE3 instruction support (pni in /proc/cpuinfo flags) /home/pi/.local/share/Steam/ubuntu12_32/steam Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 57 Env var Looking for /home/pi/.local/share/Steam/ubuntu12_32/steam steam detected, forcing emulated libudev, disabling SSSE3, faking 64bits OS Using native(wrapped) libdl.so.2 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libstdc++.so.6 Using native(wrapped) libm.so.6 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) librt.so.1 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libgcc_s.so.1 Using native(wrapped) libX11.so.6 [2020-09-10 12:15:26] Startup - updater built Sep 3 2020 21:18:09 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/crashhandler.so Installing breakpad exception handler for appid(steam)/version(1599174997) Using native(wrapped) libGL.so.1 Looks like steam didn't shutdown cleanly, scheduling immediate update check [2020-09-10 12:15:26] Loading cached metrics from disk (/home/pi/.local/share/Steam/package/steam_client_metrics.bin) Installing breakpad exception handler for appid(steam)/version(1599174997) [2020-09-10 12:15:26] Checking for update on startup [2020-09-10 12:15:26] Checking for available updates... [2020-09-10 12:15:26] Downloading manifest: client-download.steampowered.com/client/steam_client_ubuntu12 Installing breakpad exception handler for appid(steam)/version(1599174997) [2020-09-10 12:15:27] Download failed: http error 0 (client-download.steampowered.com/client/steam_client_ubuntu12) [2020-09-10 12:15:27] Downloading manifest: media.steampowered.com/client/steam_client_ubuntu12 [2020-09-10 12:15:27] Download failed: http error 0 (media.steampowered.com/client/steam_client_ubuntu12) [2020-09-10 12:15:27] failed to load manifest from buffer. [2020-09-10 12:15:27] Failed to load manifest [2020-09-10 12:15:27] Error: Download failed: http error 0 [2020-09-10 12:15:27] Saving metrics to disk (/home/pi/.local/share/Steam/package/steam_client_metrics.bin) [2020-09-10 12:15:27] Verifying installation... [2020-09-10 12:15:27] Performing checksum verification of executable files [2020-09-10 12:15:29] Verification complete Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libappindicator.so.1 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libindicator.so.7 Using native(wrapped) libgtk-x11-2.0.so.0 Using native(wrapped) libgdk-x11-2.0.so.0 Using native(wrapped) libgobject-2.0.so.0 Using native(wrapped) libglib-2.0.so.0 Using native(wrapped) libgio-2.0.so.0 Using native(wrapped) libgmodule-2.0.so.0 Using native(wrapped) libgdk_pixbuf-2.0.so.0 Error initializing native libdbusmenu-gtk.so.4 (last dlerror is libdbusmenu-gtk.so.4: wrong ELF class: ELFCLASS64) Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libdbusmenu-gtk.so.4 Error initializing native libdbusmenu-glib.so.4 (last dlerror is libdbusmenu-glib.so.4: wrong ELF class: ELFCLASS64) Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libdbusmenu-glib.so.4 Using native(wrapped) libpango-1.0.so.0 Using native(wrapped) libatk-1.0.so.0 Warning: Cannot dlopen("/home/pi/.local/share/Steam/steamui.so"/0x392c860, 2) Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steamui.so Using emulated /home/pi/.local/share/Steam/ubuntu12_32/libtier0_s.so Using emulated /home/pi/.local/share/Steam/ubuntu12_32/libvstdlib_s.so Using emulated /home/pi/.local/share/Steam/ubuntu12_32/libv8.so Using emulated /home/pi/.local/share/Steam/ubuntu12_32/libicui18n.so Using emulated /home/pi/.local/share/Steam/ubuntu12_32/libicuuc.so Using emulated /home/pi/.local/share/Steam/ubuntu12_32/libvideo.so Using emulated /home/pi/.local/share/Steam/ubuntu12_32/libavcodec.so.57 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/libavutil.so.55 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libvdpau.so.1 Using native(wrapped) libXext.so.6 Using native(wrapped) libxcb.so.1 Using native(wrapped) libXau.so.6 Using native(wrapped) libXdmcp.so.6 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libva.so.2 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libva-x11.so.2 Using native(wrapped) libXfixes.so.3 Using native(wrapped) libdrm.so.2 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/libavformat.so.57 Using native(wrapped) libbz2.so.1 Using native(wrapped) libz.so.1 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/libavresample.so.3 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/libswscale.so.4 Using native(wrapped) libSDL2-2.0.so.0 Using native(wrapped) libXtst.so.6 Using native(wrapped) libXrandr.so.2 Using native(wrapped) libXrender.so.1 Using native(wrapped) libpulse.so.0 Loaded SDL version 2.0.9-hg-12373:8feb5da6f2fb /data/src/common/friendsuihelpers.cpp (54) : Assertion Failed: Is64BitOS() /data/src/common/friendsuihelpers.cpp (54) : Assertion Failed: Is64BitOS() Installing breakpad exception handler for appid(steam)/version(1599174997) Warning: Cannot dlopen("/home/pi/.local/share/Steam/ubuntu12_32/filesystem_stdio"/0x4bee5e0, 2) Using emulated /home/pi/.local/share/Steam/ubuntu12_32/filesystem_stdio.so Warning: Cannot dlopen("/home/pi/.local/share/Steam/ubuntu12_32/vgui2_s"/0x4bee5e0, 2) Using emulated /home/pi/.local/share/Steam/ubuntu12_32/vgui2_s.so Using native(wrapped) libfontconfig.so.1 Using native(wrapped) libfreetype.so.6 Using native(wrapped) libopenal.so.1 Using native(wrapped) libXinerama.so.1 Using native(wrapped) libSM.so.6 Using native(wrapped) libICE.so.6 Warning: Cannot dlopen("/home/pi/.local/share/Steam/ubuntu12_32/chromehtml"/0x4bee5e0, 2) Using emulated /home/pi/.local/share/Steam/ubuntu12_32/chromehtml.so /data/src/common/html/chrome_ipc_client.cpp (265) : Assertion Failed: Is64BitOS() /data/src/common/html/chrome_ipc_client.cpp (265) : Assertion Failed: Is64BitOS() /data/src/common/html/chrome_ipc_client.cpp (265) : Assertion Failed: Is64BitOS() /data/src/common/html/chrome_ipc_client.cpp (265) : Assertion Failed: Is64BitOS() /data/src/common/html/chrome_ipc_client.cpp (265) : Assertion Failed: Is64BitOS() /data/src/common/html/chrome_ipc_client.cpp (265) : Assertion Failed: Is64BitOS() Warning: Cannot dlopen("libunity.so.9"/0xa6b09c92, 1) Warning: Cannot dlopen("/home/pi/.local/share/Steam/steamclient.so"/0x537d500, 2) Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steamclient.so Using native(wrapped) libXi.so.6 Using native(wrapped) libusb-1.0.so.0 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libudev.so.0 Using native(wrapped) libdbus-glib-1.so.2 Error initializing native libnm-glib.so.4 (last dlerror is libnm.so.0: cannot open shared object file: No such file or directory) Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libnm-glib.so.4 Error initializing native libnm-util.so.2 (last dlerror is libnm.so.0: cannot open shared object file: No such file or directory) Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libnm-util.so.2 Using native(wrapped) libuuid.so.1 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libnss3.so Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libnssutil3.so Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libplc4.so Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libnspr4.so Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libplds4.so Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libsmime3.so Using native(wrapped) libdbus-1.so.3 Using native(wrapped) libgudev-1.0.so.0 Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) CApplicationManagerPopulateThread took 11 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Warning: Cannot dlopen("/home/pi/.local/share/Steam/steamservice.so"/0x9eef9138, 2) Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed Warning: failed to set thread priority: set failed for priority 8 Warning: failed to set thread priority: set failed for priority 8 Warning: support for elevated priorities is most likely unavailable, suppressing future warnings Warning: support for elevated priorities is most likely unavailable, suppressing future warnings Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steamservice.so Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) PulseAudio connect failed (used only for Mic Volume Control) with error: Access denied Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) sh: 1: /home/pi/.local/share/Steam/ubuntu12_32/../ubuntu12_64/gldriverquery: Exec format error Installing breakpad exception handler for appid(steam)/version(1599174997) Warning: Cannot dlopen("/home/pi/.local/share/Steam/libopenvr_api.so"/0x5ed47f8, 2) Using emulated /home/pi/.local/share/Steam/ubuntu12_32/libopenvr_api.so /data/src/common/html/chrome_ipc_client.cpp (265) : Assertion Failed: Is64BitOS() /data/src/common/html/chrome_ipc_client.cpp (265) : Assertion Failed: Is64BitOS() Installing breakpad exception handler for appid(steam)/version(1599174997) Proceed to auto login No cached credentials Installing breakpad exception handler for appid(steam)/version(1599174997) Found no supported CDM versions, using last known good version 4.10.1440.19 Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 73 Env var Looking for /home/pi/.local/share/Steam/ubuntu12_32/../ubuntu12_32/gldriverquery Using native(wrapped) libSDL2-2.0.so.0 Using native(wrapped) libdl.so.2 Using native(wrapped) libm.so.6 Using native(wrapped) librt.so.1 Using native(wrapped) libpthread.so.0 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) sh: 1: /home/pi/.local/share/Steam/ubuntu12_32/../ubuntu12_64/vulkandriverquery: Exec format error Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 73 Env var Looking for /home/pi/.local/share/Steam/ubuntu12_32/../ubuntu12_32/vulkandriverquery Using native(wrapped) libdl.so.2 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libstdc++.so.6 Using native(wrapped) libm.so.6 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) librt.so.1 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libgcc_s.so.1 Using emulated /home/pi/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/libvulkan.so.1 Vulkan missing requested extension 'VK_KHR_surface'. Vulkan missing requested extension 'VK_KHR_xlib_surface'. BInit - Unable to initialize Vulkan! Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Opted-in Controller Mask for AppId 0: 0 Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) /data/src/common/friendsuihelpers.cpp (54) : Assertion Failed: Is64BitOS() /data/src/common/friendsuihelpers.cpp (54) : Assertion Failed: Is64BitOS() Installing breakpad exception handler for appid(steam)/version(1599174997) /data/src/common/friendsuihelpers.cpp (54) : Assertion Failed: Is64BitOS() /data/src/common/friendsuihelpers.cpp (54) : Assertion Failed: Is64BitOS() Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997)
(box86:1464): Gtk-WARNING **: 12:15:43.962: gtk_disable_setlocale() must be called before gtk_init() Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997)
(box86:1464): GLib-GObject-WARNING **: 12:15:43.979: invalid cast from 'AppIndicator' to 'DbusmenuServer'
(box86:1464): GLib-GObject-WARNING **: 12:15:43.980: invalid unclassed pointer in cast to 'DbusmenuServer' Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) Installing breakpad exception handler for appid(steam)/version(1599174997) 1464|SIGSEGV @0x955452d8 (???) (x86pc=0x35293c4/"???"), for accessing 0x20 (code=1), db=0x65ebf30(0xad053c80/???) 1464|Double SIGSEGV! /home/pi/.local/share/Steam/steam.sh: line 750: 1464 Segmentation fault $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"``
@TuxThePenguin0 how are you setting up the 32bit chroot?
I downloaded the generic Arch Linux ARMv7 tarball, did some basic setup and then installed the steam i386 package but modified to say it's for arm I also tried the same trick with the steam-native i386 package which got me to the login prompt but it still crashed once I logged in
Those 2 warning:
(box86:1464): GLib-GObject-WARNING **: 12:15:43.979: invalid cast from 'AppIndicator' to 'DbusmenuServer'
(box86:1464): GLib-GObject-WARNING **: 12:15:43.980: invalid unclassed pointer in cast to 'DbusmenuServer'
I don't think I have then when I launch steam on my side. I'll investigate...
figured out what box86 is trying to do... pi@raspberrypi:~ $ box86 steam Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 46 Env var Looking for steam steam detected, forcing emulated libudev, disabling SSSE3, faking 64bits OS Not an ELF file (sign=#!/u) Error: reading elf header of /usr/lib/steam/bin_steam.sh
that's why it crashes at login! it's trying to fake X64 on a X86 OS! does anyone know how to force box86 to use a Box86 well.... x86 mode?
No, that message is obsolete, there is no faking 64bits OS anymore. I'll remove the message to avoid confusion.
It's not crashing, it's box86 that cannot be used on bash file here. Launch steam with steam
without leading box86
Yesterday I tried to test box86 and Steam on my Raspberry 3B. But I ran into the same error as @TuxThePenguin0 I read here that on the Raspberry 4 it is working. So may the issue be something with the 3B?
You may need to use sudo apt install libnm0 libappindicator1
to run steam.
Thanks, that worked!!
Am 25. November 2020 11:14:03 MEZ schrieb ptitSeb notifications@github.com:
You may need to use
sudo apt install libnm0 libappindicator1
to run steam.-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/ptitSeb/box86-compatibility-list/issues/18#issuecomment-733610020
I've noticed that steam seems to crash if I click around the UI too fast or sometimes when different windows close, not sure what the cause would be but it seems to totally lock up until I SIGKILL it and spams the terminal with some SIG error that's seemingly random (as opposed to the normal constant spam of Is64BitOS() assertion failures)
I've finally got steam running in a 32-bit chroot on pinebook pro (RK3399). That is to say: I'm able to get to the compact mode window and install games. I'm doing this on Archlinux. (I can document these steps if anyone is interested.)
However, there are a couple of problems:
Installing breakpad exception handler for appid(steam)/version(1608507519)
src/public/tier0/tslist.h (683) : Assertion Failed: m_Count == 0
src/public/tier0/tslist.h (683) : Assertion Failed: m_Count == 0
Installing breakpad exception handler for appid(steam)/version(1608507519)
src/common/ipcserver.cpp (1245) : Assertion Failed: CPipeWaiter::BRemove(59) -- not present
src/common/ipcserver.cpp (1245) : Assertion Failed: CPipeWaiter::BRemove(59) -- not present
Installing breakpad exception handler for appid(steam)/version(1608507519)
src/tier1/fileio.cpp (4914) : Assertion Failed: s_bExit
src/tier1/fileio.cpp (4914) : Assertion Failed: s_bExit
src/tier1/fileio.cpp (4916) : Assertion Failed: m_vecRegisteredWriters.Count() == 0
src/tier1/fileio.cpp (4916) : Assertion Failed: m_vecRegisteredWriters.Count() == 0
src/tier0/threadtools.cpp (3659) : Assertion Failed: Illegal termination of worker thread 'CGenericAsyncFileIOThread-Write'
src/tier0/threadtools.cpp (3659) : Assertion Failed: Illegal termination of worker thread 'CGenericAsyncFileIOThread-Write'
src/common/pipes.cpp (837) : fatal stalled cross-thread pipe.
src/common/pipes.cpp (837) : fatal stalled cross-thread pipe.
src/common/pipes.cpp (837) : Fatal assert; application exiting
src/common/pipes.cpp (837) : Fatal assert; application exiting
Installing breakpad exception handler for appid(steam)/version(1608507519)
_ExitOnFatalAssert
STEAMOS=1 STEAM_RUNTIME=1 steam 18.21s user 5.52s system 10% cpu 3:39.65 total
Sometimes this already happens at the login window, other times it happens once I'm logged in already. But it always happens within minutes of starting up steam.
On the Raspberry Pi 4 model B, Steam runs but does appear. There is no window or anything. I am using a 64 bit OS. I'm not sure on this but maybe the client was switched to vulkan? Again not sure.
steam.sh[12174]: Running Steam on debian 11 64-bit steam.sh[12174]: STEAM_RUNTIME is enabled by the user setup.sh[12242]: Steam runtime environment up-to-date! steam.sh[12174]: Steam client's requirements are satisfied Box86 with Dynarec v0.3.1 2a7b848d built on Jul 2 2023 01:21:41 [2023-07-08 23:37:36] Startup - updater built Jun 21 2023 21:17:38 [2023-07-08 23:37:36] Startup - Steam Client launched with: '/home/improjects/.local/share/Steam/ubuntu12_32/steam' 'steam://open/minigameslist' Looks like steam didn't shutdown cleanly, scheduling immediate update check [2023-07-08 23:37:38] Loading cached metrics from disk (/home/improjects/.local/share/Steam/package/steam_client_metrics.bin) [2023-07-08 23:37:38] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults [2023-07-08 23:37:38] Using the following download hosts for Public, Realm steamglobal [2023-07-08 23:37:38] 1. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in' [2023-07-08 23:37:38] Checking for update on startup [2023-07-08 23:37:38] Checking for available updates... [2023-07-08 23:37:38] Downloading manifest: http://media.steampowered.com/client/steam_client_ubuntu12 [2023-07-08 23:37:38] Manifest download: send request [2023-07-08 23:37:39] Manifest download: waiting for download to finish [2023-07-08 23:37:39] Manifest download: finished [2023-07-08 23:37:39] Download skipped: /client/steam_client_ubuntu12 version 1687386907, installed version 1687386907, existing pending version 0 [2023-07-08 23:37:39] Nothing to do [2023-07-08 23:37:39] Verifying installation... [2023-07-08 23:37:39] Performing checksum verification of executable files [2023-07-08 23:37:51] Verification complete Error initializing native libcairo.so.2 (last dlerror is libcairo.so.2: wrong ELF class: ELFCLASS64) Error initializing native libpng12.so.0 (last dlerror is libpng12.so.0: wrong ELF class: ELFCLASS64)
(process:12279): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
(process:12279): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed XRRGetOutputInfo Workaround: initialized with override: 0 real: 0x401700d0 XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0x401700e0 GetWin32Stats: display was not open yet, good Loaded SDL version 3.0.0-1782-g214d5daa3 GetWin32Stats: display was not open yet, good steamwebhelper.sh[12297]: Runtime for steamwebhelper: defaulting to /home/improjects/.local/share/Steam/ubuntu12_64/steam-runtime-heavy steamwebhelper.sh[12297]: Using CEF sandbox (try with -no-cef-sandbox if this fails) Error initializing native libgnutls.so.30 (last dlerror is libgnutls.so.30: wrong ELF class: ELFCLASS64) Error initializing native libgmp.so.10 (last dlerror is libgmp.so.10: wrong ELF class: ELFCLASS64) CAppInfoCacheReadFromDiskThread took 14 milliseconds to initialize dbus[12279]: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file ../../../dbus/dbus-message.c line 1362. This is normally a bug in some application using the D-Bus library.
Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed Warning: failed to set thread priority: set failed for priority 8 Warning: support for elevated priorities is most likely unavailable, suppressing future warnings Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 Running on Cortex-A72 with 4 Cores Params database has 24 entries Box64 with Dynarec v0.2.3 ca9bc136 built on Jul 8 2023 22:49:04 Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/ Using default BOX64_PATH: ./:bin/ Counted 77 Env var Looking for /home/improjects/.local/share/Steam/ubuntu12_32/../ubuntu12_64/gldriverquery Rename process to "gldriverquery" Error initializing native libSDL2-2.0.so.0 (last dlerror is libSDL2-2.0.so.0: wrong ELF class: ELFCLASS32) Using emulated /home/improjects/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) libutil.so.1 Using native(wrapped) librt.so.1 Using native(wrapped) libm.so.6 Using native(wrapped) libdl.so.2 Using native(wrapped) libdbus-1.so.3 Using native(wrapped) libX11.so.6 Using native(wrapped) libXext.so.6 Using native(wrapped) libxcb.so.1 Using native(wrapped) libXau.so.6 Using native(wrapped) libXdmcp.so.6 Using native(wrapped) libXcursor.so.1 Using native(wrapped) libXi.so.6 Using native(wrapped) libXfixes.so.3 Using native(wrapped) libXrandr.so.2 Using native(wrapped) libXrender.so.1 Using native(wrapped) libXss.so.1 Using native(wrapped) libGL.so.1 Box86 with Dynarec v0.3.1 2a7b848d built on Jul 2 2023 01:21:41 Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 Running on Cortex-A72 with 4 Cores Params database has 24 entries Box64 with Dynarec v0.2.3 ca9bc136 built on Jul 8 2023 22:49:04 Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/ Using default BOX64_PATH: ./:bin/ Counted 77 Env var Looking for /home/improjects/.local/share/Steam/ubuntu12_32/../ubuntu12_64/vulkandriverquery Rename process to "vulkandriverquery" Using native(wrapped) libdl.so.2 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) libutil.so.1 Using native(wrapped) librt.so.1 Using native(wrapped) libvulkan.so.1 WARNING: v3dv is neither a complete nor a conformant Vulkan implementation. Testing use only. Failed to init SteamVR because it isn't installed Box86 with Dynarec v0.3.1 2a7b848d built on Jul 2 2023 01:21:41 WARNING: v3dv is neither a complete nor a conformant Vulkan implementation. Testing use only.
I have fixed steam on RPI4 yesterday. You need to update to the latest version of box64 for it to run. Also, you will need a 8GB board for now to run steam correctly, or use some swap. On 4BG board, steam will load but the system will hang when it the memory get saturated.
I have a 2gb model, something new is which setting up steam the first time at the end when it reboots steam just crashes back into kernel, which I would assume is normal, using swap fixed this. I compiled Box64 from the main branch (which I think is the right branch is). Still Steam is not showing up.
Description
Login prompt works but program crashes after logging in This error seems to be repeated for a number of .so files
Tested on
Pinebook Pro (RK3399) Arch Linux 64 bit inside 32 bit chroot
Status
Previous behavior: None reported
Current behavior: Crashes after login
Screenshots
OpenGL
Unsure
Additional Information
This was installed in an armv7 system using the i686 steam and steam-native-runtime packages that were modified to install on arm and using binfmt to automatically run it with box86