Nvidia Game Driver Won 39;t Install

0 views
Skip to first unread message

Rode Neagle

unread,
Aug 5, 2024, 4:04:23 AM8/5/24
to noufirnoso
Youhave the correct Nvidia 440 proprietary graphics packages from the default Ubuntu 20.04 repositories installed, but the integrated Intel graphics processor is being used instead of Nvidia graphics. Disable Secure Boot in BIOS/UEFI.

I also came across this problem with ubuntu 20.04 and nvidia driver installation. I could not do a secure boot disable as the system would not allow it. However, another solution worked for me. Given below are the steps:


I had this problem as well and tried several installations with apt-get of different nvidia packages without success. Finally I did go into the drivers management of Ubuntu and did an install from there. Whatever Ubuntu is doing there different, it worked for me afterwards.


Side note: After Kernel upgrade the system gets broken again, because the triggers of drivers/modules do not work well. So I first have to chose a different driver and doing its install and select the wished package again, very annoying.


I had the same Graphics and issues with install via Software Updater.Solution was fresh new install and thick box " Instal third party software".Now I am running through Mesa Intel HD Graphics 630 (KBL GT2) driver.


After that, you don't need to install any other graphics driver.For addition after successful install, you can change your mode to "Powersafe " for better energy management. You should also ensure, your Bios setup has dislable " Secure boot ". Hope it'll works.


Here I took a 39 second screen recording of the problem =dybNZ7_j1n4 . I will say this when I was installing 22.04 I decided to check the box that said "look for and install 3rd party software", now I never click that box but this time I decided to, just for your information. So did you follow the youtube link, notice how it says "no proprietary drivers are in use"? Well if I try to click on any of the buttons nothing happens, what I mean is, when I click on the orange button nothing happens, and when I click on the other un-highlighted buttons nothing happens, so when I click on "nvidia-driver-525(proprietary,tested)" nothing happens, seriously when I click on any of those buttons to change the driver nothing happens at all, is this a bug?


I'm getting screen tearing, I had screen tearing on 20.04 but what fixed it was switching to the nvidia proprietary driver. And here it's not letting me do anything. I mean it when I say I can click on all those buttons as much as I want, but nothing happens.


Edit: So I just simply did a clean install of Ubuntu 22.04 and this time around I chose not to click the box that says "install 3rd party software" and this fixed my problem, I was able to click and install nvidia driver 525 (proprietary,tested). I provided a screenshot below. So yeah before I couldn't click on anything or change the driver, but now I can after doing a clean install and not choosing the box that says install 3rd party software. I had a hunch that that's what was causing the issue.


This problem was solved by reinstalling Ubuntu, not selecting the Install 3rd party software option and then manually installing the NVIDIA driver metapackage from nvidia-driver-525 (proprietary,tested) from Software & Updates -> Additional Drivers tab as shown in the below screenshot.


The screenshot in your question doesn't look right to me because Ubuntu is still using the open source Nouveau graphics drivers instead of the proprietary Nvidia graphics drivers. To install the proprietary Nvidia graphics drivers you must first unintall the existing proprietary Nvidia graphics drivers as follows.


You can install these drivers manually. Anyway, I've recently upgraded to 22.04 and during the upgrade you get a warning message informing that some 3rd party libraries will be disabled. You must activate them by configuring the /etc/apt/sources.list and other source files located in this folder.


First, welcome to Ask Ubuntu, and to Ubuntu in general. A lot of times you'll receive or find answers out there that you won't understand. That's okay! A ton of stuff is already documented, so if you see something you don't understand, just copy the relevant terms and search for an explanation. I'll try to offer some of that.


It is not easy to figure out what you have done. Which version of Fedora are you using? Is your system a laptop or desktop, and if a laptop, which technology to switch between integrated and discrete graphics does it use? It would be useful to mention which Nvidia GPU you have.


If you install Fedora 38 on a machine with Nvidia graphics you should get nouveau without needing to download drivers, and when you install the Nvidia drivers from the rpmfusion-nonfree site it will disable nouveau. To install non-free Nvidia drivers, ollow the current instructions from the rpmfusion site.


With that info it seems a good idea to try booting from the live install media, then while booted that way do more troubleshooting. The repeated freezes are symptoms of other problems that need to be worked out as well.


