steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

Steam Window disappears after closing game

Open coreybruce opened this issue 1 year ago • 48 comments

Your system information

  • Steam client version (build number or date): 1731433018
  • Distribution (e.g. Ubuntu): Manjaro Gnome
  • Opted into Steam client beta?: [Yes/No] No
  • Have you checked for system updates?: [Yes/No] Yes
  • Steam Logs: [generate by running this command in a terminal tar -zcvf ~/Desktop/steam-logs.tar.gz ~/.steam/steam/logs] steam-logs.tar.gz
  • GPU: Nvidia/Intel/AMD RX 6700 XT

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

Steps for reproducing this issue:

  1. Play a game
  2. Quit game
  3. Steam will disappear and I have to close steam just to see the Window again but the tray icon will be there but the only thing that works on the tray is exit steam

coreybruce avatar Nov 17 '24 03:11 coreybruce

Same on my side, but i dont even need to close the game, it just randomly disappears when the game is open. When trying to open something from tray, e.g. store, it opens store page in steam overlay in game.

dom1torii avatar Nov 17 '24 18:11 dom1torii

This has been happening to me as well. its very frustrating! Its happened with both beta and stable Distro: EndeavourOS

underspiffy avatar Nov 18 '24 05:11 underspiffy

This also happens to me. Sometimes it closes while in-game, sometimes it closes when I close a game.

Worth noting as well, there are a few times it does not close but starts the "shutting down steam" popup and just hangs there with the only option being force close steam. Running Arch/Hyprland

Perfectio07 avatar Nov 18 '24 15:11 Perfectio07

I have this also. It has started recently. Steam seems to also try to uninstall stuff. A window pops and asks if I am sure that I want to uninstall something but I didn't ask to uninstall anything.

sim590 avatar Nov 19 '24 02:11 sim590

I have this also. It has started recently. Steam seems to also try to uninstall stuff. A window pops and asks if I am sure that I want to uninstall something but I didn't ask to uninstall anything.

I noticed that also, it kept coming up with a window to uninstall content

coreybruce avatar Nov 19 '24 06:11 coreybruce

similar to my issue, can confirm that steam UI can crash sometimes when closing game, but for me it also happening during playing the game + other bugs: https://github.com/ValveSoftware/steam-for-linux/issues/11449

Bodyash avatar Nov 20 '24 03:11 Bodyash

Same issue, I had noticed it back when the game recording beta was a thing, back then it was not an issue on stable Currently an issue on stable again with game recording on, maybe it's an issue with that?

Skiftstar avatar Nov 20 '24 16:11 Skiftstar

Same issue, I had noticed it back when the game recording beta was a thing, back then it was not an issue on stable Currently an issue on stable again with game recording on, maybe it's an issue with that?

I don't have game recording enabled and i still have the bug

dom1torii avatar Nov 20 '24 16:11 dom1torii

Idk if anyone has tried or had the same experience but I think the issue may be fixed or doesn't happen on the beta client. Can anyone test to verify?

coreybruce avatar Nov 23 '24 11:11 coreybruce

Idk if anyone has tried or had the same experience but I think the issue may be fixed or doesn't happen on the beta client. Can anyone test to verify?

When I made my comment 5 days ago I was using the beta client and it was still happening. Unless something changed in the last 5 days... I will retest and see if it happens again

Perfectio07 avatar Nov 23 '24 13:11 Perfectio07

Idk if anyone has tried or had the same experience but I think the issue may be fixed or doesn't happen on the beta client. Can anyone test to verify?

When I made my comment 5 days ago I was using the beta client and it was still happening. Unless something changed in the last 5 days... I will retest and see if it happens again

Ahh ok I see, I have been having been constantly dealing with this issue even when I launch a gaming making Steam almost unusable, unstable and unreliable but after switching to the beta I haven't been able to recreate the issue so far at least.

Hopefully they have fixed the issue and this does fix the issue for others.. I don't understand how a bug like this could have entered stable without testing as it's been a frustrating experience with the other issue I have reported about big picture mode performance.

coreybruce avatar Nov 23 '24 13:11 coreybruce

