Help, display manager boots to black screen

Somewhat of a newbie to endeavour os.

After a recent update, the display manager doesn’t show any gui. entering password works as normal and still loads kde desktop environment. Switching DEs doesn’t have an effect on the condition. I assume it has something to do with the nvidia drivers.

Another effect i noticed is that the battery and energy widget doesn’t show the battery percentage after reboot.

If there’s any other information needed to help do let me know.

This means that your DM is working fine.
Try switching to another TTY and back. This often triggers the DM to appear.
Read this wiki and get and post some system info and logs.

Hey thanks for the help, switching between TTY doesn’t seem to have an effect. I have included hardware information alongside the bootlog respectively.

https://0x0.st/XYwf.txt

https://0x0.st/XYwV.txt

Try to login with x11 instead of wayland…
The login screen has that selection in one corner.

What command did you use to get this log? There is no sign of any Display Manager.
What does this print?

systemctl status display-manager

Sorry for the late reply. Here’s the output:

● lightdm.service - Light Display Manager
     Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled; preset: disabled)
     Active: active (running) since Thu 2024-09-26 18:28:49 WIB; 2min 22s ago
 Invocation: 4e18c7f51a9d44aa9e00120c5e7ea3c1
       Docs: man:lightdm(1)
   Main PID: 858 (lightdm)
      Tasks: 4 (limit: 18061)
     Memory: 96.1M (peak: 168.4M)
        CPU: 2.590s
     CGroup: /system.slice/lightdm.service
             └─858 /usr/bin/lightdm

Sep 26 18:28:56 PCofWhiteCrow lightdm[920]: pam_kwallet5(lightdm:setcred): pam_kwallet5: pam_sm_setcred
Sep 26 18:28:56 PCofWhiteCrow lightdm[920]: pam_unix(lightdm:session): session opened for user whitecrowgl(uid=1000) by whitecrowgl(uid=0)
Sep 26 18:28:56 PCofWhiteCrow lightdm[920]: pam_systemd(lightdm:session): New sd-bus connection (system-bus-pam-systemd-920) opened.
Sep 26 18:28:57 PCofWhiteCrow lightdm[920]: pam_kwallet5(lightdm:session): pam_kwallet5: pam_sm_open_session
Sep 26 18:28:58 PCofWhiteCrow lightdm[1015]: [12] INFO: # Xorg pre-start hook
Sep 26 18:28:58 PCofWhiteCrow lightdm[1015]: [12] INFO: Previous state was: {'type': 'done', 'switch_id': '20240926T182846', 'current_mode': 'nvidia'}
Sep 26 18:28:58 PCofWhiteCrow lightdm[1015]: [12] INFO: Requested mode is: nvidia
Sep 26 18:28:58 PCofWhiteCrow lightdm[1015]: [651] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
Sep 26 18:28:58 PCofWhiteCrow lightdm[1015]: [651] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20240926T182846', 'requested_mode': 'nvidia'}
Sep 26 18:28:58 PCofWhiteCrow lightdm[1015]: [651] INFO: Xorg pre-start hook completed successfully.

It seems you have optimus-manager active.

Maybe someone that knows about optimus-manager and nvidia can help you.
Are you using optimus-manager as advised by the vendors?

Since LightDM is not visible, how can you switch DEs? What other DEs have you tried?

Forgive me for my lack of understanding but I’m not quite sure if i have. Reading online lead me to LenovoLegionLinux which I’ve been using

An error on my end, it’s supposed to say display managers. Switching between sddm and lightDM yields the same black screen.

It’s not too late to learn :smiley: .
Your Laptop has Hybrid Graphics (two GPU cards).
In Linux, users often use an assistant utility for such cases.
In the posted terminal output, activities from one of those utilities were logged.

I don’t know what LenovoLegionLinux offers.
You should read about the above in EnOS relevant wiki.

I have a very long time to use or support Optimus utilities, so I am not the best one to help you. :man_shrugging:

@prinMHW
I know there are a number of users with this laptop. (Legion 5 Pro 16ARH7H) As @petsam said it has hybrid graphics with onboard amd gpu Radeon 680M and dedicated Nvidia gpu RTX 3070. Does the UEFI Bios have settings for the gpu that are Hybrid, Integrated and Dedicated? Or what settings does it have? After checking this you may want to try uninstalling optimus-manager and try installing envycontrol

Edit: I see that you have the latest UEFI Bios. :wink:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.