Weird Startup Behaviour - Black Screen No Greeter i3

Hi all,
I’ve recently switched to Endeavour from Manjaro after getting sick of some of the quirks it has.
Endeavour has been great on my desktop and it’s definitely become my new favourite arch distro but unfortunately I’ve got a weird quirk when it comes to booting on my laptop.

When I boot into endeavour all I see is a black screen and the greeter never shows on the screen, now the weird part is if I close my laptop screen and open it again the greeter finally shows and I can log in no issues and use the os. You can imagine it gets a bit frustrating having to do this on every boot, any ideas or help would be greatly appreciated.

1 Like

Hi @Evokeh

first of all welcome to the forum, it’s nice to hear you’ve found our little purple corner in the Linux universe.

Could you provide us also with your hardware specs and in specifically your graphics info?

Hi Bryanpwo,

Thanks for the warm welcome and your help.

Here’s the output of hwinfo: https://pastebin.com/vRbBCPB8
And here’s the output for gpu info: https://pastebin.com/chENdgHF.

Thanks again :slight_smile:

Welcome to the forum! :smile:

You have both Intel 620 and Nvidia GeForce 940MX. Both should be supported by the drivers. Are you switching between them, or using only one of them?

Then, about swap, do you have

  • a swap partition
  • a swap file
  • none of the above

?

Could you show files /etc/fstab and /boot/grub/grub.cfg by using commands:

cat /etc/fstab > /tmp/tmp.log
cat /boot/grub/grub.cfg >> /tmp/tmp.log
cat /tmp/tmp.log | eos-sendlog

and show the returned little URL here?

Then could you show the output of commands

pacman -Qs nvidia
pacman -Qs xf86-video

?

Sorry to give you so much work, but this helps getting to the bottom of this.

At the moment I’m only using the laptop to program and develop so I don’t really have a need for the nvidia gpu but I’m not sure what the default configuration is with bumblebee, I left it as is as my install is pretty fresh.

Pertaining to swap I had none of the above I believe, I’m a bit ignorant in this field. If its any help I dual boot with a windows 10 install and just replaced a manually made partition for my linux install.

Here is the url from the cat commands: http://ix.io/2Ub5

[daniels@danielslaptop ~]$ pacman -Qs nvidia
local/bumblebee 3.2.1-21
    NVIDIA Optimus support for Linux through VirtualGL
local/egl-wayland 1.1.6-1
    EGLStream-based Wayland external platform
local/lib32-nvidia-utils 460.67-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.4-1
    Nvidia VDPAU library
local/libxnvctrl 460.67-1
    NVIDIA NV-CONTROL X extension
local/nvidia 460.67-3
    NVIDIA drivers for linux
local/nvidia-installer 3-1
    Script to setup nvidia drivers in EndeavourOS
local/nvidia-installer-db 2.4.19-1
    Database for the script to setup nvidia drivers in EndeavourOS
local/nvidia-settings 460.67-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 460.67-1
    NVIDIA drivers utilities

[daniels@danielslaptop ~]$ pacman -Qs xf86-video
local/xf86-video-fbdev 0.5.0-2 (xorg-drivers)
    X.org framebuffer video driver
local/xf86-video-intel 1:2.99.917+916+g31486f40-1 (xorg-drivers)
    X.org Intel i810/i830/i915/945G/G965+ video drivers
local/xf86-video-vesa 2.5.0-1 (xorg-drivers xorg)
    X.org vesa video driver

Thanks for your help too Manuel

so looks like you do setup bumblebee what should work for this gpu set.
check if bumblebee is running:

systemctl status bumblebeed.service

and:

optirun --status

It could be also simple an issue with lightdm starts earlier than gpu driver is fully loaded:
set logind-check-graphical=true inside lightdm.conf

2 Likes
[daniels@danielslaptop ~]$ systemctl status bumblebeed.service
● bumblebeed.service - Bumblebee C Daemon
     Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disa>
     Active: active (running) since Fri 2021-03-26 13:27:27 GMT; 5h 50min ago
   Main PID: 307 (bumblebeed)
      Tasks: 1 (limit: 19051)
     Memory: 1.7M
     CGroup: /system.slice/bumblebeed.service
             └─307 /usr/bin/bumblebeed

Mar 26 13:27:27 danielslaptop systemd[1]: Started Bumblebee C Daemon.
Mar 26 13:27:27 danielslaptop bumblebeed[307]: [    3.296149] [INFO]/usr/bin/bumblebeed 3.2.1>
...skipping...
● bumblebeed.service - Bumblebee C Daemon
     Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disa>
     Active: active (running) since Fri 2021-03-26 13:27:27 GMT; 5h 50min ago
   Main PID: 307 (bumblebeed)
      Tasks: 1 (limit: 19051)
     Memory: 1.7M
     CGroup: /system.slice/bumblebeed.service
             └─307 /usr/bin/bumblebeed

Mar 26 13:27:27 danielslaptop systemd[1]: Started Bumblebee C Daemon.

Seems to be active…

[daniels@danielslaptop ~]$ optirun --status
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.

Not too sure here.

It could be also simple an issue with lightdm starts earlier than gpu driver is fully loaded:
set logind-check-graphical=true inside lightdm.conf

Bingo! Seems to have fixed my issue. Seems like when I reboot the greeter shows now. Fingers crossed it stays like this.

Thanks so much Joekam !

2 Likes