-
Notifications
You must be signed in to change notification settings - Fork 174
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
Steam freezes after running for a while #8769
Comments
I also have this issue, like the poster of the original issue had, it started several months ago. (Exactly like shown in that video) Any game running at the time of the freeze also freezes. It freezes for a time, maybe 10 seconds (both steam window and any game window). I figured it was a hardware issue causing the bug but after checking my drives, they seem healthy. Dmesg doesn't output anything during the freeze(s), but I started strace before the freeze on all steam processes and it seems to hang on a futex? After a while steam crashes for me, after 10 or so rounds of Steam freezing; This is some of the output of " for pid in $(pgrep steam); do { strace -p $pid; } done " https://gist.github.com/apelsin21/72abe7dbe5a3cddebcf17924fd0963a9 During the freeze, the latest strace output is System info: https://gist.github.com/apelsin21/cbc07e4b7260b90f6f1b3a9d8b2b036e |
Yes. I do. I use Wayland. Primarily because X doesn't tend to play nice with multi-monitor setups with different refresh rates, and this seems to be the only decent solution to that out there. |
I don't use Wayland, I use Xfce 4.16 |
I also have the similar issue. It freezes right after opening. I am running |
Same for me. Recently it has been hanging a lot and the UI has become extremely unresponsive. OS : Ubuntu 22.04 |
Another +1. Started happening recently, haven't had issues before. OS : Fedora 37 |
This also started happening to me within the last couple weeks OS: Arch Linux |
started happening to me too. no terminal message about it haoppen it just freezes and need to be killed and restarted to work. freezes can take anywhere from 30 secondes to 15 minutes to happen. i tried running steam with zink instead and the same happen's. i also tried updating to lastest mesa-git and aside from slightly better game performences when i can start one it's the same current setup: |
Also happening to me since a few days ago. OS: Arch Linux |
Also started experiencing this issue. OS: Garuda Linux |
Just adding another report to the pile... also experiencing this. OS: Arch Linux |
Same issue here, Steam is freezing after start most of the time: OS: OpenSuse TW |
Anyone tried the flatpak version of steam? |
I was having this issue until I disabled "Enable GPU accelerated rendering in web views" in settings->interface. Can anybody else confirm this fixes it? OS: Pop!_OS 22.04 |
no, freeze happend with that setting disabled. |
Re-reading the thread I guess my issue was a bit different. The Steam window was responsive for me but the client would just stop rendering or it would render but not respond to input at all. :( Weird that Steam is behaving so poorly on Linux lately. |
OS: Pop!_OS 22.04 LTS I'm having an issue where Steam runs fine for about 3-7 hours until it stops opening and no games from Steam open either. I also see unusual disk read and write occur during this time. I have to manually kill Steam and it works fine until 3-7 hours later... I think it might have happened when I had Steam open once. I tried to play The Sims 4, but it got stuck at compiling Vulkan shaders. I killed Steam and it worked fine afterwards. UPDATE: I had another freeze while Steam was open. The client became unresponsive and closing Steam did nothing. I had to manually kill it to work again. I was playing Crysis 2 at the time and it ran fine without problems. |
can confirm it did not fix the issue for me as it was allready disabled. |
Could this be related to this bug(please note that this bug is only for wayland and nvidia gpu so far from what I noticed, but if you guys have it on xorg it could be something else completely, it's just again KDE Plasma DE): |
My issue happens on an Amd GPU running XFCE (Xorg). Also, disabling GPU accelerated rendering in web views does not fix my problem |
I am able to reproduce the random hang after some time on steam deck as well, it seems like notification triggers it. EDIT: That is when you are using the desktop session ofc |
If you are saying notifications trigger the freeze, can you try doing it where Steam is just running and after like 3-7 hours, it becomes unresponsive. (Running games will continue to run, but you cannot either open Steam or any games from it. If a Steam window is open, it won't be responsive) |
I am also getting this on Steam Deck (in desktop mode). 100% stock Steam Deck, locks up after a few seconds after getting a notification. This makes the trackpads and keyboards unusable as well. The notification gets stuck onscreen and will not go away. I can see the process in If Steam is in the background when it freezes, it will not render on the desktop. I can bring the window to the foreground, but it is invisible. If Steam is in the foreground when it freezes, it is stuck in whatever state it was rendering last (so if I was looking at my library, it stays on the library view). This only happens in desktop mode Steam. Gaming mode seems to be unaffected. Currently on the latest Preview channel, whatever build was active on 2022-28-12. Just checked for updates and everything is up-to-date. |
That issue I am unable to reproduce however I do have the issue which Jay2645 is explaining under Steam Deck(in desktop mode) and on my nvidia PC under KDE Wayland(xorg is fine). |
To work around this issue for now, you can use the new big picture. For me, the new big picture does not freeze upon receiving a notification. |
Please try disabling background shader processing to see if this has an impact on the freezes? (Steam -> Settings -> Shader Pre-Caching -> Allow background processing of Vulkan shaders) |
@TTimo Mine was already disabled and I was still having issues. |
+1 Just started happening about two weeks ago for me, too. OS: Gentoo Linux x86_64 It doesn't seem to affect any games I'm playing. It only happens when I exit a game and do other stuff for a while. When I try to go back to the Steam window, it has stopped rendering. I can move the window around, but it does not redraw. I can only force terminate by way of a mixture of SIGTERM and SIGKILL. |
Same thing happening to me on Fedora + wayland + amdgpu right now. This happened before on fedora + Xorg + nvidia before I changed my gpu and reinstalled. :S |
For the folks who can reproduce this on Deck (@Jay2645) - does this still happen in stable OS or newer (3.4.4) - or you only got this in < 3.4.4? If you are able, getting a core dump / backtrace with the mesa debug symbols could really help, we're having difficulty reproducing. |
I am unable to reproduce it on Stable OS, but Beta does seem to trigger it and it is completely random which makes it hard to reproduce. However on nvidia wayland I can trigger it almost immediately(leads me to believe that it could be MESA related as nvidia uses Mesa GBM alongside the proprietary driver for wayland). Perhaps I can somehow debug that ? |
Thanks, we've made some progress since I last posted. It is indeed a mesa hang, that we're trying to work around in Steam. More soon. |
So my freezing issues on Nvidia are something different? |
It may well be causing trouble for NVidia's drivers as well. We'll know more once the next beta update ships. |
Forgot to include this possibly useful information.
|
Thanks - it's a known mesa hang that's mostly due to the xcb API - there's more information there: https://gitlab.freedesktop.org/xorg/lib/libxcb/-/issues/38 |
A new Steam beta client has shipped with a fix for this. |
Thanks for the update, so far on steam deck I am unable to reproduce it(tested multiple notifications, no issues). However on Nvidia KDE Plasma Wayland the issue is still present. |
so far it appears to be fixed on my end as well, thanks for all your work! |
NVidia over wayland may be something completely unrelated. Please make a separate report. |
I still experience this issue or one that seems very similar (steam freezes, window unresponsive and stops updating, task bar menu opens after a while but options do nothing, possibly notification-related) when launching the beta client with -oldbigpicture. I've found a fairly reliable way of triggering it:
At this point, Steam will usually freeze and require being killed (the stream doesn't connect and times out). It might not happen especially on the first try, but after exiting and restarting Steam each time it hasn't taken me more than three tries to reproduce it this way. This doesn't happen when the new big picture mode is enabled, although there is another way to induce a freeze like this with old big picture, which when used with new big picture will result in frozen Steam but also an "empty" new big picture without content and only Sign In, About, and Power menu options which won't sign in and fully freezes on trying to exit through the power menu. I'm not sure if it's the same issue, but I can reproduce it like this:
This also may not trigger the issue on the first attempt, but should on subsequent tries. OS: Lubuntu 22.04.1 |
Was using stable before, signed up for beta to get the fix, still seems to be occurring. OS: Debian GNU/Linux 11 Edit, also noticed that my mouse leaves any game I play now and moves to the other monitor in beta, switching back to stable fixed this. Second edit, had to reinstall my OS for some broken reasons, all is now working on beta, it was my OS it seems. |
Doesn't happen to me anymore on beta with RX 480. I'm using Arch/KDE however. |
I've been experiencing symptoms very similar to this again lately, where new windows of any program refuse to open until I kill Steam. |
tried both beta and stable and nothing helps, steam regularly freezes seemingly at random and the only way to close it is to kill it entirely. it's actually getting unbearable as i find myself killing off steam every 15 minutes. |
@hmpfkafka what distro are you using? Asking because I was able to fix mine by upgrading from Debian Stable to Debian testing. |
i'm on arch |
Hello @hmpfkafka, please open a new issue report so that your feedback can be tracked properly. |
This is a duplicate of #8717, but I do not think user's solution actually tends to the underlying problem, as my hardware situation is slightly different, but I encounter pretty much identical problems.
Your system information
Specs for good measure:
OS: Arch Linux x86_64
Kernel: 5.19.4-arch1-1
DE: Plasma 5.25.4
WM: kwin
CPU: AMD Ryzen 5 3600X (12) @ 3.800GHz
GPU: NVIDIA GeForce RTX 3070 Ti
Memory: 16 Gigs of DDR4 at 2400 MHz
Please describe your issue in as much detail as possible:
Describe what you expected should happen and what did happen. Please link any large code pastes as a Github Gist
Quoting the origininal user's problem:
The Steam client freezes after running for a period of time. The main performance is that all windows of Steam cannot be dragged, and this problem cannot be solved by ending the Steam process. After entering
killall steam
in Konsole, the Steam window still exists and It's stuck and can't start a second Steam process. Akillall -9 steam
will kill it just fine, unlike original user's problem. Steam will freeze together with the running game, which makes my game experience very bad.Steps for reproducing this issue:
The text was updated successfully, but these errors were encountered: