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

Bug 653022

Summary: x11-drivers/nvidia-drivers-396.18 should support GTX 480 according to [URL] but the driver does not support device
Product: Gentoo Linux Reporter: thunderrd <rzubaly>
Component: Current packagesAssignee: Jeroen Roovers (RETIRED) <jer>
Status: RESOLVED CANTFIX    
Severity: normal CC: chris, email200202, josef64, mark+gentoobugs, rzubaly, viklevin2
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.nvidia.com/download/driverResults.aspx/133571/en-us
Whiteboard:
Package list:
Runtime testing required: ---

Description thunderrd 2018-04-12 14:39:59 UTC
Acccording to the nvidia website, version 396.18 should support GTX 480:  http://www.nvidia.com/download/driverResults.aspx/133571/en-us

Today, this version appeared in the portage tree.

Emerge builds and creates the module successfully, but upon booting reports:

Apr 12 20:57:33 Q6600 kernel: NVRM: The NVIDIA GeForce GTX 480 GPU installed in this system is not supported through the NVIDIA 390.xx Legacy drivers. Please visit http://www.nvidia.com/object/unix.html for more information.  The 396.18 NVIDIA driver will ignore this GPU.  Continuing probe...
Apr 12 20:57:33 Q6600 kernel: NVRM: No NVIDIA graphics adapter found!
Apr 12 20:57:33 Q6600 kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 249
Apr 12 20:57:33 Q6600 kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 249

As a result, I masked 396.18 locally, and reverted to 390.48.

What is the correct information here, Nvidia's or Gentoo's?
Comment 1 thunderrd 2018-04-12 14:42:43 UTC
I just noticed that 396.18 is considered a beta driver, could that perhaps be the problem?
Comment 2 Henk vd Laan 2018-04-12 16:01:34 UTC
I'm in a similar boat (Quadro K1100M) and I've looked at the Nvidia list and the eclass list of GPU's that are only supported in 390.x and I've found a few ranges where Gentoo and Nvidia disagree:

0fc0--103c
1180--11fc
1280--1dba

Which happens to be all cards that are supported by the 396.18 driver and up.

http://us.download.nvidia.com/XFree86/Linux-x86_64/396.18/README/supportedchips.html
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2018-04-12 16:33:17 UTC
(In reply to thunderrd from comment #0)
> Acccording to the nvidia website, version 396.18 should support GTX 480: 
> http://www.nvidia.com/download/driverResults.aspx/133571/en-us

Yes, that's what it says.

> Apr 12 20:57:33 Q6600 kernel: NVRM: The NVIDIA GeForce GTX 480 GPU installed
> in this system is not supported through the NVIDIA 390.xx Legacy drivers.

The Summary says 396, this output says 390. Which is it? Or is that a different problem that you wanted to point out?

> Please visit http://www.nvidia.com/object/unix.html for more information. 

What does [1] say about your chipset?

> What is the correct information here, Nvidia's or Gentoo's?

I booted a GT 610 and saw the same messages, so I looked at [1] and revised our information last night[2]:

commit aefe3582c38f7672fe21c54cc8a1d1c488f102ae
Author: Jeroen Roovers <jer@gentoo.org>
Date:   Wed Apr 11 22:38:47 2018 +0200

    nvidia-driver.eclass: Add new long time support branch.




[1] http://us.download.nvidia.com/XFree86/Linux-x86_64/390.48/README/supportedchips.html
[2] https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass/nvidia-driver.eclass?id=aefe3582c38f7672fe21c54cc8a1d1c488f102ae
Comment 4 thunderrd 2018-04-12 17:32:52 UTC
Thanks for that link, I can now see that [1] clearly says my GPU is no longer supported *except* by 390.xx legacy branch.  That is, of course, altogether different from the information on the download page.

The language in the error message is what made me think something was wrong; with the 396.18 installed: 
"The NVIDIA GeForce GTX 480 GPU installed in this system is *not supported* through the NVIDIA 390.xx Legacy drivers." [emphasis mine]

I never took that to mean that the GTX 480 is running *without* the 390.xx driver, and *should* be. Perhaps I should have, but I think it's a bit ambiguous. 

Maybe the language should say something like, "The GTX 480 in this system is no longer supported by driver versions after 390.xx.  Please install the 390.xx legacy version."

And NVidia should clear up their web page for the driver, but that's not something we can control.
Comment 5 white_tiger 2018-04-12 17:54:02 UTC
Perhaps a bug trying to install version 396.18?
I also get a warning..

Looks like a true or dare game. 

 * ***** WARNING *****
 * 
 * You are currently installing a version of nvidia-drivers that is
 * known not to work with a video card you have installed on your
 * system. If this is intentional, please ignore this. If it is not
 * please perform the following steps:
 * 
 * Add the following mask entry to /etc/portage/package.mask by
 * echo ">=x11-drivers/nvidia-drivers-391.0.0" > /etc/portage/package.mask/nvidia-drivers
 * 
 * Failure to perform the steps above could result in a non-working
 * X setup.
 * 
 * For more information please read:

This is the message I get when I want to install the driver on a 660TI card. 

lspci | grep NVIDIA
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 660 Ti] (rev a1)
Comment 6 mir3x 2018-04-12 18:12:27 UTC
I got the same comment with GTX 1050 Ti, ofc that warning message is crap.
Dunno how portage recognised my card, but it recognised it badly.
Comment 7 Henk vd Laan 2018-04-12 18:49:30 UTC
396.18 does no longer support Fermi cards like the GTX 480, but the PCI device ID's in here are from *all* cards that are supported by 390.x, both those for which 390.x is the last supported branch and for those whose support continues. 

