Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

xorg high cpu usage

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
bryanmc
Posts: 122
Joined: 2016-11-18 12:21
Has thanked: 2 times

xorg high cpu usage

#1 Post by bryanmc »

For some reason after some web browsing xorg is taking a big bite of cpu time. Closing the web browser has no effect and the high cpu usage will continue until I log out and log back in. I've done several searches but can't seem to come up with a possible cause or ideas on how to troubleshoot the problem.

Here's an overview of the system

Code: Select all

bryan@zed:~$ inxi -FxGz
System:    Host: zed Kernel: 4.9.0-4-amd64 x86_64 (64 bit gcc: 6.3.0)
           Desktop: Cinnamon 3.2.7 (Gtk 3.22.11-1)
           Distro: Debian GNU/Linux 9 (stretch)
Machine:   Device: desktop Mobo: Gigabyte model: GA-990FXA-UD3 v: x.x
           BIOS: Award v: F9 date: 10/22/2012
CPU:       Octa core AMD FX-8320E Eight-Core (-MCP-) cache: 16384 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 51542
           clock speeds: max: 3200 MHz 1: 1400 MHz 2: 1400 MHz 3: 1800 MHz
           4: 1400 MHz 5: 1400 MHz 6: 1800 MHz 7: 1400 MHz 8: 1400 MHz
Graphics:  Card: NVIDIA GF119 [GeForce GT 610] bus-ID: 01:00.0
           Display Server: X.Org 1.19.2 driver: nvidia
           Resolution: 1920x1080@60.00hz
           GLX Renderer: GeForce GT 610/PCIe/SSE2
           GLX Version: 4.5.0 NVIDIA 375.82 Direct Rendering: Yes
Audio:     Card-1 NVIDIA GF119 HDMI Audio Controller
           driver: snd_hda_intel bus-ID: 01:00.1
           Card-2 Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA)
           driver: snd_hda_intel bus-ID: 00:14.2
           Sound: Advanced Linux Sound Architecture v: k4.9.0-4-amd64
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: ae00 bus-ID: 05:00.0
           IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 500.1GB (13.6% used)
           ID-1: /dev/sda model: ST500DM002 size: 500.1GB
Partition: ID-1: / size: 47G used: 6.0G (14%) fs: ext4 dev: /dev/sda2
           ID-2: /home size: 192G used: 52G (29%) fs: ext4 dev: /dev/sda5
           ID-3: swap-1 size: 6.14GB used: 0.00GB (0%) fs: swap dev: /dev/sda4
Sensors:   System Temperatures: cpu: 26.1C mobo: N/A gpu: 0.0:54C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 209 Uptime: 22:05 Memory: 1097.8/16033.3MB
           Init: systemd runlevel: 5 Gcc sys: 6.3.0
           Client: Shell (bash 4.4.121) inxi: 2.3.5 

When the high usage occurs, top shows xorg to be using 48 to 60 percent of the cpu and cpu temps go from their normal 26c to 50c. even with firefox closed. I'm thinking about downgrading the nvidia driver to 340 to see if that helps but thought I'd see if anyone has any other ideas.

Any suggestions of things to check or try will be greatly appreciated.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: xorg high cpu usage

#2 Post by Head_on_a_Stick »

bryanmc wrote:

Code: Select all

           Display Server: X.Org 1.19.2 driver: nvidia
Try nouveau instead.

https://wiki.debian.org/NvidiaGraphicsD ... of_failure
deadbang

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: xorg high cpu usage

#3 Post by Bulkley »

Next time this happens run

Code: Select all

ps ax
Maybe you can keep a record of what shows when you have the problem. You might be able to kill programs to see what clears. What you report sure sounds like something is running that keeps Xorg hyperactive.

bryanmc
Posts: 122
Joined: 2016-11-18 12:21
Has thanked: 2 times

Re: xorg high cpu usage

#4 Post by bryanmc »

Head_on_a_Stick wrote: Try nouveau instead.

https://wiki.debian.org/NvidiaGraphicsD ... of_failure
Went back to nouveau and so far so good. The procedure in the link you provided left out a few steps, but I was able to get it working.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: xorg high cpu usage

#5 Post by debiman »

bryanmc wrote:
Head_on_a_Stick wrote: Try nouveau instead.

https://wiki.debian.org/NvidiaGraphicsD ... of_failure
Went back to nouveau and so far so good. The procedure in the link you provided left out a few steps, but I was able to get it working.
you should really tell us.
better yet, tell the debian wiki maintainers.
or open an account and edit it yourself.

bryanmc
Posts: 122
Joined: 2016-11-18 12:21
Has thanked: 2 times

Re: xorg high cpu usage

#6 Post by bryanmc »

debiman wrote: you should really tell us.
They may just be common knowledge things I wasn't aware of. After running # killall xorg and rebooting, x wouldn't start. No problem, logged into a terminal (alt-f2) as root and ran # X -configure. This creates the xorg.conf.new file in /root. That file must be renamed to xorg.conf and copied to the /etc/X11 directory i order for x to run. Took me a bit to figure that out.

As for nouveau, while the high xorg cpu usage hasn't reoccured, the machine locked up when power manager tried to suspend it after 1 hr of inactivity, requiring a ctrl/print screen/reisub to restart it. Also, for the first time since running Debian (jessie and stretch) cinnamon crashed. Not sure why but these things never happened while running the Nvidia driver. Any ideas?

Post Reply