The failed message above is immaterial for 99+% of nvidia users. The nvidia-powerd service only applies to a limited set of nvidia GPUs in specific laptop configs and otherwise is just an alert for the majority of us. Ignore it.

If you do not want that message to appear during boot then a simple sudo systemctl disable nvidia-powerd.service will make it disappear.


There are 2 options in the kernel command line that may or may not have an affect. They work for me and for some others. It seems recent versions of the packages from rpmfusion have dropped these options from the command line with nvidia drivers but some seem to need them (singly or together)

nvidia-drm.modeset=1 initcall_blacklist=simpledrm_platform_driver_init


If you wish to generate a new key and start over then use

sudo /usr/sbin/kmodgenca -a -f

Once that is done then repeat the import step for the new key with

sudo mokutil --import /etc/pki/akmods/certs/public_key.der and use a simple password that will only be needed when rebooting and actually importing the key into the bios.

The reboot process must follow these steps (again from the README)


NOTE the WARNING above. If the keyboard is not a QWERTY keyboard as is used standard in the us and your keyboard language is different when the OS is booted then this step in the bios may not provide a proper password for the import.


Finally we should be able to fix the driver issue with

sudo dnf remove '*nvidia*' --exclude nvidia-gpu-firmware

followed by

sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda

then wait at least 5 minutes.

check that the drivers are all installed with dnf list installed '*nvidia*' and verify the kmod-nvidia package is installed with the kernel version in the package name.


What is the version of NVidia driver that you are trying to install? Is it version: 23.21.13.9065, A14? If yes could you please try installing the older version 23.21.13.8816, A13 & check if that gets installed?


I found an obscure post buried down the bottom of one internet forum which indicated that the Windows version must be higher than what I had installed. The version I had installed was something like version 10. (ironic I know as we are talking about Windows 10).


I am having this same issue right now. I thought my Windows was up to date but my Nvidia icon disappeared. I did a factory reset then updated everything installed Nvidia. It stayed on my computer for two days and now it disappeared. I am now regretting switching to Windows. For this amount of money I have spend I could gotten a Macbook Pro with minimal issues.


I tried resolving that problem by using the ubuntu Software & Updates app to revert to version 450 (no help), then back to version 460 (no help), then to the nouveau driver and back to version 460 (still no help). Then did some googling and based on another thread on this site tried:


I next tried adding nvidia-drm.modeset=1 on the end of the GRUB_CMDLINE_LINUX_DEFAULT line in /etc/default/grub, followed by sudo update-grub. But update-grub complains that nvidia-drm.modeset=1 is not found when sourcing /etc/default/grub. Then I tried manually executing sudo nvidia-drm, and that command was not found.


I tried purging Nvidia, rebooting, and installing nvidia-driver-360, to no avail. I then tried the 2nd to last version of Ubuntu, and I was able to login and get to the GUI, but it froze instantly after loading the GUI.


Yep, I just noticed I tried the wrong version, blind me. I got confused while booting around different versions trying to make it work. So basically, my PC is useless as workstation with Nvidia card for the time being.


Is there any plans to make the driver work with the current kernels? Or does it work if re-installed locally some other way, like the scripted install? Or are they the same binaries behind all of the different install ways?


Is this somehow a case of BIOS or some chip having different idea of PCI bus memory addressing vs. what the driver sees? Anyhow, it has worked for rather long time, couple of years until it broke like this.


Having trouble downloading graphics drivers with Nvidia GeForce Experience or its other tools? Have you tried installing the downloaded drivers only to find that they do not follow your directions? If so, you may not be able to fully utilize the powerful graphics card you've purchased for hundreds of dollars from Nvidia. Why does this happen?


There are two primary reasons why Nvidia drivers do not download: the automatic download setting is disabled, or there is a problem with the Nvidia graphics software itself. Here are the steps you need to follow to fix it.


Close the Nvidia client and relaunch it after that. Then, select the Drivers tab on the client's home screen, and you'll find the latest update available for installation. If you don't see any, click the Check For Updates box, which will load the latest update. If that doesn't help, move on to the next step.

3a8082e126
Reply all
Reply to author
Forward
0 new messages