I did try Beta and I think it is indeed fixed in Beta. Thanks.

EDIT (2025-04-24): The issue seems back on the Beta version. At least, I get the issue when launching Oblivion Remastered.

sim590 avatar Nov 25 '24 02:11 sim590

I did try Beta and I think it is indeed fixed in Beta. Thanks.

It just happened to me a few hours ago and I am using Beta, so it doesnt seem like it is fully fixed yet

Perfectio07 avatar Nov 25 '24 02:11 Perfectio07

I am also having this issue, however from my limited testing it seems as if adding gamemoderun %command% in the launch options of a title resolves the issue. I haven't tried playing around with other extra arguments to see if it's merely the fact of having launch options that works for me or if it's specifically tied to gamemode.

ChairmanbAd avatar Nov 30 '24 09:11 ChairmanbAd

I am also having this issue, however from my limited testing it seems as if adding gamemoderun %command% in the launch options of a title resolves the issue. I haven't tried playing around with other extra arguments to see if it's merely the fact of having launch options that works for me or if it's specifically tied to gamemode.

Gamemode doesn't resolve anything for me. Been running gamemode since before this issue started happening.

dom1torii avatar Nov 30 '24 12:11 dom1torii

Hi, I am having the same issue on Fedora 41, supposedly since yesterday's Xorg update (but I didn't try to downgrade the package so I can't say I'm sure of anything...) The Steam window is disappearing every time I quit game, doesn't matter whether it's native or Proton, so I tried to launch Steam from command-line, reproduced the bug and noticed this: reaping pid: 23072 -- gameoverlayui I don't know if it is Steam's normal behaviour, but I tried disabling Steam Overlay, and now things work as intended. Is anyone able to confirm this?

joranm1 avatar Dec 01 '24 16:12 joranm1

Also having the issue on Ubuntu 22.04.5 using Wayland. I have to kill the Steam process every time I exit a game. Launching Steam through the terminal and exiting a game presents this error: (process:226039): GLib-GObject-CRITICAL **: 10:35:53.162: g_object_unref: assertion 'G_IS_OBJECT (object)' failed reaping pid: 226039 -- gameoverlayui

tehmasterer avatar Dec 02 '24 18:12 tehmasterer

Here I have error in systemctl logs (related to steamwebhelper crash) - https://github.com/ValveSoftware/steam-for-linux/issues/11449#issuecomment-2507000226

Bodyash avatar Dec 02 '24 21:12 Bodyash

I really wish they would fix this bug

coreybruce avatar Dec 03 '24 09:12 coreybruce

I am finding that turning off "Enable GPU accelerated rendering in web views" stops the crashes. Otherwise I have this annoying problem very very often, maybe 50% or higher of times I'm using Steam. It seems to be that the UI crashes once in-game overlay loads? (With GPU acceleration turned on)

box-dev avatar Dec 03 '24 20:12 box-dev

I am finding that turning off "Enable GPU accelerated rendering in web views" stops the crashes. Otherwise I have this annoying problem very very often, maybe 50% or higher of times I'm using Steam. It seems to be that the UI crashes once in-game overlay loads? (With GPU acceleration turned on)

I can confirm that this workaround is also valid on my system [Edit] Also Big Picture isn't affected by the bug

joranm1 avatar Dec 04 '24 20:12 joranm1

still having this issue here as well, happened frequently yesterday

porcupinecoder avatar Dec 16 '24 15:12 porcupinecoder

Seems to indeed be caused by the steamwebhelper crashing https://github.com/ValveSoftware/steam-for-linux/issues/11449

