You are not logged in.
I'm following the instructions on the wiki here:
https://wiki.archlinux.org/index.php/NV … de_setting
I have nvidia and nvidia-utils already installed. I have already added the nvidia-drm.modeset=1 kernel parameter and have added nvidia, nvidia_modeset, nvidia_uvm and nvidia_drm MODULES section of the initramfs.
The problem is when I run mkinitcpio -P I see four errors "module not found" for nvidia, nvidia_modeset, nvidia_uvm, and nvidia_drm.
Did I miss a step somewhere?
Last edited by nhasian (2017-05-10 22:19:26)
MSI MEG Z390 ACE Motherboard, Intel Core i7-9700K, MSI GeForce RTX 2080
Offline
Installing the modules? Rebooting after a kernel upgrade?
Offline
I updated my system with pacman -Syu and rebooting before making any changes. Then I started following the wiki article about manually enabling the kernel mode setting for nvidia. Do I need to do something specific to install the modules that are not found?
MSI MEG Z390 ACE Motherboard, Intel Core i7-9700K, MSI GeForce RTX 2080
Offline
Post complete output of mkinitcpio -P
Offline
My /etc/mkinitcpio.conf contains the line MODULES="nvidia nvidia_modeset nvidia_uvm nvidia_drm"
the output of mkinitcpio -P is:
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
-> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
==> Starting build: 4.9.27-1-lts
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [resume]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> ERROR: module not found: `nvidia'
==> ERROR: module not found: `nvidia_modeset'
==> ERROR: module not found: `nvidia_uvm'
==> ERROR: module not found: `nvidia_drm'
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
-> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
==> Starting build: 4.9.27-1-lts
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [resume]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> ERROR: module not found: `nvidia'
==> ERROR: module not found: `nvidia_modeset'
==> ERROR: module not found: `nvidia_uvm'
==> ERROR: module not found: `nvidia_drm'
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 4.10.13-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [resume]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 4.10.13-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [resume]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: aic94xx
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successfulMSI MEG Z390 ACE Motherboard, Intel Core i7-9700K, MSI GeForce RTX 2080
Offline
So it appears you haven't installed the nvidia modules for the -lts kernel.
Offline
Thank you for pointing that out. upon closer inspection it seems that the missing modules were only for the the -lts kernel. I did not realize I also had to install nvidia-lts in addition to the nvidia package. After installing nvidia-lts and running mkinitcpio -P I no longer received any errors.
So it appears you haven't installed the nvidia modules for the -lts kernel.
MSI MEG Z390 ACE Motherboard, Intel Core i7-9700K, MSI GeForce RTX 2080
Offline