Skip to content

[beta] steam chat window is significantly CPU intensive, even idle and hidden #7241

Open

Description

@sylware

dota2 performance was significantly down.
Started to investigate and was lucky enough to find out it was the steam chat window: if opened, even "idling" and/or hidden, roughly 5 steam client related processes are eating each a steady 20-30% of CPU time (using "top" command). If I close the steam chat window, those processes have their CPU usage back to near 0.
I run an up-to-date beta steam client, onto a state of the art gfx stack, x11 native (no xwayland). I did disable GPU acceleration of the GUI, and even if I do enable GPU acceleration I don't want the steam chat window to use the CPU/GPU while hidden.

Activity

  1. dearlygparted commented on Jul 4, 2020

    @dearlygparted

    It's happening on the stable client as well. Checking htop, I'm seeing the same 20-30% CPU usage by various Steam processes.
    ~/.local/share/Steam/ubuntu12_32/steam and ~/.local/share/Steam/ubuntu12_64/steamwebhelper are the main culprits. Seconds after closing the chat window, CPU usage goes back down to normal.

    The webhelper process spikes even higher when typing messages into the chat window.

    PS: Gnome system monitor doesn't seem to pick up on this, it shows steamwebhelper at 1% CPU usage.

  2. oo8dev commented on Jul 6, 2020

    @oo8dev

    Steam on almost all graphics cards does not use hardware accelerated rendering. Avatar glitter animation causes that.

  3. parkerlreed commented on Jul 23, 2020

    @parkerlreed

    I wonder, are the new animated avatar backgrounds always playing? I'm also seeing extremely high usage with just the friends list and chat windows open.

    image

    image

  4. parkerlreed commented on Jul 23, 2020

    @parkerlreed
  5. dearlygparted commented on Jul 27, 2020

    @dearlygparted
  6. tskxz commented on Sep 2, 2020

    @tskxz

    Even here, even more so for the golden profile, which makes it worse

  7. vintagepc commented on Nov 3, 2020

    @vintagepc

    Yes, I am seeing this too with any window that has animated avatar frames.

    PLEASE give us an option to turn them off! It is incredibly annoying to have my laptop fan kick into high gear when all I'm doing is using the chat in Steam.

  8. sylware commented on Jun 2, 2021

    @sylware
    Author

    my old system did melt, literally. My new system is too beefy to show the cpu eating. I noticed some new options appearing in the steam chat client configuration related to this issue.

  9. snoazll commented on Jul 18, 2021

    @snoazll

    I can confirm that this is still the case today. I didn't realise this until this comment in #7372 but this was why I was having Steam using around %20-30 of CPU when idling in the background. As soon as I went offline on Steam Friends, the CPU usage went back to normal.

  10. f0o commented on Oct 22, 2021

    @f0o

    I can confirm that Version 1634158817 (Stable not Beta) consumes 5 cores while absolutely idle.

    Closing the chat window (even with just one chat) removes all CPU load

  11. tskxz commented on Oct 22, 2021

    @tskxz

    Being offline mode might help

  12. broconut123 commented on Nov 1, 2021

    @broconut123

    Been having some major fps drops in Dota 2 on linux when tabbing in and out to write messages to friends through steam. Looking at the process the steam process has very high CPU usage resulting in dota going from 100+ fps to >60 fps.
    The problem goes away when shutting down the steam windows.

  13. f0o commented on Nov 3, 2021

    @f0o

    I temporarily resolved it by turning off all chat animations (avatars, backgrounds, whatnots), worth a shot

  14. zatricky commented on Jan 28, 2022

    @zatricky

    Strong chance this and #6630 are related. A video I added there also shows how bad the excess CPU consumption can be.

  15. sylware commented on Aug 19, 2022

    @sylware
    Author

    On my zen2: turning off the chat animation does spare off one ~1% cpu steamwebhelper, another ~0.2% cpu steamwebhelper and the 32bits steam process at ~0.3% cpu. An heavily animated profile costs one ~3% cpu steamwebhelper + another ~1% cpu steamwebhelper. If I select the library, I am back at 0%.

    The teaching is: up to ~%5 cpu at doing nothing on beefy specs hardware, then on medium/low specs hardware... always have the library selected (or minimal mode, if still around) and do switch off chat.

  16. randompast commented on Dec 5, 2022

    @randompast

    Linux Mint 21, fresh install, 30% utilization across all cores on a 7950x. Toggling steam chat on and off multiple times changes the utilization accordingly. This is unreasonable.

    Edit: Friends list -> settings -> Friends list -> last option (turn off) "Enable animated avatars..." This fixed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions