You are not logged in.
Pages: 1
I would like to install linux-zen
Wiki says that I should use nvidia-dkms driver.
Custom kernel
And next section is about DRM kernel mode setting.
I don't understand if I have to enable DRM, or I can but don't have to.
And
If I add nvidia-drm.modeset=1 to kernel parameters then I
can add nvidia, nvidia_modeset, nvidia_uvm and nvidia_drm to the initramfs according to Mkinitcpio#MODULES.
But should I remove
nvidia-drm.modeset=1from kernel parameters or it is nvidia-drm.modeset=1 + modules?
If I would like to have two kernels - linux and linux-zen
Will this configuration work for both kernels?
Do I have to have nvidia and nvidia-dkms or just dkms version?
In wiki there is an advice to create pacman hook to run mkinitcpio If modules are added to the initramfs.
Do I need hook for linux-zen and linux or just for ZEN?
Last edited by 860lacov (2021-02-08 23:09:14)
Offline
The entire DRM section is completely separate from concerns for custom kernels, you can do any of these things, if you didn't notice anything wrong or incorrect so far there's not much need to.
As for setting up nvidia-dkms you can use just nvidia-dkms instead of nvidia for all kernels you have installed you should just make sure you have the appropriate linux-headers package installed as well.
Online
Thank you and tell me please how should I knew this. (I don't want to attack you. I just don't know how to say it in a better way
)
I started to read Nvidia installation page on wiki. At the beginning there is information for standard linux and linux-lts kernels
I have linux kernel and I want to install ZEN now.
I was sure that I should install nvidia package, and then move to wiki section connected with custom kernel.
Offline
Oh
And I checked with: mkinitcpio -v
At the end of an output there is:
==> ERROR: module not found: nvidia' ==> ERROR: module not found: nvidia_modeset’
adding module: nvidia-uvm (/lib/modules/5.9.6-arch1-1/kernel/drivers/video/nvidia-uvm.ko.xz)
==> ERROR: module not found: nvidia' ==> ERROR: module not found: nvidia_drm’I assume that i need to specify the path to the files but I don't know where are those files.
Offline
I assume that i need to specify the path to the files but I don't know where are those files.
Why do you assume that? Have you installed nvidia-dkms to the header package for your kernel to generate the module?
Last edited by loqs (2020-11-09 22:10:19)
Offline
860lacov wrote:I assume that i need to specify the path to the files but I don't know where are those files.
Why do you assume that? Have you installed nvidia-dkms to the header package for your kernel to generate the module?
It was my guess.
I didn't install headers for ZEN then.
They are now and error is the same.
After installation of nvidia-dkms I uninstalled nvidia.
Last edited by 860lacov (2020-11-09 22:22:37)
Offline
When you installed linux-zen-headers did the DKMS run and generate nvidia module for the zen kernel?
You can check if the module is present for the kernel using:
modinfo nvidia-uvmIf not see Dynamic_Kernel_Module_Support#Rebuild_modules.
Offline
Pages: 1