Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

KDE/plasmashell 100% CPU and other oddities

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
12 posts • Page 1 of 1
Author
Message
maiku
l33t
l33t
User avatar
Posts: 608
Joined: Wed Mar 24, 2004 6:06 am
Location: Escaping from NY

KDE/plasmashell 100% CPU and other oddities

  • Quote

Post by maiku » Fri Apr 14, 2017 1:47 pm

Every day a few times a day during the course of me using KDE for no apparent rhyme or reason, the following symptoms occur randomly (not in any order):
  • plasmashell process spikes and remains at 100% CPU
  • Grouped items on the taskbar won't pop up a list of all windows in the group
  • No matter how many times I try to shut down or restart my computer through KDE it will not. Running poweroff in the shell, will
I've tried already deleting my ~/.cache folder to no avail. Not sure how to fix this, besides killing and rerunning plasmashell which fixes the issue for about fifteen minutes.

I would gladly welcome any advice!

Code: Select all

$ plasmashell --version
plasmashell 5.8.6

Code: Select all

# emerge --info
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.4, glibc-2.23-r3, 4.9.16-gentoo x86_64)
=================================================================
System uname: Linux-4.9.16-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.3
KiB Mem:     8106384 total,   4668096 free
KiB Swap:    4200992 total,   4200992 free
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.23.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.15::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            4.9.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/gentoo.git
    priority: -1000                                                                                                                                                                                                                          
                                                                                                                                                                                                                                             
crossdev-rpi2                                                                                                                                                                                                                                
    location: /usr/local/portage-crossdev-rpi2                                                                                                                                                                                               
    masters: gentoo                                                                                                                                                                                                                          
    priority: 10                                                                                                                                                                                                                             
                                                                                                                                                                                                                                             
ACCEPT_KEYWORDS="amd64"                                                                                                                                                                                                                      
ACCEPT_LICENSE="*"                                                                                                                                                                                                                           
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                                                                                                 
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"                                                                                                                                                                                        
CHOST="x86_64-pc-linux-gnu"                                                                                                                                                                                                                  
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"                                                                                                                              
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"                                                                                                                                                                                                           
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"                                                                                                                                                                                      
DISTDIR="/usr/portage/distfiles"                                                                                                                                                                                                             
EMERGE_DEFAULT_OPTS="--autounmask=n"                                                                                                                                                                                                         
FCFLAGS="-O2 -pipe"                                                                                                                                                                                                                          
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"                                                                                                                                                                                                     
FFLAGS="-O2 -pipe"                                                                                                                                                                                                                           
GENTOO_MIRRORS="http://distfiles.gentoo.org"                                                                                                                                                                                                 
LANG="en_US"                                                                                                                                                                                                                                 
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                                                                                                                            
MAKEOPTS="-j9"                                                                                                                                                                                                                               
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext X a52 aac aacplus aacs aalib accessibility acl acpi additions ads agg airplay alsa amd64 anthy ao apache2 apm archive arts aspell atm audiofile autoipd avahi avi berkdb bluetooth bluray bmp branding bzip2 cairo cdda cddb cdparanoia cdr chardet chm cjk clang cli connection-sharing consolekit corefonts cover cracklib crypt cups curl cxx dbus declarative dell designer desktopglobe dhcp dhcpcd disable-watermark divx djvu dri dts dv dvd dvdnav dvdr dvdread eap-tls ebook emboss enca encode exif faac facebook fam ffmpeg firefox flac fluidsynth font-server fortran frontendonly ftp fts3 fuse game gd gdbm gif glamor glitz gmedia google gphoto2 gsm gstreamer gtk hal ibus iconv icu id3 id3tag imagemagick imlib immqt-bc inotify ios ipod ipv6 jack java javafx javascript jce joystick jpeg json kde kdenlive kipi kwallet ladspa lame lapack lastfm lcms ldap libcaca libnotify libsamplerate live logrotate lz4 lzma lzo m17n-lib mad matroska mdnsresponder-compat melt messages midi mikmod minizip mjpeg mmap mms mmxext mng mod modplug modules mono mp3 mp3tunes mp4 mpeg mppe-mppc msn mtp multilib music musicbrainz mysql mysqli ncurses nfs njb nls nodroproot normalize notifier nptl nptlonly nsplugin ntfs nxclient ocr odbc ofa ogg oggvorbis ogm openal opencl opengl opus pam pango pcmcia pcre pcre16 pdf perl phonon pic plasma png pnp policykit postproc postscript python qml qsui qt3support qt4 qt5 quicktime radiotap rar raw rdesktop rdp readline real realmedia reiserfs rss rtc samba script sdl seccomp semantic-desktop session sip sipim smpeg sndfile soprano source sox speex spell spice sql sqlite sse3 ssl ssse3 staging startup-notification staticsocket subtitles subversion svg svn swfdec tcpd teamarena test-programs theora threads tiff timidity tk touchpad tray truetype tunepimp udev udisks unicode upcall upower usb v4l v4l2 vaapi vamp vcd vdpau vim vim-syntax visualization vnc vorbis wav wavpack webkit widgets wifi winbind wma wmp wmv wxwidgets x264 xattr xcb xcomposite xine xinerama xml xml2 xosd xscreensaver xv xvid zeroconf zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmxext sse2 ssse3 mmx sse sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="mouse keyboard evdev synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ja" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
[Moderator edit: changed
tags to

Code: Select all

 tags to preserve output layout. -Hu][/color][/i]
