View previous topic :: View next topic |
Author |
Message |
davydm n00b
Joined: 06 Jan 2017 Posts: 73
|
Posted: Tue May 01, 2018 5:45 pm Post subject: How to select NVIDIA drivers version? |
|
|
Hi, apologies if this is a silly question -- my google-fu hasn't served me well in trying to solve it myself.
I have an NVIDIA 660ti for which I'm using the proprietary drivers. When I `emerge --search nvidia-drivers`, I get:
Code: |
* x11-drivers/nvidia-drivers
Latest version available: 396.18-r1
Latest version installed: 396.18-r1
|
and when I `equery m nvidia-drivers`, I get:
Code: | * x11-drivers/nvidia-drivers [gentoo]
Maintainer: jer@gentoo.org
Maintainer: hardened@gentoo.org
Upstream: None specified
Homepage: http://www.nvidia.com/
Homepage: http://www.nvidia.com/Download/Find.aspx
Location: /usr/portage/x11-drivers/nvidia-drivers
Keywords: 304.137:0/304: ~amd64 ~amd64-fbsd ~x86 -* ~x86-fbsd
Keywords: 340.106:0/340: ~amd64 ~amd64-fbsd ~x86 -* ~x86-fbsd
Keywords: 375.82:0/375: amd64 x86 -*
Keywords: 375.82-r1:0/375: ~amd64 ~amd64-fbsd ~x86 -* ~x86-fbsd
Keywords: 378.13-r1:0/378: amd64 x86 -*
Keywords: 378.13-r4:0/378: ~amd64 ~amd64-fbsd ~x86 -* ~x86-fbsd
Keywords: 381.22-r1:0/381: amd64 x86 -*
Keywords: 381.22-r2:0/381: ~amd64 ~amd64-fbsd ~x86 -* ~x86-fbsd
Keywords: 384.130:0/384: ~amd64 ~amd64-fbsd ~x86 -*
Keywords: 387.34:0/387: ~amd64 ~amd64-fbsd ~x86 -* ~x86-fbsd
Keywords: 390.42:0/390: -*
Keywords: 390.48:0/390: ~amd64 ~amd64-fbsd ~x86 -* ~x86-fbsd
Keywords: 396.18:0/396: -*
Keywords: 396.18-r1:0/396: ~amd64 -* ~amd64-fbsd
Keywords: 396.18.02:0/396.18: -*
Keywords: 396.18.05:0/396.18: ~amd64 -*
License: GPL-2 NVIDIA-r2 |
I have the ~amd64 keyword against `x11-drivers/nvidia-drivers` in /etc/portage/package.accept_keywords, and this appears to have resulted in me having version `396.18-r1` installed. However, I'm trying to play Rise Of The Tomb Raider (I was so excited to see a Linux port -- no need to reboot to that other OS to play!), but I get sporadic crashes and I've seen some odd video artifacts. A user on a steam forum suggests that the `396.18.05` driver has fixed their crashes on Ubuntu, so I'd like to give that driver version a spin -- how do I go about that? I'd also appreciate it if someone can explain the results from `equery m` -- I understand (I think) that keywords would be in package.accept_keywords (eg the ~amd64, or ~amd64-fbsd), but what does the `-*` mean? And does `equery m` actually inform me of how to get the version I want and I'm missing how to grok the info?
I tried, for instance:
Code: |
emerge --ask x11-drivers/nvidia-drivers-396.18.05
|
but just got the error that I specified an invalid atom
Thanks for any assistance. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30838 Location: here
|
Posted: Tue May 01, 2018 6:09 pm Post subject: |
|
|
You added an overlay? Because nvidia-drivers-396.18.05 aren't in official portage tree.
Anyway emerge -u nvidia-drivers should work because you have ~amd64 in package.accept_kyewords.
If you want tell emerge for a specific version you should add = for a valid atom
Code: | emerge --ask =x11-drivers/nvidia-drivers-396.18.05 |
*- means that package not support all others keywords _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
davydm n00b
Joined: 06 Jan 2017 Posts: 73
|
Posted: Tue May 01, 2018 7:22 pm Post subject: |
|
|
Thanks for the reply; however, when I try your suggestion, I get:
Code: |
# emerge --ask =xll-drivers/nvidia-drivers-396.18.05
These are the packages that would be merged, in order:
Calculating dependencies... done!
emerge: there are no ebuilds to satisfy "=xll-drivers/nvidia-drivers-396.18.05".
emerge: searching for similar names...
emerge: Maybe you meant any of these: x11-drivers/nvidia-drivers, x11-drivers/xf86-video-vesa?
|
I can never remember how to query which overlay an atom comes from (perhaps you know? Again, my google-fu obviously sucks because searching for things like "gentoo how to determine which overlay an atom comes from" doesn't help), but I did find the ebuild for nvidia-drivers-396.18.05 under an overlay dir on my machine for "bobwya" (I added this overlay ages ago to get filebot). And I remembered that I have everything from the couple of overlays I use masked except for specific packages which I unmask -- specifically unmasking Code: | x11-drivers/nvidia-drivers::bobwya | results in `emerge --search nvidia-drivers` giving me:
Code: |
* x11-drivers/nvidia-drivers
Latest version available: 396.18.05
Latest version installed: 396.18-r1
|
So that's the missing piece that I needed! Thanks for getting me there (: I also needed to unmask app-eselect/eselect-opengl as well as adding ~amd64 for that. So I'll give the new drivers a go tomorrow night then. Thanks again for the assist. |
|
Back to top |
|
|
mir3x Guru
Joined: 02 Jun 2012 Posts: 455
|
Posted: Wed May 02, 2018 12:24 pm Post subject: |
|
|
Suggestion is good
U typed it wrong.
Its X11 not XLL - use small letters ( 4k monitor rocks ) _________________ Sent from Windows |
|
Back to top |
|
|
davydm n00b
Joined: 06 Jan 2017 Posts: 73
|
Posted: Wed May 02, 2018 2:51 pm Post subject: |
|
|
Nice catch on 1 vs l; however, would still need to unmask to continue, so I'm leaving this here in case someone else finds it useful (: |
|
Back to top |
|
|
|