Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 552788

Summary: x11-drivers/nvidia-drivers-340.76 should depend on <gentoo-sources-3.19
Product: Gentoo Linux Reporter: Thomas <tg42>
Component: [OLD] Core systemAssignee: Jeroen Roovers (RETIRED) <jer>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomas 2015-06-21 21:42:43 UTC
This version of NVidia drivers is required for some slightly older graphics cards (as e. g. in this notebook).  It does not compile with >linux-4 and most propably not with linux-3.19.*.  It does compile with 3.18, however and works well.
Cf. #549714

Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2015-06-22 02:02:06 UTC
kernel driver packages can't depend on specific sources.
Comment 2 Thomas 2015-06-22 16:39:04 UTC
nvidia drivers depend on virtual/linux-source.  Why can't specific versions depend on specific (i. e. supported) kernel sources?  They do depend on a specific xorg-xserver, pretty much for the same reason.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-06-25 05:18:39 UTC
(In reply to Thomas from comment #2)
> nvidia drivers depend on virtual/linux-source.  Why can't specific versions
> depend on specific (i. e. supported) kernel sources?  They do depend on a
> specific xorg-xserver, pretty much for the same reason.

Because you could have twenty /usr/src/linux-* and the nvidia-drivers ebuild has no way to influence which it will build against.

Also, I don't see why you're stuck on 340.* - you should be able to use 343 or 346 - the latter supports up to kernel 4.1.

Also, please use https://forums.gentoo.org/ for general enquiries.
Comment 4 Thomas 2015-06-25 07:25:46 UTC
Officially supported kernels are gentoo-sources and vanilla-sources.  (But probably, people sucessfully use the drivers with other source flavours, too.)

Support for GeForce 200 series was dropped after 340.*, that is why we are stuck with this version.  Cf. bug 549714.

Of cource you cannot fix that the 340.* drivers don't compile against recent kernels, but the original request was to make the drivers depend on kernels the drivers compile against.