Install NVIDIA drivers without updating the kernel to 5.4.8 or newest

As others, kernel 5.4.8 (and 5.8.10 and 5.5rc6) broke my wifi ( ) and sound ( also NVIDIA drivers in the kernel 5.3 were broken) ; So I had a new clean install of Fedora 31.

I need to install the NVIDIA drivers in kernel 5.3, but when using the RPMFusion or Negativo17, as a dependency I get kernel 5.4.8, and cant install the NVIDIA drivers in 5.3. As stated, I cant upgrade to 5.4.8 and just installing it breaks the NVIDIA driver for the 5.3 kernel as well.

Specifying the kernel version when installing also doesn’t work, like : sudo dnf install akmod-nvidia-5.3.16-300.fc31.x86_64 , it’s says “package not found”

I would like to know if its possible to install NVIDIA drivers in 5.3, without upgrading the kernel. I dont mind if it`s an older version of the driver. Thanks

man dnf:

    dnf install tito-0.5.6-1.fc22
    Install the package with a specific version. If the package is already installed it will automatically try to downgrade or upgrade to the specific version.

    dnf repoquery tito
    Shows versions available? (not from man).

Try to omit .x86_64 part.


In Arch there is linux and linux-lts packages, and nvidia and nvidia-lts packages. It is a shame that there, in Fedora, no such feature (at least linux-lts).

“… we want to keep our focus on innovation, both by incorporating the latest upstream code and in the work we do to build our releases. While long-term support is important, it’s not our focus — and many other communities do a great job providing this already. Fedora advances the state of the art in Linux operating systems. We try new things, many of them succeed, but some do not — we learn from those and move on.

Let’s write a new vision statement for Fedora

1 Like

For completeness:
Debates for a link above.


“Let’s write a new vision statement for Fedora” – “Comments are closed.”

Then? Is this sarcasm?
You posted the link where everyone can comment.
The reason why comments are closed is also in the message you have linked:
Please reply here in this thread to keep discussion in one place.”

BTW I just posted such statement because it explains why Fedora doesn’t have LTS kernels or editions.

But your’ve showed an mere draft. Also, linux-lts is needed for recovery, not for daily using. Thus not interfere with innovations. But thanks to your, i’ve tried to post my comment at debates. Hope it will pass moderation, despite my English skill.


Just in Fedora there is a lot of “Follow this link. Then, another one. Finally, another one.” things. Hard to get used to this after Arch.

It sound pretty strange to me because one install from rpmfusion doesn’t would break up this kernel, always that you did select the right installation. If you did read the whole page you would know if your card model fix with the type of installation that you will need do. So check your card model

And another command useful too:

lspci -vnn | grep -i 'vga compatible controller' -A12

And after check it in the rpmfusion 1 and 2.

Because there is not this package like you can see in the repo, and in the rpmfusin the indications be enough detailed and it is not possible to do.

After that you do be sure what is the driver that you need install i would suggest to you at post the output of the command to see how is the request of the kernels dependence.


You need to fetch older kernel, kernel-core, kernel-modules and kernel-devel from 5.3
See here for download:

Once installed, you can lock the packages using yum versionlock.
dnf install yum-plugin-versionlock
rpm -qa kernel* >> /etc/yum/pluginconf.d/versionlock.list
This will prevent the kernel packages from upgrading

That been said, please note that NVIDIA driver is working fine with 5.4 kernel (and even 5.5 using NVIDIA 440.59).

Boot from the kernel you want to stay on, then add an exclusion to your dnf.conf either with your favorite editor or by running:

sudo echo "exclude=kernel*" >> /etc/dnf/dnf.conf

This will tell DNF not to change from that kernel. Then remove it when you’re ready to upgrade your kernel.

1 Like