Michael
Top
maiku
l33t
l33t
User avatar
Posts: 608
Joined: Wed Mar 24, 2004 6:06 am
Location: Escaping from NY

  • Quote

Post by maiku » Thu Apr 20, 2017 8:38 pm

Update:
The grouped items on the taskbar not showing anything may have to do with this error that appears when I hover over a group of windows in the taskbar widget.
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ToolTipDelegate.qml:178: ReferenceError: index is not defined
QXcbConnection: XCB error: 2 (BadValue), sequence: 16218, resource id: 75497475, major code: 141 (Unknown), minor code: 3
Michael
Top
alexandru.balcan
n00b
n00b
Posts: 3
Joined: Wed May 10, 2017 2:43 pm

  • Quote

Post by alexandru.balcan » Wed May 10, 2017 2:47 pm

Hello, I have also experience plasmashell spiking 100% cpu and found no remedy... As far as I have read, the issue should've been fixed in 5.8.6 but updating to that version did not fix my issue.

Dis you find any solution?

I'm using kubuntu with plasma 5.8.5 at the moment...
Top
maiku
l33t
l33t
User avatar
Posts: 608
Joined: Wed Mar 24, 2004 6:06 am
Location: Escaping from NY

  • Quote

Post by maiku » Thu May 11, 2017 12:02 pm

I have not had any success. I'm using plasma 5.29, also. If you find any answers let me know. Eventually I may give up and use another DE.
Michael
Top
Fitzcarraldo
Advocate
Advocate
User avatar
Posts: 2057
Joined: Sat Aug 30, 2008 9:49 pm
Location: United Kingdom
Contact:
Contact Fitzcarraldo
Website

  • Quote

Post by Fitzcarraldo » Thu May 11, 2017 12:34 pm

Have you tried any of the work-arounds given in KDE Bug Report 311799 (see Comments 13, 17 and 56)? That seems to have solved the problem for several people. Another thing to try would be to disable File Search in System Settings, as some people have reported that Baloo's indexing results in heavy CPU loading.
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC systemd-utils[udev] elogind KDE on both.

My blog
Top
alexandru.balcan
n00b
n00b
Posts: 3
Joined: Wed May 10, 2017 2:43 pm

  • Quote

Post by alexandru.balcan » Thu May 11, 2017 2:32 pm

Even though the file indexing was disabled a while ago, today i checked if there are some baloo processes on my machine... I wasn`t amazed when i saw that the indexer was active ... so i removed it completely from my system...
I have not observed any plasma cpu spikes yet...

Regarding the notification progress indicator, tried that and did not work on my side ...With the notifications on plasma consumes only 4-10% of one core constantly... I had 100% spikes on all 4 cores...

Also I reinstalled and reconfigured the xorg and hid some of the unnecessary widgets from the taskbar...
Though, I put the blame on the file indexer... So far so good, no spikes... will provide updates.
Top
Ska`
n00b
n00b
User avatar
Posts: 74
Joined: Sat Sep 25, 2004 3:58 pm

  • Quote