Dez 17 08:10:49 fedora-desktop systemd-coredump[47438]: [🡕] Process 47256 (steamwebhelper) of user 1000 dumped core.
                                                        
                                                        Module /run/host/usr/lib64/libGLX_mesa.so.0.0.0 from rpm mesa-24.2.8-1.fc41.x86_64
                                                        Module /run/host/usr/lib64/libxcb-glx.so.0.0.0 from rpm libxcb-1.17.0-3.fc41.x86_64
                                                        Module /run/host/usr/lib64/libXxf86vm.so.1.0.0 from rpm libXxf86vm-1.1.5-7.fc41.x86_64
                                                        Module /run/host/usr/lib64/libudev.so.1.7.9 from rpm systemd-256.9-2.fc41.x86_64
                                                        Module /run/host/usr/lib64/libcap.so.2.70 from rpm libcap-2.70-4.fc41.x86_64
                                                        Module /run/host/usr/lib64/libwayland-client.so.0.23.0 from rpm wayland-1.23.0-2.fc41.x86_64
                                                        Module /run/host/usr/lib64/libunistring.so.5.0.0 from rpm libunistring-1.1-8.fc41.x86_64
                                                        Module /run/host/usr/lib64/libxml2.so.2.12.8 from rpm libxml2-2.12.8-2.fc41.x86_64
                                                        Module /run/host/usr/lib64/libedit.so.0.0.74 from rpm libedit-3.1-53.20240808cvs.fc41.x86_64
                                                        Module /run/host/usr/lib64/libpciaccess.so.0.11.1 from rpm libpciaccess-0.16-13.fc41.x86_64
                                                        Module /run/host/usr/lib64/libffi.so.8.1.4 from rpm libffi-3.4.6-3.fc41.x86_64
                                                        Module /run/host/usr/lib64/libxcb-dri2.so.0.0.0 from rpm libxcb-1.17.0-3.fc41.x86_64
                                                        Module /run/host/usr/lib64/libdrm_intel.so.1.124.0 from rpm libdrm-2.4.124-1.fc41.x86_64
                                                        Module /run/host/usr/lib64/libdrm_amdgpu.so.1.124.0 from rpm libdrm-2.4.124-1.fc41.x86_64
                                                        Module /run/host/usr/lib64/libelf-0.192.so from rpm elfutils-0.192-7.fc41.x86_64
                                                        Module /run/host/usr/lib64/libdrm_radeon.so.1.124.0 from rpm libdrm-2.4.124-1.fc41.x86_64
                                                        Module /run/host/usr/lib64/libsensors.so.4.5.0 from rpm lm_sensors-3.6.0-20.fc41.x86_64
                                                        Module /run/host/usr/lib64/libxshmfence.so.1.0.0 from rpm libxshmfence-1.3.2-5.fc41.x86_64
                                                        Module /run/host/usr/lib64/libxcb-sync.so.1.0.0 from rpm libxcb-1.17.0-3.fc41.x86_64
                                                        Module /run/host/usr/lib64/libxcb-xfixes.so.0.0.0 from rpm libxcb-1.17.0-3.fc41.x86_64
                                                        Module /run/host/usr/lib64/libxcb-present.so.0.0.0 from rpm libxcb-1.17.0-3.fc41.x86_64
                                                        Module /run/host/usr/lib64/libxcb-dri3.so.0.1.0 from rpm libxcb-1.17.0-3.fc41.x86_64
                                                        Module /run/host/usr/lib64/libX11-xcb.so.1.0.0 from rpm libX11-1.8.10-2.fc41.x86_64
                                                        Module /run/host/usr/lib64/libglapi.so.0.0.0 from rpm mesa-24.2.8-1.fc41.x86_64
                                                        Module /run/host/usr/lib64/libidn2.so.0.4.0 from rpm libidn2-2.3.7-2.fc41.x86_64
                                                        Module /run/host/usr/lib64/libzstd.so.1.5.6 from rpm zstd-1.5.6-2.fc41.x86_64
                                                        Module /run/host/usr/lib64/liblzma.so.5.6.2 from rpm xz-5.6.2-2.fc41.x86_64
                                                        Module /run/host/usr/lib64/libgallium-24.2.8.so from rpm mesa-24.2.8-1.fc41.x86_64
                                                        Module /run/host/usr/lib64/libxcb-shm.so.0.0.0 from rpm libxcb-1.17.0-3.fc41.x86_64
                                                        Module /run/host/usr/lib64/libxcb-randr.so.0.1.0 from rpm libxcb-1.17.0-3.fc41.x86_64
                                                        Module /run/host/usr/lib64/libwayland-server.so.0.23.0 from rpm wayland-1.23.0-2.fc41.x86_64
                                                        Module /run/host/usr/lib64/libXau.so.6.0.0 from rpm libXau-1.0.11-7.fc41.x86_64
                                                        Module /run/host/usr/lib64/libGLdispatch.so.0.0.0 from rpm libglvnd-1.7.0-5.fc41.x86_64
                                                        Module /run/host/usr/lib64/libGLX.so.0.0.0 from rpm libglvnd-1.7.0-5.fc41.x86_64
                                                        Module /run/host/usr/lib64/libz.so.1.3.1.zlib-ng from rpm zlib-ng-2.1.7-3.fc41.x86_64
                                                        Module /run/host/usr/lib64/libxcb.so.1.1.0 from rpm libxcb-1.17.0-3.fc41.x86_64
                                                        Module /run/host/usr/lib64/libexpat.so.1.10.0 from rpm expat-2.6.4-1.fc41.x86_64
                                                        Module /run/host/usr/lib64/libgbm.so.1.0.0 from rpm mesa-24.2.8-1.fc41.x86_64
                                                        Module /run/host/usr/lib64/libdrm.so.2.124.0 from rpm libdrm-2.4.124-1.fc41.x86_64
                                                        Module /run/host/usr/lib64/libGL.so.1.7.0 from rpm libglvnd-1.7.0-5.fc41.x86_64
                                                        Module /run/host/usr/lib64/libX11.so.6.4.0 from rpm libX11-1.8.10-2.fc41.x86_64
                                                        Module /run/host/usr/lib64/libXfixes.so.3.1.0 from rpm libXfixes-6.0.1-4.fc41.x86_64
                                                        Module /run/host/usr/lib64/libXext.so.6.4.0 from rpm libXext-1.3.6-2.fc41.x86_64
                                                        Stack trace of thread 47392:
                                                        #0  0x0000000000000000 n/a (n/a + 0x0)
                                                        ELF object binary architecture: AMD x86-64

