ptitSeb / box86

Box86 - Linux Userspace x86 Emulator with a twist, targeted at ARM Linux devices
https://box86.org
MIT License
3.19k stars 221 forks source link

Steamwebhelper does not start on Raspberry pi cm4 #915

Open bmjakobsen opened 6 months ago

bmjakobsen commented 6 months ago

I am trying to setup steam via box86 on a pi cm4. Steam then says that the steamwebhelper could not be started.

The only error i can see is Error initializing native libpng12.so.0 (last dlerror is libpng12.so.0: wrong ELF class: ELFCLASS64)

I know that a 32 bit version of this library is provided in the repo, but i cant get steam to use it.

ptitSeb commented 6 months ago

This message doesn't not means it couldn't load the x86 version of the lib. It just mean it fail to load the arm version of it. Don't worry, that lib is probably loaded anyway.

Note that steamwebhlper is a 64bits app and needs box64. steam is a 32bits app and needs box86. Also, there is a BOX64_LOG=0 inside installed /etc/box64.box64 that nullify most logs. To get logs back for this process, create (or change) the file ~/.box64rc and put inside:

[steamwebhelper]
BOX64_NOSANDBOX=1
BOX64_INPROCESSGPU=1
BOX64_LOG=1
BOX64_MALLOC_HACK=2
BOX64_DYNAREC_STRONGMEM=1

And you will see logs for steamwebhelper loading.

bmjakobsen commented 6 months ago

Thanks for your reply.

I have already installed box64. I added the options you sent to ~/.box64rc. But it still doesnt work.

The logs for steamwebhelper only say

steamwebhelper.sh[31935]: Runtime for steamwebhelper: defaulting to /home/user/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[31935]: Using CEF sandbox

Then it repeats with a different PID, before steam says that it cant start steamwebhelper. It also doesnt work when i deactivate CEF.

bmjakobsen commented 6 months ago

I just saw that i had BOX64_EXIT=1 set because i thought that it was necessary. It still does'nt seem to be able to start steamwebhelper.

MastaG commented 6 months ago

Steamwebhelper is a real bitch. I never got it working on Termux proot (Android phone) either. Better to try the Windows version of Steam in Wine instead.

gitmanbloggus commented 3 months ago

Steamwebhelper is a real bitch. I never got it working on Termux proot (Android phone) either. Better to try the Windows version of Steam in Wine instead.

Ironically it doesn't work either (same error)

ptitSeb commented 3 months ago

Try to disable cef hardware acceleration (should be something like -cef-disablegpu

gitmanbloggus commented 3 months ago

I'm using pi-apps though... how would I do that?

gitmanbloggus commented 3 months ago

nvm figured it out