# Nvidia driver update 9.0 -\> 9.1

**URL:** <https://forums.rockylinux.org/t/nvidia-driver-update-9-0-9-1/8051>\
**Category:** Rocky Linux Help & Support\
**Created:** [November 29, 2022, 4:53am UTC](https://forums.rockylinux.org/t/nvidia-driver-update-9-0-9-1/8051 "2022-11-29T04:53:11Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![tortuga](https://avatars.discourse-cdn.com/v4/letter/t/c4cdca/32.png) [@tortuga](https://forums.rockylinux.org/u/tortuga)\
**Post date:** [November 29, 2022, 4:53am UTC](https://forums.rockylinux.org/t/nvidia-driver-update-9-0-9-1/8051/1 "2022-11-29T04:53:11Z")

</div>

My machine failed to upgrade the nvidia driver correctly for the 9.1 kernel from 9.0

I am using 470 series (my card is deprecated on the newer drivers) - this worked perfectly in 9.0

When i rebooted into 9.1 - stated that it had to revert to nouveau as nvidia module could not load -

I checked akmod and nvidia drivers are installed.

I rebooted into 9.0 kernel and it still worked as previously with the nvidia driver

Do I have to uninstall akmod and reinstall? Any other suggestions?

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [November 29, 2022, 8:26am UTC](https://forums.rockylinux.org/t/nvidia-driver-update-9-0-9-1/8051/2 "2022-11-29T08:26:30Z")

</div>

Hi,

Yes, I’ve had this exact same problem with Fedora when upgrading from 36 to 37 for example. I had to remove all the akmod-nvidia stuff, plus any other kmod-nvidia stuff that might be installed. Then reboot, and reinstall akmod-nvidia or akmod-nvidia-470xx package. It should then work after this on reboot.

TBH it should have worked, but perhaps there is a conflict in packages that are installed.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [November 29, 2022, 1:09pm UTC](https://forums.rockylinux.org/t/nvidia-driver-update-9-0-9-1/8051/3 "2022-11-29T13:09:14Z")

</div>

NVidia drivers packaged by whom? I know that ELRepo does not build kmod-nvidia for el9  
and negativo17 nor NVidia’s own repo do not have legacy. So, RPMfusion or ??  
(I will need the 470 eventually.)

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [November 29, 2022, 4:19pm UTC](https://forums.rockylinux.org/t/nvidia-driver-update-9-0-9-1/8051/4 "2022-11-29T16:19:19Z")

</div>

@jlehtone yes I believe rpmforge for RL9 and higher using the akmod packages.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [November 29, 2022, 4:27pm UTC](https://forums.rockylinux.org/t/nvidia-driver-update-9-0-9-1/8051/5 "2022-11-29T16:27:28Z")

</div>

RPMforge (aka RepoForge) is different, and now dead project.

Saw the _RPM Fusion_ packages, akmods and all. Versions 340xx, 470xx, and current.

On OP topic, what would make the akmod to fail to build on boot and how to diagnose/avoid that?

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [November 29, 2022, 4:50pm UTC](https://forums.rockylinux.org/t/nvidia-driver-update-9-0-9-1/8051/6 "2022-11-29T16:50:26Z")

</div>

Lol sorry I meant rpmfusion.

---

<div class="post-metadata">

**Author:** ![dali](https://avatars.discourse-cdn.com/v4/letter/d/c68b51/32.png) [@dali](https://forums.rockylinux.org/u/dali)\
**Post date:** [November 29, 2022, 5:21pm UTC](https://forums.rockylinux.org/t/nvidia-driver-update-9-0-9-1/8051/7 "2022-11-29T17:21:35Z")

</div>

Check the logs in /var/cache/akmods/, might give you a hint.

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [November 29, 2022, 5:43pm UTC](https://forums.rockylinux.org/t/nvidia-driver-update-9-0-9-1/8051/8 "2022-11-29T17:43:24Z")

</div>

> [@jlehtone](#):
>
> On OP topic, what would make the akmod to fail to build on boot and how to diagnose/avoid that?

I’ve actually wondered this same thing. I experienced it twice, recently when upgrading FC36 to FC37. Now I’m not sure if the distro upgrade process is involved in it or not. However that said, I believe I might have also messed it up the first time I experienced it, as I found I also had kmod-nvidia packages also installed. From when I fixed it again recently, like a week or so ago after upgrading I removed all the nvidia stuff, and then just installed akmod-nvidia to get it back again. For some reason it failed to build. I didn’t dig further to find out why. Time will tell if it occurs again during the next distro upgrade in about 6 months or so.

So, I could have caused it myself due to installing unnecessary kmod packages that might have caused a conflict. If it occurs again, I’ll have to dig deeper in the logs and find out why. I thought a `dnf reinstall` would help, but it seems only a completely remove and install will work. At least when I’ve gone through it twice anyhow.

Since RL9 release and elrepo not making nvidia packages, I believe the way forward now is to use the rpmfusion repositories.

---

<div class="post-metadata">

**Author:** ![toracat](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/toracat/32/68_2.png) [@toracat](https://forums.rockylinux.org/u/toracat)\
**Post date:** [November 29, 2022, 6:37pm UTC](https://forums.rockylinux.org/t/nvidia-driver-update-9-0-9-1/8051/9 "2022-11-29T18:37:02Z")

</div>

I suppose the procedure requires the kernel-devel package. There is a known issue:

[https://bugs.rockylinux.org/view.php?id=1123](https://bugs.rockylinux.org/view.php?id=1123)

Building kernel modules is problematic until the fixed version becomes available.

---

<div class="post-metadata">

**Author:** ![label](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@label](https://forums.rockylinux.org/u/label)\
**Post date:** [November 29, 2022, 9:33pm UTC](https://forums.rockylinux.org/t/nvidia-driver-update-9-0-9-1/8051/10 "2022-11-29T21:33:34Z")

</div>

`5.14.0-162.6.1.el9_1.0.1.x86_64` addresses the kernel-devel issue.

---

<div class="post-metadata">

**Author:** ![tortuga](https://avatars.discourse-cdn.com/v4/letter/t/c4cdca/32.png) [@tortuga](https://forums.rockylinux.org/u/tortuga)\
**Post date:** [December 2, 2022, 11:25am UTC](https://forums.rockylinux.org/t/nvidia-driver-update-9-0-9-1/8051/11 "2022-12-02T11:25:16Z")

</div>

thank all of you for the terrific input and community effort!!

please note that the latest kernel update did fix the issue:

sudo dnf update

sudo dnf reinstall nvidia-driver-470

reboot

this time it worked like a charm

best

---

<div class="post-metadata">

**Author:** ![desercat](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/desercat/32/1192_2.png) [@desercat](https://forums.rockylinux.org/u/desercat)\
**Post date:** [December 29, 2022, 10:37am UTC](https://forums.rockylinux.org/t/nvidia-driver-update-9-0-9-1/8051/12 "2022-12-29T10:37:26Z")

</div>

OK educate me: I am currently stuck using the nouveau nvidia driver. No matter how many times I have tried to install the nvidia driver/s it has lead to _disaster_. I have _TRIED_ to do it via kmod-nvidia, now I hear about something called “akmod-nvidia”. Does “akmod-nvidia” replace “kmod-nvidia”? Which repo di I need to enable?? Any articles on how to get Nvidia to work on RL 8.7 using “akmod-nvidia”?? Any help would be appreciated.

Thanks,

D’ Cat

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [December 29, 2022, 3:05pm UTC](https://forums.rockylinux.org/t/nvidia-driver-update-9-0-9-1/8051/13 "2022-12-29T15:05:16Z")

</div>

> [@desercat](#):
>
> Any articles on how to get Nvidia to work on RL 8.7

While this thread is about el9, the major driver sources:  
RPM Fusion and NVidia’s own yum repository each do have instructions for el8 too.  
Furthermore, ELRepo does have NVidia drivers for el8 (but not for el9).  
[https://rpmfusion.org/Howto/NVIDIA](https://rpmfusion.org/Howto/NVIDIA)

> **[CUDA Installation Guide for Linux](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#driver-installation)**
>
> The installation instructions for the CUDA Toolkit on Linux.

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:29am UTC](https://forums.rockylinux.org/t/nvidia-driver-update-9-0-9-1/8051/14 "2023-08-25T03:29:47Z")

</div>


