Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wrong nvidia-drivers version?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Fri Aug 23, 2019 3:53 pm    Post subject: wrong nvidia-drivers version? Reply with quote

Hi,

I should use only nvidia-drivers-390.116-r2 with my old Geforce 630M
Code:
# cat /etc/portage/package.mask/nvida
>x11-drivers/nvidia-drivers-390.116-r2


Today, after kernel update I did some quick config update (etc-update) which added me a line (in file below) to accept 435.17 version.
Code:
# cat /etc/portage/package.unmask/video-editing
media-gfx/slowmovideo::cg
media-gfx/v3d::cg


When I realised my mistake, I just deleted the line. However, I cannot see those 390.116-r2 as avaiable anymore. In example below should be avaiable version and installed version - there is only installed.

Code:
# emerge -s nvidia-drivers
 
[ Results for search key : nvidia-drivers ]
Searching...

*  x11-drivers/nvidia-drivers
      Latest version installed: 390.116-r2
      Homepage:      https://www.nvidia.com/
      Description:   NVIDIA Accelerated Graphics Driver
      License:       GPL-2 NVIDIA-r2


It says now will install 435.17 - what to do to have an access to 390.116-r2?
Code:
# emerge -1p nvidia-drivers

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U #] x11-drivers/nvidia-drivers-435.17 [390.116-r2]

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by media-libs/nv-codec-headers-8.1.24.2::gentoo
# required by media-video/ffmpeg-4.1.3::gentoo[video_cards_nvidia]
# required by virtual/ffmpeg-9-r2::gentoo[-libav]
# required by media-video/transcode-1.1.7-r3::gentoo[postproc]
# required by kde-apps/k3b-19.04.3::gentoo[encode,dvd]
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask/nvida:
=x11-drivers/nvidia-drivers-435.17

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Aug 23, 2019 4:39 pm    Post subject: Reply with quote

Quote:
I should use only nvidia-drivers-390.116-r2 with my old Geforce 630M

You should use 390 series, which are up to 390.129 now.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23062

PostPosted: Sat Aug 24, 2019 12:43 am    Post subject: Re: wrong nvidia-drivers version? Reply with quote

Xywa wrote:
It says now will install 435.17 - what to do to have an access to 390.116-r2?
Code:
# emerge -1p nvidia-drivers

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by media-libs/nv-codec-headers-8.1.24.2::gentoo

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.
According to your own output, you have at least two solutions available. You could pass --autounmask-keep-masks to tell Portage not to try to override your local mask. You could mask and uninstall =media-libs/nv-codec-headers-8.1.24.2 to avoid needing the newer drivers.
Xywa wrote:
However, I cannot see those 390.116-r2 as avaiable anymore.
Is your local overlay not in your PORTDIR_OVERLAY path anymore? When you want to stay in the past, you need to make arrangements to keep the ebuilds of the chosen version around. They will not stay in the main tree indefinitely.
Xywa wrote:
Code:
# /etc/portage/package.mask/nvida:
=x11-drivers/nvidia-drivers-435.17
You should not use = here. That matches one very specific version, but according to your text, you want to mask a whole group of versions, probably everything after the 390 series.
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Tue Aug 27, 2019 1:14 pm    Post subject: Reply with quote

So what should I do now?

Looks like 390.116-r2 is in portage and its stable:
https://packages.gentoo.org/packages/x11-drivers/nvidia-drivers

But in my system is not aviable - but eg. 390.129 is.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Tue Aug 27, 2019 1:25 pm    Post subject: Reply with quote

Code:
* x11-drivers/nvidia-drivers
     Available versions:  340.107-r1(0/340)^md 390.129(0/390)^md 410.104-r2(0/410)^md 415.27-r2(0/415)^md 418.88(0/418)^md 430.40(0/430)^t (~)435.17(0/435)^t {+X acpi compat +driver gtk3 +kms multilib static-libs +tools uvm wayland ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32" KERNEL="FreeBSD linux"}
     Homepage:            https://www.nvidia.com/
     Description:         NVIDIA Accelerated Graphics Driver

Why don't you revise your mask, consider there are likely more updates coming to this driver, take this into account when creating your new mask and future upgrades will go smoothly.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Tue Aug 27, 2019 4:10 pm    Post subject: Reply with quote

I agree with Jaglover, a >399 mask should do the work better
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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