Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE/plasmashell 100% CPU and other oddities
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
maiku
Guru
Guru


Joined: 24 Mar 2004
Posts: 543
Location: Long Island, NY

PostPosted: Fri Apr 14, 2017 1:47 pm    Post subject: KDE/plasmashell 100% CPU and other oddities Reply with quote

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:
$ plasmashell --version
plasmashell 5.8.6
Code:
# 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 [quote] tags to [code] tags to preserve output layout. -Hu]
_________________
Michael A. Leonetti
As warm as green tea
Back to top
View user's profile Send private message
maiku
Guru
Guru


Joined: 24 Mar 2004
Posts: 543
Location: Long Island, NY

PostPosted: Thu Apr 20, 2017 8:38 pm    Post subject: Reply with quote

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.
Quote:
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 A. Leonetti
As warm as green tea
Back to top
View user's profile Send private message
alexandru.balcan
n00b
n00b


Joined: 10 May 2017
Posts: 3

PostPosted: Wed May 10, 2017 2:47 pm    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message
maiku
Guru
Guru


Joined: 24 Mar 2004
Posts: 543
Location: Long Island, NY

PostPosted: Thu May 11, 2017 12:02 pm    Post subject: Reply with quote

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 A. Leonetti
As warm as green tea
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1338
Location: United Kingdom

PostPosted: Thu May 11, 2017 12:34 pm    Post subject: Reply with quote

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, OpenRC, nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64, OpenRC, xf86-video-ati, dual booting with Win 7 Pro 64-bit.
KDE on both laptops.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
alexandru.balcan
n00b
n00b


Joined: 10 May 2017
Posts: 3

PostPosted: Thu May 11, 2017 2:32 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Ska`
n00b
n00b


Joined: 25 Sep 2004
Posts: 70

PostPosted: Thu May 11, 2017 5:26 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
alexandru.balcan
n00b
n00b


Joined: 10 May 2017
Posts: 3

PostPosted: Fri May 12, 2017 6:05 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
maiku
Guru
Guru


Joined: 24 Mar 2004
Posts: 543
Location: Long Island, NY

PostPosted: Tue Jun 06, 2017 3:47 pm    Post subject: Reply with quote

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 A. Leonetti
As warm as green tea
Back to top
View user's profile Send private message
peakeyed
n00b
n00b


Joined: 18 Nov 2004
Posts: 56

PostPosted: Sat Nov 18, 2017 11:54 pm    Post subject: I have this problem too Reply with quote

Bump
Back to top
View user's profile Send private message
Ska`
n00b
n00b


Joined: 25 Sep 2004
Posts: 70

PostPosted: Mon Dec 11, 2017 4:50 pm    Post subject: Reply with quote

I solved the plasmashell issues in late august switching from "13.0/desktop" to "13.0/desktop/plasma" then recompiling with emerge -N
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum