Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to select NVIDIA drivers version?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
davydm
n00b
n00b


Joined: 06 Jan 2017
Posts: 73

PostPosted: Tue May 01, 2018 5:45 pm    Post subject: How to select NVIDIA drivers version? Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30838
Location: here

PostPosted: Tue May 01, 2018 6:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
davydm
n00b
n00b


Joined: 06 Jan 2017
Posts: 73

PostPosted: Tue May 01, 2018 7:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
mir3x
Guru
Guru


Joined: 02 Jun 2012
Posts: 455

PostPosted: Wed May 02, 2018 12:24 pm    Post subject: Reply with quote

Suggestion is good
U typed it wrong.

Its X11 not XLL - use small letters ( 4k monitor rocks :D )
_________________
Sent from Windows
Back to top
View user's profile Send private message
davydm
n00b
n00b


Joined: 06 Jan 2017
Posts: 73

PostPosted: Wed May 02, 2018 2:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum