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
Please describe your issue in as much detail as possible:
Steam seems to have a vram memory leak with hardware acceleration enabled. When resizing a chat window the vram usage goes up and up. I used GALLIUM_HUD="VRAM-usage" glxgears to watch vram usage. After starting steam the vram usage is 200 MB. With constantly resizing the chat window I can fill the vram up to 3.5 gb of 4 gb vram.
Steps for reproducing this issue:
open steam
make sure you have Enable GPU accelerated rendering in web views (requires restart) enabled
open a chat window
constantly resize the chat window
see vram usage increase and never decrease as long as the chat window is open
Reacted by NoXPhasma, Artemy Fedotov, yuiiio, nightsky30, Myrddin Wyllt, Sporknife, Pablo Jesús González Rubio, Zi7ar21, matte-ek, 576125176251825152 and 4 more
Thanks for pointing out the existing issue report. Let's use this issue issue report to track the vram leak because the original issue described in #6593 has been resolved.
This is hw , driver indepented btw. I have the same problem on Nvidia for a long time. Disabled gpu accel because it easily fills up more than half of my vram.
I'll add that the chat window is an unnecessary specificity; this issue also affects the Steam Library. Restarting Steam empties the VRAM as expected. I'd avoid window resizing until this issue can be fixed.
I'm tempted to turn GPU acceleration off again though...
I just tested the hardware acceleration again but the memory leak is still there. It's a little disappointing that after over a year nothing happens with such easily reproducible errors.
NVIDIA-SMI 470.74 Driver Version: 470.74 CUDA Version: 11.4
...
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1332 G /usr/lib/xorg/Xorg 910MiB |
| 0 N/A N/A 1628 G /usr/bin/gnome-shell 363MiB |
| 0 N/A N/A 52909 G ...AAAAAAAAA= --shared-files 61MiB |
| 0 N/A N/A 128671 G ...AAAAAAAAA= --shared-files 157MiB |
| 0 N/A N/A 960652 G ...e/Steam/ubuntu12_32/steam 90MiB |
| 0 N/A N/A 960877 G ./steamwebhelper 3MiB |
| 0 N/A N/A 961129 G ./steamwebhelper 5433MiB |
| 0 N/A N/A 1160503 G ...1/usr/lib/firefox/firefox 213MiB |
| 0 N/A N/A 1170627 G ...AAAAAAAAA= --shared-files 28MiB |
| 0 N/A N/A 1911015 G ...b/thunderbird/thunderbird 43MiB |
| 0 N/A N/A 3358357 G telegram-desktop 2MiB |
+-----------------------------------------------------------------------------+
So it consumed ~5.5 Gb memory.
Steam package version 1634158817 (build from Oct 13 2021)
Bug exists with enabled GPU-accelerated webviews (including resizing-related behaviour), going to check if it exists with disabled (btw, I was sure that I disabled it previously a few days ago, when I noticed this issue first time, but now I can see it enabled in settings)
It does it for me, sometmes not every time. When I move the chat window it jumps from 21% up to 29% VRAM usage and then drops down to 28% when I let go and after a while it drops to 26%. And then it stays there.
To free the ram every time entirely, I have to close the offending process and reopen it. Why is this still not fixed and yet Valve adds more and more stuff which needs HW acceleration?
Curious.. does restarting your window manager free it too? ( kwin --replace , xfwm4 --replace etc). Just noticing a lot of memory is tied to X which for me is related to an old bug. xrestop can help determine what in X is eating it.
Three years and this bug still exists. Resizing the Steam window has become a big no-no for me, as I go to great lengths to never even maximize the window to avoid losing my precious VRAM. This is an issue for newcomers to Linux; they may not know how to identify the VRAM leakage from Steam and sometimes wrongly blame Linux when games don't run well.
before resize:
After resize:
Fri Dec 29 21:55:52 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.06 Driver Version: 545.29.06 CUDA Version: 12.3 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce GTX 1650 Off | 00000000:01:00.0 On | N/A |
| 50% 29C P5 10W / 75W | 3438MiB / 4096MiB | 8% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 1007 G /usr/lib/Xorg 3033MiB |
| 0 N/A N/A 1334 G xfwm4 2MiB |
| 0 N/A N/A 2827 G ...,WinRetrieveSuggestionsOnlyOnDemand 72MiB |
| 0 N/A N/A 5958 G ...seed-version=20231218-080113.411000 224MiB |
| 0 N/A N/A 6417 G ...local/share/Steam/ubuntu12_32/steam 2MiB |
| 0 N/A N/A 6423 G ...re/Steam/ubuntu12_64/steamwebhelper 3MiB |
| 0 N/A N/A 6464 G ...eam/logs/cef_log.txt --shared-files 96MiB |
+---------------------------------------------------------------------------------------+
Steam also doesn't output anything to the console when I resize (<username> is a placeholder):
steam.sh[8119]: Running Steam on arch rolling 64-bit
steam.sh[8119]: STEAM_RUNTIME is enabled automatically
setup.sh[8191]: Steam runtime environment up-to-date!
steam.sh[8119]: Steam client's requirements are satisfied
[2023-12-29 22:01:26] Startup - updater built Dec 8 2023 00:32:59
[2023-12-29 22:01:26] Startup - Steam Client launched with: '/home/<username>/.local/share/Steam/ubuntu12_32/steam'
12/29 22:01:26 Init: Installing breakpad exception handler for appid(steam)/version(1702079146)/tid(8243)
[2023-12-29 22:01:26] Loading cached metrics from disk (/home/<username>/.local/share/Steam/package/steam_client_metrics.bin)
[2023-12-29 22:01:26] Using the following download hosts for Public, Realm steamglobal
[2023-12-29 22:01:26] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2023-12-29 22:01:26] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2023-12-29 22:01:26] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-12-29 22:01:26] Verifying installation...
[2023-12-29 22:01:26] Verification complete
Steam logging initialized: directory: /home/<username>/.local/share/Steam/logs
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf0833dc0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf0832500
/usr/share/themes/Adwaita-dark/gtk-2.0/main.rc:733: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Adwaita-dark/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
steamwebhelper.sh[8249]: Runtime for steamwebhelper: defaulting to /home/<username>/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[8249]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
CAppInfoCacheReadFromDiskThread took 63 milliseconds to initialize
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 8350
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
BRefreshApplicationsInLibrary 1: 1ms
BuildCompleteAppOverviewChange: 222 apps
RegisterForAppOverview 1: 16ms
RegisterForAppOverview 2: 16ms
Do you guys have a similar configuration (indicating it may be an issue with Steam's interactions with external components) or are we all using different distros, desktop environments, graphics, etc. (indicating it is an issue with Steam's internals)
Your system information
Steam client version (build number or date): Steam Version: 1702079146
Distribution (e.g. Ubuntu): Arch
Opted into Steam client beta?: [Yes/No] No
Have you checked for system updates?: [Yes/No] Yes, everything is up-to-date
Please describe your issue in as much detail as possible:
Same issue as described before. Huge VRAM leaks after any interactions with Steam client windows. (it easily can consume all 8gb on my rtx1070). Turning off GPU acceleration fixes it, but without it, steam is slow and laggy & "Big Picture" mode is unusable at all.
@kisak-valve issue making steam totally unusable, is there any chance to finish abandonment of this task?
I haven't forgotten about this issue, as of 2024-03-03 it appears to be fixed, and I can now enable GPU acceleration once again and resize the Steam window like mad without the VRAM sky-rocketing :)
Activity
NoXPhasma commentedon Nov 24, 2019
This was also discovered a while a go in #6593, it still needs to be fixed.
kisak-valve commentedon Nov 24, 2019
Thanks for pointing out the existing issue report. Let's use this issue issue report to track the vram leak because the original issue described in #6593 has been resolved.
Leopard1907 commentedon Nov 24, 2019
This is hw , driver indepented btw. I have the same problem on Nvidia for a long time. Disabled gpu accel because it easily fills up more than half of my vram.
xpander69 commentedon Dec 11, 2019
Confirming this issue. Managed to fill all my 11GB that my 1080Ti has with just around 30-40 resizes of the Steam window.
Myrddin-Wyllt commentedon Jan 21, 2020
I'll add that the chat window is an unnecessary specificity; this issue also affects the Steam Library. Restarting Steam empties the VRAM as expected. I'd avoid window resizing until this issue can be fixed.
I'm tempted to turn GPU acceleration off again though...
Shajirr commentedon Mar 15, 2020
Can confirm that this is still happening, just resizing Steam window adds several hundred MB of memory use, this memory does not get freed.
at46 commentedon Mar 23, 2021
I just tested the hardware acceleration again but the memory leak is still there. It's a little disappointing that after over a year nothing happens with such easily reproducible errors.
xpander69 commentedon Oct 24, 2021
Confirming that it still happens when resizing chat window: Steam window resizing will do that also, but with lower pace.
alex4321 commentedon Nov 5, 2021
Ubuntu 21.10
nvidia-smigives me the next output:So it consumed ~5.5 Gb memory.
Steam package version 1634158817 (build from Oct 13 2021)
Bug exists with enabled GPU-accelerated webviews (including resizing-related behaviour), going to check if it exists with disabled (btw, I was sure that I disabled it previously a few days ago, when I noticed this issue first time, but now I can see it enabled in settings)
gardotd426 commentedon Nov 10, 2021
@alex4321 what's your hardware and driver version? (EDIT: I see now you're on 470.74)
I can't get this issue to show up on Arch w/ 495 on my 3090. I've had Steam open on a store page for hours:
And it's only using 4MB of VRAM. And acceleration is definitely enabled.
at46 commentedon Mar 9, 2022
While I can still increase the used VRAM with resizing a window, it now empties itself after a few seconds (Steam Client from March 5 2022).
at46 commentedon Mar 15, 2022
Can anyone confirm that the VRAM empties itself now?
NoXPhasma commentedon Mar 15, 2022
It does it for me, sometmes not every time. When I move the chat window it jumps from 21% up to 29% VRAM usage and then drops down to 28% when I let go and after a while it drops to 26%. And then it stays there.
To free the ram every time entirely, I have to close the offending process and reopen it. Why is this still not fixed and yet Valve adds more and more stuff which needs HW acceleration?
h1z1 commentedon Apr 4, 2022
Curious.. does restarting your window manager free it too? ( kwin --replace , xfwm4 --replace etc). Just noticing a lot of memory is tied to X which for me is related to an old bug. xrestop can help determine what in X is eating it.
DekosAnjo commentedon Dec 26, 2023
Three years and this bug still exists. Resizing the Steam window has become a big no-no for me, as I go to great lengths to never even maximize the window to avoid losing my precious VRAM. This is an issue for newcomers to Linux; they may not know how to identify the VRAM leakage from Steam and sometimes wrongly blame Linux when games don't run well.


before resize:
After resize:
xpander69 commentedon Dec 26, 2023
Yeah. Can confirm this still happens. Posted on other issue also:
#9638
kodatarule commentedon Dec 26, 2023
Indeed the issue hasn't been resolved yet, also posted in #9638
Zi7ar21 commentedon Dec 30, 2023
I am having the same problem, this and #9638 are indeed the same problem (except it's not just the chat window, it is any Steam window).
6.6.8-arch1-1(Arch Linux)steamversion1.0.0.78-2xorg-serverversion21.1.10-1xfce4xfwm4version4.18.0-2nvidiaversion545.29.06-7Here is
nvidia-smi's output, just for good measure:Steam also doesn't output anything to the console when I resize (
<username>is a placeholder):Do you guys have a similar configuration (indicating it may be an issue with Steam's interactions with external components) or are we all using different distros, desktop environments, graphics, etc. (indicating it is an issue with Steam's internals)
Zi7ar21 commentedon Dec 30, 2023
Disabling Hardware Acceleration fixes the VRAM leak
kaarelen commentedon Jan 5, 2024
2024, bug is still here
Your system information
Steam client version (build number or date): Steam Version: 1702079146
Distribution (e.g. Ubuntu): Arch
Opted into Steam client beta?: [Yes/No] No
Have you checked for system updates?: [Yes/No] Yes, everything is up-to-date
Please describe your issue in as much detail as possible:
Same issue as described before. Huge VRAM leaks after any interactions with Steam client windows. (it easily can consume all 8gb on my rtx1070). Turning off GPU acceleration fixes it, but without it, steam is slow and laggy & "Big Picture" mode is unusable at all.
@kisak-valve issue making steam totally unusable, is there any chance to finish abandonment of this task?
Zi7ar21 commentedon Mar 3, 2024
I haven't forgotten about this issue, as of 2024-03-03 it appears to be fixed, and I can now enable GPU acceleration once again and resize the Steam window like mad without the VRAM sky-rocketing :)
DekosAnjo commentedon Mar 4, 2024
Nope, it still happens for me. What exactly did you change from back then to now?
kodatarule commentedon Aug 3, 2024
Hello, are there any updates on this? I can still notice that it still leaks VRAM.