You are not logged in.
Hi,
I have finally made the move over to Arch (having used EndeavourOS for quite a bit and before that Garuda and Manjaro).
Installation and everything went smooth; however, I am unable to get the Nvidia drivers to work with the Zen Kernel. The regular Linux Kernel works nice.
I follow the instructions here in the Wiki to install the drivers. Basically, installing the linux-zen-headers and the nvidia-dkms and nvidia-utils packages. I also installed the dkms package and lib32-nvidia. Finally I recreated initframfs using using mkinitcpio -P and then rebooted.
Here is the output of inxi -G:
Graphics:
Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: N/A
Device-2: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
Display: x11 server: X.org v: 1.21.1.9 with: Xwayland v: 23.2.2 driver: X:
loaded: modesetting gpu: N/A resolution: 1920x1080~60Hz
API: EGL v: 1.5 drivers: kms_swrast,swrast
platforms: gbm,x11,surfaceless,device
API: OpenGL v: 4.5 vendor: mesa v: 23.2.1-arch1.2 renderer: llvmpipe
(LLVM 16.0.6 256 bits)I have tried removing the kms HOOK in in /etc/mkinitcpio.conf, but that does not change anything.. so I am out of ideas for now... it must be something really stupid, but I have no idea, what it could be.
Hope for some help here... cheers,
Ben
Last edited by BenjB83 (2023-11-14 19:45:52)
Offline
Did it actually build the module when you installed them, or was there an error of some kind?
Offline
nvidia-dkms and nvidia-utils and zen-linux-headers installed just fine and without an error using pacman. Recreating initramfs completed successfully as well… it showed some missing firmware warnings, but I have gotten them before as well, and they shouldn't stop the drivers from working. It won't let me install the nvidia-535 driver and nvida-535-utils from the AUR because they conflict with the nvidia-utils installed with nvidia-dkms.
Last edited by BenjB83 (2023-11-14 19:08:16)
Offline
The packages can install fine and the module still may not build. Might want to read up on dkms.
Offline
Ok, yeah.. there is an error:
bbuske@buske-it:~$ sudo dkms autoinstall
Error! Your kernel headers for kernel 6.6.1-zen1-1-zen cannot be found at /usr/lib/modules/6.6.1-zen1-1-zen/build or /usr/lib/modules/6.6.1-zen1-1-zen/source.
Please install the linux-headers-6.6.1-zen1-1-zen package or use the --kernelsourcedir option to tell DKMS where it's located.
dkms autoinstall on 6.6.1-zen1-1-zen/x86_64 failed for nvidia(1)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.But those are installed already...
bbuske@buske-it:~$ sudo pacman -S linux-zen
warning: linux-zen-6.6.1.zen1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) linux-zen-6.6.1.zen1-1
Total Installed Size: 133.17 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] Offline
linux-zen is a separate package to linux-zen-headers.
Offline
I know.. they should be both installed.. I have removed everything Nvidia related now and gonna reinstall it one by one again.. just to make sure I didn't miss anything.. also installed some of the missing firmaware..
I will report back shortly. Got a reboot coming up.
Offline
Ok, removing everything and installing it again worked fine.
Thanks for the help!
Cheers
Offline