please reopen: steamwebhelper consuming cpu even if minimized
Your system information
- Steam client version: Nov 22 2021 at 22:12:42 ; Steam package version 1637624439
- Distribution: Archlinux
- Opted into Steam client beta?: NO
- Have you checked for system updates?: Yes
Please describe your issue in as much detail as possible:
steamwebhelper uses cpu even when it is not necessary and uselessly.
Steps for reproducing this issue:
- From the steam client store tab, have a video playing
- note that the cpu is higher, it is due to steamwebhelper cpu usage, note it.
- minimize steam client
- Notice that the cpu usage remains the same
Imho, steamwebhelper has no use if nobody is watching it, so the process should be stopped, or at least paused, when minimized. If someone has some interest in just "listening" what it is playing in background, then he can keep it unminimized or at very last, an option like "low performance mode" should control even this behaviour.
Bump. From my testing, it's not only consuming ~25% single core CPU but also some amount of GPU, potentially lowering gaming performance. This can be quite a dealbreaker and should be fixed.
I did not observe this behavior on Windows. Not sure about past Linux versions but this could be a Beta regression for Linux.
Huh, reporter does not use Beta. So either the situation on Beta is worse or it's a issue that has existed for a while.
I can confirm that steam cpu usage really high especially with latest versions stemwebhelper few processes consuming in total about 130-150%, just one process about 70-80% and never gets low no matter is it minimized or not. It's 4 cored laptop with hyperthreading so basically almost half of CPU resources are busy with steam client it is additionally to high memory usage... I haven't played any video just simply launched steam client and sometimes I can play some games...
Huh, reporter does not use Beta. So either the situation on Beta is worse or it's a issue that has existed for a while.
Probably long standing issue, but can't be 100% sure.
A workaround for me that maybe still works in beta client is to switch away from the store page to the library so that webhelper process is not used.
In an ideal world those processes have to be stopped even when starting a game.
Here's a recap after some investigations:
Problem: steamwebhelper (CEF) does not detect whether it's occluded/minimized and constantly continues rendering in the background. Workaround: Switch Steam to a page that does not have videos or animations. In the case of library pages, you need to enable "Low Performance Mode" from "Settings->Library" or the glowing achievements frames would ruin the performance.
To add another feedback on Steam Beta for Linux, here on Arch:
- Steamwebhelper uses a full cpu thread from the moment I launch it on the 'Store' page till I change to eg the 'Library' page.
- Steamwebhelper's CPU use while playing a game goes up to 37.5% of my 4 threads 2 cores Intel CPU @3.3GHz (more CPU than the game I play...). That was after hours playing with Steam minimized before starting this game.
- observations above all are with "Low Performance Mode" activated.
- High CPU usage isn't new here. staying high is.
Ate all my CPU too, indeed even with "low performance mode" Workaround ~ load steam without the browser function :
steam steam://open/minigameslist -console -no-browser
Steam looks really dated like that, but I can at least play my games without the 50% FPS decrease.
Ate all my CPU too, indeed even with "low performance mode" Workaround ~ load steam without the browser function :
steam steam://open/minigameslist -console -no-browser
Steam looks really dated like that, but I can at least play my games without the 50% FPS decrease.
Doesn't switching to Library tab work for you instead of opening the whole thing with no-browser parameter?
Ate all my CPU too, indeed even with "low performance mode" Workaround ~ load steam without the browser function : steam steam://open/minigameslist -console -no-browser Steam looks really dated like that, but I can at least play my games without the 50% FPS decrease.
Doesn't switching to Library tab work for you instead of opening the whole thing with no-browser parameter?
Nope!! eats my CPU no matter what I do
I wonder if the high CPU / high RAM usage is correlated with the number of games in library ? With around ~2000 games, my steam/steamwebhelper processes uses more than 1.45 GB, just after launch. (Despite that I have all "low performance" boxes checked) + 10-40% CPU (on a 12-cores Ryzen). Minimizing steam windows does not change anything.
If I launch steam with -no-browser (what a lifesaver !), steam uses only 261 MB + 0/1 % CPU
I wonder if the high CPU / high RAM usage is correlated with the number of games in library ? With around ~2000 games, my steam/steamwebhelper processes uses more than 1.45 GB, just after launch. (Despite that I have all "low performance" boxes checked) + 10-40% CPU (on a 12-cores Ryzen). Minimizing steam windows does not change anything.
If I launch steam with
-no-browser(what a lifesaver !), steam uses only 261 MB + 0/1 % CPU
It's absolutely unrelated. It's related to bad programming style and worse technologies. I have just about 40 games and it's usually from start more than 1 GB....
nobrowser option it's saving some RAM for me it's about 50MB in RAM till the moment when I want to maximize steam window.
high cpu usage usually related that steam making some sale and hot it's cool to make falling snow or some another crap and yahoo CPU loaded with this crap even when you minimizing changing tabs it is still loads you cpu with that sh*t. But it is just one case...
steam steam://open/minigameslist -console -no-browser
This seems to be the only working solution for me. Otherwise 1 cpu core of my laptop is 25% utilized and the fans scream when ever steam just idles in the background.
Curious if there is correlation here with DE. I'm using Arch with KDE/Plasma and lately have been having occasional bog downs that I'd get out of with a killall plasma_session. Just today I'm realizing I have this same issue with Steam, so I wonder if that is behind it all, because killing the session also closes the Steam client. So far the "switch to library tab" solution seems to be working for me.
Have had CPU issues with steamwebhelper for at least a year or so, LInux Mint, CInnamon. Don't think there is a correlation to DE used. For me keeping the Library tab open was the only solution that worked most of the time, until I now ticked the low-performance mode which seemed to have helped. The CPU usage would be fairly low on the library page with full effects, but as soon as it was minimized the CPU would go to 100% and stay there till the Library page was opened again.
Curious if there is correlation here with DE. I'm using Arch with KDE/Plasma and lately have been having occasional bog downs that I'd get out of with a
killall plasma_session. Just today I'm realizing I have this same issue with Steam, so I wonder if that is behind it all, because killing the session also closes the Steam client. So far the "switch to library tab" solution seems to be working for me.
Same here, steamwebhelper is always active even in background (KDE/Arch/X11). Only when switching to the library tab and minimizing that steamwebhelper stop using any meaningful CPU cycles. This is especially an issue on systems on a constrained power budgets like laptops. Hope to see it fixed soon.
In my case, I only get high idle steamwebhelper usage if I have the friends menu opened. With that menu closed, even if I still have chat windows opened, I don't have abnormal CPU usage.
Can't remember this happening years ago, it must have started sometime in the last year or so. Is it possible a bug introduced with the animated avatars and frames?
@kisak-valve this should get proper attention, as using 45% of a modern CPU core to display a simple friend list means someone fucked up greately.
I can confirm that -no-browser is the only way to stop the steamwebhelper to waste a lot of power. Archlinux, gnome, wayland here.
This is a serious issue, so Valve, please fix it.
I can confirm that
-no-browseris the only way to stop the steamwebhelper to waste a lot of power. Archlinux, gnome, wayland here.This is a serious issue, so Valve, please fix it.
I have the same problem Archlinux, gnome, xorg.
Same fix with -no-browser worked.
Same issue with Wayland. Still broken on the Beta branch.
This bug is really annoying. While -no-browser works, it breaks a lot of other functions like chats, stuff in the overlay etc.