Debian 10, xfce4, Xorg at high load after logging to Xfce

Everything about X, Gnome, KDE, ... and everything running on it

Debian 10, xfce4, Xorg at high load after logging to Xfce

Postby Zaxon_ » 2019-08-07 07:51

Hi,

I am getting some issue when I log in to the Xfce4 the Xorg process gets high cpu load (around 90%) and it stays like this for 1-2 minutes. In that time it is not possible to use any keyboard shortcuts to run a new application (mouse is OK to open Whisker menu and launch the program).

How can I analyse this issue to find a root cause?

Kind regards,
Zaxon
User avatar
Zaxon_
 
Posts: 11
Joined: 2014-08-21 13:09

Re: Debian 10, xfce4, Xorg at high load after logging to Xfc

Postby Head_on_a_Stick » 2019-08-07 08:35

The systemd journal is good for stuff like this, ask the interweb for a guide.
Don't break DebianHow to report bugs

SharpBang — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10522
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian 10, xfce4, Xorg at high load after logging to Xfc

Postby Zaxon_ » 2019-08-07 11:28

I did a bit of search for systemd-analyze, but I could not find anything related to Xorg high cpu load and the 3m50s delay from the Xfce user log in until the Xorg starts behave normally.

I found this page https://cpchander.blogspot.com/2015/03/rhel7-how-to-get-started-with-systemd.html quite nice, however I could not find anything related to Xorg in the journal log. For me the log is like reading a black magic spell book. Is there anybody here who would help me to analyse these logs to find out what is wrong?

If yes, then please tell me which logs should I post.

Kind regards,
Zaxon
User avatar
Zaxon_
 
Posts: 11
Joined: 2014-08-21 13:09

Re: Debian 10, xfce4, Xorg at high load after logging to Xfc

Postby Head_on_a_Stick » 2019-08-07 18:58

If you use
Code: Select all
journalctl --follow

Then wait for the problem to occur you should be able to see any new messages that appear.
Don't break DebianHow to report bugs

SharpBang — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10522
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian 10, xfce4, Xorg at high load after logging to Xfc

Postby vbrummond » 2019-08-08 02:27

Check:
Code: Select all
/var/log/Xorg.0.log
~/.xsession-errors


What is your graphics card?
Code: Select all
apt-get install mesa-utils
glxinfo | grep opengl
Always on Debian Testing
vbrummond
 
Posts: 4468
Joined: 2010-03-02 01:42

Re: Debian 10, xfce4, Xorg at high load after logging to Xfc

Postby Zaxon_ » 2019-08-08 07:04

I found that the xfsettingsd daemon is misbehaving. When I kill it then the CPU usage gets normal again.

The problem is that without this daemon running I do not have any way to use application shortcuts (defined in Xfce4-keyboard-settings). I could use Autokey-gtk to define this, but I do not know what more would I loose if I stop using the xfsettingsd daemon.

Any suggestions what to do with it?
User avatar
Zaxon_
 
Posts: 11
Joined: 2014-08-21 13:09

Re: Debian 10, xfce4, Xorg at high load after logging to Xfc

Postby Head_on_a_Stick » 2019-08-08 07:15

Enter any error messages printed by the misbehaving program into a search engine to see if there are any solutions on the interweb.

Have you tried reinstalling the program?

Problems like this can be caused by mixing repositories:
Code: Select all
apt policy
Don't break DebianHow to report bugs

SharpBang — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10522
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian 10, xfce4, Xorg at high load after logging to Xfc

Postby Zaxon_ » 2019-08-08 07:57

I see that I have such apt policy:

Code: Select all
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://repo.vivaldi.com/stable/deb stable/main i386 Packages
     release o=Vivaldi Technologies,a=stable,l=Official Vivaldi package repository,c=main,b=i386
     origin repo.vivaldi.com
 500 http://repo.vivaldi.com/stable/deb stable/main amd64 Packages
     release o=Vivaldi Technologies,a=stable,l=Official Vivaldi package repository,c=main,b=amd64
     origin repo.vivaldi.com
 500 http://linux.teamviewer.com/deb stable/main i386 Packages
     release o=TeamViewer GmbH,a=stable,l=TeamViewer,c=main,b=i386
     origin linux.teamviewer.com
 500 http://linux.teamviewer.com/deb stable/main amd64 Packages
     release o=TeamViewer GmbH,a=stable,l=TeamViewer,c=main,b=amd64
     origin linux.teamviewer.com
 500 http://deb.debian.org/debian stretch/main i386 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=main,b=i386
     origin deb.debian.org
 500 http://deb.debian.org/debian stretch/main amd64 Packages
     release v=9.9,o=Debian,a=oldstable,n=stretch,l=Debian,c=main,b=amd64
     origin deb.debian.org
 500 http://security.debian.org/debian-security buster/updates/main i386 Packages
     release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=i386
     origin security.debian.org
 500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
     release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=amd64
     origin security.debian.org
 500 http://ftp.debian.org/debian buster/contrib i386 Packages
     release v=10.0,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=i386
     origin ftp.debian.org
 500 http://ftp.debian.org/debian buster/contrib amd64 Packages
     release v=10.0,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=amd64
     origin ftp.debian.org
 500 http://ftp.debian.org/debian buster/non-free i386 Packages
     release v=10.0,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=i386
     origin ftp.debian.org
 500 http://ftp.debian.org/debian buster/non-free amd64 Packages
     release v=10.0,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=amd64
     origin ftp.debian.org
 500 http://ftp.debian.org/debian buster/main i386 Packages
     release v=10.0,o=Debian,a=stable,n=buster,l=Debian,c=main,b=i386
     origin ftp.debian.org
 500 http://ftp.debian.org/debian buster/main amd64 Packages
     release v=10.0,o=Debian,a=stable,n=buster,l=Debian,c=main,b=amd64
     origin ftp.debian.org
Pinned packages:


Are the mixed repositories my case?
User avatar
Zaxon_
 
Posts: 11
Joined: 2014-08-21 13:09

Re: Debian 10, xfce4, Xorg at high load after logging to Xfc

Postby Head_on_a_Stick » 2019-08-09 08:24

Well I don't trust the Vivaldi or TeamViewer repositories but at least you don't have any PPAs or testing/unstable.

Try a search for "xfsettingsd high cpu usage", I've uncovered a few results that suggest either ~/.Xmodmap or light-locker as potential culprits.
Don't break DebianHow to report bugs

SharpBang — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10522
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable