You are not logged in.

#1 2017-05-31 21:38:12

benwis
Member
Registered: 2017-05-30
Posts: 11

[SO]How to know if nvidia proprietary drivers work with latest kernel?

I seem to recall that the nvidia proprietary drivers sometimes wouldn't work with the latest kernel. Is that still an issue, and if so, is there a way to know without having a dedicated testing machine?

Last edited by benwis (2017-06-01 16:35:16)

Offline

#2 2017-05-31 21:39:48

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: [SO]How to know if nvidia proprietary drivers work with latest kernel?

Look for bug reports or forum posts.  Easiest way is to boot into the new kernel and see if the module is loadable.  If not, rebuild it.  Most times, that is all you need.  On major version updates, it is likely that a patch is needed to allow the driver to build.

Offline

#3 2017-05-31 21:44:14

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SO]How to know if nvidia proprietary drivers work with latest kernel?

Yes, it is (and will continue to be) an issue, because the kernel devs continually change APIs in the kernel that nvidia rely on. Thus the breakage is not nvidia's fault.

The best place to look, both for breakage notification and for patches, is nvidia Linux forum.

Edit: Example thread.

Last edited by brebs (2017-05-31 21:47:50)

Offline

#4 2017-05-31 21:48:06

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [SO]How to know if nvidia proprietary drivers work with latest kernel?

If you talk about the latest Arch kernel, you don't have to worry about that. It only ever gets updated together with the nvidia kernel module package. The same is the case for the Xorg packages. Those only get updated if the nvidia driver package works with the updated Xorg server.

This might all be a bit different for the 304xx and 340xx versions of the nvidia drivers for older hardware. I think there were problems with those recently, but not sure if that wasn't only with the kernel in the testing repo.

Last edited by Ropid (2017-05-31 21:48:45)

Offline

#5 2017-05-31 22:14:29

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,567

Re: [SO]How to know if nvidia proprietary drivers work with latest kernel?

@benwis :

go to the package details for your nvidia package and look under dependencies for it.
nvidia 381.22-2 for example depends on    linux >= 4.11 AND linux < 4.12 .
that package shouild work with all 4.11.y kernels .

---------------------------------------------

brebs wrote:

because the kernel devs continually change APIs in the kernel that nvidia rely on. Thus the breakage is not nvidia's fault.

If nvidia wants to influence those API changes (or get help keeping their modules working) all they need to do is publish their modules under a GPL2 compatible license and submit them for inclusion into the kernel.

If you don't want to join the playground, you shouldn't be surprised when the playground rules change without taking into account your needs.

Note : Nvidia has every right to decide which license they publish their code under.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2017-05-31 22:53:24

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: [SO]How to know if nvidia proprietary drivers work with latest kernel?

a good indicator is whether it loads your DE. if it fails, or it fails to have any acceleration, then nvidia has to be rebuilt.

typically, though, it's released together with the new kernel, but there have been exceptions due to major kernel security patches, so nvidia was released about a day later. if it isn't built against the latest kernel, then you just have to build it yourself, which is actually a fairly trivial thing to do.

Offline

#7 2017-06-01 16:36:23

benwis
Member
Registered: 2017-05-30
Posts: 11

Re: [SO]How to know if nvidia proprietary drivers work with latest kernel?

Thanks for all the advice. I'll have to look at the nvidia-dkms packages if I decide to switch to the hardened kernel.
Most of the time I just update the regular one, and I wanted to know if 4.11.3 broke nvidia. Seems fine now.

Offline

Board footer

Powered by FluxBB