-
Notifications
You must be signed in to change notification settings - Fork 173
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 gobbling shut down request ? #3301
Comments
See also #3241 for unusual shutdown behavior. |
This bug is also on Ubuntu Mate 14.10 & 15.04 beta I must close steam before shutting down , or it is very slow , same behavior. If I just try to shutdown , steam hangs the shutdown by 30 seconds. System Information: |
Exists in Cinnamon too, on both Arch and Mint. |
I'm experiencing this issue as well on my new Ubuntu MATE 16.04 install. If the development team needs some log files or someone to test something, @ mention me and I'll be happy to help. |
STILL ONGOING, Mint 18 mate |
The exact same thing happens to me in Fedora 24 with Mate or Cinnamon, as well as Ubuntu Mate 16.04.1. |
Did the most recent client update fix this for all of you? They said they fixed something about shutting down with Steam open. |
It didn't. It still delays the shutdown of MATE and Cinnamon by whatever amount SystemD is set to delay it for. |
Yeah, which is strange. There must be some additional process that still doesn't listen to SIGTERM, although Steam definitely appears to shut down on it. Maybe Steam takes too long to quit? |
this issue was NOT resolved, mint 18.1 mate, still hangs for 30 seconds on shutdown if steam is open |
This wouldn't surprise me at all. I've had issues in the past with Steam holding up the shutdown process in Windows. |
+1 |
Same here, Issue still exists with Linux Mint 18.1 64-bit Cinnamon. |
Same here, Issue still exists with Linux Mint 18.1 64-bit Mate. |
Same issue. Linux Mint 18.2 Cinnamon 64-bit. |
Steam should obey SIGTERM now, any details on what exactly is happening? Is the Mint session relying on some other mechanism to instruct the client to exit? |
My best guess is that Steam, on SIGTERM, takes too long to shut down, causing the system to wait (and eventually time out) on shutdown request. I don't 100% understand why the system doesn't catch Steam's process shutting down, unless there is another Steam process that keeps running in the background... |
Even with downloads running, the client always exits gracefully under a few seconds here if I manually send it SIGTERM. |
Something I am noticing now is that when I go to shut down while Steam is running, it forces Steam to quit, but then doesn't actually shut down; it just stays on a fully-functional desktop with everything except Steam still running. I have to pull up the shutdown option a second time. When I manually exit Steam first, and then hit the shutdown button, it shuts down properly the first time. This is on Kubuntu 17.04. |
I might as well add a note to that, with KDE on Arch, I see a notification from Plasma Workspace that says |
I have seen this very behaviour on KDE as well. On MATE it still does the same old thing, where shutdown becomes delayed by 90 seconds (which is the SystemD default timeout).
I'm guessing that's the issue. A few seconds is longer than the rest of the system takes to shutdown, at least on my end. |
Same behaviour here with Arch + XFCE. I think it only started recently, but can't pin it down to an exact date. |
Same behaviour with xubuntu and manjaro. It started to gobble the shutdown signal about 2 weeks ago. |
Shutdown still takes about 30 seconds on Cinnamon. Cinnamon notices an "unknown" program is trying to shutdown, steam closes in the tray, and then the desktop icons disappear. About 30 seconds later the desktop exits. |
Fix works on Xubuntu. |
OK this looks good. But what's the point of auto-closing Steam when the shutdown menu appears under GNOME? |
Fixed for me on Kubuntu 17.10. Before this gets closed and forgotten forever, would you mind disclosing what the fix was? I'm sure other developers could benefit from the insight. |
@Zerophase That's a normal function of any modern desktop environment, there's a lot going on that needs to be cleanly shutdown. We haven't been able to just turn off the computer since the Win 3.x days. |
@bjwest I definitely get that. It still takes a ton longer to shut the desktop down then if I had manually exited steam before shutting down. I could understand syncing slowing the process down, but that isn't running since I don't have any games installed. On windows steam shuts down fairly fast. I just think it's worth looking in on Cinnamon to see if there are any other issues delaying shutdown. |
I have a Phenom II x4 965 running Linux Mint Cinnamon 18.3 with kernel
4.13.0-32, all freshly updated, with a AMD HD7770 GPU with no proprietary
drivers installed (actually the most recent AMD CPU microcode yes, but none
for the GPU):
https://gist.github.com/anonymous/1feaa7063988e021d2b3b8c196f10846
I have not received the update with the fix yet. I'm not using steam beta.
I asked Steam to check for an update but it says there is none. Was it
supposed to have arrived yet?
Steam client version is built 15/dec/2017 11:47:57, API v017 and package
v1513371133.
@Zerophase
I timed my computer shutting down right now so I can have a baseline to
compare when the fix comes in... First shutdown attempt takes 2sec to close
Steam (tray icon disappearing) and second attempt issued 1sec later takes
6sec to power off the PC.
|
Hello @paulovilli, until the next stable client bump happens, you'll need to opt into the Steam beta client if you want the fix for this issue.
|
Thanks @kisak-valve for the clarification!
I'll post back the results about shutdown timing in Cinnamon.
If it increases notably should me and @Zerophase keep talking about it here
or open a new issue and reference this one?
|
@paulovilli Hmm, I'm going to have to time my actual shutdown time, but it takes me significantly longer. (when not closing steam manually) 2 seconds to close the Steam icon, and at the 30 second mark the desktop exits. I have a i7-5960X (using the latest microcode) running kernel linux-ck 4.14.15-2, and a 660ti with the NVidia proprietary drivers. |
Same issue here Shutdown is completely cancelled. (logout canceled by plasma) |
@Dinoraptor101: Problem is fixed in Steam beta (at least for me), either wait till the fix reaches stable or switch to beta in the Steam settings. |
Steam beta update seems to have resolved or worked around the issue for me. Shutdown takes about 3-5 seconds longer to leave the desktop session, but it doesn't get cancelled. |
@Zerophase and @kisak-valve
I have tested Steam Beta today and the fix works (Steam no longer aborts
shutdown sequence) but there is indeed something wrong with it taking so
long to shutdown now...
I timed it to 38 seconds now, of which only 5 are before Steam's tray icon
disappears and almost all of it is staring at the desktop with barely no
signs that the shutdown sequence is still running.
Just as a reminder, I have posted a week ago about how I timed my computer
shutting down to have a baseline to compare when the fix came in... First
shutdown attempt took 2sec to close Steam (tray icon disappearing) and
second attempt issued 1sec later took 6sec to power off the PC. So even
counting the time lost with a secondary human interaction it took a lot
less time to shutdown before the beta fix.
I will try to post back tomorrow after testing other kernel versions to see
if there is any relation, though it seems unlikely.
Just to make it clear, the fix works. It just needs polishing to improve
the speed of shutdown which got a bit too long on LM Cinnamon 18.3
(apparently only there). Should we open a new issue and reference this one
or just keep posting here about it?
Distro: Linux Mint Cinnamon 18.3
Kernel: Ubuntu Kernel 4.13.0-32 (LM 18 is based on Ubuntu 16.04 repos so
this is the latest HWE kernel available from kernel.ubuntu.org)
CPU: Phenom-II x4 (with latest AMD CPU microcode installed - version
2.20160316.1)
GPU: AMD HD7770 (with no proprietary drivers)
No PPAs installed
Steam: beta - jan/25/2018 21:25:07
Steam API: v018
Steam package: 1516948201
https://gist.github.com/anonymous/1feaa7063988e021d2b3b8c196f10846
2018-02-04 19:06 GMT-02:00 outfrost <notifications@github.com>:
… Steam beta update seems to have resolved or worked around the issue for
me. Shutdown takes about 3-5 seconds longer to leave the desktop session,
but it doesn't get cancelled.
Mint 18.2 / KDE Plasma 5.8.8 / Linux 4.8.0-53-generic amd64
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3301 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AaXkmK09ypVe4O0H77o2rOPli1unLXGTks5tRhu8gaJpZM4B6Vr_>
.
|
@paulovilli, yes, please open a new issue report for your follow up issue. |
@Photon89 Thank you for prompt reply, I'll let you know if I face any further issues. |
Thank you Valve! Signing in for Beta worked fine for me. Manjaro - KDE Plasma 5 |
For anyone experiencing much longer (+20/30 seconds) shutdown times after
the fix for this issue, I've just opened a new follow-up issue here:
#5379 (comment)
(so far only Linux Mint Cinnamon is reportedly affected)
2018-02-06 9:52 GMT-02:00 athordan <notifications@github.com>:
… Thank you Valve!
Signing in for Beta worked fine for me.
Manjaro - KDE Plasma 5
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3301 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AaXkmI-4WghVVuhWDN87gcG5MA8noQwTks5tSD0OgaJpZM4B6Vr_>
.
|
Can confirm, beta now lets Cinnamon (Linux Mint) shut down, thanks! It does however make Cinnamon pop up a box saying that it's waiting on an unknown program to shut down, so there is other issues, maybe for #5379. |
I can also confirm that the beta version allows shutdown for me (Linux Mint + Cinnamon), but I also seem to suffering from issue #5379 (same as @paulovilli and @mikerm19) |
Like mikerm19 said: It does however make Cinnamon pop up a box saying that it's waiting on an unknown program to shut down
|
It is finally fixed ! Kubuntu 17.10 latest steam client ! |
Closing per "Fixed an issue where the Steam client could prevent some desktop sessions from shutting down" in the 2018-03-21 steam client update. |
18.04.2018 Steam prevents my Laptop to go into standby. |
hey there @martin!
What you describe is a different issue from what this bug was about.
I did a quick search for issues involving system standby and found none was
similar either:
https://github.com/ValveSoftware/steam-for-linux/search?q=standby&type=Issues
This aborted powerdown issue did pop up on the search, then 2 issues about
NOT preventing standby while on big picture mode/using xbox controller.
I suggest you open a new issue.
Just be sure to give the issue an accurate and detailed description, and
give all requested info (a suggested issue report layout will appear when
you create it).
PS: I am not a Valve developer, just a user trying to help.
…On Wed, Apr 18, 2018, 18:24 Martin Dünkelmann ***@***.***> wrote:
18.04.2018
Ubuntu Mate 17.10 x64
Steam prevents my Laptop to go into standby.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3301 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AaXkmIcsxZnB5U4iJ-ZqnJpUwIwxD65Fks5tp68DgaJpZM4B6Vr_>
.
|
I am running elementary os 0.2 64 bit, when I press shut down either via the power button on the box or in the os, then Steam will shut down correctly as shown via running Steam via terminal.
What I have noticed is a timing difference, if Steam isn't running, this will be performed in under 4 seconds, if Steam is running it is greater than 25 seconds, even though according to the terminal output Steam has already taken the request and shut down Steam.
Is there any lingering processes that are running that are timing out after 20 seconds, are there any commands I can run to watch what is happening to Steam or elementary os to help see where the issue lies?
Processor Information:
Vendor: GenuineIntel
CPU Family: 0x6
CPU Model: 0x17
CPU Stepping: 0x6
CPU Type: 0x0
Speed: 3000 Mhz
2 logical processors
2 physical processors
HyperThreading: Unsupported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Unsupported
SSE41: Supported
SSE42: Unsupported
Network Information:
Network Speed:
Operating System Version:
elementary OS Luna (64 bit)
Kernel Name: Linux
Kernel Version: 3.8.0-39-generic
X Server Vendor: The X.Org Foundation
X Server Release: 11203000
X Window Manager: Mutter(Gala)
Steam Runtime Version: steam-runtime-release_2014-04-15
Video Card:
Driver: X.Org Gallium 0.4 on AMD RV770
Sound card:
Audio device: Realtek ALC889A
Memory:
RAM: 3952 Mb
Miscellaneous:
UI Language: English
LANG: en_GB.UTF-8
Microphone: Not set
Total Hard Disk Space Available: 70935 Mb
Largest Free Hard Disk Block: 19209 Mb
Installed software:
Recent Failure Reports:
The text was updated successfully, but these errors were encountered: