box64 icon indicating copy to clipboard operation
box64 copied to clipboard

Raspberry Pi 5 with Raspberry Pi OS may not run steam "steam-runtime-launcher-service crashes"

Open ImMrLee opened this issue 1 year ago • 5 comments

I tried to run steam with box86 or box64, but both of them failed to run Here's the log: `Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A76 with 4 Cores Will use Hardware counter measured at 54.0 MHz emulating 3.4 GHz Params database has 80 entries Box64 with Dynarec v0.3.1 e8fad111 built on Aug 5 2024 06:22:17 BOX64: Didn't detect 48bits of address space, considering it's 39bits Counted 54 Env var BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/ BOX64 BIN PATH: ./:bin/:/home/warick/.local/bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/:/snap/bin/ Looking for steam Apply RC params for steam Applying BOX64_CRASHHANDLER=1 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 natively instead steam.sh[337979]: Running Steam on debian 12 64-bit steam.sh[337979]: STEAM_RUNTIME is enabled by the user setup.sh[338050]: Steam runtime environment up-to-date! Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A76 with 4 Cores Will use Hardware counter measured at 54.0 MHz emulating 3.4 GHz Params database has 80 entries Box64 with Dynarec v0.3.1 e8fad111 built on Aug 5 2024 06:22:17 BOX64: Didn't detect 48bits of address space, considering it's 39bits Counted 67 Env var BOX64 LIB PATH: /home/warick/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32/:/home/warick/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64/:/lib/aarch64-linux-gnu/:/lib/arm-linux-gnueabihf/:/usr/lib/aarch64-linux-gnu/libfakeroot/:/usr/local/lib/:/lib/:/home/warick/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/:/home/warick/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/:/home/warick/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu/:/home/warick/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/:/home/warick/.local/share/Steam/ubuntu12_32/steam-runtime/lib/:/home/warick/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/:./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/ BOX64 BIN PATH: ./:bin/:/home/warick/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/bin/:/home/warick/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/:/home/warick/.local/share/Steam/ubuntu12_32/steam-runtime/usr/bin/:/home/warick/.local/bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/:/snap/bin/ Looking for /home/warick/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/srt-logger argv[1]="--exec-fallback" argv[2]="--filename=console-linux.txt" argv[3]="-t" argv[4]="steam" Rename process to "srt-logger" 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 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 steam.sh[337979]: Steam client's requirements are satisfied [2024-08-05 23:11:31] Startup - updater built Jul 16 2024 23:21:18 [2024-08-05 23:11:31] Startup - Steam Client launched with: '/home/warick/.local/share/Steam/ubuntu12_32/steam' '-srt-logger-opened' [2024-08-05 23:11:31] Loading cached metrics from disk (/home/warick/.local/share/Steam/package/steam_client_metrics.bin) [2024-08-05 23:11:31] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults [2024-08-05 23:11:31] Using the following download hosts for Public, Realm steamglobal [2024-08-05 23:11:31] 1. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in' [2024-08-05 23:11:31] Verifying installation... [2024-08-05 23:11:31] Verification complete UpdateUI: skip show logoError initializing native libpng12.so.0 (last dlerror is libpng12.so.0: 错误的 ELF 类:ELFCLASS64)

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

XRRGetOutputInfo Workaround: initialized with override: 0 real: 0x401a0080 XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0x401a0090 CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize dbus[338077]: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file ../../../dbus/dbus-message.c line 1373. This is normally a bug in some application using the D-Bus library.

Steam Runtime Launch Service: starting steam-runtime-launcher-service Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 338247 Steam Runtime Launch Service: steam-runtime-launcher-service pid 338247 exited Steam Runtime Launch Service: starting steam-runtime-launcher-service Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 338370 Steam Runtime Launch Service: steam-runtime-launcher-service pid 338370 exited Steam Runtime Launch Service: starting steam-runtime-launcher-service Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 338423 Steam Runtime Launch Service: steam-runtime-launcher-service pid 338423 exited Steam Runtime Launch Service: steam-runtime-launcher-service keeps crashing on startup, disabling src/steamUI/steamuisharedjscontroller.cpp (619) : Failed creating offscreen shared JS context src/steamUI/steamuisharedjscontroller.cpp (619) : Failed creating offscreen shared JS context`

I can't even see the login window, but only 'steamwebhelper is not responding' window, i also tried 'Restart Steam with GPU Acceleration disabled' and other opinions ...just not woking, same error outputed From the log last lines, i found that the problem is steam-runtime-launcher-service crash frequently, due to steamwebhelper crash, you can also check out the error line with Chinese characters, that may also the problem...(anyway, i'm the Chinese) Anyway, i checked out most of issues about steam, but none of which are same, what interesting I saw the Raspberry 5 install steam instrution uses Ubuntu, is that steam with box86/box64 just won't work in debian 12 ?

ImMrLee avatar Aug 05 '24 15:08 ImMrLee

This program steam-runtime-launcher-service is not mendatory and box64 detect it and just quit when running it. Steam detect that and do not tries to use it after a couple of tries. This is not the source of the issue.

I do run steam on Debian (testing) and Armbian (version based on debian, not ubuntu), and it works fine on my side.

Did you install steam using the install_steam.sh script from box86? and do you run steam using the steam shell script that script installs?

ptitSeb avatar Aug 05 '24 15:08 ptitSeb

This program steam-runtime-launcher-service is not mendatory and box64 detect it and just quit when running it. Steam detect that and do not tries to use it after a couple of tries. This is not the source of the issue.

I do run steam on Debian (testing) and Armbian (version based on debian, not ubuntu), and it works fine on my side.

Did you install steam using the install_steam.sh script from box86? and do you run steam using the steam shell script that script installs?

I tried the script with root, but after that i ran steam with error: /usr/local/bin/steam: line 5: /home/user/steam/bin/steam: no such file or directory, after checked bin files, it didn't install steam at all, but i didn't see any error:

`--2024-08-05 23:36:53-- https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb 正在解析主机 cdn.cloudflare.steamstatic.com (cdn.cloudflare.steamstatic.com)... 104.18.9.10, 104.18.8.10 正在连接 cdn.cloudflare.steamstatic.com (cdn.cloudflare.steamstatic.com)|104.18.9.10|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 301 Moved Permanently 位置:https://repo.steampowered.com/steam/archive/precise/steam_latest.deb [跟随至新的 URL] --2024-08-05 23:36:54-- https://repo.steampowered.com/steam/archive/precise/steam_latest.deb 正在解析主机 repo.steampowered.com (repo.steampowered.com)... 104.16.219.108, 104.16.218.108, 2606:4700::6810:da6c, ... 正在连接 repo.steampowered.com (repo.steampowered.com)|104.16.219.108|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 200 OK 长度:3953014 (3.8M) [application/octet-stream] 正在保存至: “steam.deb”

