box64: Steam broken as of 2/28/2024

I and @Botspot have replicated Steam unable to launch on fresh installs seen as early as 2/28/2024

end of log snippit:

Using native(wrapped) libvulkan.so.1
src/steamUI/steamuisharedjscontroller.cpp (546) : Failed creating offscreen shared JS context
src/steamUI/steamuisharedjscontroller.cpp (546) : Failed creating offscreen shared JS context
Error loading needed lib libunity.so.9
Warning: Cannot dlopen("libunity.so.9"/0x6563ffab, 1)
BRefreshApplicationsInLibrary 1: 12ms
Using native(wrapped) libXss.so.1
Using emulated /home/gman/.local/share/Steam/ubuntu12_32/friendsui.so
Warning: Weak Symbol _ZGTtnaj not found, cannot apply R_386_JMP_SLOT 0x6cb12b48 (0x76ef6)
Using native(wrapped) libXss.so.1
src/common/html/chrome_ipc_client.cpp (1113) : Failed to connect to master html process, created shared memory (spawn time 60.08)
src/common/html/chrome_ipc_client.cpp (1113) : Failed to connect to master html process, created shared memory (spawn time 60.08)
src/steamUI/steamuisharedjscontroller.cpp (546) : Failed creating offscreen shared JS context
src/steamUI/steamuisharedjscontroller.cpp (546) : Failed creating offscreen shared JS context

an error window like so pops up 20240228_23h10m58s_grim none of the options change anything in getting steam to launch.

this has been replicated on multiple systems with a fresh steam install: Ubuntu Bionic Nintendo Switch Ubuntu Jammy Nintendo Switch Debian Bookworm RPi5

(info for the discord users, not ptitSeb: I have requested that users create a bug report for such issues that occur on Box64 but not on a standard x86_64 PC. Over the past few days there have been a dozen or so reports in the discord servers but nobody has followed the advise and created a bug report. All of the users reading this where I requested that you open a bug report force me to make it instead of reading and following directions)

About this issue

  • Original URL
  • State: closed
  • Created 4 months ago
  • Reactions: 1
  • Comments: 19 (16 by maintainers)

Most upvoted comments

@ptitSeb found a workaround/fix. disable the steamwebhelper box64rc overrides as such

[steamwebhelper]
#BOX64_NOSANDBOX=1
#BOX64_INPROCESSGPU=1
#BOX64_LOG=0
BOX64_MALLOC_HACK=2
#BOX64_DYNAREC_BIGBLOCK=0
#BOX64_DYNAREC_CALLRET=1
#BOX64_DYNAREC_STRONGMEM=2

and remove all the steam forced args from box86 https://github.com/ptitSeb/box86/blob/14c9cb148d92e601ee691981a6c85efdc7b86352/src/main.c#L1573-L1580

this fixes the issue. I removed all of those commands but I think that specifically the --in-process-gpu argument is problematic and prevents steam webhelper from working. if I add --in-process-gpu to the x64 CEF that that I downloaded it hangs just like steam webhelper in box64

Just ran a rebuild in box86-debs and box64-debs for all the pi-apps users and anyone else using those repos.

Can confirm that Steam launches now after upgrading packages. I have pushed an update to the pi-apps steam installer so that it upgrades these packages and reinstalls Steam. That should solve everything for everyone.

Thanks @theofficialgman and @ptitSeb for working together on this. I think this issue can be closed now that it is solved.

My conclusion is that steam needs to be launched with -cef-disable-gpu parameters on most hardware. It’s not needed on my Ampere+RTX4060 machine, but needed on my Lenovo X13s and PI/400.

I’ll check other cli args to see if they have any affect in a bit.

thanks for your continued efforts as always.