ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.21k stars 175 forks source link

"Steamwebhelper is not responding" shortly followed by "Cannot read properties of undefined (reading 'GetPlayer')" #11079

Open TheArcaneBrony opened 2 months ago

TheArcaneBrony commented 2 months ago

Your system information

Please describe your issue in as much detail as possible:

Issue created after seeing multiple similar reports in #10431, but no NFS/bindmount circumstances are present on my system. None of the restart options seem to have any effect (not even seeing steam restart at all).

Steps for reproducing this issue:

  1. Launch steam
  2. Observe "Steamwebhelper is not responding" pop up
  3. Observe JS error showing up a few seconds later
TheArcaneBrony commented 2 months ago

For some unknown reason, rebooting seems to have fixed my issue. I wonder if it was some internal service launch error that caused the GetPlayer API to not be available? Didn't notice anything odd in stdout. Could the failure be triggered by having a slow process start (eg. waiting for dbus/desktop portals/...)?

With the client in the "JS error" state, i still saw steam consuming network resources to update games.

tsukasa1234567 commented 2 months ago

Not sure if it helps, but I had that error for a few days. Not good for a holiday weekend, but I it seemed to get fixed for me by updating to kernel 6.9.7, it seems a lot of people have had issues in the 6.9 series but I didn't see anything glaring in the changelog to figure anything out.

ms178 commented 1 month ago

Could be due to a recent xwayland regression, see: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1696 with the WIP fix here: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1574

tsukasa1234567 commented 1 month ago

I'm running MATE, pure xorg, seems a lot better for gaming still. No weird tabbing issues or anything like that. Totally appreciate the suggestion though.

schpitz commented 1 month ago

Still happens to me as well. The exact same error message. I've tried to uninstall and reinstall, restart it with GPU acceleration disabled, with Browser sandboxing disabled, and nothing works. It worked fine only few days ago. I have Win10, AMD 6600XT, drivers 24.4.1

sketchbuch commented 1 month ago

Same here, Ubuntu 24.04 (Wayland with AMD iGPU). Was working today until my system updated.

tsukasa1234567 commented 1 month ago

I miss the old days before pressure-vessel where you could either pick to use steams bundled libs, or use the systems libs at your own risk. Some sort of chroot jail or similiar seems less prone to all these error's made by remaking flatpak and then trying to have it figure out mixing host and steam libs on the fly for every combination of system out there.

The only thing i've found that helps is to install vmtouch then cd ~/.local/share/Steam/ubuntu12_64 vmtouch -L ./ wait for it to finish, uses about 1 GB of ram launch steam, it'll crash hard, but leave the steamwebhelper crash window up, then you'll get the black page of cannot read properties. then pick to close steam in the steamwebhelper crash window. then restart steam, it generally works for me that 2nd load, but sometimes it takes 3-20.....which is less then the 100+ I've tried reloading in a row without vmtouch

Hope that helps.

@schpitz totally blown away that your getting the error on Win10. Welcome to the club

Fell commented 1 month ago

I have the same issue. It might be related to 9588. Uninstalling any of the xdg-desktop-portal implementations is not an option for me, because I depend on it for Lutris and Firefox' system theme integrations.

However, on my system, Steam always launches correctly after choosing any of the restart options. Only the very first start of the day fails with the described behavior.

Operating System: Arch Linux KDE Plasma Version: 6.1.2 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.2 Kernel Version: 6.9.8-arch1-1.1 (64-bit) Graphics Platform: Wayland Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor Memory: 31.3 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2

AngryPenguinPL commented 1 month ago

It looks like we have a similar error.

During the first start-up steam installer during the unpacking process of the "Steam Linux runtime container" an error appears.

Clicking restart repeats the error. The only way to get around this is to close the installer window and kill the steam process and then restart it - now steam displays the login window.

Quick info: OS OpenMandriva Cooker/Rolling DE: Plasma5, Plasma6 x11/Wayland, GNOME Wayland/X11

I have collected some logs and core dumps, I am posting them below Screenshot_20240717_143545

log running steam installed in terminal: steam-install.txt

journallog collected during first steam launching: journal.txt

Dumps logs: assert_20240717143459_30.dmp.txt

assert_20240717143529_34.dmp.txt

assert_20240717143659_29.dmp.txt

smcv commented 1 month ago

@AngryPenguinPL, please open a separate issue and attach the logs from ~/.steam/steam/logs. You are getting a similar, but different, issue: you can tell it's different because you do not see the error message "Cannot read properties of undefined (reading 'GetPlayer')".

The logs from ~/.steam/steam/logs are required for any steamwebhelper issue. Steam's command-line output does not contain enough information to diagnose steamwebhelper crashing or failing to start.