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 |
With the tree currently as-is, yes. vtk blindly pulls in nvidia-settings: |
69 |
|
70 |
RDEPEND=" |
71 |
... |
72 |
video_cards_nvidia? ( media-video/nvidia-settings ) |
73 |
|
74 |
|
75 |
Which is a bit of a blunt weapon - saying nvidia in make.conf gives you |
76 |
nvidia-settings regardless of anything else. |
77 |
|
78 |
I would suggest removing nvidia-drivers from world, putting |
79 |
nvidia-settings in instead. This will enforce that you only get drivers |
80 |
packages that are compatible with settings. Any ebuild that tries to |
81 |
update drivers to latest without a matching settings will run into a |
82 |
blocker. |
83 |
|
84 |
Ideal of course would be nvidia-settings is always in step with |
85 |
nvidia-drivers then this problem just never arises. Why those two are |
86 |
eternally out of step is beyond me. |
87 |
|
88 |
> |
89 |
> |
90 |
> Best regards, |
91 |
> Meino |
92 |
> |
93 |
> |
94 |
> |
95 |
> |
96 |
|
97 |
|
98 |
-- |
99 |
Alan McKinnon |
100 |
alan.mckinnon@×××××.com |