LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-23-2018, 01:37 PM   #1
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 207

Rep: Reputation: 30
Question High CPU usage from Xorg


Periodically, htop shows that the command

Code:
/usr/lib/xorg/Xorg -core :0 -seat seat0 -auth /var/run/lightdm/root:0 -nolisten tcp vt7 -novtswitch
is using about 92% of one virtual core. It does this after starting up, and then it does it periodically while running. Aside from eating up resources, using XCFE shortcut keys is very slow (the command is delayed by minutes).

I'm using Intel's integrated graphics adapter. I noticed that the directory /usr/share/X11/xorg.conf.d/ contains the file 10-amdgpu.conf. Also, running cat /usr/share/X11/xorg.conf.d/10-amdgpu.conf outputs this:

Code:
Section "OutputClass"
	Identifier "AMDgpu"
	MatchDriver "amdgpu"
	Driver "amdgpu"
This might well be unrelated, but it looks strange to me as I have no AMD GPU.

Does anyone know how this problem might be resolved?
 
Old 05-23-2018, 09:08 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 14,187
Blog Entries: 24

Rep: Reputation: 3846Reputation: 3846Reputation: 3846Reputation: 3846Reputation: 3846Reputation: 3846Reputation: 3846Reputation: 3846Reputation: 3846Reputation: 3846Reputation: 3846
Is there any pattern to what you are doing at the time the CPU usage spikes, such as watching/editing video, etc.?

Regarding the /usr/share/X11/xorg.conf.d/10-amdgpu.conf output, I get the same on this here Zareason machine all-Intel inside machine running Slackware. I suspect the "amd" refers, not to the video card, but to the 64-bit architecture, which is commonly referred to as "amd" in Linux world.
 
Old 05-29-2018, 12:37 PM   #3
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 207

Original Poster
Rep: Reputation: 30
It happens after I boot and login. I'm not aware of any other pattern. Searching for "xorg lightdm high cpu usage" returns a lot results, but no promising leads.
 
Old 10-19-2018, 08:08 AM   #4
Ganth
LQ Newbie
 
Registered: Oct 2018
Location: Somewhere in Europe
Distribution: Debian, man ;)
Posts: 1

Rep: Reputation: Disabled
Hey, I actually have exactly the same problem on Debian Stretch stable, after I changed a few things on my system : One core fully used for about 2 minutes on every login (after sleep, hibernate, even login in other tty) by Xorg with this line in htop :

Code:
Xorg :0 -seat seat0 -auth /var/run/lightdm/root:0 -nolisten tcp vt7 -novtswitch
And during this time, xfce shortcuts are very slow/not working, but only the keyboard applications shortcuts, not the window manager keyboard shortcuts (which is strange, since they are in the same file if I recall well, but in different menus in the settings).

I started a list of all the stuff I did before it started happening, but I did do a lot of things and am not sure exactly when this started.
If you're interested, we can share and cross check our personnal settings to try and find out where it comes from.

I'll post later on some more info about what I did that could have led to this
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
High Xorg CPU usage, Slow Graphics Performance, On Cedarview D2550 NM Chipset10 k84834 Linux - General 7 05-19-2014 07:50 AM
[SOLVED] High CPU load, but low CPU usage (high idle CPU) baffy Linux - Newbie 5 03-13-2013 10:24 AM
Xorg high cpu usage system/video not running smoothly twon Linux - General 5 02-20-2011 06:58 PM
High CPU usage running Xorg t.j.sorrow SUSE / openSUSE 1 05-20-2007 10:33 AM
High Xorg CPU usage in Ubuntu ImpactDNI Linux - Software 1 10-21-2006 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration