Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
elogind still causes sddm to stop working
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
Amon2501
Tux's lil' helper
Tux's lil' helper


Joined: 12 Dec 2018
Posts: 94

PostPosted: Thu Apr 16, 2020 12:32 pm    Post subject: elogind still causes sddm to stop working Reply with quote

Every update of elogind (since adding that +elogind flag globally) is asking to do rc-update add elogind boot
But after doing that sddm wont start on the next reboot (only text mode). Why this happens and what should i do to make it work together?
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Thu Apr 16, 2020 12:48 pm    Post subject: Reply with quote

Just checking: did you rebuild all packages that have consolekit useflag
after enabling the elogind useflag in make.conf? Did you remove
consolekit from services with rc-update?

After doing all that, my two gentoo computers had no trouble with SDDM, FWIW>
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
Amon2501
Tux's lil' helper
Tux's lil' helper


Joined: 12 Dec 2018
Posts: 94

PostPosted: Thu Apr 16, 2020 1:20 pm    Post subject: Reply with quote

I`ve rebuilt everything needed using revdep-rebuild (doing that every time after an update). And consolekit is even removed with the emerge --depclean.
Back to top
View user's profile Send private message
yoshi_26_02
n00b
n00b


Joined: 17 Jun 2019
Posts: 21
Location: Gensokyo

PostPosted: Fri Apr 17, 2020 4:42 am    Post subject: Reply with quote

Does your sddm.log stops with "Starting..." and "Logind interface found"?

If so, I currently have the same problem.
Downgrading SDDM to 0.15.0 solved the problem.

However, since this version is masked for vulnerability issue, I wouldn't consider this a proper solution.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 25166
Location: here

PostPosted: Fri Apr 17, 2020 5:46 am    Post subject: Reply with quote

If you use nvidia-drivers see also https://bugs.gentoo.org/697634
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
yoshi_26_02
n00b
n00b


Joined: 17 Jun 2019
Posts: 21
Location: Gensokyo

PostPosted: Fri Apr 17, 2020 6:52 am    Post subject: Reply with quote

fedeliallalinea wrote:
If you use nvidia-drivers see also https://bugs.gentoo.org/697634


Thank you, enabling CONFIG_DRM in my kernel solved the problem for me.
Back to top
View user's profile Send private message
Amon2501
Tux's lil' helper
Tux's lil' helper


Joined: 12 Dec 2018
Posts: 94

PostPosted: Fri Apr 17, 2020 1:09 pm    Post subject: Reply with quote

yoshi_26_02 wrote:
Does your sddm.log stops with "Starting..." and "Logind interface found"?

If so, I currently have the same problem.
Downgrading SDDM to 0.15.0 solved the problem.

However, since this version is masked for vulnerability issue, I wouldn't consider this a proper solution.


Yes it did, when i ve enabled elogind. And i dont want to downgrade too. i`ll beter wait until it fixed with elogind being disabled instead.
Back to top
View user's profile Send private message
Amon2501
Tux's lil' helper
Tux's lil' helper


Joined: 12 Dec 2018
Posts: 94

PostPosted: Fri Apr 17, 2020 1:18 pm    Post subject: Reply with quote

fedeliallalinea wrote:
If you use nvidia-drivers see also https://bugs.gentoo.org/697634


What is CONFIG_DRM ? Is it somehow related to something like "not showing video on the tv or monitor just black screen" or "that video isnt available in you country" and so on? I dont want to have such things on my pc.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 25166
Location: here

PostPosted: Fri Apr 17, 2020 1:30 pm    Post subject: Reply with quote

Code:
 CONFIG_DRM:                                                                                                                                                       
                                                                                                                                                                   
 Kernel-level support for the Direct Rendering Infrastructure (DRI)                                                                                               
 introduced in XFree86 4.0. If you say Y here, you need to select                                                                                                 
 the module that's right for your graphics card from the list below.                                                                                               
 These modules provide support for synchronization, security, and                                                                                                 
 DMA transfers. Please see <http://dri.sourceforge.net/> for more                                                                                                 
 details.  You should also select and configure AGP                                                                                                               
 (/dev/agpgart) support if it is available for your platform.                                                                                                     
                                                                                                                                                                   
 Symbol: DRM [=y]                                                                                                                                                 
 Type  : tristate                                                                                                                                                 
 Prompt: Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)                                                                                           
   Location:                                                                                                                                                       
     -> Device Drivers                                                                                                                                             
       -> Graphics support                                                                                                                                         
   Defined at drivers/gpu/drm/Kconfig:7                                                                                                                           
   Depends on: HAS_IOMEM [=y] && (AGP [=y] || AGP [=y]=n) && !EMULATED_CMPXCHG && HAS_DMA [=y]                                                                     
   Selects: DRM_PANEL_ORIENTATION_QUIRKS [=y] && HDMI [=y] && FB_CMDLINE [=y] && I2C [=y] && I2C_ALGOBIT [=y] && DMA_SHARED_BUFFER [=y] && SYNC_FILE [=y]

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
yoshi_26_02
n00b
n00b


Joined: 17 Jun 2019
Posts: 21
Location: Gensokyo

PostPosted: Fri Apr 17, 2020 8:47 pm    Post subject: Reply with quote

Amon2501 wrote:
fedeliallalinea wrote:
If you use nvidia-drivers see also https://bugs.gentoo.org/697634


What is CONFIG_DRM ? Is it somehow related to something like "not showing video on the tv or monitor just black screen" or "that video isnt available in you country" and so on? I dont want to have such things on my pc.


DRM in CONFIG_DRM stands for Direct Rendering Manager and is a kernel feature related to video rendering, it is not related to the DRM as in Digital Rights Management like in the examples you quoted.
CONFIG_DRM seems to be required by SDDM after 0.15.0 in order to work with elogind and nvidia's proprietary drivers installed by x11-drivers/nvidia-drivers.

If you use nvidia-drivers, I would suggest trying to enable CONFIG_DRM in the kernel, rebuilding the kernel then the nvidia-drivers, and see if it works.
It worked for me, but if it doesn't, the bug also suggested adding the kernel parameter "nvidia-drm.modeset=1".
The wiki page does suggest against enabling CONFIG_DRM, and I think it would be good to mention bug #697634 for those having this problem.

By the way, while the DRMs as in Digital Rights Management are not related to the CONFIG_DRM kernel configuration, those are already present in the nvidia's proprietary drivers, so you cannot really avoid them.
Back to top
View user's profile Send private message
Amon2501
Tux's lil' helper
Tux's lil' helper


Joined: 12 Dec 2018
Posts: 94

PostPosted: Fri Apr 17, 2020 9:04 pm    Post subject: Reply with quote

I remember portage complaining someday that i should disable that drm thing in my kernel, probably that was about the nvidia-drivers. I could try it anyway, but still hope it`s gonna be fixed, because enabling DRM to make sddm work with elogind is actually a workaround, not the way it`s intended to be.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8061
Location: Austria

PostPosted: Fri Apr 17, 2020 9:09 pm    Post subject: Reply with quote

I'm not sure why this issue is for some reason being triggered by using sddm with logind, but this has nothing to do with elogind itself.

*Disabling* CONFIG_DRM must have been a workaround for nvidia-drivers users at some point, it probably isn't anymore.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
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