Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] OpenRC parallel fails to start elogind with SDDM (Read 1026 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

[SOLVED] OpenRC parallel fails to start elogind with SDDM

Hello, I use SDDM and I've noticed that if I set rc_parallel to "YES" elogind will fail, and all the power options in the login screen are greyed out. The bluez service fails/stops sometimes as well after a reboot. It's not necessary to use parallel, but I still find it strange that it only happens with OpenRC and not runit/s6/dinit when they start services in parallel by default.

Re: OpenRC parallel fails to start elogind with SDDM

Reply #1
Hello, I use SDDM and I've noticed that if I set rc_parallel to "YES" elogind will fail, and all the power options in the login screen are greyed out. The bluez service fails/stops sometimes as well after a reboot. It's not necessary to use parallel, but I still find it strange that it only happens with OpenRC and not runit/s6/dinit when they start services in parallel by default.

Code: [Select]
# WARNING: whilst we have improved parallel, it can still potentially lock
# the boot process. Don't file bugs about this unless you can supply
# patches that fix it without breaking other things!

Which part of the warning did you not understand?
"Wer alles kann, macht nichts richtig"

Artix USE="runit openrc slim openbox lxde gtk2 qt4 qt5 qt6 conky
-gtk3 -gtk4 -adwaita{cursors,themes,icons} -gnome3 -kde -plasma -wayland "

Re: OpenRC parallel fails to start elogind with SDDM

Reply #2
Code: [Select]
# WARNING: whilst we have improved parallel, it can still potentially lock
# the boot process. Don't file bugs about this unless you can supply
# patches that fix it without breaking other things!

Which part of the warning did you not understand?
Yeah I did see that warning, that's a shame though I really like and am most used to OpenRC. I'll use other init then.

Re: OpenRC parallel fails to start elogind with SDDM

Reply #3
First post seemed more of a statement than a question.
If you did actually want to get to bottom of what is happening, and maybe fix it, much more info would be needed. You've provided very little.

But to get back to what I've quoted. Why not just turn of parallel? Unless you boot your system multiple times a day it's going to take quite a while to regain the time spent switching inits through a marginally faster boot.

I do use openrc / parallel but not sddm. It works but if it stops working tomorrow I'll just disable parallel until such time as I get around to debugging it. It wouldn't even enter my mind to switch inits just to save a few seconds at boot. I mean if your curious to try the other inits anyway fair enough but just over parallel service starting I'm a bit baffled. Though I suppose if your hardware is exceptionally old / slow that could have a bearing ?

Re: OpenRC parallel fails to start elogind with SDDM

Reply #4
First post seemed more of a statement than a question.
If you did actually want to get to bottom of what is happening, and maybe fix it, much more info would be needed. You've provided very little.

But to get back to what I've quoted. Why not just turn of parallel? Unless you boot your system multiple times a day it's going to take quite a while to regain the time spent switching inits through a marginally faster boot.

I do use openrc / parallel but not sddm. It works but if it stops working tomorrow I'll just disable parallel until such time as I get around to debugging it. It wouldn't even enter my mind to switch inits just to save a few seconds at boot. I mean if your curious to try the other inits anyway fair enough but just over parallel service starting I'm a bit baffled. Though I suppose if your hardware is exceptionally old / slow that could have a bearing ?
Yes, my laptop is really low end with an HDD but you're right, it at most boots 2 seconds faster with parallel so it doesn't matter much. Thank you for your time.

Re: OpenRC parallel fails to start elogind with SDDM

Reply #5
I use parralel for a good while and the only issue i've ever had, which is ongoing but I don't mind much, is syslog-ng starting half the time. All the important services work perfectly, including elogind/sddm, they never acted up in my case. But yeah on slow pc and disk things might be different, gotta admit, at the same time making parralel useless anyway on HDD's for instance.

Re: [SOLVED] OpenRC parallel fails to start elogind with SDDM

Reply #6
Maybe when 0.46 comes out parallel will improve for my case but still, everyone is right, I'm fussing too much over just 1/2 second/s of speed while using an HDD.

I was also curious if the reason for my "issue" was something I did wrong while installing Artix, or something else.

Sorry for wasting your time.

Re: [SOLVED] OpenRC parallel fails to start elogind with SDDM

Reply #7
Hello, I use SDDM and I've noticed that if I set rc_parallel to "YES" elogind will fail, and all the power options in the login screen are greyed out.
@slimypotato A little late to the party, but can you try appending 'display-manager' at 'before xdm' directive and see if it fixes it?
Code: [Select]
before xdm display-manager

Re: [SOLVED] OpenRC parallel fails to start elogind with SDDM

Reply #8
Hello @nous, sorry for responding 82 years later (I forgot my password and other shenanigans)

I tried putting the 'display-manager'  bit (without '' of course) at the end of 'before xdm' in the shell script for elogind (/etc/init.d/elogind) and did a reboot. Unfortunately there's still no luck:
Code: [Select]
Runlevel: default
 dbus                                                                                [  started 00:01:22 (0) ]
 NetworkManager                                                                                  [  started  ]
 backlight                                                                                       [  started  ]
 bluetoothd                                                                                      [  stopped  ]
 netmount                                                                                        [  started  ]
 power-profiles-daemon                                                                           [  stopped  ]
 sddm                                                                                [  started 00:01:18 (0) ]
 local                                                                                           [  started  ]
 agetty.tty4                                                                         [  started 00:01:18 (0) ]
 agetty.tty1                                                                         [  started 00:01:18 (0) ]
 agetty.tty5                                                                         [  started 00:01:18 (0) ]
 agetty.tty3                                                                         [  started 00:01:18 (0) ]
 agetty.tty2                                                                         [  started 00:01:18 (0) ]
 agetty.tty6                                                                         [  started 00:01:18 (0) ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
 elogind                                                                                            [ failed ]
Dynamic Runlevel: manual
This is what rc-status shows me and it seems like elogind, bluetoothd and power-profiles-daemon did start at boot but then failed/stopped when SDDM loads up (not sure what it means but it's something I didn't notice before)

Thank you for helping though.


 

Re: [SOLVED] OpenRC parallel fails to start elogind with SDDM

Reply #10
Thank you @nous, I put 'after local' into the SDDM script and the services I mentioned don't fail/stop at login anymore (bluetooth sometimes stops at login but that's fine, I've had it happen on Dinit and S6 too)

Seriously though, thanks a lot for helping me.