You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Huge VRAM Usage, Increases Until Steam Is Closed #9638
Please describe your issue in as much detail as possible:
I've been getting errors in my games because I'm running out of VRAM. On further examination, I discovered via nvtop that xorg was using most of my VRAM, which was only freed again after closing Steam. Note that I have GPU Accelerated Rendering turned off.
I'm running the window manager i3 and I found repeatedly switching between the workspace with Steam and the workspace with the terminal running nvtop resulted in ever increasing VRAM on my machine. Starting a game also increases VRAM usage by approximately 50MB.
Reacted by i3ym, James Thistlewood, Syvra, Gregor Daiß, Guillaume Bury, matte-ek, Torston, Infinoid, igelineau, James McMurray and 3 more
One easy reproduction for me is to just resize the steam client (dragging the mouse in circles).
After just a few second of resizing all 6GB of vram is eaten up by xorg and the desktop environment crashes, dropping me to the login screen.
I use the debian package of the steam-client (from the pop shop) and am not subscribed to the steam client beta
Running on Arch Linux, having the same problem.
Changing workspace and resizing the steam client increases the xorg vram usage by a crazy amount.
I use the steam package from the aur and am not subscribed to the steam client beta.
I am also on Arch with i3wm and use the steam package from Multilib.
I started seeing it late in the beta but wasn't able to narrow down when / why it happened.
Currently not using the Beta client.
get the same issue on arch + my usual i3wm or even gnome(just for testing) when resizing the window/swapping workspaces or going from the library->store page , also got as much hw accelleration turned off as possible to save vram
nvidia Driver Version: 530.41.03
I've had the same issue for some time now. I'm running latest Debian with i3wm and Nvidia GPU.
Switching windows in i3wm to and from a steam window also seems to produce this increase in VRAM usage by Steam.
For some games I really feel the need to kill steam while playing to avoid lag, which has not been the case before.
The -vgui workaround means I can't log in to 'Friends'
Could add more information but I think most of it has already been said by others.
-vgui stopped working in the latest beta, making me very unhappy, my game stutters like crazy when I hit VRAM limit, and, you know, it's Steam-only now, it absolutely has to be launched by Steam.
But check this out, I'm in game, can't restart Steam:
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 1895 G /usr/libexec/Xorg 1597MiB |
| 0 N/A N/A 75851 G ...ling,SpareRendererForSitePerProcess 31MiB |
| 0 N/A N/A 300059 G /usr/lib64/seamonkey/seamonkey 5MiB |
| 0 N/A N/A 711116 G ...local/share/Steam/ubuntu12_32/steam 18MiB |
| 0 N/A N/A 711178 G ...re/Steam/ubuntu12_64/steamwebhelper 16MiB |
| 0 N/A N/A 723173 G /usr/lib64/firefox/firefox 23MiB |
| 0 N/A N/A 841566 C+G ...ns\client\bin\pc\QuakeChampions.exe 3907MiB |
+---------------------------------------------------------------------------------------+
# kill -9 711178
# nvidia-smi
(...)
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 1895 G /usr/libexec/Xorg 384MiB |
| 0 N/A N/A 75851 G ...ling,SpareRendererForSitePerProcess 24MiB |
| 0 N/A N/A 300059 G /usr/lib64/seamonkey/seamonkey 5MiB |
| 0 N/A N/A 711116 G ...local/share/Steam/ubuntu12_32/steam 18MiB |
| 0 N/A N/A 723173 G /usr/lib64/firefox/firefox 23MiB |
| 0 N/A N/A 841566 C+G ...ns\client\bin\pc\QuakeChampions.exe 3907MiB |
| 0 N/A N/A 845410 G ...re/Steam/ubuntu12_64/steamwebhelper 7MiB |
+---------------------------------------------------------------------------------------+
I can kill steamwebhelper while the game is on. The Steam window closes, new one loads on the current desktop, but the game continues running.
Oh, and of course I have DISABLED "Enable GPU accelerated rendering in web views" as well as "Enable hardware video decoding" (just in case) whenever this started, which never helped, but -vgui did. RIP -vgui [*]
Nvidia 535.54.03, MATE (marco is the WM), Xorg 1.20.14
So I've noticed nvidia driver 535.86.05 is out, promising fixes for memory leaks. It only mentioned leaks during VT switching and Wayland, so neither is our case, but it was worth a try. I'm sad to report, 535.86.05 does NOT help the Steam VRAM leak.
Steam also updated to newer beta (from yesterday), no change in this behavior (now Store goes full black when you look at it the wrong way, but even in the black state, it still leaks :))
I've tested replacing the WM (marco --replace &) - no change to VRAM usage. It's just between the embedded Chromium and Xorg, the WM doesn't matter.
I've also noticed the leak in normal usage happens when I switch desktops (specifically, when going to/from the desktop with Steam). That's why it takes me a day or so to actually achieve the 1,5 GB that breaks my game (already set to medium textures as a partial work-around).
So I tested other means of making it leak VRAM very fast:
You can minimize/restore the Steam window. For me it's -5 MB when minimizing, +30 when restoring, +25 MB on average.
You can simply grab the Steam window's edge and swipe around, so it resizes continuously. Way faster than minimizing/restoring.
You can do Alt-F6/F5 (maximize/restore binds if you don't have them) repeatedly, I think this is even faster than mouse dragging (that has a delay and refreshes less often).
With Alt-F6/F5 smashing, I can eat up full 10 GB of VRAM in less than 40 seconds :) Compare that to 55 seconds by dragging the mouse - who would think I'll be speedrunning VRAM exhaustion of Steam client today! :))
Again: the workaround is killing steamwebhelper. PS. Steam will restart hundreds of those after a while, ~15 more each time, doesn't matter if you kill -9 the main one, or killall steamwebhelper, they will multiply :)
As a quick test I installed Gnome to try out a more traditional desktop environment (which is shipped with f.ex Ubuntu).
It seem to run on Wayland as default and I was not able to replicate this issue there at all, no matter how much I was resizing the window or switching desktop / workspaces.
Switching Gnome to run on Xorg however the issue is there once again and it does not take long for Steam to gobble up the available VRAM.
I am experiencing this issue on Debian 11.7, kernel 5.10.0-23-amd64. The impact is that, if I don't restart Steam, a launched game will lag horribly due to a lack of VRAM.
Steam About info:
Steam Version: 1689034492
Steam Client Build Date: Mon, Jul 10 4:59 PM UTC -08:00
Steam Web Build Date: Mon, Jul 10 10:48 AM UTC -08:00
Steam API Version: SteamClient020
I use the i3 window manager (Airblader gaps fork built from source). After a few hours usage I routinely see Xorg VRAM usage (as reported by nvidia-smi) at ~5GB+. This memory usage seems to trend upwards whether I'm interacting with Steam or not. Quitting Steam sends Xorg VRAM usage down to ~313MB on my system.
I have a GeForce GTX 1070, nvidia-smi version info:
NVIDIA-SMI 470.182.03 Driver Version: 470.182.03 CUDA Version: 11.4
Happy to add any info if useful.
Update: it appears interacting with Steam (circling my mouse around the screen so that it hovers over lots of different elements) makes the usage increase rapidly. Like ~200MB in 10 seconds of interaction rapid.
Still have this issue as well. Resizing the steam window with gpu acceleration enabled will make this issue appear super fast.
Can consume all my GPU VRAM quite fast.
Steam Beta Branch: Steam Beta Update
Steam Version: 1703100617
Steam Client Build Date: Wed, Dec 20 21:06 UTC -08:00
Steam Web Build Date: Wed, Dec 20 20:14 UTC -08:00
Steam API Version: SteamClient021
nvidia drivers 535.43.20
everything is fine with gpu acceleration disabled, except the client is laggy and capped to 60 on scrolling.
This issue is indeed not fixed and it can still occur, just open steam maximize it a few times or resize it and the vram spikes a lot without ever freeing any vram, can reproduce on both MESA and Nvidia proprietary.
Additionally it also puts everything under Xorg.
@JoshuaFern You just turned off GPU acceleration (saw in your previous messages). But the original issue isn't solved at all. Try to use Big Picture and you will fell what it is to live without GPU acceleration.
Logic is strange. You have changed conditions to avoid issue - so the issue is solved. But it's not. At all.
Activity
heikomat commentedon Jun 17, 2023
I have the same problem on Pop!_OS.
One easy reproduction for me is to just resize the steam client (dragging the mouse in circles).
After just a few second of resizing all 6GB of vram is eaten up by xorg and the desktop environment crashes, dropping me to the login screen.
I use the debian package of the steam-client (from the pop shop) and am not subscribed to the steam client beta
xjunko commentedon Jun 17, 2023
Running on Arch Linux, having the same problem.
Changing workspace and resizing the steam client increases the
xorgvram usage by a crazy amount.I use the
steampackage from the aur and am not subscribed to the steam client beta.husjon commentedon Jun 17, 2023
I am also on Arch with
i3wmand use thesteampackage from Multilib.I started seeing it late in the beta but wasn't able to narrow down when / why it happened.
Currently not using the Beta client.
System info gist: https://gist.github.com/husjon/97c4cebf276b66038aaea621034b3981
Quick video showing how quickly it balloons: https://youtu.be/FCXA31aTlRw
Keep an eye on the Xorg Memory usage in the bottom right window.
FredrikHson commentedon Jun 20, 2023
get the same issue on arch + my usual i3wm or even gnome(just for testing) when resizing the window/swapping workspaces or going from the library->store page , also got as much hw accelleration turned off as possible to save vram
nvidia Driver Version: 530.41.03
Olexorus commentedon Jun 22, 2023
Same issue here, after a few seconds of resizing the window, Steam fills up all of my 12GB of VRAM.
As a workaround, Steam can be started with the -vgui flag to revert back to the old UI until there is a proper fix.
KarlHornell commentedon Jul 2, 2023
I've had the same issue for some time now. I'm running latest Debian with i3wm and Nvidia GPU.
Switching windows in i3wm to and from a steam window also seems to produce this increase in VRAM usage by Steam.
For some games I really feel the need to kill steam while playing to avoid lag, which has not been the case before.
The
-vguiworkaround means I can't log in to 'Friends'Could add more information but I think most of it has already been said by others.
Syvraa commentedon Jul 19, 2023
This is also happening for me. I'm on arch linux using awesome as my window manager and an Nvidia GPU.
Lamieur commentedon Jul 22, 2023
-vgui stopped working in the latest beta, making me very unhappy, my game stutters like crazy when I hit VRAM limit, and, you know, it's Steam-only now, it absolutely has to be launched by Steam.
But check this out, I'm in game, can't restart Steam:
I can kill steamwebhelper while the game is on. The Steam window closes, new one loads on the current desktop, but the game continues running.
Oh, and of course I have DISABLED "Enable GPU accelerated rendering in web views" as well as "Enable hardware video decoding" (just in case) whenever this started, which never helped, but -vgui did. RIP -vgui [*]
Nvidia 535.54.03, MATE (marco is the WM), Xorg 1.20.14
Lamieur commentedon Jul 22, 2023
So I've noticed nvidia driver 535.86.05 is out, promising fixes for memory leaks. It only mentioned leaks during VT switching and Wayland, so neither is our case, but it was worth a try. I'm sad to report, 535.86.05 does NOT help the Steam VRAM leak.
Steam also updated to newer beta (from yesterday), no change in this behavior (now Store goes full black when you look at it the wrong way, but even in the black state, it still leaks :))
I've tested replacing the WM (marco --replace &) - no change to VRAM usage. It's just between the embedded Chromium and Xorg, the WM doesn't matter.
I've also noticed the leak in normal usage happens when I switch desktops (specifically, when going to/from the desktop with Steam). That's why it takes me a day or so to actually achieve the 1,5 GB that breaks my game (already set to medium textures as a partial work-around).
So I tested other means of making it leak VRAM very fast:
With Alt-F6/F5 smashing, I can eat up full 10 GB of VRAM in less than 40 seconds :) Compare that to 55 seconds by dragging the mouse - who would think I'll be speedrunning VRAM exhaustion of Steam client today! :))
Again: the workaround is killing steamwebhelper. PS. Steam will restart hundreds of those after a while, ~15 more each time, doesn't matter if you kill -9 the main one, or killall steamwebhelper, they will multiply :)
husjon commentedon Jul 23, 2023
As a quick test I installed Gnome to try out a more traditional desktop environment (which is shipped with f.ex Ubuntu).
It seem to run on Wayland as default and I was not able to replicate this issue there at all, no matter how much I was resizing the window or switching desktop / workspaces.
Switching Gnome to run on Xorg however the issue is there once again and it does not take long for Steam to gobble up the available VRAM.
jwhear commentedon Jul 27, 2023
I am experiencing this issue on Debian 11.7, kernel 5.10.0-23-amd64. The impact is that, if I don't restart Steam, a launched game will lag horribly due to a lack of VRAM.
Steam About info:
I use the i3 window manager (Airblader gaps fork built from source). After a few hours usage I routinely see Xorg VRAM usage (as reported by
nvidia-smi) at ~5GB+. This memory usage seems to trend upwards whether I'm interacting with Steam or not. Quitting Steam sends Xorg VRAM usage down to ~313MB on my system.I have a GeForce GTX 1070,
nvidia-smiversion info:Happy to add any info if useful.
Update: it appears interacting with Steam (circling my mouse around the screen so that it hovers over lots of different elements) makes the usage increase rapidly. Like ~200MB in 10 seconds of interaction rapid.
26 remaining items
matte-ek commentedon Nov 4, 2023
Glad it's fixed for OP, but I'm still having the same issue. Can anyone else also still repro or is it just me?
heikomat commentedon Nov 4, 2023
It's not just you, still happening for me aswell
emko commentedon Nov 4, 2023
not fixed....
xpander69 commentedon Dec 26, 2023
Still have this issue as well. Resizing the steam window with gpu acceleration enabled will make this issue appear super fast.
Can consume all my GPU VRAM quite fast.
nvidia drivers 535.43.20
everything is fine with gpu acceleration disabled, except the client is laggy and capped to 60 on scrolling.
kodatarule commentedon Dec 26, 2023
This issue is indeed not fixed and it can still occur, just open steam maximize it a few times or resize it and the vram spikes a lot without ever freeing any vram, can reproduce on both MESA and Nvidia proprietary.
Additionally it also puts everything under Xorg.
This issue needs to be re-opened.
Zi7ar21 commentedon Dec 30, 2023
Hello, I am having the exact same problem! (resizing the Steam window causes Xorg's VRAM usage to skyrocket), please re-open the issue @xpander69!
xpander69 commentedon Jan 1, 2024
Sorry but i can't open it :) im not the Original poster. But the other issue with same symptoms is open if you check above.
Zi7ar21 commentedon Jan 2, 2024
Oops, I meant to @JoshuaFern! I have also added my concerns to #6715.
kaarelen commentedon Jan 5, 2024
@JoshuaFern You just turned off GPU acceleration (saw in your previous messages). But the original issue isn't solved at all. Try to use Big Picture and you will fell what it is to live without GPU acceleration.
Logic is strange. You have changed conditions to avoid issue - so the issue is solved. But it's not. At all.
kaarelen commentedon Jan 5, 2024
my system up-to-date
issue 100% isn't solved
Steam eats out all vram
kisak-valve commentedon Jan 5, 2024
The fragmented discussion between this issue report and #6715 is not helping advance the issue you're seeing to a resolution.
Please use #6715 for continued discussion.