You are not logged in.

#1 2024-10-11 20:08:23

weiszruesselnasenbaerchen
Member
Registered: 2024-10-11
Posts: 2

[SOLVED] System gets stuck on boot after installing NVIDIA drivers

Greetings,

I have recently updated my system and after rebooting it would always get stuck without even reaching the TTY.
After trying to fix it myself for a while via arch-chroot I found myself at a loss and decided to go for a full reinstall instead.

I can install Arch-Linux itself just fine, however after trying to install the NVIDIA drivers, I am yet again getting stuck during the boot-process.

My Specs are the following:

CPU: Intel Core i5 6600K @ 3.9 GHz
GPU: NVIDIA GeForce GTX 970
RAM: 16 GB

I have installed the following packages:

linux-zen
linux-zen-headers
linux-firmware
intel-ucode
nvidia-dkms
nvidia-settings
nvidia-utils
lib32-nvidia-utils
libglvnd
lib32-libglvnd
opencl-nvidia
lib32-opencl-nvidia

In "/etc/default/grub" I have set

GRUB_CMDLINE_LINUX_DEFAULT="loglevel=7 nvidia-drm.modeset=1"

In "/etc/mkinitcpio.conf" I have added the following Modules:

MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)

I have removed "kms" from the "HOOKS" inside of "/etc/mkinitcpio.conf" and I have also remade the "grub.cfg" and updated the NVIDIA module in initcpio:

grub-mkconfig -o /boot/grub/grub.cfg
mkinitcpio -P

Because of the following citation from Arch Linux Wiki NVIDIA Section 1.2
"Starting from nvidia-utils 560.35.03-5, DRM defaults to enabled.[1] For older drivers, set the modeset=1 kernel module parameter for the nvidia_drm module."
I have also tested it without the "nvidia-drn.modeset=1" option. However the results were the same.

With "loglevel=7" I notice that upon booting I always get stuck at the same spot with the last line being the following :

[2.823183] [drm] Initialized nvidia-drm 0.0.0 for 0000:01:00.0 on minor 0
_

Or with "loglevel=3" I only see the following instead:

::running early hook [udev]
Starting systemd-udevd version 256.7-1-arch
_

Does anybody have any Ideas what I can try to fix this mess or have any pointers where I could look to maybe get closer to a solution?
Thank you very kindly in advance!

Last edited by weiszruesselnasenbaerchen (2024-10-12 09:29:42)

Offline

#2 2024-10-11 21:18:58

jonno2002
Member
Registered: 2016-11-21
Posts: 706

Re: [SOLVED] System gets stuck on boot after installing NVIDIA drivers

you could try adding the kms hook to see if having the nvidia modules run early fixes the issue but i doubt it....
there could be an actual hardware fault with your card, try another OS to see if it works there, failing that you can look for "mods 455.iso" which is an nvidia diagnostic tool that runs off a usb stick, it boots then runs a memory test on the card displaying a PASS or FAIL then shuts down, you can read the log saved to the stick for details too.
ive repaired a few nvidia cards that do exactly what your describing, they work fine on the nouveau driver but as soon as you try and boot with the nivida module it just fails.

Offline

#3 2024-10-11 21:26:27

tekstryder
Member
Registered: 2013-02-14
Posts: 177

Re: [SOLVED] System gets stuck on boot after installing NVIDIA drivers

weiszruesselnasenbaerchen wrote:
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=7 nvidia-drm.modeset=1"

Additionally append nvidia_drm.fbdev=0 to the kernel parameters.


weiszruesselnasenbaerchen wrote:

I have removed "kms" from the "HOOKS" inside of "/etc/mkinitcpio.conf"

Add the kms hook back and rebuild any relevant kernel's initfs.

See also:
https://gitlab.archlinux.org/archlinux/ … /issues/16

Last edited by tekstryder (2024-10-11 21:28:07)

Offline

#4 2024-10-12 09:31:51

weiszruesselnasenbaerchen
Member
Registered: 2024-10-11
Posts: 2

Re: [SOLVED] System gets stuck on boot after installing NVIDIA drivers

tekstryder wrote:
weiszruesselnasenbaerchen wrote:
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=7 nvidia-drm.modeset=1"

Additionally append nvidia_drm.fbdev=0 to the kernel parameters.


weiszruesselnasenbaerchen wrote:

I have removed "kms" from the "HOOKS" inside of "/etc/mkinitcpio.conf"

Add the kms hook back and rebuild any relevant kernel's initfs.

See also:
https://gitlab.archlinux.org/archlinux/ … /issues/16

This solved my problem and let me reach the TTY again. Thank you very much!

Offline

Board footer

Powered by FluxBB