You are not logged in.

#1 2021-09-10 06:59:29

ABOhiccups
Member
Registered: 2017-08-27
Posts: 99
Website

[SOLVED] Delay LightDM Boot?

I'm running Arch Linux with SSD. LightDM glitched up with NVIDIA Driver where the Mouse Cursor is pointing at (on Desktop Screen after login).

I want to delay LightDM on boot. So that way, I'm hoping this will solve my problem without logout and re-login.

Is there a way for me to delay LightDM Boot? Similar to sleep command.

SOLVED: I've found out what I did wrong. My Laptop has both Intel GPU and NVIDIA GPU. If I just add nvidia nvidia_modeset nvidia_uvm nvidia_drm to MODULES in /etc/mkinitcpio.conf. I still get cursor issue.

But, if I add i915 to MODULES in /etc/mkinitcpio.conf. I don't have this problem at all.

For Laptop users. If you're adding NVIDIA GPU to MODULES. Make sure you add Intel or AMD GPU to MODULES too. Even you set NVIDIA GPU as the only GPU. You can still face same issue as I did without adding GPU from your CPU to MODULES.

Last edited by ABOhiccups (2021-09-10 20:52:45)

Offline

#2 2021-09-10 07:18:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,334

Re: [SOLVED] Delay LightDM Boot?

Offline

#3 2021-09-10 07:41:50

ABOhiccups
Member
Registered: 2017-08-27
Posts: 99
Website

Re: [SOLVED] Delay LightDM Boot?

V1del wrote:

It doesn't work! Same issue happened.

Offline

#4 2021-09-10 08:01:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,334

Re: [SOLVED] Delay LightDM Boot?

The second approach should for most purposes fix things that have to do with the loading race (... did you forget to run mkinitcpio -P after adjusting the file?). If you still think you can/want to solve this with a delay you can add an ExecStartPre=/usr/bin/sleep 5 or so to the lightdm service file.  https://wiki.archlinux.org/title/System … ided_units (whereas the simplest approach would likely be specifying a drop-in file)

Last edited by V1del (2021-09-10 08:03:13)

Offline

#5 2021-09-10 08:24:55

ABOhiccups
Member
Registered: 2017-08-27
Posts: 99
Website

Re: [SOLVED] Delay LightDM Boot?

V1del wrote:

The second approach should for most purposes fix things that have to do with the loading race (... did you forget to run mkinitcpio -P after adjusting the file?). If you still think you can/want to solve this with a delay you can add an ExecStartPre=/usr/bin/sleep 5 or so to the lightdm service file.  https://wiki.archlinux.org/title/System … ided_units (whereas the simplest approach would likely be specifying a drop-in file)

it works! Thank you!

Offline

#6 2021-09-10 20:52:25

ABOhiccups
Member
Registered: 2017-08-27
Posts: 99
Website

Re: [SOLVED] Delay LightDM Boot?

I've found out what I did wrong. My Laptop has both Intel GPU and NVIDIA GPU. If I just add nvidia nvidia_modeset nvidia_uvm nvidia_drm to MODULES in /etc/mkinitcpio.conf. I still get cursor issue.

But, if I add i915 to MODULES in /etc/mkinitcpio.conf. I don't have this problem at all.

For Laptop users. If you're adding NVIDIA GPU to MODULES. Make sure you add Intel or AMD GPU to MODULES too. Even you set NVIDIA GPU as the only GPU. You can still face same issue as I did without adding GPU from your CPU to MODULES.

Offline

Board footer

Powered by FluxBB