razzeee avatar Dec 17 '24 07:12 razzeee

Can confirm disabling Settings > Interface > Enable GPU accelerated rendering in web views seems to help.

Has anyone seen this on other DEs, that are not gnome?

razzeee avatar Dec 17 '24 07:12 razzeee

Can confirm disabling Settings > Interface > Enable GPU accelerated rendering in web views seems to help.

Has anyone seen this on other DEs, that are not gnome?

I'm seeing it on Sway, and disabling that setting has fixed it for me.

njdom24 avatar Dec 17 '24 11:12 njdom24

Replying to https://github.com/ValveSoftware/steam-for-linux/issues/11479#issuecomment-2547664855

Can you provide more info from journalctl?

I have similar issue (I opened an issue 5 weeks ago https://github.com/ValveSoftware/steam-for-linux/issues/11449) And also steamwebhelper is crashing. But after stack trace I have something like:

Dec 03 00:57:14 arch kernel: traps: steamwebhelper[122064] trap invalid opcode ip:7e6ddb4cabcf sp:7ffe36752010 error:0 in libcef.so[66c9bcf,7e6dd71ed000+a36d000]

For me it looks like some error in libcef (chromium embedded) And I don't understand why random steam windows (dialogs) are spawning after crash. Also crash happens after I launch games. You can check more here: https://github.com/ValveSoftware/steam-for-linux/issues/11449#issuecomment-2507000226

Bodyash avatar Dec 18 '24 01:12 Bodyash

Can confirm disabling Settings > Interface > Enable GPU accelerated rendering in web views seems to help.

This is on Gnome and Hyprland.

Plyply99 avatar Dec 18 '24 04:12 Plyply99

Replying to https://github.com/ValveSoftware/steam-for-linux/issues/11479#issuecomment-2550052592

grepping my log after the failure for libcef or opcode doesn't return a thing

razzeee avatar Dec 22 '24 16:12 razzeee

Should I provide another journal log to help more with diagnosing the issue?

coreybruce avatar Dec 23 '24 02:12 coreybruce

Should I provide another journal log to help more with diagnosing the issue?

just do it

Bodyash avatar Dec 24 '24 09:12 Bodyash