You are not logged in.

#1 2017-05-10 17:27:13

nhasian
Member
From: AZ, USA
Registered: 2012-12-13
Posts: 31

[Solved] Trying to do DRM kernel mode setting for Nvidia

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

#2 2017-05-10 17:33:26

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [Solved] Trying to do DRM kernel mode setting for Nvidia

Installing the modules? Rebooting after a kernel upgrade?

Online

#3 2017-05-10 17:44:06

nhasian
Member
From: AZ, USA
Registered: 2012-12-13
Posts: 31

Re: [Solved] Trying to do DRM kernel mode setting for Nvidia

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

#4 2017-05-10 17:53:04

loqs
Member
Registered: 2014-03-06
Posts: 18,961

Re: [Solved] Trying to do DRM kernel mode setting for Nvidia

Post complete output of mkinitcpio -P

Offline

#5 2017-05-10 19:03:41

nhasian
Member
From: AZ, USA
Registered: 2012-12-13
Posts: 31

Re: [Solved] Trying to do DRM kernel mode setting for Nvidia

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 successful

MSI MEG Z390 ACE Motherboard, Intel Core i7-9700K, MSI GeForce RTX 2080

Offline

#6 2017-05-10 19:10:42

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [Solved] Trying to do DRM kernel mode setting for Nvidia

So it appears you haven't installed the nvidia modules for the -lts kernel.

Online

#7 2017-05-10 19:55:59

nhasian
Member
From: AZ, USA
Registered: 2012-12-13
Posts: 31

Re: [Solved] Trying to do DRM kernel mode setting for Nvidia

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.

Scimmia wrote:

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

Board footer

Powered by FluxBB