Early Loading of NVIDIA Modules for Dracut

For my Nvidia driver https://aur.archlinux.org/packages/nvidia-470xx-dkms the pinned message recommends this https://github.com/korvahannu/arch-nvidia-drivers-installation-guide guide.

Followed every instruction just one question https://github.com/korvahannu/arch-nvidia-drivers-installation-guide?tab=readme-ov-file#add-early-loading-of-nvidia-modules

For EOS, what to do for Dracut ?
I guess I need to create a .conf file in /etc/dracut.conf.d/ directory. But what should be the contents inside the file?

I’m not sure about all that, to be honest. I used nvidia-inst to install drivers. It worked quickly and without issues.

1 Like

For dracut all you have to do is add a file under /etc/dracut.conf.d with something like the following in it.
force_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm "
Then you have to generate you initramfs, but I think the EndeavourOS installer already does that for you?

1 Like

ThankYou I’ll test.

Then you have to generate you initramfs, but I think the EndeavourOS installer already does that for you?

As mentioned in the guide, I’ll do that anyway ;D
dracut-rebuild

How do I install nvidia-inst ? Seems not available in official or AUR repo.

If you have installed latest release, it should be installed already.

Yes I’m on latest but most likely not upgraded from latest EOS iso.

Then you should be able to use it though terminal.

I’m not certain what you mean ā€œnot upgradedā€. EOS is rolling-release (because Arch) so system should be ā€œupgradedā€ if you have installed it.

nvidia-inst -h
bash: nvidia-inst: command not found

package not installed.

Is it provided from EOS repo? I remember I used to have this but probably I removed at some point (~2 years ago)

Installed it again

sudo pacman -S nvidia-inst