As a result, everyone with a supported card (Maxwell or newer) gets a warning that their card is no longer supported when they try and merge the 396.18 driver.
Comment 8 email200202 2018-04-13 01:52:44 UTC
I got black screen after updating to x11-drivers/nvidia-drivers-396.18-r1. I have GeForce GTX 560 Ti video card.
Comment 9 email200202 2018-04-13 02:29:17 UTC
Same here nvidia website indicated that version 396.18 should support my card GTX 560 Ti:  

http://www.nvidia.com/download/driverResults.aspx/133571/en-us

GeForce 500 Series:
....., "GeForce GTX 560 Ti", .......

I did the same masked 396.18-r1 and downgraded to 390.48.
Comment 10 email200202 2018-04-13 12:08:10 UTC
From the log, it seems that GTX 560 Ti GPU is supported only 390.xx

Apr 13 10:58:49 [kernel] [   12.175186] NVRM: The NVIDIA GeForce GTX 560 Ti GPU installed in this system is
Apr 13 10:58:49 [kernel] [   12.175186] NVRM:  supported through the NVIDIA 390.xx Legacy drivers. Please
Apr 13 10:58:49 [kernel] [   12.175186] NVRM:  visit http://www.nvidia.com/object/unix.html for more
Apr 13 10:58:49 [kernel] [   12.175186] NVRM:  information.  The 396.18 NVIDIA driver will ignore
Apr 13 10:58:49 [kernel] [   12.175186] NVRM:  this GPU.  Continuing probe...
Apr 13 10:58:49 [kernel] [   12.175193] NVRM: No NVIDIA graphics adapter found!
Comment 11 Chris Smith 2018-04-13 13:26:35 UTC
I get the bogus warning with nvidia-drivers-396.18-r1.
Using a GTX 660 Ti, PCI ID of 0x1183 which according to nVidia is clearly supported (and it also works just fine).
Comment 12 Marius Caldas 2018-04-13 22:36:40 UTC
With nvidia-drivers-396.18, I also get the above warning message even though I have a GTX 1070.
Comment 13 Sven Eden 2018-04-13 23:53:11 UTC
I get the warning with my Quadro K2100M, which is also working just fine.

The PCI ID is 11fc and it is listed under supported chips on the 396.18/README/supportedchips.html page.

--------
 ~ # vblank_mode=0 primusrun glxgears -info | grep -P "(GL_V|GL_R|FPS)"
ATTENTION: default value of option vblank_mode overridden by environment.
GL_RENDERER   = Quadro K2100M/PCIe/SSE2
GL_VERSION    = 4.6.0 NVIDIA 396.18
GL_VENDOR     = NVIDIA Corporation
ATTENTION: default value of option vblank_mode overridden by environment.
23263 frames in 5.0 seconds = 4652.430 FPS
--------

It is not a big deal, but that warning text was quite worrisome...
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2018-04-14 09:25:41 UTC
I might have included too many cards in the 390 legacy table. I have a GT 1030 to test 396.18 with now, and I will revise the table soon.
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2018-04-14 09:57:50 UTC
I have fixed the 390 compatibility list in nvidia-driver.eclass now. As for the actual problem of this bug report, I can't fix information on Nvidia's website. If you want a reliable source of supported cards, do not use [URL] but use [1] instead.


[1] http://us.download.nvidia.com/XFree86/Linux-x86_64/396.18/README/supportedchips.html