steam.deb 100%[===================>] 3.77M 1.43MB/s 用时 2.6s

2024-08-05 23:36:57 (1.43 MB/s) - 已保存 “steam.deb” [3953014/3953014]) "It downloaded steam.deb, but seemed did nothing on it"

Detected 64 bit ARM Debian. Installing 32 bit libraries 命中:1 https://mirrors.tuna.tsinghua.edu.cn/debian bookworm InRelease
获取:2 https://mirrors.tuna.tsinghua.edu.cn/debian bookworm-updates InRelease [55.4 kB] 命中:3 https://Pi-Apps-Coders.github.io/box64-debs/debian ./ InRelease
获取:4 https://mirrors.tuna.tsinghua.edu.cn/debian bookworm-backports InRelease [56.6 kB] 获取:5 https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security InRelease [48.0 kB] 命中:6 https://Pi-Apps-Coders.github.io/box86-debs/debian ./ InRelease
命中:7 http://archive.raspberrypi.com/debian bookworm InRelease 已下载 160 kB,耗时 1秒 (132 kB/s) 正在读取软件包列表... 完成 正在分析软件包的依赖关系树... 完成 正在读取状态信息... 完成
所有软件包均为最新。 正在读取软件包列表... 完成 正在分析软件包的依赖关系树... 完成 正在读取状态信息... 完成
libc6:armhf 已经是最新版 (2.36-9+rpt2+deb12u7)。 libsdl2-2.0-0:armhf 已经是最新版 (2.26.5+dfsg-1)。 libsdl2-image-2.0-0:armhf 已经是最新版 (2.6.3+dfsg-1)。 libsdl2-mixer-2.0-0:armhf 已经是最新版 (2.6.2+dfsg-2)。 libsdl2-ttf-2.0-0:armhf 已经是最新版 (2.20.1+dfsg-2)。 libopenal1:armhf 已经是最新版 (1:1.19.1-2)。 libpng16-16:armhf 已经是最新版 (1.6.39-2)。 libfontconfig1:armhf 已经是最新版 (2.14.1-4)。 libxcomposite1:armhf 已经是最新版 (1:0.4.5-1)。 libbz2-1.0:armhf 已经是最新版 (1.0.8-5+b1)。 libxtst6:armhf 已经是最新版 (2:1.2.3-1.1)。 libsm6:armhf 已经是最新版 (2:1.2.3-1)。 libice6:armhf 已经是最新版 (2:1.0.10-1)。 libgl1:armhf 已经是最新版 (1.6.0-1)。 libxinerama1:armhf 已经是最新版 (2:1.1.4-3)。 libxdamage1:armhf 已经是最新版 (1:1.1.6-1)。 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。 正在读取软件包列表... 完成 正在分析软件包的依赖关系树... 完成 正在读取状态信息... 完成
libncurses5:armhf 已经是最新版 (6.4-4)。 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。 libgl1-mesa-dri:arm64 23.2.1-1~bpo12+rpt3 libgl1-mesa-dri:armhf 23.2.1-1~bpo12+rpt3 Detected mesa driver for 64 bit ARM. Installing complementary 32 bit one 正在读取软件包列表... 完成 正在分析软件包的依赖关系树... 完成 正在读取状态信息... 完成
libgl1-mesa-dri:armhf 已经是最新版 (23.2.1-1~bpo12+rpt3)。 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。"no problem with dependence" Don't forget to compile/install Box64! Script complete.`

The script didn't install steam ,but created some empty folders in my home directory and installed some dependences, then i installed steam-launcher manually, and edited '/usr/local/bin/steam' line 5 into '/usr/bin/steam' and ran it, resulted the problem i commited. I hope you can understand my words, my english needed to improve...

ImMrLee avatar Aug 05 '24 15:08 ImMrLee

I have a similar issue. Rpi 4, latest raspberry os, latest box64 and box86 from pre-built apt repos:

Screenshot from 2024-08-22 14-20-57

RoanBrand avatar Aug 22 '24 12:08 RoanBrand

@RoanBrand read entry #2: https://github.com/ptitSeb/box64/issues/1712#issuecomment-2269350935

ptitSeb avatar Aug 22 '24 13:08 ptitSeb

@ImMrLee is the Steam installation script working for you with the latest Box64?

LukeShortCloud avatar Oct 30 '25 09:10 LukeShortCloud