box86 icon indicating copy to clipboard operation
box86 copied to clipboard

Steamwebhelper does not start on Raspberry pi cm4

Open bmjakobsen opened this issue 1 year ago • 8 comments

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.

bmjakobsen avatar Dec 30 '23 11:12 bmjakobsen

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.

ptitSeb avatar Dec 30 '23 11:12 ptitSeb

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 avatar Dec 30 '23 12:12 bmjakobsen

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.

bmjakobsen avatar Dec 30 '23 17:12 bmjakobsen

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.

MastaG avatar Jan 04 '24 20:01 MastaG

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)

gitmanbloggus avatar Mar 31 '24 17:03 gitmanbloggus

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

ptitSeb avatar Mar 31 '24 17:03 ptitSeb

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

gitmanbloggus avatar Apr 04 '24 01:04 gitmanbloggus

nvm figured it out

gitmanbloggus avatar Apr 04 '24 01:04 gitmanbloggus