-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Steamwebhelper is not responding" seen with slow disk I/O #10581
Comments
Another odd thing is that when I clear out the installation and try to run it again (Flatpak version this time), the error message shows up before the Linux runtime finishes unpacking. Here's the set of logs from the Flatpak version in case it's helpful: EDIT: Fixed the logs because the command in the template doesn't seem to actually work. |
If it's taking a long(ish) time to unpack the runtime, then this is probably just the Steam client being impatient and not waiting long enough for the |
Yes, it's not clear. Thank you for reporting this separately and not assuming that your root cause is the same as someone else's. One thing to check is that you don't have a Another is to check that your From your Flatpak log, I don't recognise these messages, so they might be distinctive/unusal/relevant:
The last one might perhaps indicate a problem with D-Bus? |
Unfortunately I don't see anything particularly interesting or distinctive in the non-Flatpak set of logs. If Steam uploaded any crash reports (you would see |
Yea, I cleared out all of
I have some symlinks within
Actually that might be an artifact from when I force-restarted it to generate new logs. Here's what happens after a fresh delete of
|
Okay, this is interesting because this gave me an idea to mount a And it worked So I think there's a newly introduced race condition somewhere in the new update and that it's not able to load the runtime fast enough before Steam decides to throw an error condition? I think I need to figure out why my home disk is going slow (3 NVMe drives in RAID0 should not be slow). But also I think something is wrong with the new update because I was not having this issue before Feb 29th. |
Okay, I think I found the issue if anyone else is running into a similar problem: My filesystem was going too slow to unpack the Steam runtime at a reasonable speed (in my case, I was using If you are running into this problem and the "Steamwebhelper is not responding" window comes up just before the runtime unpacking message finishes, then try the following:
If it succeeds, then the issue is likely a problem with your filesystem or storage going too slowly and Steam sees that as an issue. @smcv - Thanks for the help. It looks like a lot of people have been having similar errors recently, so it might be worth it for someone at Valve to check for some sort of race condition there? At the very least the above test might help some people if the logs aren't being too helpful. EDIT: Also I can use the Beta now, which was not possible for the past few months as I was getting the same error. |
Oh, if it's just being slow and the Steam UI eventually starts successfully, then you could ignore the "Steamwebhelper is not responding" dialog and (eventually) continue to use Steam.
Most of the other recent issue reports about this have been about things that either cause the steamwebhelper to crash immediately after it starts, or cause the container runtime to fail to start at all (in which case we never actually get far enough to run the steamwebhelper). Steam automatically restarts the steamwebhelper, but if it crashes every time, then it will just restart in a loop; the result is that same dialog, but with no other UI. That's considerably worse than it just being slow to start. I had misread your issue report as being the same symptom.
I think you might be assuming this is more complicated than it actually is. As far as I know, Steam is not aware of whether progress is being made in starting the steamwebhelper, it just has a timeout for "surely it should have worked by now?" after which it pops up this dialog. The choice of how long to wait is essentially arbitrary, and there's no ideal answer: if it's too short, then people whose systems are just being slow (like you) will see it when perhaps you shouldn't, but if it's too long, then people with a more serious issue that blocks use of Steam altogether (like the steamwebhelper crashing repeatedly) will not get any feedback for a while. The container runtime and the steamwebhelper are both rather complicated, but the mechanism for detecting that there's a problem with it, not so much :-) |
The issue is that it didn't start eventually. The error message came up but Steam itself never gets past that point. Even after over an hour of leaving it that way. One thing I didn't mention was that Steam did successfully start up once or twice out of the couple of dozen attempts I made (and was very quick), but certain things were missing like the inability to load my Friends List, switch out of offline mode, sync my cloud data, and my profile in the top-right was just a question mark. I probably should have mentioned these symptoms, but that was before I cleared out my Steam install and tried to go fresh and minimize the scope of the problem. I'm not experiencing those issues anymore either now. Also, all of those symptoms started with the Beta a little over a month ago for me (I think end of January). I left the Beta and that fixed the problem temporarily, but with the new update on Feb 29th the problem came back.
Sorry, I meant "race condition" in the general sense of Steam checking something before it's ready and then returning a fail state (the timeout you mention). Probably not the best use of the word, but your description was my intention. Anyway, while the performance issue on my system was definitely causing (or at least revealing the issue), what concerns me is that the performance wasn't actually that bad in my opinion for Steam to have crashed. I regularly had >1GB/s read/write speeds and responsiveness was pretty good despite the kernel issue. And the "Unpacking Steam Linux Runtime container" was probably only ~2x faster after the fix, which in terms of SSD speed is not relatively significant. But in any case, I don't think there's much more useful information that I can provide. I definitely don't think all or even most reported crashes are due to the same problem, but it looks like some reported crashes (namely #10431) might be having a similar underlying issue if switching the install location to a different/local/faster drive fixed their problem. Thank you for your help debugging this. Your comment implying there's a timeout was probably the only indication of the underlying issue. If there's any further information that I can provide, let me know. |
Happened to me on Gentoo running steam under swaywm, but works fine on Plasma wayland |
There are lots of reasons why steamwebhelper might crash or not work, which all have the same user-visible symptom, but for different reasons. Unless you have specific evidence, we can't assume that you are seeing this for the same reason as the original reporter of this particular issue. Given your mention of this not working in Sway but working in a more integrated environment, my first guess would be #10554. Or, if it's not that, then please check the Steam logs for more information (Flatpak users: If you think you might be encountering a different root cause for this crash, please report a new issue with full details. If your symptoms and logs match symptoms and logs seen by other users, you can subscribe to an existing bug report without adding comments by using the "Notifications" panel. You can help Steam developers to solve problems like this more quickly by only adding comments if they have new information that could help to find a solution. |
A picture of an error message is not enough information to be useful to a Steam or Steam Runtime developer. Please collect logs as described in #10581 (comment), and if they do not match any existing issue, open a separate issue. |
The contents of steamwebhelper.log are as follows:
|
@manujchandra - Just to confirm, the issue I reported here is due to the 2024 Feb 29th Steam update being unable to deal with slow FS/HDD/SSD IO. Please confirm using the steps here to determine if your issue is identical to the one I reported: #10581 (comment) @smcv - Can you please confirm if the issue related to slow FS/HDD/SSD IO has been identified and resolved? I want to be very clear; There was a bug/regression in the 2024 Feb 29th Steam update that has caused this issue to pop up on my end. The fact that a kernel update improved I/O performance for my specific filesystem does not mean this issue was fixed and it needs to be identified upstream in the Steam subsystems. This is an issue in Steam regardless of whether a change in one of the kernel's filesystems fixed it on my end. I believe Steam should still be able to function in an environment where disk speed is slower than expected. |
I uninstalled steam and deleted the flatpak folder. After reinstalling, Steam seems to be working again. I did not try the ramdisk method though. |
This looks like a duplicate of #10614, and not the same I/O-performance-related issue that others on this issue have been talking about. A mitigation for #10614 is in progress and is likely to be in a future beta. |
To the best of my knowledge, there has not been any specific root cause identified or solution found for the @Slabity or @kisak-valve, please could you retitle this issue to indicate that its scope is specifically systems with slow I/O, so that we don't get the issue mixed up with any other reason why
I'm sure, but please don't shoot the messenger. Knowing that there is some sort of problem involving slow I/O doesn't mean that anyone can identify a root cause. As far as I know, the message "steamwebhelper is not responding" appears after an arbitrary timeout has elapsed with no communication from the |
It's worth mentioning that there's performance and there's performance. Many people only measure disk performance in terms of throughput (best-case sequential I/O bandwidth), but bringing up the Steam Linux Runtime container involves quite a lot of metadata operations (hard links, file deletion, setting permissions), and those can have very different performance characteristics - for those, random-access I/O latency is going to be the limiting factor. This is particularly noticeable on NFS and similar networked filesystems, which often have surprisingly good throughput but bad latency. I could imagine that some on-disk filesystems would have similar characteristics, although hopefully to a less dramatic extent than with NFS. |
I apologize, reading my message back a few days later, my response came off as a lot more aggressive than I intended. The wording and emphasis was to imply that I believed there was still an issue that was not yet solved and I didn't want it to seem that my own resolution to the problem meant that the root cause no longer exists. To be clear, I am literally using the unstable version of a niche Linux distro installed on top of a newly released filesystem as a part of the kernel's non-stable release-candidate branches. I am very comfortable with things breaking on my end.
I can confirm that I was getting very good sequential read/write speeds even with the I still have a snapshot of my system running version 6.6 that struggles with Steam starting up. I'm not sure if I can provide any further detailed information than the logs I originally posted, but if there's anything I can test to help determine the underlying cause then let me know. The only thing I know for certain is that there was no issue on the stable Steam release prior to the Feb 29th release. |
Your system information
steam-logs.tar.gz
Note: These were made with
STEAM_LINUX_RUNTIME_VERBOSE=1
.Please describe your issue in as much detail as possible:
I have completely removed
.steam
and.local/share/Steam
, fully updated my system, and even tried the Flatpak version. But whenever I try to run Steam I get the following:I've cleared out
/tmp
and.cache
as well in case there was some issue there, but that did not resolve the problem.It looks like there's a lot of these "Steamwebhelper is not responding" issues at the moment across various distributions over the past week, but they all seem to have different causes so I'm not sure if this a duplicate of any of them.
EDIT: Fixed logs
The text was updated successfully, but these errors were encountered: