Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Porblems with nvidia-settings vs. nvidia-drivers: Up-/downgrade race condition
Date: Sat, 17 Oct 2015 16:24:03
Message-Id: 562275E2.4070607@gmail.com
In Reply to: Re: [gentoo-user] Porblems with nvidia-settings vs. nvidia-drivers: Up-/downgrade race condition by Meino.Cramer@gmx.de
1 On 17/10/2015 16:59, Meino.Cramer@×××.de wrote:
2 > Heiko Baums <lists@××××××××××××.de> [15-10-17 15:44]:
3 >> Am 17.10.2015 um 13:07 schrieb Meino.Cramer@×××.de:
4 >>
5 >>> previously I had emerged nvidia-settings seperately. This leads to an
6 >>> problem with a recent update, because the nvidia-settings were
7 >>> pulling in the old version of the nvidia-drivers and the update wants
8 >>> the new version of the drivers.
9 >>>
10 >>> So I emerge -C'ed the nvidia-settings, set the USE-flag 'tools' for
11 >>> the drivers and updated...it works.
12 >>>
13 >>> This morning ... updateing my Gentoo box again, the same scenario
14 >>> happens again...nvidia-settings (old version) were missing (why?)
15 >>> and again wants the old driver while emerge wants the new one.
16 >>>
17 >>> How can I get out of this?
18 >>
19 >> Do you have xfce-extra/xfce4-sensors-plugin with
20 >> USE="video_cards_nvidia" resp. VIDEO_CARDS="nvidia" installed?
21 >>
22 >> Because this pulls in media-video/nvidia-settings.
23 >>
24 >> My guess is that media-video/nvidia-settings is now included in
25 >> x11-drivers/nvidia-drivers and is therefore not needed anymore as a
26 >> separate package.
27 >>
28 >> As a workaround, because I hadn't had time to file a bug report when I
29 >> discovered this, I just reinstalled xfce-extra/xfce4-sensors-plugin with
30 >> USE="-video_cards_nvidia".
31 >>
32 >> There are some other packages which pull in media-video/nvidia-settings
33 >> if VIDEO_CARDS="nvidia" is set. So if you don't use Xfce it's probably
34 >> one of those packages.
35 >>
36 >> Just run `equery depends nvidia-settings` or `emerge -pv --tree ...` to
37 >> see by which package it gets pulled in.
38 >>
39 >
40 > Hi Heiko,
41 > (_sounds_ somehow redundant, hahahaha! ;)
42 >
43 > Thanks for the help! :)
44 > The equery command found three more of those:
45 > app-admin/conky-1.9.0-r3 (nvidia ? media-video/nvidia-settings)
46 > sci-libs/vtk-6.1.0-r1 (video_cards_nvidia ? media-video/nvidia-settings)
47 > sys-apps/hwloc-1.10.0-r2 (gl ? media-video/nvidia-settings)
48 >
49 > I fixed that via accorinding use-flag setting as you suggested but
50 > unfortunately vtk is ignoring my manipulations:
51 >
52 > [I] sci-libs/vtk
53 > Available versions: ~6.0.0^t (~)6.1.0^t 6.1.0-r1^t {R +X all-modules aqua boost cg doc examples ffmpeg gdal imaging java json kaapi mpi mysql odbc offscreen postgres python qt4 rendering smp tbb tcl test theora tk views web xdmf2 ELIBC="FreeBSD" PYTHON_TARGETS="python2_7" VIDEO_CARDS="nvidia"}
54 > Installed versions: 6.1.0-r1^t(05:31:39 06/13/15)(X rendering tcl tk -R -all-modules -aqua -boost -cg -doc -examples -ffmpeg -gdal -imaging -java -json -kaapi -mpi -mysql -odbc -offscreen -postgres -python -qt4 -smp -tbb -test -theora -views -web -xdmf2 ELIBC="-FreeBSD" PYTHON_TARGETS="python2_7" VIDEO_CARDS="nvidia")
55 > Homepage: http://www.vtk.org/
56 > Description: The Visualization Toolkit
57 >
58 >
59 > There is no 'nvidia-settings" use-flag with vtk.
60 >
61 > But nevertheless - it pulls it in:
62 > [nomerge ] sci-libs/vtk-6.1.0-r1::gentoo USE="X rendering tcl tk -R -all-modules (-aqua) -boost -cg -doc (-examples) -ffmpeg -gdal -imaging -java -json -kaapi -mpi -mysql -odbc -offscreen -postgres -python -qt4 -smp -tbb {-test} -theora -views -web -xdmf2" PYTHON_TARGETS="python2_7" VIDEO_CARDS="nvidia"
63 > [ebuild N ~] media-video/nvidia-settings-355.11::gentoo USE="-examples -gtk3" 0 KiB
64 >
65 >
66 > Am I lost? ;)
67
68 Update: I see at least the latest nvidia-drivers (358.09) includes
69 nvidia-settings. If that driver supports your hardware, you can unmerge
70 nvidia-settings, put nvidia-drivers back in world and the whole problem
71 goes away
72
73
74
75 --
76 Alan McKinnon
77 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] Porblems with nvidia-settings vs. nvidia-drivers: Up-/downgrade race condition Heiko Baums <lists@××××××××××××.de>