ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.24k stars 175 forks source link

New Steam Library: Constantly consuming CPU on animation #6630

Open Lastique opened 5 years ago

Lastique commented 5 years ago

Your system information

Please describe your issue in as much detail as possible:

In the new Steam Library screen, when a game is selected, where I have one or more rare achievements, Steam Client displays animated halo around the achievement icons. That animation causes Steam to constantly load CPU (up to 30% of 4 cores/8 threads in my case).

The CPU load is not present when there is no animation visible on the page or the Steam Client is not the currently active window (the animation freezes in this case).

Steps for reproducing this issue:

  1. Open Steam Library.
  2. Select a game, where you have a rare achievement.
  3. Watch the CPU utilization.

Please, reduce the CPU load or provide a user option to disable animations.

ghost commented 5 years ago

It does look nice but yeah they aren't using gifs which should be a dead pan solution to high cpu usage and might even be the exact same end result if they can layer images lol.

Seems like they broke comedy gold on cpu usage with this one haha. That's alright though, they aren't the 1st and not the last =)

kisak-valve commented 5 years ago

Hello @Lastique, Steam has an option to reduce eye candy at Steam -> Settings -> Library -> Low Performance Mode. Does this animation ignore that setting?

Additionally, Steam -> Settings -> Interface -> Enable GPU accelerated rendering in web views should have a substantial effect to cpu load in this case.

If both these settings are unchecked, than the cpu load is within expectations.

Lastique commented 5 years ago

"Enable GPU accelerated rendering in web views" is already enabled in my case.

"Low Performance Mode" does indeed disable the animation and brings CPU usage down. Thanks.

Lastique commented 5 years ago

Although the animation (and high CPU load) is still present when I hover mouse over the rare achievement.

NoXPhasma commented 5 years ago

@kisak-valve Enable GPU acceleration on Linux is a terrible idea, as long as the VRAM memory leak is present. As reported here by several people, including me: https://github.com/ValveSoftware/steam-for-linux/issues/6593#issuecomment-544700026

Lastique commented 5 years ago

With "Enable GPU accelerated rendering in web views" disabled, the UI becomes less responsive, and the animation is stuttery. CPU load is still high in this case. I'm on Nvidia driver 440.26.

arrowgent commented 4 years ago

enable gpu accelleration rendering is disabled in settings "low performance mode" enabled in library settings

normal /ubuntu_32/steam load 11%

hover over "glowing" achievement cpu load is increased due to steamwebhelper gpu-process 30% GPU load goes to 12-15% when normal usage is ~1%

hover over regular achievement nothing unusual

monitored with: HTOP NVTOP nvidia-smi dmon -s pucvmt

D-357 commented 4 years ago

As of now, it seems to be affected when the 'Update' tab shows an animated graphic, thus slowing the main [window] client down.

montjoie commented 4 years ago

Enable "low performance mode" fixed my problem which seems the same than you. The steamwebhelper --type=gpu-process was 100% cpu greedy. With this option enabled, there is no more problem.

fxdave commented 4 years ago

@kisak-valve Why can't Valve make a modern PWA for the steam client? It acts like internet explorer with wine in the background. Come on.

Or a steam CLI where I can do everything without this bug heap (window).

kaimast commented 4 years ago

I still get about 20% of CPU usage with steam open on Ubuntu 20.04.

DidierLoiseau commented 4 years ago

Even with the "low performance" workaround, the problem still occurs with the steam cloud synchronisation animation after closing a game (Factorio in my case).

zatricky commented 2 years ago

I'm temporarily using a lower-tier PC (Intel i5-7200U) where this is very much noticeable. I have noticed before that the process was using a chunk of CPU but didn't realise how bad it was on my Ryzen 9 3900x. This is frankly an embarrassing waste of energy.

https://user-images.githubusercontent.com/3970906/142270024-8ca11dda-b360-45be-9686-4513b05a6e51.mp4

pakanek commented 1 year ago

I have same issue on Windows 10, i5 2500, 16 GB Ram, AMD Radeon RX 6500 XT. Disabling the animation via Low Performance mode works as a work around for me. 'Enable GPU accelerated rendering in web views' is enabled.