I used sudo dnf install akmod-nvidia and xorg-x11-drv-nvidia-cuda to install the drivers but they stll wotn work! ive even waited for 5 minutes for the initram to build but it still gives the same error every time i boot! what should i do?
Sudo dnf list */nvidia
Última comprobación de caducidad de metadatos hecha hace 0:11:17, el Thu 09 May 2024 08:02:15 AM EDT.
Paquetes instalados
kernel-devel.x86_64 6.8.8-300.fc40
kernel-modules-core.x86_64 6.8.5-301.fc40
kernel-modules-core.x86_64 6.8.8-300.fc40
kernel-xanmod-edge-modules.x86_64 6.0.8-xm1.0.fc38 @copr:copr.fedorainfracloud.org:rmnscnce:kernel-xanmod
linux-firmware.noarch 20240410-1.fc40
nvidia-gpu-firmware.noarch 20240410-1.fc40
xorg-x11-drv-nvidia.x86_64 3:550.78-1.fc40 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64 3:550.78-1.fc40 rpmfusion-nonfree-nvidia-driver
Paquetes disponibles
xorg-x11-drv-nvidia-340xx.x86_64 1:340.108-15.fc40 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-390xx.x86_64 3:390.157-4.fc40 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-470xx.x86_64 3:470.239.06-1.fc40 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-470xx.x86_64 3:470.239.06-1.fc40 rpmfusion-nonfree-updates
Is there something i am missing? What can i do? I got nobara linux before this and the drivers worked, and i had fedora on this machine before with the drivers working.
(I have a Nvidia rtx 3060 mobile and an intel core i9 11thgen, My laptop is an asus zypherus m16)
Ive also tried to use sudo akmod --force sudo dracut --force
It just gave me this
sudo akmods --force
sudo dracut --force
Checking kmods exist for 6.0.8-xm1.0.fc38.x86_64 [ OK ]
Files needed for building modules against kernel
6.0.8-xm1.0.fc38.x86_64 could not be found as the following
directories are missing:
/usr/src/kernels/6.0.8-xm1.0.fc38.x86_64/
/lib/modules/6.0.8-xm1.0.fc38.x86_64/build/Is the correct k[FALLÓ]evel package installed?
This isn’t a valid command, and doesn’t match the text that follows. You may find Linux Command useful when you need to use command-line tools.
Did you manually copy text into your post? You seem to be missing several nvidia packages that should have been installed from rpmfusion.
Please try running dnf list --installed *nvidia* (sudo is not needed) in a terminal.
Note: Please copy/paste text from the terminal into the forum text entry box as pre-formatted text using the </> button from the line at the top of the text-entry box.
Unless you need that weird 6.0.8-xm1.0.fc38.x86_64 kernel, whatever that is, if you do get booted to the 6.8.8 kernel and get the nvidia working, I’d also suggest you dnf remove that old kernel from fc38 so it doesn’t accidentally get booted later.
I didn’t ask you to remove it yet, I simply asked you to shutdown the computer, and from the Grub Menu choose the 6.8.8 kernel. So you can boot into the right kernel.
We can remove the other kernel later. That’s not big deal.
Here’s the thing, I’m not sure why you had a different kernel, but if you don’t need it you can remove it. I think from the menu the only kernel you will have is the 6.8.8 so until the next kernel release you should be ok with this.
Right now this is the current kernel. Please make sure if everything is working. Post back if you have any issues.
Hello, we have to sign module with mokutil ourselves for secure boot, this link has worked perfectly for me setting up Nvidia under secure boot. I think it will help you as well: