Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Plasma stalls on startup
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
rellig107
n00b
n00b


Joined: 28 Jun 2017
Posts: 1

PostPosted: Wed Jun 28, 2017 6:37 am    Post subject: Plasma stalls on startup Reply with quote

Hi everyone,

since about a week or two I notived that after I log in with SDDM I have to wait about a minute until plasma actually starts.
After login my screens turn black. About a minute later I see the plasma loading screen.

I looked into this problem and found out that plasma starts multiple dbus-daemons and the startup stalls till one of them dies:

running dbus-daemons in SDDM:
Code:

message+   550  0.1  0.0  34624  4168 ?        Ss   07:34   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
sddm      1512  0.0  0.0  33672  2436 ?        Ss   07:38   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session


running dbus-daemons after login:
Code:

message+   550  0.1  0.0  34624  4168 ?        Ss   07:34   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
sddm      1512  0.0  0.0  33672  2436 ?        Ss   07:38   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
rellig  1586  0.0  0.0  33672   312 ?        Ss   07:39   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
rellig  1595  0.0  0.0  33672  2404 ?        Ss   07:39   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 15 --session
rellig  1600  0.0  0.0  33672   332 ?        S    07:39   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 15 --session


running dbus-daemons after startup completes:
Code:

message+   550  0.2  0.0  34624  4168 ?        Ss   07:34   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
sddm      1512  0.0  0.0  33672  2436 ?        Ss   07:38   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
rellig  1586  0.0  0.0  33672   312 ?        Ss   07:39   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
rellig  1595  0.4  0.0  34332  3280 ?        Ss   07:39   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 15 --session


I am runnig the current plasma/frameworks from portage

Any ideas what's causing this? Or how I can proceed fixing it?


emerge --info:
Code:

Portage 2.3.6 (python 3.5.3-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-6.3.0, glibc-2.24-r3, 4.11.7 x86_64)                                                                                                               
=================================================================                                                                                                                                                                           
System uname: Linux-4.11.7-x86_64-Intel-R-_Core-TM-_i5-6500_CPU_@_3.20GHz-with-gentoo-2.4.1                                                                                                                                                 
KiB Mem:    41033724 total,  35996520 free                                                                                                                                                                                                   
KiB Swap:   16713044 total,  16713044 free                                                                                                                                                                                                   
Timestamp of repository gentoo: Tue, 27 Jun 2017 04:04:57 +0000                                                                                                                                                                             
sh bash 4.4_p12                                                                                                                                                                                                                             
ld GNU ld (Gentoo 2.27 p1.0) 2.27                                                                                                                                                                                                           
app-shells/bash:          4.4_p12::gentoo                                                                                                                                                                                                   
dev-java/java-config:     2.2.0-r3::gentoo                                                                                                                                                                                                   
dev-lang/perl:            5.24.1-r2::gentoo                                                                                                                                                                                                 
dev-lang/python:          2.7.13::gentoo, 3.5.3::gentoo                                                                                                                                                                                     
dev-util/cmake:           3.8.2::gentoo                                                                                                                                                                                                     
dev-util/pkgconfig:       0.29.2::gentoo                                                                                                                                                                                                     
sys-apps/baselayout:      2.4.1::gentoo                                                                                                                                                                                                     
sys-apps/openrc:          0.27.2::gentoo                                                                                                                                                                                                     
sys-apps/sandbox:         2.10-r4::gentoo                                                                                                                                                                                                   
sys-devel/autoconf:       2.13::gentoo, 2.69-r3::gentoo                                                                                                                                                                                     
sys-devel/automake:       1.13.4-r1::gentoo, 1.15.1::gentoo                                                                                                                                                                                 
sys-devel/binutils:       2.27::gentoo, 2.28-r2::gentoo                                                                                                                                                                                     
sys-devel/gcc:            5.4.0-r3::gentoo, 6.3.0::gentoo                                                                                                                                                                                   
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

local-overlay
    location: /var/lib/overlay
    masters: gentoo

abendbrot
    location: /var/lib/layman/abendbrot
    masters: gentoo
    priority: 50

hossie
    location: /var/lib/layman/hossie
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
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.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kipi kwallet lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg systemd tcpd threads tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid 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="aes avx avx2 f16c fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1079

PostPosted: Sat Jul 01, 2017 3:40 pm    Post subject: Reply with quote

rellig107, would it help to compare 1 min to some other benchmark. How long has the problem been going on? You may need to take somewhat more of a patient approach to finding out if and when the stalls in services are doing something that is not being logged to your system. Make sure if you are spending any time at all to look at the output of systemd journal, the version of a log that is configurable for whatever purposes. You might also check for a debug option that increases log verbosity, before goving up completely that would be a waste! Which processes are forking anyway is it the shell, desktop or some application process?
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1079

PostPosted: Wed Jul 05, 2017 1:27 am    Post subject: Reply with quote

rellig107, can you post the configuration for sddm? It is located at
Quote:
/etc/sddm.conf
-- could be a long shot but in case something in the Display manager is causing you trouble. In reality it is more likely to be something else, so might as well also post emerge --info -pv dbus It gives more of a chance of finding what in the install could be causing you this trouble.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1079

PostPosted: Wed Jul 05, 2017 1:29 am    Post subject: Reply with quote

Just post the output to emerge -pv dbus, since you already posted the --info stuff
Back to top
View user's profile Send private message
ronaldoc
n00b
n00b


Joined: 03 Jul 2017
Posts: 15

PostPosted: Wed Jul 05, 2017 9:16 am    Post subject: Reply with quote

How long have you had this problem?
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1079

PostPosted: Thu Jul 06, 2017 8:19 am    Post subject: Reply with quote

Ronaldo is right, man. If you can think of something please share, including any recent changes to the portage sets or breaks while doing a update with emerge to just one of those sets. Also, if it isn't related to some recently tampered with other application, then maybe something as basic as just removing it, and then adding it back sys-apps/dbus.?

To Add to the last thought:
Have you tried to test the login process using a different DE? It would help to determine whether or not the source of the problems includes KDE related software application, or other software, like dbus or systemd (itself).
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