Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-04-21 00:58:20

Laurentius
Member
Registered: 2016-09-04
Posts: 58

[solved] Xorg High Cpu usage when unlock/resume from suspend

Hello.

Every time I resume from suspend (without having logged out session previously) xorg starts using 92% of cpu for around 5 minutes. Then goes normal. During that time, desktop is perfectly usable save for keyboard shortcuts, which are unavailable till xorg goes back to normal cpu usage.

i have read that the problem normally is not xorg itself but another program that calls it.

I found that when the problem is happening, if I manaully kill xfsettingsd, then xorg quickly reduces cpu usage level to normal values.
So, it seems that xfsettingsd has something to do in the issue.

Do you have any idea of how should I try to solve the problem?

It is happening since long ago (more that a year) only on my user account on this pc and this os.
I thought it could be something related to xmodmap, but i removed .xmodmap file from home and nothing changed.

The problem does not appear on a "fresh" session. So, as a workaround, I usually log out before suspend pc, or if I hadn't do that, when I resume from suspend I log out and in again.

Thanks.

Specs:

System:    Host: cq40mx Kernel: 4.19.0-1-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
           Desktop: Xfce 4.12.3 tk: Gtk 2.24.31 info: xfce4-panel wm: xfwm4 dm: LightDM 1.18.3 
           Distro: MX-18.3_x64 Continuum December 15  2017 base: Debian GNU/Linux 9 (stretch) 
Machine:   Type: Laptop System: Hewlett-Packard product: Compaq Presario CQ40 Notebook PC 
           v: F.31 serial: <filter> Chassis: Compal type: 10 serial: <filter> 
           Mobo: Compal model: 3607 v: 99.97 serial: <filter> BIOS: Hewlett-Packard v: F.31 
           date: 02/03/2009 
Battery:   ID-1: BAT0 charge: 95.0 Wh condition: 95.0/95.0 Wh (100%) volts: 12.5/10.8 
           model: Hewlett-Packard Primary type: Li-ion serial: N/A status: Full 
CPU:       Topology: Dual Core model: Pentium T4200 bits: 64 type: MCP arch: Penryn rev: A 
           L2 cache: 1024 KiB 
           flags: lm nx pae sse sse2 sse3 ssse3 bogomips: 7980 
           Speed: 1197 MHz min/max: 1200/2000 MHz Core speeds (MHz): 1: 1197 2: 1197 
Graphics:  Device-1: Intel Mobile 4 Series Integrated Graphics vendor: Hewlett-Packard 
           driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:2a42 
           Display: x11 server: X.Org 1.19.2 driver: intel resolution: 1280x800~60Hz 
           OpenGL: renderer: Mesa DRI Mobile Intel GM45 Express v: 2.1 Mesa 18.2.6 
           direct render: Yes 
Audio:     Device-1: Intel 82801I HD Audio vendor: Hewlett-Packard driver: snd_hda_intel 
           v: kernel bus ID: 00:1b.0 chip ID: 8086:293e 
           Sound Server: ALSA v: k4.19.0-1-amd64 
Network:   Device-1: Broadcom Limited BCM4312 802.11b/g LP-PHY vendor: Hewlett-Packard 
           driver: wl v: kernel port: 7000 bus ID: 03:00.0 chip ID: 14e4:4315 
           IF: wlan0 state: dormant mac: <filter> 
           Device-2: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet 
           vendor: Hewlett-Packard driver: r8169 v: kernel port: 3000 bus ID: 04:00.0 
           chip ID: 10ec:8136 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 1.06 TiB used: 537.76 GiB (49.8%) 
           ID-1: /dev/sda vendor: Samsung model: HM160HI size: 149.05 GiB speed: 1.5 Gb/s 
           serial: <filter> rev: 0-15 scheme: MBR 
           ID-2: /dev/sdb type: USB vendor: Toshiba model: External USB 3.0 size: 931.51 GiB 
           serial: <filter> rev: 5438 scheme: MBR 
Partition: ID-1: / size: 14.36 GiB used: 11.21 GiB (78.1%) fs: ext4 dev: /dev/sda5 
           ID-2: /home size: 114.33 GiB used: 99.68 GiB (87.2%) fs: ext4 dev: /dev/sda6 
           ID-3: swap-1 size: 1.96 GiB used: 16.6 MiB (0.8%) fs: swap dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 52.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 198 Uptime: 4d 2h 45m Memory: 3.76 GiB used: 1.60 GiB (42.5%) 
           Init: SysVinit v: 2.88 runlevel: 5 default: 5 Compilers: gcc: 6.3.0 alt: 6 
           Shell: bash v: 4.4.12 running in: xfce4-terminal inxi: 3.0.36 

Last edited by Laurentius (2020-04-24 13:33:20)

Offline

#2 2020-04-21 02:27:32

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [solved] Xorg High Cpu usage when unlock/resume from suspend

Which distro and which version of xfsettingds?

xfsettingsd -V

Also helpful would be system log files (journalctl is systemd) and possibly ~/.xsession-errors if used for time around suspend and resume cycle.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2020-04-21 02:44:12

Laurentius
Member
Registered: 2016-09-04
Posts: 58

Re: [solved] Xorg High Cpu usage when unlock/resume from suspend

