Gentoo Archives: gentoo-user

From: Meino.Cramer@×××.de
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 14:59:41
Message-Id: 20151017145929.GB4646@solfire
In Reply to: Re: [gentoo-user] Porblems with nvidia-settings vs. nvidia-drivers: Up-/downgrade race condition by Heiko Baums
1 Heiko Baums <lists@××××××××××××.de> [15-10-17 15:44]:
2 > Am 17.10.2015 um 13:07 schrieb Meino.Cramer@×××.de:
3 >
4 > > previously I had emerged nvidia-settings seperately. This leads to an
5 > > problem with a recent update, because the nvidia-settings were
6 > > pulling in the old version of the nvidia-drivers and the update wants
7 > > the new version of the drivers.
8 > >
9 > > So I emerge -C'ed the nvidia-settings, set the USE-flag 'tools' for
10 > > the drivers and updated...it works.
11 > >
12 > > This morning ... updateing my Gentoo box again, the same scenario
13 > > happens again...nvidia-settings (old version) were missing (why?)
14 > > and again wants the old driver while emerge wants the new one.
15 > >
16 > > How can I get out of this?
17 >
18 > Do you have xfce-extra/xfce4-sensors-plugin with
19 > USE="video_cards_nvidia" resp. VIDEO_CARDS="nvidia" installed?
20 >
21 > Because this pulls in media-video/nvidia-settings.
22 >
23 > My guess is that media-video/nvidia-settings is now included in
24 > x11-drivers/nvidia-drivers and is therefore not needed anymore as a
25 > separate package.
26 >
27 > As a workaround, because I hadn't had time to file a bug report when I
28 > discovered this, I just reinstalled xfce-extra/xfce4-sensors-plugin with
29 > USE="-video_cards_nvidia".
30 >
31 > There are some other packages which pull in media-video/nvidia-settings
32 > if VIDEO_CARDS="nvidia" is set. So if you don't use Xfce it's probably
33 > one of those packages.
34 >
35 > Just run `equery depends nvidia-settings` or `emerge -pv --tree ...` to
36 > see by which package it gets pulled in.
37 >
38
39 Hi Heiko,
40 (_sounds_ somehow redundant, hahahaha! ;)
41
42 Thanks for the help! :)
43 The equery command found three more of those:
44 app-admin/conky-1.9.0-r3 (nvidia ? media-video/nvidia-settings)
45 sci-libs/vtk-6.1.0-r1 (video_cards_nvidia ? media-video/nvidia-settings)
46 sys-apps/hwloc-1.10.0-r2 (gl ? media-video/nvidia-settings)
47
48 I fixed that via accorinding use-flag setting as you suggested but
49 unfortunately vtk is ignoring my manipulations:
50
51 [I] sci-libs/vtk
52 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"}
53 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")
54 Homepage: http://www.vtk.org/
55 Description: The Visualization Toolkit
56
57
58 There is no 'nvidia-settings" use-flag with vtk.
59
60 But nevertheless - it pulls it in:
61 [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"
62 [ebuild N ~] media-video/nvidia-settings-355.11::gentoo USE="-examples -gtk3" 0 KiB
63
64
65 Am I lost? ;)
66
67
68 Best regards,
69 Meino

Replies