Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779583 - x11-drivers/nvidia-drivers-460.67 ebuild shows wrong message
Summary: x11-drivers/nvidia-drivers-460.67 ebuild shows wrong message
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-03-31 19:35 UTC by eu9gu4
Modified: 2021-04-03 19:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eu9gu4 2021-03-31 19:35:05 UTC
460.67 ebuild shows at the end of installation this message:

"You are installing a version of nvidia-drivers known not to work with a GPU of the current system"

This is incorrect in my case at least, possible for others.
I have a GeForce GTX TITAN that works perfectly fine and is included in NVIDIA's list of supported GPUs for this version of the driver.

http://us.download.nvidia.com/XFree86/Linux-x86_64/460.67/README/supportedchips.html

It looks like ebuild's procedure for detecting the running GPU fails miserably.
Comment 1 Ionen Wolkens gentoo-dev 2021-03-31 19:42:42 UTC
Yeah it may still need improvement, only tested with a limited set of hardware.

Could you please run this small shell loop for me and give me the output?

for g in $(grep -l 0x10de /sys/bus/pci/devices/*/vendor); do
  cat ${g%vendor}device
done
Comment 2 eu9gu4 2021-03-31 19:47:49 UTC
(In reply to Ionen Wolkens from comment #1)
> Yeah it may still need improvement, only tested with a limited set of
> hardware.
> 
> Could you please run this small shell loop for me and give me the output?
> 
> for g in $(grep -l 0x10de /sys/bus/pci/devices/*/vendor); do
>   cat ${g%vendor}device
> done

In my case it shows:

0x1005
0x0e1a
Comment 3 Ionen Wolkens gentoo-dev 2021-03-31 19:56:49 UTC
(In reply to eu9gu4 from comment #2)
> (In reply to Ionen Wolkens from comment #1)
> 0x1005
> 0x0e1a
I see what happened, I need to make the grep a bit more strict.

Thanks for the report, I'll fix that.
Comment 4 Larry the Git Cow gentoo-dev 2021-04-03 19:03:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e6bb42aec8c99ff78f6d8bd37f520e20ff8f688

commit 2e6bb42aec8c99ff78f6d8bd37f520e20ff8f688
Author:     Ionen Wolkens <sudinave@gmail.com>
AuthorDate: 2021-04-03 19:02:48 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-04-03 19:02:48 +0000

    x11-drivers/nvidia-drivers: use more strict legacy test
    
    Closes: https://bugs.gentoo.org/779583
    Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
    Signed-off-by: David Seifert <soap@gentoo.org>

 x11-drivers/nvidia-drivers/nvidia-drivers-450.102.04-r1.ebuild | 2 +-
 x11-drivers/nvidia-drivers/nvidia-drivers-460.67.ebuild        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)