I am trying to install NVIDIA Drivers and everytime i boot, it give me the error: NVIDIA KERNEL MODULE MISSING. FALLING BACK TO NOUVEAU.
steps i made:
sudo rpm-ostree install akmod-nvidia xorg-x11-drv-nvidia
sudo rpm-ostree install akmod-nvidia xorg-x11-drv-nvidia-cuda
sudo rpm-ostree kargs --append=rd.driver.blacklist=nouveau --append=modprobe.blacklist=nouveau --append=nvidia-drm.modeset=1
as per rpmfusion wiki.
When i run akmods --force, this happens:
Checking kmods exist for 6.15.5-200.fc42.x86_64 [ OK ]
Building and installing nvidia-kmod [FAILED]
Could not install newly built RPMs. You can find them and the logfile in:
/var/cache/akmods/nvidia/575.64.03-2-for-6.15.5-200.fc42.x86_64.failed.log
[FAILED]
Hello! Thanks for the support! Unfortunately, i ran the two commands that you send but it didn’t work yet. The part of “Nvidia kernel module missing…” was solved, but now my PC is stucked at 1024x768 and when i run nvidia-smi, this happens:
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
akmods --force output:
Checking kmods exist for 6.15.5-200.fc42.x86_64 [ OK ]
Building and installing nvidia-kmod [FAILED]
Could not install newly built RPMs. You can find them and the logfile in:
/var/cache/akmods/nvidia/575.64.03-2-for-6.15.5-200.fc42.x86_64.failed.log
[FAILED]
If you already have the driver installed and want to rebuild it the suitable command would be sudo akmods --force --rebuild which then will remove the older copy and build a completely new copy of the driver. This also is a way to ensure that the new module is properly signed.
Note that I use Workstation and not Kinoite so potentially that command will not work. The main part of the system for Kinoite is read-only so certain updates do not work.
I ran this command and it gave the same error. I’m almost giving up, since i already tried to solve this for many hours and didn’t have any progress. I will wait some hours to see if someone here has a solution. If don’t, i will uninstall and back to Workstation
Yes. I ran both
sudo rpm-ostree install akmod-nvidia xorg-x11-drv-nvidia
sudo rpm-ostree install akmod-nvidia xorg-x11-drv-nvidia-cuda
and the kargs command and restart my PC.
I will try here. Will back if to let you know if it worked
I know just pointed out that I had multiple times issues when I install both cuda and non cuda and removing non cuda with rebuild fixed things and new large lines with nova core
I have been using Kinoite about 3 years now with nvidia
I can not send my failed.log here, so i will highlight some things that i consider important enough. /usr/src/kernels/6.15.5-200.fc42.x86_64/scripts/Makefile.build:254: Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel
/build/nvidia/src/common/inc/nv-linux.h:76:10: fatal error: drm/drmP.h: No such file or directory
/usr/sbin/akmods: line 362: yum: command not found akmods: Could not install newly built RPMs.
Already tried that. When a solution doesn’t work, i always rollback to the last build and try again another method. You think that these logs that i found here have something that can help us to solve this problem?