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

 

 

 

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

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
User avatar
Zaxon_
Posts: 25
Joined: 2014-08-21 13:09
Has thanked: 1 time
Been thanked: 1 time

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

#1 Post by Zaxon_ »

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
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

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

#2 Post by Head_on_a_Stick »

The systemd journal is good for stuff like this, ask the interweb for a guide.
deadbang

User avatar
Zaxon_
Posts: 25
Joined: 2014-08-21 13:09
Has thanked: 1 time
Been thanked: 1 time

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

#3 Post by Zaxon_ »

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/ ... stemd.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
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

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

#4 Post by Head_on_a_Stick »

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.
deadbang

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

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

#5 Post by vbrummond »

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

User avatar
Zaxon_
Posts: 25
Joined: 2014-08-21 13:09
Has thanked: 1 time
Been thanked: 1 time

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

#6 Post by Zaxon_ »

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
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

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

#7 Post by Head_on_a_Stick »

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
deadbang

User avatar
Zaxon_
Posts: 25
Joined: 2014-08-21 13:09
Has thanked: 1 time
Been thanked: 1 time

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

#8 Post by Zaxon_ »

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
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

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

#9 Post by Head_on_a_Stick »

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.
deadbang

Post Reply