Something prevents my os to boot (arbitrarily)

In terms of the nvidia driever, EOS worked flawlessly for about a week with 495. And it was my first install. I switched to ubuntu for other reasons, and I reinstalled EOS and now I’m facing the black screen issue. Is it possibly a KDE thing?

It could be many things, which is why you need to work systematically and rule out variables one at a time.

For example: kernel, Nvidia driver, attached devices, …

1 Like

How did you install it? Did you use the nvidia or non free entry in the menu? Or did you install it with the default menu entry which installs nouveau and then install nvidia?

Edit: Also do you have optimus-manager installed? Or does this laptop have a hybrid setting in the Bios?

After the first boot I already had nvidia-smi so I’m guessing when I selected non free version of EOS installer, it has installed the non free for me.

Thank you, I’ll try the kernel first.

Seems like the issue is gone as I have restarted normally 3 consecutive times after the kernel installation. This is so weird

I saw that there is an issue with my secondary monitor so I was rebooting unplugged (in the boot log)

Can you tell me what are the consequences of using the lts kernel?

Here’s what i would try. I would run nvidia-installer-dkms -n and wait for it to completely finish. Then i would reboot. Hopefully it boots to a desktop. Otherwise you’ll be stuck going into a TTY. Then after reboot i would reinstall the nvidia drivers with nvidia-installer-dkms. Then before rebooting i would do all of the enhancements as per the wiki including installing the hooks package. Follow the wiki and do each one. The grub entry, Then update grub. Then add stuff to the mkinitcpio and then rebuild the kernel images as per the wiki. Then add the enahnacements to the xorg file for nvidia. After all is done reboot again.

2 Likes

Would you recommend to do this even now when it’s working?

If its’ working you could just do all the enhancements as per the wiki page. If you want? No guarantees … no warranty …you know!

When I install nvidia drivers from EOS guide, it never boots and 2. Force early load (KMS) step from the link you sent fails to find the nvidia driver. Is there another way that I should go about installing nvidia?

Is there something here that I need to get rid of?

(base) [tigran@asus ~]$ yay -Qs nvidia
local/egl-wayland 1:1.1.9+2+gdaab854-1
    EGLStream-based Wayland external platform
local/lib32-libvdpau 1.4-1
    Nvidia VDPAU library
local/libnvidia-container 1.5.1-1
    NVIDIA container runtime library
local/libnvidia-container-tools 1.5.1-1
    NVIDIA container runtime library
local/libvdpau 1.4-1
    Nvidia VDPAU library
local/nvidia-container-runtime 3.5.0-2
    NVIDIA opencontainer runtime fork to expose GPU devices to containers.
local/nvidia-container-toolkit 1.5.1-1
    NVIDIA container runtime toolkit
local/nvidia-installer-db 2.5.1-2
    Database for the script to setup nvidia drivers in EndeavourOS
local/nvidia-installer-dkms 3.3.11-1
    Script to setup nvidia drivers (dkms version) in EndeavourOS
local/nvidia-utils 495.44-3
    NVIDIA drivers utilities
local/xf86-video-nouveau 1.0.17-2 (xorg-drivers)

Try nvidia-installer-dkms -t

This is test mode and see what it shows. Post the output.

(base) [tigran@asus ~]$ nvidia-installer-dkms -t
2021-11-16 17:13:47 [INFO]: EndeavourOS Nvidia Installer v3.3.11
2021-11-16 17:13:47 [INFO]: All logs will be stored in /tmp/nvidia-installer.log
2021-11-16 17:13:47 [INFO]: Running the installer in testing mode...
2021-11-16 17:13:47 [INFO]: Updating Nvidia graphics cards database...
2021-11-16 17:13:47 [INFO]: nvidia-installer-update-db --tmpdb
2021-11-16 17:13:55 [INFO]: Installing nvidia-dkms driver...
2021-11-16 17:13:55 [INFO]: Removing conflicting packages...
2021-11-16 17:13:55 [INFO]: pacman -Rs --noconfirm --noprogressbar --nodeps xf86-video-nouveau
2021-11-16 17:13:55 [INFO]: Downloading and installing driver packages, please wait as this may take a few minut
es...
2021-11-16 17:13:55 [INFO]: pacman -Sqy --noconfirm --noprogressbar nvidia-dkms libvdpau nvidia-settings lib32-n
vidia-utils lib32-libvdpau
2021-11-16 17:13:55 [INFO]: Patching kernel line with nvidia-drm.modeset=1
2021-11-16 17:13:55 [INFO]: nvidia-installer-kernel-para
2021-11-16 17:13:55 [INFO]: Creating /etc/X11/xorg.conf.d/20-nvidia.conf file...
2021-11-16 17:13:55 [INFO]: Installation finished. Nothing has been modified as testing mode was ON.

Doesn’t show any errors. So what happens when you run sudo nvidia-installer-dkms

(base) [tigran@asus ~]$ sudo nvidia-installer-dkms
[sudo] password for tigran:
INFO:root:Removing /tmp/nvidia-installer_r.log file...
INFO:root:EndeavourOS Nvidia Installer v3.3.11
2021-11-16 17:15:27 [INFO]: EndeavourOS Nvidia Installer v3.3.11
INFO:root:All logs will be stored in /tmp/nvidia-installer_r.log
2021-11-16 17:15:27 [INFO]: All logs will be stored in /tmp/nvidia-installer_r.log
INFO:root:Updating Nvidia graphics cards database...
2021-11-16 17:15:27 [INFO]: Updating Nvidia graphics cards database...
Database is already up-to-date.
INFO:root:Installing nvidia-dkms driver...
2021-11-16 17:15:40 [INFO]: Installing nvidia-dkms driver...
INFO:root:Removing conflicting packages...
2021-11-16 17:15:40 [INFO]: Removing conflicting packages...
INFO:root:Downloading and installing driver packages, please wait as this may take a few minutes...
2021-11-16 17:15:41 [INFO]: Downloading and installing driver packages, please wait as this may take a few minut
es...                                                                                                            
INFO:root:Unpatching /usr/share/applications/nvidia-settings.desktop...
2021-11-16 17:16:31 [INFO]: Unpatching /usr/share/applications/nvidia-settings.desktop...
INFO:root:Patching kernel line with nvidia-drm.modeset=1
2021-11-16 17:16:31 [INFO]: Patching kernel line with nvidia-drm.modeset=1
INFO:root:Creating /etc/X11/xorg.conf.d/20-nvidia.conf file...
2021-11-16 17:16:31 [INFO]: Creating /etc/X11/xorg.conf.d/20-nvidia.conf file...
INFO:root:Installation finished. You need to reboot now!
2021-11-16 17:16:31 [INFO]: Installation finished. You need to reboot now!

reboot and see

it won’t reboot lol. I have done this couple of times already

What does it do when you try to reboot?