Post by Ska` » Thu May 11, 2017 5:26 pm

Same situation here.

I get 100% on a core (single thread) and X is almost unresponsive, sometimes plasma reboots by itself but most of times I have to manually kill x.

Since about a week things are getting worse:

- very slow start, like minutes (on i7 + SSD)
- a LOT of errors like "QXcbConnection: XCB error: 2 (BadValue), sequence: 16218, resource id: 75497475, major code: 141 (Unknown), minor code: 3"
- logout does not work or very slow

I don't have much time to check and I feel annoyed, KDE is my main DE since 2004, always worked flawlessy and now it's unusable.

I will update if I find something.
Top
alexandru.balcan
n00b
n00b
Posts: 3
Joined: Wed May 10, 2017 2:43 pm

  • Quote

Post by alexandru.balcan » Fri May 12, 2017 6:05 am

So far so good, no spikes over the course of ~16 hours.
Try to search for any baloo processes and remove them if active... Maybe this will fix your issue
Top
maiku
l33t
l33t
User avatar
Posts: 608
Joined: Wed Mar 24, 2004 6:06 am
Location: Escaping from NY

  • Quote

Post by maiku » Tue Jun 06, 2017 3:47 pm

For me it's the same as usual even with the file search off. The problem persists even after upgrading to 5.6.5.
Michael
Top
peakeyed
n00b
n00b
User avatar
Posts: 60
Joined: Thu Nov 18, 2004 5:30 am

I have this problem too

  • Quote

Post by peakeyed » Sat Nov 18, 2017 11:54 pm

Bump
Top
Ska`
n00b
n00b
User avatar
Posts: 74
Joined: Sat Sep 25, 2004 3:58 pm

  • Quote

Post by Ska` » Mon Dec 11, 2017 4:50 pm

I solved the plasmashell issues in late august switching from "13.0/desktop" to "13.0/desktop/plasma" then recompiling with emerge -N
Top
NewSun
n00b
n00b
Posts: 2
Joined: Sun Jan 22, 2017 4:37 pm

  • Quote

Post by NewSun » Fri May 01, 2020 7:22 am

maiku wrote:I have not had any success. I'm using plasma 5.29, also. If you find any answers let me know. Eventually I may give up and use another DE.
Hi,
I do not know if it is actual yet, but the same was for me too.

Furtunatelly, I noticed in /val/log/dmes file some strange thing. There is a messgaes (besides):

Code: Select all

[    7.879808] systemd-udevd[1970]: /lib/udev/rules.d/80-libinput-device-groups.rules:4 IMPORT key takes '==' or '!=' operator, assu
ming '==', but please fix it.
[    7.933256] systemd-udevd[1970]: /lib/udev/rules.d/90-libinput-fuzz-override.rules:20 IMPORT key takes '==' or '!=' operator, ass
uming '==', but please fix it.
in file /lib/udev/rules.d/90-libinput-fuzz-override.rules was (besides):

Code: Select all

# Drawback: if this rule is triggered more than once, we'll lose the fuzz
# information (because the kernel fuzz will then be zero). Nothing we can do
# about that.
ATTRS{capabilities/abs}!="0", \
        ENV{ID_INPUT_TOUCHPAD}=="1", \
        IMPORT{program}+="libinput-fuzz-extract %S%p", \
        RUN{program}+="libinput-fuzz-to-zero %S%p", \
        GOTO="libinput_fuzz_override_end"
#ATTRS{capabilities/abs}!="0", \
#       ENV{ID_INPUT_TOUCHSCREEN}=="1", \
#       IMPORT{program}+="libinput-fuzz-extract %S%p", \
#       RUN{program}+="libinput-fuzz-to-zero %S%p", \
#       GOTO="libinput_fuzz_override_end"
After commenting the second rule (due the drawback comment) - as you can see - and restaring the X, all is OK

That is all.
Top
Post Reply

12 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic