1 |
Alan McKinnon <alan.mckinnon@×××××.com> [15-10-17 18:24]: |
2 |
> On 17/10/2015 16:59, Meino.Cramer@×××.de wrote: |
3 |
> > Heiko Baums <lists@××××××××××××.de> [15-10-17 15:44]: |
4 |
> >> Am 17.10.2015 um 13:07 schrieb Meino.Cramer@×××.de: |
5 |
> >> |
6 |
> >>> previously I had emerged nvidia-settings seperately. This leads to an |
7 |
> >>> problem with a recent update, because the nvidia-settings were |
8 |
> >>> pulling in the old version of the nvidia-drivers and the update wants |
9 |
> >>> the new version of the drivers. |
10 |
> >>> |
11 |
> >>> So I emerge -C'ed the nvidia-settings, set the USE-flag 'tools' for |
12 |
> >>> the drivers and updated...it works. |
13 |
> >>> |
14 |
> >>> This morning ... updateing my Gentoo box again, the same scenario |
15 |
> >>> happens again...nvidia-settings (old version) were missing (why?) |
16 |
> >>> and again wants the old driver while emerge wants the new one. |
17 |
> >>> |
18 |
> >>> How can I get out of this? |
19 |
> >> |
20 |
> >> Do you have xfce-extra/xfce4-sensors-plugin with |
21 |
> >> USE="video_cards_nvidia" resp. VIDEO_CARDS="nvidia" installed? |
22 |
> >> |
23 |
> >> Because this pulls in media-video/nvidia-settings. |
24 |
> >> |
25 |
> >> My guess is that media-video/nvidia-settings is now included in |
26 |
> >> x11-drivers/nvidia-drivers and is therefore not needed anymore as a |
27 |
> >> separate package. |
28 |
> >> |
29 |
> >> As a workaround, because I hadn't had time to file a bug report when I |
30 |
> >> discovered this, I just reinstalled xfce-extra/xfce4-sensors-plugin with |
31 |
> >> USE="-video_cards_nvidia". |
32 |
> >> |
33 |
> >> There are some other packages which pull in media-video/nvidia-settings |
34 |
> >> if VIDEO_CARDS="nvidia" is set. So if you don't use Xfce it's probably |
35 |
> >> one of those packages. |
36 |
> >> |
37 |
> >> Just run `equery depends nvidia-settings` or `emerge -pv --tree ...` to |
38 |
> >> see by which package it gets pulled in. |
39 |
> >> |
40 |
> > |
41 |
> > Hi Heiko, |
42 |
> > (_sounds_ somehow redundant, hahahaha! ;) |
43 |
> > |
44 |
> > Thanks for the help! :) |
45 |
> > The equery command found three more of those: |
46 |
> > app-admin/conky-1.9.0-r3 (nvidia ? media-video/nvidia-settings) |
47 |
> > sci-libs/vtk-6.1.0-r1 (video_cards_nvidia ? media-video/nvidia-settings) |
48 |
> > sys-apps/hwloc-1.10.0-r2 (gl ? media-video/nvidia-settings) |
49 |
> > |
50 |
> > I fixed that via accorinding use-flag setting as you suggested but |
51 |
> > unfortunately vtk is ignoring my manipulations: |
52 |
> > |
53 |
> > [I] sci-libs/vtk |
54 |
> > 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"} |
55 |
> > 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") |
56 |
> > Homepage: http://www.vtk.org/ |
57 |
> > Description: The Visualization Toolkit |
58 |
> > |
59 |
> > |
60 |
> > There is no 'nvidia-settings" use-flag with vtk. |
61 |
> > |
62 |
> > But nevertheless - it pulls it in: |
63 |
> > [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" |
64 |
> > [ebuild N ~] media-video/nvidia-settings-355.11::gentoo USE="-examples -gtk3" 0 KiB |
65 |
> > |
66 |
> > |
67 |
> > Am I lost? ;) |
68 |
> |
69 |
> With the tree currently as-is, yes. vtk blindly pulls in nvidia-settings: |
70 |
> |
71 |
> RDEPEND=" |
72 |
> ... |
73 |
> video_cards_nvidia? ( media-video/nvidia-settings ) |
74 |
> |
75 |
> |
76 |
> Which is a bit of a blunt weapon - saying nvidia in make.conf gives you |
77 |
> nvidia-settings regardless of anything else. |
78 |
> |
79 |
> I would suggest removing nvidia-drivers from world, putting |
80 |
> nvidia-settings in instead. This will enforce that you only get drivers |
81 |
> packages that are compatible with settings. Any ebuild that tries to |
82 |
> update drivers to latest without a matching settings will run into a |
83 |
> blocker. |
84 |
> |
85 |
> Ideal of course would be nvidia-settings is always in step with |
86 |
> nvidia-drivers then this problem just never arises. Why those two are |
87 |
> eternally out of step is beyond me. |
88 |
> |
89 |
> > |
90 |
> > |
91 |
> > Best regards, |
92 |
> > Meino |
93 |
> > |
94 |
> > |
95 |
> > |
96 |
> > |
97 |
> |
98 |
> |
99 |
> -- |
100 |
> Alan McKinnon |
101 |
> alan.mckinnon@×××××.com |
102 |
> |
103 |
> |
104 |
|
105 |
Hi Alan, |
106 |
|
107 |
thanks for digging into the depth of Gentoo! :) |
108 |
|
109 |
Why not to remove nvidia-settings as a separate package completely and |
110 |
make the choose whether to install it dependant from the |
111 |
"tools" flag of the drivers? |
112 |
|
113 |
I dont think, that there is someone out there, who wants |
114 |
nvidia-settings /without/ the drivers?!? |
115 |
|
116 |
Only my 2 EURcents... ;) |
117 |
|
118 |
Best regards, |
119 |
Meino |