Login screen not showing on startup

@huddo121 @spikerguy I found the fix for this, maybe you can look into this and if this works create a thread or announce in release post.

A user had similar issue and posted on Arch forums and there i found answer.

Although i have Intel iGPU and AMD dGPU, i faced this problem with all kernels (latest released 5.11) except 5.4. The issue is due to display drivers not being loaded before GDM and GDM requires these to display anything. So we have to use early KMS to load drivers during initramfs stage. See Arch Wiki

So Add intel_agp i915 for intel iGPU and/or dGPU and amdgpu for AMD iGPU and/or dGPU in MODULES array in /etc/mkinitcpio.conf

The main thing is that if your PC has iGPU, then iGPU loads the basic things (and not dGPU) so go for iGPU steps. For me, i had intel iGPU and AMD dGPU so when i added only amdgpu in MODULES array the problem still persisted. When i added intel_agp i915 amdgpu in it, only then the issue went away. (added amdgpu just in case)

Then regenerate the initramfs.

So in short, do

  1. sudo nano /etc/mkinitcpio.conf
  2. Add the required module for the video driver to the MODULES array in /etc/mkinitcpio.conf:
  • amdgpu for AMDGPU, or radeon when using the legacy ATI driver.

  • i915 for Intel graphics.

  • nouveau for the open-source Nouveau driver.

  • mgag200 for Matrox graphics.

  • Depending on QEMU graphics in use: virtio-gpu for VirtIO, qxl for QXL, or cirrus for Cirrus.

  • nvidia nvidia_modeset nvidia_uvm nvidia_drm for nvidia driver. See NVIDIA#DRM kernel mode setting for details.

    Note: Intel users may need to add intel_agp before i915 to suppress the ACPI errors (check the output of lsmod on your running system to see if intel_agp is loaded). This may be required for resuming from hibernation to work with a changed display configuration. If you use PRIME GPU with Intel IGP being your primary GPU and AMD as the discrete one, adding intel_agp may lead to troubles when resuming from hibernation (monitor gets no signal). See [1] for details.

  1. sudo mkinitcpio -P

if you have any issues, see the arch wiki

2 Likes