protonscr

Steam Causes High Xorg CPU Usage Over Time

steamopen reviewed
ValveSoftware/steam-for-linux#3952 · opened 2015-08-05 by mmstick · updated 2019-07-18 · 6 comments · github
Mmmstick 2015-08-05 github

Since the original release of Steam, the longer Steam has been running on the system, the higher the CPU consumption of Xorg and the sluggishness of the desktop. It's most noticeable after you leave Steam running for a few days, if not an entire week, without closing it. I've had issues with all of my systems, each of which use the open source Gallium3D Radeon drivers. Naturally, this occurs regardless of which version of Mesa you are running, be that an old release from around the time Steam for Linux first came out, or the new builds with OpenGL 4.1 enabled. Perhaps others have had the same issues as well.

Systems of mine that are affected:
Radeon HD 4870
Radeon HD 6850
Radeon HD 7950
Radeon R9 390
AMD A4-5400
AMD A8-6600K
AMD A8-7600

?ghost 2015-08-09 github

Same here

HD 7770

and Intel HD 4400 too

It's not big but i always see my steam taking from 0 - 4% cpu in indle, over time up to 12-20%

And it's worst if im using steam with wine..

The only window opened is the Friend one, it's sitting in background

Maybe it has something to do with how many friend you got on steam, it takes much more power if steam has to refresh a bigger list of friend

Mmmstick 2015-08-11 github

No, I don't have many friends at all so I can say that it's nothing to do with the friends list. I'm sure if you leave it running long enough, your Xorg usage will rise to 100%. When I posted this bug, Xorg was consuming an entire core -- and this is on a 4GHz processor core -- lagging the desktop until I forcefully quit Steam, in which the usage instantly dropped back to 0%.

Ttsumaru720 2015-09-10 github

I have this too - steam starts to use more and more CPU until its stopped (See attachment). When I forcefully kill the process, Xorg uses 100% cpu for a couple of minutes and my desktop is unresponsive but then it clears up.
steam1

simon@shinobu:~$ dpkg -l | grep "X.Org X Window"
ii xorg 1:7.7+1ubuntu8.1 amd64 X.Org X Window System
simon@shinobu:~$ dpkg -l | grep "steam"
ii steam-launcher 1.0.0.50 all Launcher for the Steam software distribution service
simon@shinobu:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS"

Aananace 2016-05-24 github

Same issue here as well, leaving steam running causes CPU usage to increase. Eating battery and overheating the system after several hours.

ace@TheRapist ~ $ uptime
 10:26:19 up 22:17,  9 users,  load average: 1,05, 1,03, 1,22
ace@TheRapist ~ $ eix x11-base/xorg-server
[?] x11-base/xorg-server
     Available versions:  [ ... ]
     Installed versions:  1.17.4(20:23:16 2015-12-10)(glamor kdrive nptl suid systemd udev wayland xorg xvfb -dmx -doc -ipv6 -libressl -minimal -selinux -static-libs -tslib -unwind -xephyr -xnest)
     Homepage:            http://xorg.freedesktop.org/
     Description:         X.Org X servers

ace@TheRapist ~ $ cat /etc/*-release
Gentoo Base System release 2.2
DISTRIB_ID="Sabayon"
NAME=Sabayon
ID=sabayon
PRETTY_NAME="Sabayon/Linux"
ANSI_COLOR="1;32"
HOME_URL="http://www.sabayon.org/"
SUPPORT_URL="http://forum.sabayon.org/"
BUG_REPORT_URL="https://bugs.sabayon.org/"
Sabayon Linux amd64 16.06
Sabayon amd64 release 16.06

Steam system info

Computer Information:
    Manufacturer:  Unknown
    Model:  Unknown
    Form Factor: Laptop
    No Touch Input Detected

Processor Information:
    CPU Vendor:  GenuineIntel
    CPU Family:  0x6
    CPU Model:  0x45
    CPU Stepping:  0x1
    CPU Type:  0x0
    Speed:  2600 Mhz
    4 logical processors
    2 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported
    AES:  Supported
    AVX:  Supported
    CMPXCHG16B:  Supported
    LAHF/SAHF:  Supported
    PrefetchW:  Unsupported

Network Information:
    Network Speed:  

Operating System Version:
    "Sabayon Linux amd64 16.06" (64 bit)
    Kernel Name:  Linux
    Kernel Version:  4.4.0-sabayon
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11704000
    X Window Manager:  KWin
    Steam Runtime Version:  steam-runtime-release_2016-02-23

Video Card:
    Driver:  Intel Open Source Technology Center Mesa DRI Intel(R) Haswell Mobile 

    Driver Version:  3.0 Mesa 11.0.0-rc2
    OpenGL Version: 3.0
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID Not Detected
    DeviceID Not Detected
    Revision Not Detected
    Number of Monitors:  1
    Number of Video Cards Not Detected
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 1920 x 1080
    Primary Display Size: 13,54" x 7,60"  (15,51" diag)
                                            34,4cm x 19,3cm  (39,4cm diag)
    Primary VRAM Not Detected

Sound card:
    Audio device: Intel Haswell HDMI

Memory:
    RAM:  7863 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_GB.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  410410 Mb
    Largest Free Hard Disk Block:  239838 Mb
    VR Headset: None detected

    Tue May 24 08:24:49 2016 GMT: file ''/tmp/dumps/assert_20160524102441_43.dmp'', upload yes: ''CrashID=bp-dc4d6491-9887-45d5-9bd2-6fe9f2160524''
Lleagris 2018-02-19 github

It is 2018 and this issue still affecting me on Ubuntu Linux 17.10, Nvidia GTX680

LLosButch 2018-02-19 github

Oddly enough, I just had the same issue. Old system - Ubuntu 16.04, Radeon HD 6950 and AMD CPU though
Not the first time I see it happen but now it didn't resolve it on its own.
Note: I usually just suspend my computer, so technically Steam could have run for days before I shut it down.

Nothing extracted yet.