Open FredsMedia opened 2 months ago
Hello there 👋 Thanks for submitting your first issue to the Pi-Apps project! We'll try to get back to you as soon as possible. In the meantime, we encourage you join our Discord server, where you can ask any questions you might have.
Please respond as soon as possible if a Pi-Apps maintainer requests more information from you. Stale issues will be closed after a lengthy period of time with no response.
I just installed and ran Steam and it seems to be working fine on my machine.
What is the machine you’re running?
I’m not at home right now, so I can’t access my pi. I should be able to do some troubleshooting in a couple hours though.
What is the machine you’re running?
I'm running a Pi5 with 8 GB of ram. Since your machine has 1GB of ram, Steam might be using it all. Do you have the More RAM app installed from Pi-Apps? If not, I would advise installing that and then trying to run steam again. Also, if your Pi connected to the internet via Wi-Fi or with an Ethernet cable which tends to be far more reliable?
I am using ZRAM, it is most definitely helping! I have it on Wi-Fi as Ethernet isn’t available around the house but the signal strength is plenty fine.
And all my other devices work fine with steam (steam deck and MacBook).
This here seems like the core of the issue:
[2024-09-15 07:30:52] Downloading update (3 of 313,182 KB)...
[2024-09-15 07:30:52] Downloading update (63 of 313,182 KB)...
[2024-09-15 07:30:52] Downloading update (234 of 313,182 KB)...
[2024-09-15 07:31:07] Downloading update (7,392 of 313,182 KB)...
[2024-09-15 07:31:16] Downloading update (18,751 of 313,182 KB)...
[2024-09-15 07:31:42] Downloading update (33,393 of 313,182 KB)...
[2024-09-15 07:32:08] Downloading update (54,651 of 313,182 KB)...
[2024-09-15 07:32:31] Downloading update (86,341 of 313,182 KB)...
[2024-09-15 07:32:43] Error: Download of package (webkit_ubuntu12) failed after 0 bytes (0 : 200).
[2024-09-15 07:32:43] Downloading update (64,425 of 313,182 KB)...
[2024-09-15 07:33:14] Error: Download of package (runtime_sniper_ubuntu12) failed after 0 bytes (0 : 200).
[2024-09-15 07:33:14] Downloading update (31,691 of 313,182 KB)...
[2024-09-15 07:33:31] Error: Download of package (runtime_scout_ubuntu12) failed after 0 bytes (0 : 200).
[2024-09-15 07:33:31] Downloading update (0 of 313,182 KB)...
[2024-09-15 07:33:31] Exhausted list of download hosts
[2024-09-15 07:33:31] Repeatedly failed to download packages, giving up
[2024-09-15 07:33:31] Saving metrics to disk (/home/raspi/.local/share/Steam/package/steam_client_metrics.bin)
[2024-09-15 07:33:31] Error: Steam needs to be online to update. Please confirm your network connection and try again.
Seems network related.
It does look like it, but it makes no sense. Could it be the pi freezing up and the connection being lost?
Was it always the same errors in the same order when trying it again?
Every time I run it, the time that the packages fail is different.
I’ll provide more details when I get home.
I tried running it a second time:
raspi@raspberrypi:~ $ steam
steam.sh[12471]: Running Steam on debian 11 64-bit
steam.sh[12471]: STEAM_RUNTIME is enabled by the user
setup.sh[12537]: Steam runtime environment up-to-date!
/home/raspi/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh: line 85: steam-runtime-identify-library-abi: command not found
run.sh[12549]: steam-runtime-identify-library-abi --ldconfig-paths failed, falling back to ldconfig
steam.sh[12471]: Couldn't find /home/raspi/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/srt-logger, logging to console-linux.txt
steam.sh[12471]: Can't find 'steam-runtime-check-requirements', continuing anyway
Debug level is 1
Dynarec for ARMv8, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Running on Cortex-A53 with 4 Cores
Params database has 32 entries
Box86 with Dynarec v0.3.7 f97763ca built on Sep 14 2024 06:38:14
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/:i686/
Using default BOX86_PATH: ./:bin/
Counted 62 Env var
Looking for /home/raspi/.local/share/Steam/ubuntu12_32/steam
steam detected
Apply RC params for steam
Applying BOX86_NOGTK=1
Applying BOX86_DYNAREC_STRONGMEM=1
Applying BOX86_DYNAREC_CALLRET=0
Applying BOX86_EMULATED_LIBS=libudev.so.0:libSDL2-2.0.so.0
argv[1]="-no-cef-sandbox"
argv[2]="steam://open/minigameslist"
Rename process to "steam"
Using native(wrapped) libdl.so.2
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) libbsd.so.0
Using native(wrapped) libX11.so.6
Using native(wrapped) libm.so.6
[2024-09-15 13:24:52] Startup - updater built Jul 16 2024 23:21:18
[2024-09-15 13:24:52] Startup - Steam Client launched with: '/home/raspi/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox' 'steam://open/minigameslist'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
src/steamexe/updateui_xwin.cpp (1466) : BFileExists( m_FontFileRegular )
src/steamexe/updateui_xwin.cpp (1466) : BFileExists( m_FontFileRegular )
Using native(wrapped) crashhandler.so
src/steamexe/updateui_xwin.cpp (1467) : BFileExists( m_FontFileLight )
src/steamexe/updateui_xwin.cpp (1467) : BFileExists( m_FontFileLight )
Using native(wrapped) libGL.so.1
[2024-09-15 13:24:54] Loading cached metrics from disk (/home/raspi/.local/share/Steam/package/steam_client_metrics.bin)
[2024-09-15 13:24:57] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2024-09-15 13:24:57] Using the following download hosts for Public, Realm steamglobal
[2024-09-15 13:24:57] 1. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-09-15 13:24:57] Verifying installation...
[2024-09-15 13:24:57] Unable to read and verify install manifest /home/raspi/.local/share/Steam/package/steam_client_ubuntu12.installed
[2024-09-15 13:24:57] Verification complete
[2024-09-15 13:24:57] Downloading Update...
[2024-09-15 13:24:57] Checking for available update...
[2024-09-15 13:24:57] Downloading manifest: https://cdn.steamstatic.com/client/steam_client_ubuntu12
[2024-09-15 13:24:57] Manifest download: send request
[2024-09-15 13:24:57] Manifest download: waiting for download to finish
[2024-09-15 13:24:58] Manifest download: finished
[2024-09-15 13:24:58] Downloaded new manifest: /client/steam_client_ubuntu12 version 1726256783, installed version 0, existing pending version 0
[2024-09-15 13:24:58] Package file webkit_ubuntu12.zip.vz.57c0e0d3866ff0cdaa4af1f0fb2a0393a31a7906_79943183 missing or incorrect size
[2024-09-15 13:24:58] Package file runtime_scout_ubuntu12.zip.2422dc5093c67022c86b17493e49f66124f182d0 missing or incorrect size
[2024-09-15 13:24:58] Package file runtime_sniper_ubuntu12.zip.328e060d569aa12d70746dab1f74cd54196edf9c missing or incorrect size
[2024-09-15 13:24:58] Add pending download: https://cdn.steamstatic.com/client/webkit_ubuntu12.zip.vz.57c0e0d3866ff0cdaa4af1f0fb2a0393a31a7906_79943183
[2024-09-15 13:24:58] Manifest download: send request
[2024-09-15 13:24:58] Add pending download: https://cdn.steamstatic.com/client/runtime_scout_ubuntu12.zip.2422dc5093c67022c86b17493e49f66124f182d0
[2024-09-15 13:24:58] Manifest download: send request
[2024-09-15 13:24:58] Add pending download: https://cdn.steamstatic.com/client/runtime_sniper_ubuntu12.zip.328e060d569aa12d70746dab1f74cd54196edf9c
[2024-09-15 13:24:58] Manifest download: send request
[2024-09-15 13:24:58] Downloading update (0 of 313,182 KB)...
[2024-09-15 13:25:36] Error: Download of package (runtime_sniper_ubuntu12) failed after 0 bytes (0 : 0).
[2024-09-15 13:25:36] Error: Download of package (runtime_scout_ubuntu12) failed after 0 bytes (0 : 0).
[2024-09-15 13:25:48] Downloading update (25,964 of 313,182 KB)...
[2024-09-15 13:26:48] Error: Download of package (webkit_ubuntu12) failed after 0 bytes (0 : 200).
[2024-09-15 13:26:48] Downloading update (0 of 313,182 KB)...
[2024-09-15 13:26:48] Package file webkit_ubuntu12.zip.vz.57c0e0d3866ff0cdaa4af1f0fb2a0393a31a7906_79943183 missing or incorrect size
[2024-09-15 13:26:48] Package file runtime_scout_ubuntu12.zip.2422dc5093c67022c86b17493e49f66124f182d0 missing or incorrect size
[2024-09-15 13:26:48] Package file runtime_sniper_ubuntu12.zip.328e060d569aa12d70746dab1f74cd54196edf9c missing or incorrect size
[2024-09-15 13:26:48] Add pending download: https://cdn.steamstatic.com/client/webkit_ubuntu12.zip.vz.57c0e0d3866ff0cdaa4af1f0fb2a0393a31a7906_79943183
[2024-09-15 13:26:48] Manifest download: send request
[2024-09-15 13:26:48] Add pending download: https://cdn.steamstatic.com/client/runtime_scout_ubuntu12.zip.2422dc5093c67022c86b17493e49f66124f182d0
[2024-09-15 13:26:48] Manifest download: send request
[2024-09-15 13:26:48] Add pending download: https://cdn.steamstatic.com/client/runtime_sniper_ubuntu12.zip.328e060d569aa12d70746dab1f74cd54196edf9c
[2024-09-15 13:26:48] Manifest download: send request
[2024-09-15 13:27:27] Downloading update (3 of 313,182 KB)...
[2024-09-15 13:27:27] Downloading update (34 of 313,182 KB)...
[2024-09-15 13:27:28] Downloading update (157 of 313,182 KB)...
[2024-09-15 13:27:28] Downloading update (256 of 313,182 KB)...
[2024-09-15 13:27:42] Downloading update (14,108 of 313,182 KB)...
[2024-09-15 13:27:44] Downloading update (22,144 of 313,182 KB)...
[2024-09-15 13:28:00] Downloading update (31,727 of 313,182 KB)...
[2024-09-15 13:28:08] Downloading update (53,833 of 313,182 KB)...
[2024-09-15 13:28:54] Downloading update (76,221 of 313,182 KB)...
[2024-09-15 13:29:18] Error: Download of package (webkit_ubuntu12) failed after 0 bytes (0 : 200).
[2024-09-15 13:29:18] Downloading update (56,348 of 313,182 KB)...
[2024-09-15 13:29:42] Downloading update (81,146 of 313,182 KB)...
[2024-09-15 13:29:42] Downloading update (103,488 of 313,182 KB)...
[2024-09-15 13:30:42] Error: Download of package (runtime_sniper_ubuntu12) failed after 0 bytes (0 : 200).
[2024-09-15 13:30:42] Downloading update (61,505 of 313,182 KB)...
[2024-09-15 13:30:42] Exhausted list of download hosts
[2024-09-15 13:30:42] Repeatedly failed to download packages, giving up
[2024-09-15 13:30:42] Saving metrics to disk (/home/raspi/.local/share/Steam/package/steam_client_metrics.bin)
[2024-09-15 13:30:43] Error: Steam needs to be online to update. Please confirm your network connection and try again.
UpdateUI: skip show logo[2024-09-15 13:30:52] Shutdown
Thread "CHTTPClientThreadPool:0" (ID 12587) failed to shut down
Thread "CHTTPClientThreadPool:0" (ID 12587) failed to shut down
Thread "CHTTPClientThreadPool:0" (ID 12587) failed to shut down
Thread "CHTTPClientThreadPool:0" (ID 12587) failed to shut down
Thread "CHTTPClientThreadPool:0" (ID 12587) failed to shut down
Thread "CHTTPClientThreadPool:0" (ID 12587) failed to shut down
Thread "CHTTPClientThreadPool:0" (ID 12587) failed to shut down
Thread "CHTTPClientThreadPool:0" (ID 12587) failed to shut down
Thread "CHTTPClientThreadPool:0" (ID 12587) failed to shut down
Thread "CHTTPClientThreadPool:0" (ID 12587) failed to shut down
Thread "CHTTPClientThreadPool:0" (ID 12587) failed to shut down
Thread "CHTTPClientThreadPool:0" (ID 12587) failed to shut down
Thread "CHTTPClientThreadPool:0" (ID 12587) failed to shut down
Thread "CHTTPClientThreadPool:0" (ID 12587) failed to shut down
Thread "CHTTPClientThreadPool:0" (ID 12587) failed to shut down
Thread "CHTTPClientThreadPool:0" (ID 12587) failed to shut down
Thread "CHTTPClientThreadPool:0" (ID 12587) failed to shut down
Thread "CHTTPClientThreadPool:0" (ID 12587) failed to shut down
Gosh that formatted horribly. The gist is that it got further, but same result. The thread thing at the end comes up after you press close on the steam update window.
Gosh that formatted horribly.
The trick is to use three, not 1.
```
Ahh that’ll do it thanks 😅
Any idea what else i should try?
This issue appears to have been reported once before. https://github.com/ptitSeb/box64/issues/1611 But in that case it was assumed to be solved after I fixed how box64 was outputting debug info. See https://github.com/ptitSeb/box64/issues/1612
Try this:
cat /usr/local/bin/steam
The output from this should include BOX64_TRACE_FILE=stderr BOX86_TRACE_FILE=stderr.
It does
cat /usr/local/bin/steam
#!/bin/bash
export STEAMOS=1
export STEAM_RUNTIME=1
export DBUS_FATAL_WARNINGS=0
BOX64_LOG=1 BOX86_LOG=1 BOX64_TRACE_FILE=stderr BOX86_TRACE_FILE=stderr BOX64_EMULATED_LIBS=libmpg123.so.0 /usr/lib/steam/bin_steam.sh -no-cef-sandbox steam://open/minigameslist "$@"
rm -f /home/${USER}/Desktop/steam.desktop
Having the same problem on a CM4, with a fresh install of Steam:
[2024-09-15 18:44:18] Error: Download of package (runtime_sniper_ubuntu12) failed after 0 bytes (0 : 200).
[2024-09-15 18:44:18] Downloading update (294,560 of 468,167 KB)...
[2024-09-15 18:44:18] Package file runtime_sniper_ubuntu12.zip.328e060d569aa12d70746dab1f74cd54196edf9c missing or incorrect size
[2024-09-15 18:44:18] Add pending download: https://cdn.steamstatic.com/client/runtime_sniper_ubuntu12.zip.328e060d569aa12d70746dab1f74cd54196edf9c
[2024-09-15 18:44:18] Manifest download: send request
[2024-09-15 18:45:07] Error: Download of package (runtime_sniper_ubuntu12) failed after 0 bytes (0 : 0).
[2024-09-15 18:45:07] Exhausted list of download hosts
[2024-09-15 18:45:07] Repeatedly failed to download packages, giving up
[2024-09-15 18:45:07] Saving metrics to disk (/home/thomas/.local/share/Steam/package/steam_client_metrics.bin)
[2024-09-15 18:45:07] Error: Steam needs to be online to update. Please confirm your network connection and try again.
UpdateUI: skip show logobv
#!/bin/bash
export STEAMOS=1
export STEAM_RUNTIME=1
export DBUS_FATAL_WARNINGS=0
BOX64_LOG=1 BOX86_LOG=1 BOX64_TRACE_FILE=stderr BOX86_TRACE_FILE=stderr BOX64_EMULATED_LIBS=libmpg123.so.0 /usr/lib/steam/bin_steam.sh -no-cef-sandbox steam://open/minigameslist "$@"
rm -f /home/${USER}/Desktop/steam.desktop
OS: Debian GNU/Linux 12 (bookworm)
OS architecture: 64-bit
Last updated Pi-Apps on: 09/15/2024
Latest Pi-Apps version: 09/15/2024
Kernel: aarch64 6.6.51-v8+
Device model: Raspberry Pi Compute Module 4 Rev 1.1
SOC identifier: bcm2711
Cpu name: Cortex-A72
Ram size: 3.79 GB
Raspberry Pi OS image version: 2024-07-27
Language: en_US.UTF-8
Any ideas, @ptitseb?
Are you trying to use box32 there? Because it's not ready yet and should not be used for now.
Are you trying to use box32 there? Because it's not ready yet and should not be used for now.
No ptitseb, this is the pi-apps installer for steam. It uses box86 and box64.
And steam complans that it cannot update itself and his off line?
Yep
Note that you might need to launch steam with -cef-disable-gpu
with latest version, or at least -cef-disable-gpu-compositing
(I need that on my X13s now).
-cef-disable-gpu-compositing
Neither changes anything
What is the machine you’re running?
I'm running a Pi5 with 8 GB of ram. Since your machine has 1GB of ram, Steam might be using it all. Do you have the More RAM app installed from Pi-Apps? If not, I would advise installing that and then trying to run steam again.
I do not think even the "More RAM" (zram) will be enough for steam to load. I think there is a very high possibility that the process is simply getting killed by the OOM killer when starting. I have no tested this but this blog details how to check for OOM killer activity see the blog for more details but this may be enough to print any prior activity from the OOM killer
journalctl --list-boots | \
awk '{ print $1 }' | \
xargs -I{} journalctl --utc --no-pager -b {} -kqg 'killed process' -o verbose --output-fields=MESSAGE
What is the machine you’re running?
I'm running a Pi5 with 8 GB of ram. Since your machine has 1GB of ram, Steam might be using it all. Do you have the More RAM app installed from Pi-Apps? If not, I would advise installing that and then trying to run steam again.
I do not think even the "More RAM" (zram) will be enough for steam to load. I think there is a very high possibility that the process is simply getting killed by the OOM killer when starting. I have no tested this but this blog details how to check for OOM killer activity see the blog for more details but this may be enough to print any prior activity from the OOM killer
journalctl --list-boots | \ awk '{ print $1 }' | \ xargs -I{} journalctl --utc --no-pager -b {} -kqg 'killed process' -o verbose --output-fields=MESSAGE
Running that command doesn’t output anything, and running it in interactive mode (journalctl --utc -b -3 -ke) shows nothing relating to Steam
Note that you might need to launch steam with
-cef-disable-gpu
with latest version, or at least-cef-disable-gpu-compositing
(I need that on my X13s now).
It works after first being installed (I installed some games!), but upon a reboot it stops working completely When I open the steam app with -cef-disable-gpu, I get a broken screen that says "Steam Spinner", with these logs:
Error initializing native libvulkan.so.1 (last dlerror is libvulkan.so.1: wrong ELF class: ELFCLASS64)
Using emulated /home/thomas/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libvulkan.so.1
Using native(wrapped) libm.so.6
Vulkan missing requested extension 'VK_KHR_surface'.
Vulkan missing requested extension 'VK_KHR_xlib_surface'.
BInit - Unable to initialize Vulkan!
src/tier0/threadtools.cpp (3465) : Assertion Failed: Illegal termination of worker thread 'SocketThread'
src/tier0/threadtools.cpp (3465) : Assertion Failed: Illegal termination of worker thread 'SocketThread'
I've tried the More RAM thing too, fairly sure that did help
Steam ALWAYS drinks its morning coffee... (updates)
I was also encountering this issue with Armbian Noble and stock Ubuntu Noble (straight from Canonical's page) using a Raspberry Pi 4 Model B (4 GB RAM). The log stuff seems to be a big red herring since I was able to overcome the problem by manually downloading the offending file (in my case, the Sniper runtime) using wget inside the correct path:
~/.local/share/Steam/steam/package/
I have no idea why Steam fails to download the file since wget has no problems doing exactly the same thing, both using WiFi and Ethernet.
I had this same problem until I updated my Pi4B to a Pi5.
On Tue, Oct 1, 2024 at 8:37 AM JORGETECH @.***> wrote:
I was also encountering this issue with Armbian Noble and stock Ubuntu Noble (straight from Canonical's page) using a Raspberry Pi 4 Model B (4 GB RAM). The log stuff seems to be a big red herring since I was able to overcome the problem by manually downloading the offending file (in my case, the Sniper runtime) using wget inside the correct path:
~/.local/share/Steam/steam/package/
I have no idea why Steam fails to download the file since wget has no problems doing exactly the same thing, both using WiFi and Ethernet.
— Reply to this email directly, view it on GitHub https://github.com/Botspot/pi-apps/issues/2646#issuecomment-2386167817, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFS3P6745FLOCCTH7D4QPV3ZZKXTLAVCNFSM6AAAAABOHF3VPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBWGE3DOOBRG4 . You are receiving this because you commented.Message ID: @.***>
Confirmations
What happened?
Steam fails to download it’s update
Description
On first launch, steam does an update. The problem is that it starts fine, but then goes back to 0. Then after hanging for a while it fails saying steam needs to be online to update, despite the network connection still being fine.
What are your system specs (run the following command in your terminal)?
(Recommended) Error log? Terminal output? Debug messages?