Distro: MX Linux 18.3 (it was in the specs)
init system: SysVinit v: 2.88 (Thus, i think journalctl is not relevant. Am I right?)
xfsettingsd -V: xfsettingsd 4.12.3 (Xfce 4.12)

.xsession-errors (I restarted session and then suspend and resume and wait till xorg cpu usage was normal. -It was faster now- Then copied it's content):

Xsession: X session started for mx17-2 at Mon 20 Apr 23:32:25 -03 2020
localuser:mx17-2 being added to access control list
dbus-update-activation-environment: systemd --user not found, ignoring --systemd argument
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
OpenGL version: 2.
dbus-update-activation-environment: systemd --user not found, ignoring --systemd argument
dbus-update-activation-environment: setting USER=mx17-2
dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
dbus-update-activation-environment: setting QT_PLATFORMTHEME=gtk2
dbus-update-activation-environment: setting HOME=/home/mx17-2
dbus-update-activation-environment: setting DESKTOP_SESSION=lightdm-xsession
dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
dbus-update-activation-environment: setting GTK_MODULES=canberra-gtk-module
dbus-update-activation-environment: setting QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-ikeHXAdpYF,guid=756a55497116626ab3d842055e9e5b3b
dbus-update-activation-environment: setting QT_QPA_PLATFORMTHEME=gtk2
dbus-update-activation-environment: setting LOGNAME=mx17-2
dbus-update-activation-environment: setting PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
dbus-update-activation-environment: setting GDM_LANG=en_GB.utf8
dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session18
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1002
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting LANG=en_GB.UTF-8
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=lightdm-xsession
dbus-update-activation-environment: setting XAUTHORITY=/home/mx17-2/.Xauthority
dbus-update-activation-environment: setting XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/mx17-2
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting GDMSESSION=lightdm-xsession
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1002/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting PWD=/home/mx17-2
dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/xfce4:/home/mx17-2/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop
dbus-update-activation-environment: setting QT_PLATFORM_PLUGIN=gtk2
VirtualBox Additions disabled, not in a Virtual Machine
/usr/bin/x-session-manager: X server already running on display :0
Configuration File Found!
Startup file found!

** (xfce4-session:3304): CRITICAL **: 23:32:27.602: polkit_unix_process_set_property: assertion 'val != -1' failed
xfce4-session-Message: 23:32:27.681: SSH authentication agent is already running
gpg-agent[3311]: WARNING: "--write-env-file" is an obsolete option - it has no effect
gpg-agent: a gpg-agent is already running - not starting a new one

(xfce4-session:3304): xfce4-session-WARNING **: 23:32:27.686: gpg-agent returned no PID in the variables

(xfce4-session:3304): xfce4-session-WARNING **: 23:32:28.703: Unable to launch "/home/mx17-2/.dropbox-dist/dropbox-lnx.x86_64-73.4.118/dropbox": Failed to execute child process “/home/mx17-2/.dropbox-dist/dropbox-lnx.x86_64-73.4.118/dropbox” (No such file or directory)
Unknown options: s, e, s, s, i, o, n.

(wrapper-2.0:3347): Gtk-WARNING **: 23:32:30.371: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner GtkToggleButton)
weather-Message: 23:32:30.378: getting https://api.met.no/weatherapi/sunrise/1.1/?lat=-34.603298;lon=-58.381599;from=2020-04-20;to=2020-05-15

(wrapper-1.0:3380): garcon-CRITICAL **: 23:32:32.314: garcon_menu_item_set_comment: assertion 'comment == NULL || g_utf8_validate (comment, -1, NULL)' failed

(xfce4-session:3304): xfce4-session-WARNING **: 23:32:32.447: Unable to launch "logoutsound-mx" (specified by autostart/logoutsound-logout.desktop): Failed to execute child process “logoutsound-mx” (No such file or directory)
No keyboard layout specified on the command line
Trailing -layout option ignored

(xfce4-session:3304): xfce4-session-WARNING **: 23:32:33.801: Unable to launch "logoutsound-mx" (specified by autostart/logoutsound-restart.desktop): Failed to execute child process “logoutsound-mx” (No such file or directory)
cat: /home/mx17-2/.config/mx-sounds/startupsound.conf: No such file or directory
custom sound is
sound status is false
sound theme is Borealis
default sound is /usr/share/sounds/Borealis/stereo/desktop-login.ogg

(wrapper-2.0:3347): weather-WARNING **: 23:32:34.286: Download of astronomical data failed with HTTP Status Code 404, Reason phrase: Not Found

(xfce4-session:3304): xfce4-session-WARNING **: 23:32:34.375: Unable to launch "logoutsound-mx" (specified by autostart/logoutsound-shutdown.desktop): Failed to execute child process “logoutsound-mx” (No such file or directory)
23:32:34 [34;1m[DEBG:default][0m [3mInitializing application[0m
23:32:36 [32;1m[INFO:default][0m Systems icon theme is: "Papirus-Adapta"
23:32:36 [34;1m[DEBG:default][0m [3mCreating IPC server[0m
23:32:36 [34;1m[DEBG:default][0m [3mInitializing mandatory paths[0m
23:32:36 [34;1m[DEBG:default][0m [3mSetup signal handlers[0m
23:32:36 [34;1m[DEBG:default][0m [3mCreating running indicator file[0m
23:32:36 [33;1m[WARN:default][0;1m Application has not been terminated graciously.[0m

(xfdesktop:3320): garcon-CRITICAL **: 23:32:37.628: garcon_menu_item_set_comment: assertion 'comment == NULL || g_utf8_validate (comment, -1, NULL)' failed
23:32:38 [34;1m[DEBG:default][0m [3mInitializing core components[0m
/usr/lib/python2.7/dist-packages/fluxgui/fluxapp.py:71: Warning: ../../../../gobject/gsignal.c:2523: signal 'child-added' is invalid for instance '0x5624d45725f0' of type 'GtkMenu'
  self.indicator.set_menu(self.create_menu())
23:32:40 [32;1m[INFO:default][0m Loading extension "org.albert.extension.externalextensions"
23:32:40 [34;1m[DEBG:default][0m [3morg.albert.extension.externalextensions loaded in 69 milliseconds[0m
23:32:40 [32;1m[INFO:default][0m Loading extension "org.albert.extension.files"
23:32:40 [34;1m[DEBG:default][0m [3mLoading file index from cache.[0m

** (zeitgeist-datahub:3523): WARNING **: 23:32:40.274: zeitgeist-datahub.vala:226: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!
23:32:42 [34;1m[DEBG:default][0m [3mBuilding inverted file index.[0m
weather-Message: 23:32:44.340: getting https://api.met.no/weatherapi/sunrise/1.1/?lat=-34.603298;lon=-58.381599;from=2020-04-20;to=2020-05-15
sh: echo: I/O error
23:32:45 [32;1m[INFO:default][0m Start indexing files.
23:32:45 [34;1m[DEBG:default][0m [3morg.albert.extension.files loaded in 4800 milliseconds[0m
23:32:45 [32;1m[INFO:default][0m Loading extension "org.albert.extension.python"
23:32:45 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2"[0m
23:32:45 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.cache"[0m
23:32:45 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.cache/gstreamer-1.0"[0m
23:32:45 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.cache/mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998"[0m
23:32:45 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.cache/mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/cache2"[0m
23:32:45 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.cache/mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/cache2/doomed"[0m
23:32:45 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.cache/mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/cache2/entries"[0m
23:32:45 [33;1m[WARN:default][0;1m QFileSystemWatcher::removePaths: list is empty[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: api_test[0m

(wrapper-2.0:3347): weather-WARNING **: 23:32:45.496: Download of astronomical data failed with HTTP Status Code 404, Reason phrase: Not Found
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: arch_wiki[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: aur[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: binance[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: bitfinex[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: coinmarketcap[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: dango_emoji[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: dango_kao[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: jetbrains_projects[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: npm[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: packagist[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: pomodoro[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: python_eval[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: timer[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: wikipedia[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: atom_projects.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: base_converter.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: copyq.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: currency_converter.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: datetime.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: fortune.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: gnome_dictionary.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: gnote.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: goldendict.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: google_translate.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: ip.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: kill.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: locate.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: mathematica_eval.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: multi_google_translate.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: pacman.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: pass.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: pidgin.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: scrot.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: tex_to_unicode.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: tomboy.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: trash.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: units.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: virtualbox.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: window_switcher.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: youtube.py[0m
23:32:45 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: zeal.py[0m
23:32:45 [34;1m[DEBG:default][0m [3morg.albert.extension.python loaded in 676 milliseconds[0m
23:32:46 [34;1m[DEBG:default][0m [3mChecking last used version[0m
23:32:46 [34;1m[DEBG:default][0m [3mEntering eventloop[0m

(xfce4-session:3304): Gtk-CRITICAL **: 23:32:50.666: IA__gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.cache/mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/safebrowsing"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.cache/mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/safebrowsing/google4"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.cache/mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/thumbnails"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.cache/thunderbird/r3qjjff5.default/cache2"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.cache/xfce4/weather"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.config"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.config/albert"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.config/dconf"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.config/gtk-2.0"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.config/libreoffice/4"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.config/libreoffice/4/user"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.config/libreoffice/4/user/backup"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.config/libreoffice/4/user/extensions/tmp"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.config/libreoffice/4/user/pack"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.config/libreoffice/4/user/pack/config/soffice.cfg/modules"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.config/libreoffice/4/user/pack/config/soffice.cfg/modules/scalc"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.config/libreoffice/4/user/pack/config/soffice.cfg/modules/swriter"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.config/qpdfview"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.config/xfce4/panel"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.config/xfce4/xfconf/xfce-perchannel-xml"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.gconf"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.local/share"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.local/share/keyrings"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.local/share/zeitgeist/fts.index"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/datareporting"[0m
23:32:51 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/datareporting/archived/2020-04"[0m
23:32:52 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/saved-telemetry-pings"[0m
23:32:52 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/sessionstore-backups"[0m
23:32:52 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/storage/default/https+++www.facebook.com/idb"[0m
23:32:52 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/storage/default/moz-extension+++e107efd2-a4fd-4330-a943-a60cc31651ac^userContextId=4294967295/idb"[0m
23:32:52 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/storage/permanent/chrome/idb"[0m
23:32:52 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/weave"[0m
23:32:52 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/weave/changes"[0m
23:32:52 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/weave/failed"[0m
23:32:52 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.thunderbird/r3qjjff5.default"[0m
23:32:52 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.thunderbird/r3qjjff5.default/datareporting"[0m
23:32:52 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/MEGAsync/Dropbox/ESCRITORIO/periferica"[0m
23:32:53 [34;1m[DEBG:default][0m [3mSerializing files…[0m
23:32:54 [34;1m[DEBG:default][0m [3mBuilding inverted file index…[0m
weather-Message: 23:32:55.340: getting https://api.met.no/weatherapi/sunrise/1.1/?lat=-34.603298;lon=-58.381599;from=2020-04-20;to=2020-05-15
conky: no process found
conky: Syntax error (/home/mx17-2/.conky/primero/conkyrc-silvio2:1: '=' expected near 'no') while reading config file. 
conky: Assuming it's in old syntax and attempting conversion.
conky: desktop window (1a00003) is subwindow of root window (b2)
conky: window type - normal
conky: drawing to created window (0x4e00002)
conky: drawing to double buffer

(wrapper-2.0:3347): weather-WARNING **: 23:32:56.489: Download of astronomical data failed with HTTP Status Code 404, Reason phrase: Not Found
23:33:22 [32;1m[INFO:default][0m Indexed 132570 files in 11671 directories.
weather-Message: 23:33:28.123: getting https://api.met.no/weatherapi/sunrise/1.1/?lat=-34.603298;lon=-58.381599;from=2020-04-20;to=2020-05-15

(wrapper-2.0:3347): weather-WARNING **: 23:33:30.048: Download of astronomical data failed with HTTP Status Code 404, Reason phrase: Not Found

(wrapper-1.0:3342): GLib-CRITICAL **: 23:34:22.831: Source ID 6 was not found when attempting to remove it

(xfce4-appfinder:4664): garcon-CRITICAL **: 23:34:54.077: garcon_menu_item_set_comment: assertion 'comment == NULL || g_utf8_validate (comment, -1, NULL)' failed

Last edited by Laurentius (2020-04-21 02:49:18)

Offline

#4 2020-04-21 02:51:02

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [solved] Xorg High Cpu usage when unlock/resume from suspend

Sorry I missed the info in the specs. Nothing in ~/.xsession-errors stands out. Can you repeat the process above and this time post back the results of:

journalctl -b 0 --no-pager

Lets see if there is something in the journal.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2020-04-21 03:11:41

Laurentius
Member
Registered: 2016-09-04
Posts: 58

Re: [solved] Xorg High Cpu usage when unlock/resume from suspend

Sure-.

journalctl:

$ journalctl -b 0 --no-pager
No journal files were found.
-- No entries --

xsession-errors:

Xsession: X session started for mx17-2 at Tue 21 Apr 00:03:49 -03 2020
localuser:mx17-2 being added to access control list
dbus-update-activation-environment: systemd --user not found, ignoring --systemd argument
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
OpenGL version: 2.
dbus-update-activation-environment: systemd --user not found, ignoring --systemd argument
dbus-update-activation-environment: setting USER=mx17-2
dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
dbus-update-activation-environment: setting QT_PLATFORMTHEME=gtk2
dbus-update-activation-environment: setting HOME=/home/mx17-2
dbus-update-activation-environment: setting DESKTOP_SESSION=lightdm-xsession
dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
dbus-update-activation-environment: setting GTK_MODULES=canberra-gtk-module
dbus-update-activation-environment: setting QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-HBCWtNwltU,guid=801adf3ccf3e8bbbb4f2abad5e9e6296
dbus-update-activation-environment: setting QT_QPA_PLATFORMTHEME=gtk2
dbus-update-activation-environment: setting LOGNAME=mx17-2
dbus-update-activation-environment: setting PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
dbus-update-activation-environment: setting GDM_LANG=en_GB.utf8
dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session19
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1002
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting LANG=en_GB.UTF-8
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=lightdm-xsession
dbus-update-activation-environment: setting XAUTHORITY=/home/mx17-2/.Xauthority
dbus-update-activation-environment: setting XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/mx17-2
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting GDMSESSION=lightdm-xsession
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1002/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting PWD=/home/mx17-2
dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/xfce4:/home/mx17-2/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop
dbus-update-activation-environment: setting QT_PLATFORM_PLUGIN=gtk2
VirtualBox Additions disabled, not in a Virtual Machine
/usr/bin/x-session-manager: X server already running on display :0
Configuration File Found!
Startup file found!

** (xfce4-session:5905): CRITICAL **: 00:03:50.227: polkit_unix_process_set_property: assertion 'val != -1' failed
xfce4-session-Message: 00:03:50.249: SSH authentication agent is already running
gpg-agent[5912]: WARNING: "--write-env-file" is an obsolete option - it has no effect
gpg-agent: a gpg-agent is already running - not starting a new one

(xfce4-session:5905): xfce4-session-WARNING **: 00:03:50.257: gpg-agent returned no PID in the variables

(xfce4-session:5905): xfce4-session-WARNING **: 00:03:50.924: Unable to launch "/home/mx17-2/.dropbox-dist/dropbox-lnx.x86_64-73.4.118/dropbox": Failed to execute child process “/home/mx17-2/.dropbox-dist/dropbox-lnx.x86_64-73.4.118/dropbox” (No such file or directory)
Unknown options: s, e, s, s, i, o, n.

(wrapper-1.0:5959): garcon-CRITICAL **: 00:03:52.144: garcon_menu_item_set_comment: assertion 'comment == NULL || g_utf8_validate (comment, -1, NULL)' failed
weather-Message: 00:03:52.457: getting https://api.met.no/weatherapi/sunrise/1.1/?lat=-34.603298;lon=-58.381599;from=2020-04-21;to=2020-05-16

(xfce4-session:5905): xfce4-session-WARNING **: 00:03:52.579: Unable to launch "logoutsound-mx" (specified by autostart/logoutsound-logout.desktop): Failed to execute child process “logoutsound-mx” (No such file or directory)

(xfce4-session:5905): xfce4-session-WARNING **: 00:03:52.743: Unable to launch "logoutsound-mx" (specified by autostart/logoutsound-restart.desktop): Failed to execute child process “logoutsound-mx” (No such file or directory)
cat: 
(xfce4-session:5905): xfce4-session-WARNING **: 00:03:52.770: Unable to launch "logoutsound-mx" (specified by autostart/logoutsound-shutdown.desktop): Failed to execute child process “logoutsound-mx” (No such file or directory)
/home/mx17-2/.config/mx-sounds/startupsound.conf: No such file or directory
custom sound is
No keyboard layout specified on the command line
Trailing -layout option ignored
sound status is false
sound theme is Borealis
default sound is /usr/share/sounds/Borealis/stereo/desktop-login.ogg
00:03:52 [34;1m[DEBG:default][0m [3mInitializing application[0m

(wrapper-2.0:5931): Gtk-WARNING **: 00:03:53.868: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner GtkToggleButton)
00:03:54 [32;1m[INFO:default][0m Systems icon theme is: "Papirus-Adapta"
00:03:54 [34;1m[DEBG:default][0m [3mCreating IPC server[0m
00:03:54 [34;1m[DEBG:default][0m [3mInitializing mandatory paths[0m
00:03:54 [34;1m[DEBG:default][0m [3mSetup signal handlers[0m
00:03:54 [34;1m[DEBG:default][0m [3mCreating running indicator file[0m
00:03:54 [33;1m[WARN:default][0;1m Application has not been terminated graciously.[0m
00:03:54 [34;1m[DEBG:default][0m [3mInitializing core components[0m
/usr/lib/python2.7/dist-packages/fluxgui/fluxapp.py:71: Warning: ../../../../gobject/gsignal.c:2523: signal 'child-added' is invalid for instance '0x560bb47185f0' of type 'GtkMenu'
  self.indicator.set_menu(self.create_menu())
00:03:54 [32;1m[INFO:default][0m Loading extension "org.albert.extension.externalextensions"
00:03:54 [34;1m[DEBG:default][0m [3morg.albert.extension.externalextensions loaded in 3 milliseconds[0m
00:03:54 [32;1m[INFO:default][0m Loading extension "org.albert.extension.files"
00:03:54 [34;1m[DEBG:default][0m [3mLoading file index from cache.[0m

(wrapper-2.0:5931): weather-WARNING **: 00:03:55.378: Download of astronomical data failed with HTTP Status Code 404, Reason phrase: Not Found
00:03:58 [34;1m[DEBG:default][0m [3mBuilding inverted file index.[0m
sh: echo: I/O error
00:04:01 [32;1m[INFO:default][0m Start indexing files.
00:04:01 [34;1m[DEBG:default][0m [3morg.albert.extension.files loaded in 6580 milliseconds[0m
00:04:01 [32;1m[INFO:default][0m Loading extension "org.albert.extension.python"
00:04:01 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2"[0m
00:04:01 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.cache"[0m
00:04:01 [33;1m[WARN:default][0;1m QFileSystemWatcher::removePaths: list is empty[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: api_test[0m
00:04:01 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.cache/gstreamer-1.0"[0m
00:04:01 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.cache/mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/cache2"[0m
00:04:01 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.config/albert"[0m
00:04:01 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.config/dconf"[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: arch_wiki[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: aur[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: binance[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: bitfinex[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: coinmarketcap[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: dango_emoji[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: dango_kao[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: jetbrains_projects[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: npm[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: packagist[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: pomodoro[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: python_eval[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: timer[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: wikipedia[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: atom_projects.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: base_converter.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: copyq.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: currency_converter.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: datetime.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: fortune.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: gnome_dictionary.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: gnote.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: goldendict.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: google_translate.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: ip.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: kill.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: locate.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: mathematica_eval.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: multi_google_translate.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: pacman.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: pass.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: pidgin.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: scrot.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: tex_to_unicode.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: tomboy.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: trash.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: units.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: virtualbox.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: window_switcher.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: youtube.py[0m
00:04:01 [34;1m[DEBG:python.modulev1][0m [3mReading metadata of python module: zeal.py[0m
00:04:01 [34;1m[DEBG:default][0m [3morg.albert.extension.python loaded in 325 milliseconds[0m
00:04:01 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.config/xfce4/xfconf/xfce-perchannel-xml"[0m
00:04:01 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.gconf"[0m
00:04:01 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.local/share/keyrings"[0m
00:04:01 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998"[0m
00:04:01 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/datareporting"[0m
00:04:01 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/datareporting/archived/2020-04"[0m
00:04:02 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/saved-telemetry-pings"[0m
00:04:02 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/sessionstore-backups"[0m
00:04:02 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/storage/permanent/chrome/idb"[0m
00:04:02 [34;1m[DEBG:default][0m [3mIndexing directory  "/home/mx17-2/.mozilla/firefox/8xgb9kd2.pablolaureano-1585776146998/weave"[0m
00:04:02 [34;1m[DEBG:default][0m [3mChecking last used version[0m
00:04:02 [34;1m[DEBG:default][0m [3mEntering eventloop[0m

(xfdesktop:5921): garcon-CRITICAL **: 00:04:02.750: garcon_menu_item_set_comment: assertion 'comment == NULL || g_utf8_validate (comment, -1, NULL)' failed
00:04:03 [34;1m[DEBG:default][0m [3mSerializing files…[0m
00:04:04 [34;1m[DEBG:default][0m [3mBuilding inverted file index…[0m
weather-Message: 00:04:05.433: getting https://api.met.no/weatherapi/sunrise/1.1/?lat=-34.603298;lon=-58.381599;from=2020-04-21;to=2020-05-16

(wrapper-2.0:5931): weather-WARNING **: 00:04:06.627: Download of astronomical data failed with HTTP Status Code 404, Reason phrase: Not Found
00:04:07 [32;1m[INFO:default][0m Indexed 132612 files in 11671 directories.
conky: no process found
conky: Syntax error (/home/mx17-2/.conky/primero/conkyrc-silvio2:1: '=' expected near 'no') while reading config file. 
conky: Assuming it's in old syntax and attempting conversion.
conky: desktop window (1e00003) is subwindow of root window (b2)
conky: window type - normal
conky: drawing to created window (0x3800002)
conky: drawing to double buffer
weather-Message: 00:04:16.433: getting https://api.met.no/weatherapi/sunrise/1.1/?lat=-34.603298;lon=-58.381599;from=2020-04-21;to=2020-05-16

(wrapper-2.0:5931): weather-WARNING **: 00:04:18.296: Download of astronomical data failed with HTTP Status Code 404, Reason phrase: Not Found
weather-Message: 00:04:28.433: getting https://api.met.no/weatherapi/sunrise/1.1/?lat=-34.603298;lon=-58.381599;from=2020-04-21;to=2020-05-16

(wrapper-2.0:5931): weather-WARNING **: 00:04:29.566: Download of astronomical data failed with HTTP Status Code 404, Reason phrase: Not Found
00:04:44 [34;1m[DEBG:default][0m [3m========== SESSION SETUP STARTED ==========[0m
00:04:44 [34;1m[DEBG:default][0m [3mTIME:      2 µs SESSION SETUP [org.albert.extension.files][0m
00:04:44 [34;1m[DEBG:default][0m [3mTIME:      2 µs SESSION SETUP [org.albert.extension.python][0m
00:04:44 [34;1m[DEBG:default][0m [3mTIME:    684 µs SESSION SETUP OVERALL[0m
00:04:44 [34;1m[DEBG:default][0m [3m========== QUERY: ""  ==========[0m
00:04:44 [34;1m[DEBG:default][0m [3mTIME:    310 µs SESSION TEARDOWN OVERALL[0m
00:04:44 [34;1m[DEBG:default][0m [3mTIME:     11 µs MATCHES [org.albert.extension.files][0m
00:04:44 [34;1m[DEBG:default][0m [3mTIME:     18 µs MATCHES [org.albert.extension.python][0m

(xfwm4:5914): xfwm4-WARNING **: 00:04:44.275: Unmanaged net_wm_state (window 0x420000f, atom "_NET_WM_STATE_STAYS_ON_TOP")
00:04:44 [34;1m[DEBG:default][0m [3mTIME:  72295 µs QUERY OVERALL[0m
00:04:44 [34;1m[DEBG:default][0m [3m========== QUERY: "p"  ==========[0m
00:04:44 [34;1m[DEBG:default][0m [3mTIME:    205 µs SESSION TEARDOWN OVERALL[0m
00:04:44 [34;1m[DEBG:default][0m [3mTIME:     16 µs MATCHES [org.albert.extension.python][0m
00:04:45 [34;1m[DEBG:default][0m [3m========== QUERY: "pe"  ==========[0m
00:04:45 [34;1m[DEBG:default][0m [3mTIME:   9487 µs SESSION TEARDOWN OVERALL[0m
00:04:45 [34;1m[DEBG:default][0m [3mTIME:  17894 µs MATCHES [org.albert.extension.files][0m
00:04:45 [34;1m[DEBG:default][0m [3mTIME:     14 µs MATCHES [org.albert.extension.python][0m
00:04:45 [34;1m[DEBG:default][0m [3mTIME:  23517 µs QUERY OVERALL[0m
00:04:45 [34;1m[DEBG:default][0m [3m========== QUERY: "per"  ==========[0m
00:04:45 [34;1m[DEBG:default][0m [3mTIME:   7378 µs MATCHES [org.albert.extension.files][0m
00:04:45 [34;1m[DEBG:default][0m [3mTIME:     14 µs MATCHES [org.albert.extension.python][0m
00:04:45 [34;1m[DEBG:default][0m [3mTIME:   7732 µs SESSION TEARDOWN OVERALL[0m
00:04:45 [34;1m[DEBG:default][0m [3mTIME:   8617 µs QUERY OVERALL[0m
00:04:45 [34;1m[DEBG:default][0m [3m========== QUERY: "peri"  ==========[0m
00:04:45 [34;1m[DEBG:default][0m [3mTIME:    301 µs MATCHES [org.albert.extension.files][0m
00:04:45 [34;1m[DEBG:default][0m [3mTIME:     11 µs MATCHES [org.albert.extension.python][0m
00:04:45 [34;1m[DEBG:default][0m [3mTIME:    650 µs SESSION TEARDOWN OVERALL[0m
00:04:45 [34;1m[DEBG:default][0m [3mTIME:    917 µs QUERY OVERALL[0m
00:04:45 [34;1m[DEBG:default][0m [3mTIME: 425905 µs MATCHES [org.albert.extension.files][0m
00:04:45 [34;1m[DEBG:default][0m [3m========== QUERY: ""  ==========[0m
00:04:45 [34;1m[DEBG:default][0m [3mTIME:      8 µs MATCHES [org.albert.extension.files][0m
00:04:45 [34;1m[DEBG:default][0m [3mTIME:     14 µs MATCHES [org.albert.extension.python][0m
00:04:45 [34;1m[DEBG:default][0m [3mTIME:    293 µs SESSION TEARDOWN OVERALL[0m
00:04:45 [34;1m[DEBG:default][0m [3m========== SESSION TEARDOWN STARTED ==========[0m
00:04:45 [34;1m[DEBG:default][0m [3mTIME:      2 µs SESSION TEARDOWN [org.albert.extension.files][0m
00:04:45 [34;1m[DEBG:default][0m [3mTIME:      2 µs SESSION TEARDOWN [org.albert.extension.python][0m
00:04:46 [34;1m[DEBG:default][0m [3mTIME: 152986 µs SESSION TEARDOWN OVERALL[0m
00:04:46 [34;1m[DEBG:default][0m [3mTIME: 158256 µs QUERY OVERALL[0m

(xfce4-session:5905): Gtk-CRITICAL **: 00:05:39.477: IA__gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed

(wrapper-1.0:5927): GLib-CRITICAL **: 00:06:40.423: Source ID 6 was not found when attempting to remove it

Offline

#6 2020-04-21 11:17:56

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [solved] Xorg High Cpu usage when unlock/resume from suspend

Hmm, Can you try instead:

journalctl -b 1 --no-pager

Also, try the following. On fresh boot, in a terminal window, run the following:

XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon

...and the terminal window will start displaying debug info then pause. At this point hit enter about 5 times and type in the word "SUSPEND" and then suspend and wake your system. Once the high CPU begins, in another terminal window, restart xfsettingsd. Post back the output from the first terminal window.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2020-04-21 13:10:47

Jerry3904
Member
Registered: 2013-11-09
Posts: 863

Re: [solved] Xorg High Cpu usage when unlock/resume from suspend

MX Linux does not use systemd as init, though it is an option at boot. From freedesktop:

journalctl may be used to query the contents of the systemd(1) journal as written by systemd-journald.service(8).


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#8 2020-04-21 15:57:02

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [solved] Xorg High Cpu usage when unlock/resume from suspend

Jerry3904 wrote:

MX Linux does not use systemd as init, though it is an option at boot. From freedesktop:

journalctl may be used to query the contents of the systemd(1) journal as written by systemd-journald.service(8).

Thanks Jerry. Where would one find system logs on MX?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#9 2020-04-21 16:50:12

Jerry3904
Member
Registered: 2013-11-09
Posts: 863

Re: [solved] Xorg High Cpu usage when unlock/resume from suspend

/var/log/ I guess, where there are many syslog entries that require root access to view--not my strength.

I wonder if it wouldn't be preferable for OP to post this on the MX Forum, unless you think it really is a Xfce 4.12 problem.


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#10 2020-04-21 20:19:24

Laurentius
Member
Registered: 2016-09-04
Posts: 58

Re: [solved] Xorg High Cpu usage when unlock/resume from suspend

Hello.

Here on fresh boot.

$ journalctl -b 1 --no-pager
No journal files were found.
Data from the specified boot (+1) is not available: No such boot ID in journal
$ XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon
xfce4-settings(xsettings): _XSETTINGS_S0 registered on screen 0
xfce4-settings(xsettings): 29 settings changed (serial=0, len=1152)
xfce4-settings(xsettings): resource manager (xft) changed (len=169)
xfce4-settings(displays): Detected CRTC 63.
xfce4-settings(displays): Detected CRTC 64.
xfce4-settings(displays): Detected output 65 LVDS1.
xfce4-settings(displays): CRTC 63 assigned to LVDS1.
xfce4-settings(displays): CRTC 63, output list[0] -> 65.
xfce4-settings(displays): Total 1 active output(s).
xfce4-settings(displays): Normalized CRTC 63: size=1280x800, pos=0x0.
xfce4-settings(displays): min_h = 200, min_w = 320, max_h = 8192, max_w = 8192, prev_h = 800, prev_w = 1280, prev_hmm = 211, prev_wmm = 338, h = 800, w = 1280, hmm = 212, wmm = 339.
xfce4-settings(displays): Applying desktop dimensions: 1280x800 (px), 339x212 (mm).
xfce4-settings(displays): Configuring CRTC 63.
xfce4-settings(displays): Configuring CRTC 64.
xfce4-settings(pointers): initialized xi 2.3
xfce4-settings(pointers): [AlpsPS/2 ALPS GlidePoint] buttonmap not changed
xfce4-settings(pointers): [AlpsPS/2 ALPS GlidePoint] change feedback (threshold=6, accelNum=509, accelDenom=100)
xfce4-settings(pointers): [AlpsPS/2 ALPS GlidePoint] Changed device property Synaptics_Tap_Action
xfce4-settings(pointers): [Genius Optical Mouse] buttonmap not changed
xfce4-settings(pointers): [Genius Optical Mouse] change feedback (threshold=4, accelNum=2, accelDenom=1)
xfce4-settings(pointers): Started syndaemon with pid 4801
xfce4-settings(keyboards): initialized xkb 1.0
xfce4-settings(keyboards): set auto repeat on
xfce4-settings(keyboards): set key repeat (delay=500, rate=50)
xfce4-settings(keyboards): set numlock on
xfce4-settings(accessibility): AccessXKeys disabled
xfce4-settings(accessibility): stickykeys disabled
xfce4-settings(accessibility): slowkeys disabled
xfce4-settings(accessibility): bouncekeys disabled
xfce4-settings(accessibility): mousekeys disabled
xfce4-settings(keyboard-shortcuts): 19 shortcuts loaded
xfce4-settings(keyboard-layout): set compose: to ""
xfce4-settings(fontconfig): monitoring 77 paths
xfce4-settings(workspaces): 3 desktop names set from xfconf
Jerry3904 wrote:

I wonder if it wouldn't be preferable for OP to post this on the MX Forum, unless you think it really is a Xfce 4.12 problem.

Hello, Jerry.
I have, already: https://forum.mxlinux.org/viewtopic.php?f=104&t=49896

Offline

#11 2020-04-21 21:49:33

Jerry3904
Member
Registered: 2013-11-09
Posts: 863

Re: [solved] Xorg High Cpu usage when unlock/resume from suspend

Got it, thanks. Then I withdraw my suggestion, b/c no one over there seemed to know what you were talking about.

BTW: I see you are using 18.2 with Xfce 4.12. You might want to make a LIVE USB with 19.1 and see if it still happens. You are now behind on both system and desktop, and the problem might have disappeared by now.


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#12 2020-04-23 13:43:34

Laurentius
Member
Registered: 2016-09-04
Posts: 58

Re: [solved] Xorg High Cpu usage when unlock/resume from suspend

Well. As I am on quarantine, I am all day home and could do some experiments. I found some factors involved in the problem and therefore I can avoid it in my current system.

It was a line in ~/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml in combination with light-locker.

It took me a long time to find out.

Since xfsettingsd seemed to be involved, as it rised to the second place in the top list of cpu usage, and the fact that the other user account of the same system didn't have the problem, I started suspecting that I had to search in my settings.

I started with ~/.config/xfce4. I copied mine to the other user account and Boom!, then, the other user account had the problem too!. So the problem seemed to be somewhere in ~/.config/xfce4 folder. Then, I started to narrow down the possibilities 

After some time of work I got to ~/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml. I found that if I this line

<property name="Compose" type="string" value=""/>

didn't exist, the problem was gone.

¿What was that line? I went on with my experiments.

When you set a Compose Key in the layout tab on of the Keyboard settings window, this line is created on keyboard-layout.xml:

<property name="Compose" type="string" value="some_key"/>

If you revert the value to the default - the line is not removed but then it looks like this:

<property name="Compose" type="string" value=""/>

There, with that [value=""], the problem starts.

When I remove the line or set any Compose Key I have no problem.

I can now lock/unlock session or resume from suspend without issues.

I also found that this issue does not occurs if that line in keyboard-layout.xml exists when you use xscreensaver instead of light-locker.

Then, why light-locker triggers that issue with xorg for some minutes after unlock or resume form suspend when that line exists, may be some of you can tell me.

Last edited by Laurentius (2020-04-24 00:53:27)

Offline

#13 2020-04-23 14:55:55

lastonestanding
Member
Registered: 2018-11-12
Posts: 22

Re: [solved] Xorg High Cpu usage when unlock/resume from suspend

This looks like https://bugzilla.xfce.org/show_bug.cgi?id=16737 (see comments at the bottom). Light-locker probably triggers the bug because it relies on VT switching.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.013 seconds, 8 queries executed - Memory usage: 784.02 KiB (Peak: 836.86 KiB) ]