I am at the step where it says to reboot to runlevel3 and launch the nvidia driver .run file. However, it throws me an error in the installation process: Unable to load the ‘nvidia-drm’ kernel module. The problem seems to relate to having secure boot on in the UEFI, but I turned this of and this problem still comes up.
What can I do to fix this issue?
I am trying to install this on a laptop (Sager N850HP6) with the following specs:
Nvidia’s DKMS builds require the GCC version installed to match the version the kernel was compiled with. Any mismatch will cause DKMS to fail.
If it successfully compiles, but cannot load the DKMS module, it’s cause your kernel is too new for the driver. You will need the latest beta driver, 410.xx, in order to use the driver on the latest kernel.
Thanks for the response. It says the Fedora kernel is 4.19. I tried installing the latest beta driver 415.13 but i still get the same error. Before that I tried installing 410.78.
I installed the 'NVIDIA Linux Graphics Driver from rpmfusion.org via the software application. This also installed Graphics Drivers Control Panel. However, I can’t open this control panel, it doesn’t do anything when I press Launch. Did It install correctly? How can I find out if it installed anything for the graphics card?
So I started over and reinstalled Fedora 29 on my Samsung 1TB NVMe drive, and ran dnf update. Before running dnf update, upon boot I only saw Fedora (4.18.16-300 …) next to Fedora (0-rescue- …) and Windows Boot Manager (separate ssd). Now I additionally see Fedora (4.19.2-300 …) next to the other two.
Checking lspci in terminal I see I have an Intel HD 630 next to the Nvidia 1060. According to the guide I posted earlier this means my laptop uses Nvidia Optimus technology and that I should use another guide if I cant turn the Intel chip off and I don’t have an option to turn it off in the laptop BIOS. This guide relates to the ‘Bumblebee project’ (https://docs.fedoraproject.org/en-US/quick-docs/bumblebee/index.html).
Should I use this guide to install Nvidia drivers? Or should I first use a different kernel?
Optimus has notable issues with Linux. If everything you’re trying isn’t working, you need to use the negativio7 repository and build the driver from scratch, with dnf groupinstall "Development Tools" "Development Libraries" as the first step before installing from the repo, because you’re LITERALLY building the driver from scratch with this repo.
As I suspected, GCC got updated in a recent pushed update, and even a minor version change can cause DKMS to fail to build. (Yup, even going from 8.2.1-4 to 8.2.1-5 can trigger a DKMS build failure if you stuck to an old kernel)
Your only recourse is to update the kernel, cause the GCC versions have to match EXACTLY.
If all else fails, downgrade your kernel and GCC to the one Fedora 29 launched with. (I hope it’s 4.18.x, if not you are SoL until Nvidia fixes it with a new driver)
I switched to Manjaro and after two days got it to work with Bumblebee, but the in-game performance (tested Dota 2 on Steam) is much lower than I experience on Windows 10. Might check out PRIME as an alternative to Bumblebee.
I was able to install the proprietary 410.73 nvidia driver on Manjaro on the 4.19 kernel, without the issues I get on Fedora. Alright, there is no dynamic switching etc, but this laptop is basically my desktop computer so I don’t mind that compromise.
Performance is also great. The framerate in Dota 2 is much better, over a 100 again at 1440p, while it was around 48 with Bumblebee, and gsync works too. I only added Lightdm, otherwise I was looking at a black screen when I rebooted after installing the proprietary driver.
In the near future I hope to set up a vm with hardware passthrough to play games not compatible with linux yet.