Re: [gentoo-user] Porblems with nvidia-settings vs. nvidia-drivers: Up-/downgrade race condition

2015-10-17 Thread netfab
Le 17/10/15 à 18:29, Heiko Baums a tapoté :
> The dependency in those ebuilds need to be changed to have
> x11-drivers/nvidia-drivers being installed with USE="tools" instead
> of pulling in media-video/nvidia-settings.

No. Because of bug #414679. xfce4-sensors-plugin needs libXNVCtrl.a
which is not provided by nvidia-drivers, but by nvidia-settings.

Maybe resolving bug #562910 would fix the problem, I don't know.



Re: [gentoo-user] Porblems with nvidia-settings vs. nvidia-drivers: Up-/downgrade race condition

2015-10-17 Thread netfab

Here is how I do to avoid the nvidia-drivers/nvidia-settings
upgrade/downgrade game since its started.
On my system, old nvidia-settings-331.20 is installed, and latest
stable nvidia-drivers.
At each system update I do (and will do this until it will be
resolved) :

> # emerge -avuDN --exclude media-video/nvidia-settings world





[gentoo-user] Porblems with nvidia-settings vs. nvidia-drivers: Up-/downgrade race condition

2015-10-17 Thread Meino . Cramer
Hi,

previously I had emerged nvidia-settings seperately. This leads to an 
problem with a recent update, because the nvidia-settings were
pulling in the old version of the nvidia-drivers and the update wants
the new version of the drivers.

So I emerge -C'ed the nvidia-settings, set the USE-flag 'tools' for
the drivers and updated...it works.

This morning ... updateing my Gentoo box again, the same scenario
happens again...nvidia-settings (old version) were missing (why?)
and again wants the old driver while emerge wants the new one.

How can I get out of this?

Best regards,
Meino





Re: [gentoo-user] Porblems with nvidia-settings vs. nvidia-drivers: Up-/downgrade race condition

2015-10-17 Thread Heiko Baums
Am 17.10.2015 um 13:07 schrieb meino.cra...@gmx.de:

> previously I had emerged nvidia-settings seperately. This leads to an 
> problem with a recent update, because the nvidia-settings were
> pulling in the old version of the nvidia-drivers and the update wants
> the new version of the drivers.
> 
> So I emerge -C'ed the nvidia-settings, set the USE-flag 'tools' for
> the drivers and updated...it works.
> 
> This morning ... updateing my Gentoo box again, the same scenario
> happens again...nvidia-settings (old version) were missing (why?)
> and again wants the old driver while emerge wants the new one.
> 
> How can I get out of this?

Do you have xfce-extra/xfce4-sensors-plugin with
USE="video_cards_nvidia" resp. VIDEO_CARDS="nvidia" installed?

Because this pulls in media-video/nvidia-settings.

My guess is that media-video/nvidia-settings is now included in
x11-drivers/nvidia-drivers and is therefore not needed anymore as a
separate package.

As a workaround, because I hadn't had time to file a bug report when I
discovered this, I just reinstalled xfce-extra/xfce4-sensors-plugin with
USE="-video_cards_nvidia".

There are some other packages which pull in media-video/nvidia-settings
if VIDEO_CARDS="nvidia" is set. So if you don't use Xfce it's probably
one of those packages.

Just run `equery depends nvidia-settings` or `emerge -pv --tree ...` to
see by which package it gets pulled in.



Re: [gentoo-user] Porblems with nvidia-settings vs. nvidia-drivers: Up-/downgrade race condition

2015-10-17 Thread Heiko Baums
Am 17.10.2015 um 18:46 schrieb netfab:
> Le 17/10/15 à 18:29, Heiko Baums a tapoté :
>> The dependency in those ebuilds need to be changed to have
>> x11-drivers/nvidia-drivers being installed with USE="tools" instead
>> of pulling in media-video/nvidia-settings.
> 
> No. Because of bug #414679. xfce4-sensors-plugin needs libXNVCtrl.a
> which is not provided by nvidia-drivers, but by nvidia-settings.
> 
> Maybe resolving bug #562910 would fix the problem, I don't know.

Those two bug reports sound better indeed.



Re: [gentoo-user] Porblems with nvidia-settings vs. nvidia-drivers: Up-/downgrade race condition

2015-10-17 Thread Alan McKinnon
On 17/10/2015 18:42, meino.cra...@gmx.de wrote:
> Alan McKinnon  [15-10-17 18:24]:
>> On 17/10/2015 16:59, meino.cra...@gmx.de wrote:
>>> Heiko Baums  [15-10-17 15:44]:
 Am 17.10.2015 um 13:07 schrieb meino.cra...@gmx.de:

> previously I had emerged nvidia-settings seperately. This leads to an 
> problem with a recent update, because the nvidia-settings were
> pulling in the old version of the nvidia-drivers and the update wants
> the new version of the drivers.
>
> So I emerge -C'ed the nvidia-settings, set the USE-flag 'tools' for
> the drivers and updated...it works.
>
> This morning ... updateing my Gentoo box again, the same scenario
> happens again...nvidia-settings (old version) were missing (why?)
> and again wants the old driver while emerge wants the new one.
>
> How can I get out of this?

 Do you have xfce-extra/xfce4-sensors-plugin with
 USE="video_cards_nvidia" resp. VIDEO_CARDS="nvidia" installed?

 Because this pulls in media-video/nvidia-settings.

 My guess is that media-video/nvidia-settings is now included in
 x11-drivers/nvidia-drivers and is therefore not needed anymore as a
 separate package.

 As a workaround, because I hadn't had time to file a bug report when I
 discovered this, I just reinstalled xfce-extra/xfce4-sensors-plugin with
 USE="-video_cards_nvidia".

 There are some other packages which pull in media-video/nvidia-settings
 if VIDEO_CARDS="nvidia" is set. So if you don't use Xfce it's probably
 one of those packages.

 Just run `equery depends nvidia-settings` or `emerge -pv --tree ...` to
 see by which package it gets pulled in.

>>>
>>> Hi Heiko,
>>> (_sounds_ somehow redundant, hahahaha! ;)
>>>
>>> Thanks for the help! :)
>>> The equery command found three more of those:
>>> app-admin/conky-1.9.0-r3 (nvidia ? media-video/nvidia-settings)
>>> sci-libs/vtk-6.1.0-r1 (video_cards_nvidia ? media-video/nvidia-settings)
>>> sys-apps/hwloc-1.10.0-r2 (gl ? media-video/nvidia-settings)
>>>
>>> I fixed that via accorinding use-flag setting as you suggested but
>>> unfortunately vtk is ignoring my manipulations:
>>>
>>> [I] sci-libs/vtk
>>>  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"}
>>>  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")
>>>  Homepage:http://www.vtk.org/
>>>  Description: The Visualization Toolkit
>>>
>>>
>>> There is no 'nvidia-settings" use-flag with vtk.
>>>
>>> But nevertheless - it pulls it in:
>>> [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" 
>>> [ebuild  N~]  media-video/nvidia-settings-355.11::gentoo  
>>> USE="-examples -gtk3" 0 KiB
>>>
>>>
>>> Am I lost? ;)
>>
>> With the tree currently as-is, yes. vtk blindly pulls in nvidia-settings:
>>
>> RDEPEND="
>>  ...
>>  video_cards_nvidia? ( media-video/nvidia-settings )
>>
>>
>> Which is a bit of a blunt weapon - saying nvidia in make.conf gives you
>> nvidia-settings regardless of anything else.
>>
>> I would suggest removing nvidia-drivers from world, putting
>> nvidia-settings in instead. This will enforce that you only get drivers
>> packages that are compatible with settings. Any ebuild that tries to
>> update drivers to latest without a matching settings will run into a
>> blocker.
>>
>> Ideal of course would be nvidia-settings is always in step with
>> nvidia-drivers then this problem just never arises. Why those two are
>> eternally out of step is beyond me.
>>
>>>
>>>
>>> Best regards,
>>> Meino
>>>
>>>
>>>
>>>
>>
>>
>> -- 
>> Alan McKinnon
>> alan.mckin...@gmail.com
>>
>>
> 
> Hi Alan,
> 
> thanks for digging into the depth of Gentoo! :)
> 
> Why not to remove nvidia-settings as a separate package completely and
> make the choose whether to install it dependant from the
> "tools" flag of the drivers?
> 
> I dont think, that there is someone out there, who wants
> nvidia-settings /without/ the drivers?!?
> 
> Only my 2 EURcents... ;) 


That makes sense. I don't know why the two ebuilds are set up that way,
and I haven't used 

Re: [gentoo-user] Porblems with nvidia-settings vs. nvidia-drivers: Up-/downgrade race condition

2015-10-17 Thread Alan McKinnon
On 17/10/2015 16:59, meino.cra...@gmx.de wrote:
> Heiko Baums  [15-10-17 15:44]:
>> Am 17.10.2015 um 13:07 schrieb meino.cra...@gmx.de:
>>
>>> previously I had emerged nvidia-settings seperately. This leads to an 
>>> problem with a recent update, because the nvidia-settings were
>>> pulling in the old version of the nvidia-drivers and the update wants
>>> the new version of the drivers.
>>>
>>> So I emerge -C'ed the nvidia-settings, set the USE-flag 'tools' for
>>> the drivers and updated...it works.
>>>
>>> This morning ... updateing my Gentoo box again, the same scenario
>>> happens again...nvidia-settings (old version) were missing (why?)
>>> and again wants the old driver while emerge wants the new one.
>>>
>>> How can I get out of this?
>>
>> Do you have xfce-extra/xfce4-sensors-plugin with
>> USE="video_cards_nvidia" resp. VIDEO_CARDS="nvidia" installed?
>>
>> Because this pulls in media-video/nvidia-settings.
>>
>> My guess is that media-video/nvidia-settings is now included in
>> x11-drivers/nvidia-drivers and is therefore not needed anymore as a
>> separate package.
>>
>> As a workaround, because I hadn't had time to file a bug report when I
>> discovered this, I just reinstalled xfce-extra/xfce4-sensors-plugin with
>> USE="-video_cards_nvidia".
>>
>> There are some other packages which pull in media-video/nvidia-settings
>> if VIDEO_CARDS="nvidia" is set. So if you don't use Xfce it's probably
>> one of those packages.
>>
>> Just run `equery depends nvidia-settings` or `emerge -pv --tree ...` to
>> see by which package it gets pulled in.
>>
> 
> Hi Heiko,
> (_sounds_ somehow redundant, hahahaha! ;)
> 
> Thanks for the help! :)
> The equery command found three more of those:
> app-admin/conky-1.9.0-r3 (nvidia ? media-video/nvidia-settings)
> sci-libs/vtk-6.1.0-r1 (video_cards_nvidia ? media-video/nvidia-settings)
> sys-apps/hwloc-1.10.0-r2 (gl ? media-video/nvidia-settings)
> 
> I fixed that via accorinding use-flag setting as you suggested but
> unfortunately vtk is ignoring my manipulations:
> 
> [I] sci-libs/vtk
>  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"}
>  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")
>  Homepage:http://www.vtk.org/
>  Description: The Visualization Toolkit
> 
> 
> There is no 'nvidia-settings" use-flag with vtk.
> 
> But nevertheless - it pulls it in:
> [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" 
> [ebuild  N~]  media-video/nvidia-settings-355.11::gentoo  USE="-examples 
> -gtk3" 0 KiB
> 
> 
> Am I lost? ;)

With the tree currently as-is, yes. vtk blindly pulls in nvidia-settings:

RDEPEND="
...
video_cards_nvidia? ( media-video/nvidia-settings )


Which is a bit of a blunt weapon - saying nvidia in make.conf gives you
nvidia-settings regardless of anything else.

I would suggest removing nvidia-drivers from world, putting
nvidia-settings in instead. This will enforce that you only get drivers
packages that are compatible with settings. Any ebuild that tries to
update drivers to latest without a matching settings will run into a
blocker.

Ideal of course would be nvidia-settings is always in step with
nvidia-drivers then this problem just never arises. Why those two are
eternally out of step is beyond me.

> 
> 
> Best regards,
> Meino
> 
> 
> 
> 


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Porblems with nvidia-settings vs. nvidia-drivers: Up-/downgrade race condition

2015-10-17 Thread Heiko Baums
Am 17.10.2015 um 18:22 schrieb Alan McKinnon:

> Update: I see at least the latest nvidia-drivers (358.09) includes
> nvidia-settings. If that driver supports your hardware, you can unmerge
> nvidia-settings, put nvidia-drivers back in world and the whole problem
> goes away

Unfortunately it doesn't go away, because the packages in question are
pulling in media-video/nvidia-settings directly as their dependency. I
would call this a bug due to changes made by upstream. The dependency in
those ebuilds need to be changed to have x11-drivers/nvidia-drivers
being installed with USE="tools" instead of pulling in
media-video/nvidia-settings.



Re: [gentoo-user] Porblems with nvidia-settings vs. nvidia-drivers: Up-/downgrade race condition

2015-10-17 Thread Heiko Baums
Am 17.10.2015 um 16:59 schrieb meino.cra...@gmx.de:
> The equery command found three more of those:
> app-admin/conky-1.9.0-r3 (nvidia ? media-video/nvidia-settings)
> sci-libs/vtk-6.1.0-r1 (video_cards_nvidia ? media-video/nvidia-settings)
> sys-apps/hwloc-1.10.0-r2 (gl ? media-video/nvidia-settings)
> 
> I fixed that via accorinding use-flag setting as you suggested but
> unfortunately vtk is ignoring my manipulations:
> 
> [I] sci-libs/vtk
>  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"}
>  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")
>  Homepage:http://www.vtk.org/
>  Description: The Visualization Toolkit
> 
> 
> There is no 'nvidia-settings" use-flag with vtk.
> 
> But nevertheless - it pulls it in:
> [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" 
> [ebuild  N~]  media-video/nvidia-settings-355.11::gentoo  USE="-examples 
> -gtk3" 0 KiB
> 
> 
> Am I lost? ;)

A bit. ;-)

There is no USE flag "nvidia-settings". The USE flag is called
"video_cards_nvidia" resp. VIDEO="nvidia". It's both the same. In
make.conf you usually set VIDEO="nvidia", but you can also set or unset
USE="video_cards_nvidia" in make.conf, package.use or wherever instead.

VIDEO="nvidia" automatically sets USE="video_cards_nvidia" in the
correspondent ebuilds.



Re: [gentoo-user] Porblems with nvidia-settings vs. nvidia-drivers: Up-/downgrade race condition

2015-10-17 Thread Heiko Baums
Am 17.10.2015 um 18:37 schrieb Heiko Baums:
> Am 17.10.2015 um 16:59 schrieb meino.cra...@gmx.de:
>> The equery command found three more of those:
>> app-admin/conky-1.9.0-r3 (nvidia ? media-video/nvidia-settings)
>> sci-libs/vtk-6.1.0-r1 (video_cards_nvidia ? media-video/nvidia-settings)
>> sys-apps/hwloc-1.10.0-r2 (gl ? media-video/nvidia-settings)
>>
>> I fixed that via accorinding use-flag setting as you suggested but
>> unfortunately vtk is ignoring my manipulations:
>>
>> [I] sci-libs/vtk
>>  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"}
>>  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")
>>  Homepage:http://www.vtk.org/
>>  Description: The Visualization Toolkit
>>
>>
>> There is no 'nvidia-settings" use-flag with vtk.
>>
>> But nevertheless - it pulls it in:
>> [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" 
>> [ebuild  N~]  media-video/nvidia-settings-355.11::gentoo  USE="-examples 
>> -gtk3" 0 KiB
>>
>>
>> Am I lost? ;)
> 
> A bit. ;-)
> 
> There is no USE flag "nvidia-settings". The USE flag is called
> "video_cards_nvidia" resp. VIDEO="nvidia". It's both the same. In
> make.conf you usually set VIDEO="nvidia", but you can also set or unset
> USE="video_cards_nvidia" in make.conf, package.use or wherever instead.
> 
> VIDEO="nvidia" automatically sets USE="video_cards_nvidia" in the
> correspondent ebuilds.

Sorry, it's of course not VIDEO="nvidia" but VIDEO_CARDS="nvidia".




Re: [gentoo-user] Porblems with nvidia-settings vs. nvidia-drivers: Up-/downgrade race condition

2015-10-17 Thread Meino . Cramer
Heiko Baums  [15-10-17 15:44]:
> Am 17.10.2015 um 13:07 schrieb meino.cra...@gmx.de:
> 
> > previously I had emerged nvidia-settings seperately. This leads to an 
> > problem with a recent update, because the nvidia-settings were
> > pulling in the old version of the nvidia-drivers and the update wants
> > the new version of the drivers.
> > 
> > So I emerge -C'ed the nvidia-settings, set the USE-flag 'tools' for
> > the drivers and updated...it works.
> > 
> > This morning ... updateing my Gentoo box again, the same scenario
> > happens again...nvidia-settings (old version) were missing (why?)
> > and again wants the old driver while emerge wants the new one.
> > 
> > How can I get out of this?
> 
> Do you have xfce-extra/xfce4-sensors-plugin with
> USE="video_cards_nvidia" resp. VIDEO_CARDS="nvidia" installed?
> 
> Because this pulls in media-video/nvidia-settings.
> 
> My guess is that media-video/nvidia-settings is now included in
> x11-drivers/nvidia-drivers and is therefore not needed anymore as a
> separate package.
> 
> As a workaround, because I hadn't had time to file a bug report when I
> discovered this, I just reinstalled xfce-extra/xfce4-sensors-plugin with
> USE="-video_cards_nvidia".
> 
> There are some other packages which pull in media-video/nvidia-settings
> if VIDEO_CARDS="nvidia" is set. So if you don't use Xfce it's probably
> one of those packages.
> 
> Just run `equery depends nvidia-settings` or `emerge -pv --tree ...` to
> see by which package it gets pulled in.
> 

Hi Heiko,
(_sounds_ somehow redundant, hahahaha! ;)

Thanks for the help! :)
The equery command found three more of those:
app-admin/conky-1.9.0-r3 (nvidia ? media-video/nvidia-settings)
sci-libs/vtk-6.1.0-r1 (video_cards_nvidia ? media-video/nvidia-settings)
sys-apps/hwloc-1.10.0-r2 (gl ? media-video/nvidia-settings)

I fixed that via accorinding use-flag setting as you suggested but
unfortunately vtk is ignoring my manipulations:

[I] sci-libs/vtk
 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"}
 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")
 Homepage:http://www.vtk.org/
 Description: The Visualization Toolkit


There is no 'nvidia-settings" use-flag with vtk.

But nevertheless - it pulls it in:
[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" 
[ebuild  N~]  media-video/nvidia-settings-355.11::gentoo  USE="-examples 
-gtk3" 0 KiB


Am I lost? ;)


Best regards,
Meino






Re: [gentoo-user] Porblems with nvidia-settings vs. nvidia-drivers: Up-/downgrade race condition

2015-10-17 Thread Alan McKinnon
On 17/10/2015 16:59, meino.cra...@gmx.de wrote:
> Heiko Baums  [15-10-17 15:44]:
>> Am 17.10.2015 um 13:07 schrieb meino.cra...@gmx.de:
>>
>>> previously I had emerged nvidia-settings seperately. This leads to an 
>>> problem with a recent update, because the nvidia-settings were
>>> pulling in the old version of the nvidia-drivers and the update wants
>>> the new version of the drivers.
>>>
>>> So I emerge -C'ed the nvidia-settings, set the USE-flag 'tools' for
>>> the drivers and updated...it works.
>>>
>>> This morning ... updateing my Gentoo box again, the same scenario
>>> happens again...nvidia-settings (old version) were missing (why?)
>>> and again wants the old driver while emerge wants the new one.
>>>
>>> How can I get out of this?
>>
>> Do you have xfce-extra/xfce4-sensors-plugin with
>> USE="video_cards_nvidia" resp. VIDEO_CARDS="nvidia" installed?
>>
>> Because this pulls in media-video/nvidia-settings.
>>
>> My guess is that media-video/nvidia-settings is now included in
>> x11-drivers/nvidia-drivers and is therefore not needed anymore as a
>> separate package.
>>
>> As a workaround, because I hadn't had time to file a bug report when I
>> discovered this, I just reinstalled xfce-extra/xfce4-sensors-plugin with
>> USE="-video_cards_nvidia".
>>
>> There are some other packages which pull in media-video/nvidia-settings
>> if VIDEO_CARDS="nvidia" is set. So if you don't use Xfce it's probably
>> one of those packages.
>>
>> Just run `equery depends nvidia-settings` or `emerge -pv --tree ...` to
>> see by which package it gets pulled in.
>>
> 
> Hi Heiko,
> (_sounds_ somehow redundant, hahahaha! ;)
> 
> Thanks for the help! :)
> The equery command found three more of those:
> app-admin/conky-1.9.0-r3 (nvidia ? media-video/nvidia-settings)
> sci-libs/vtk-6.1.0-r1 (video_cards_nvidia ? media-video/nvidia-settings)
> sys-apps/hwloc-1.10.0-r2 (gl ? media-video/nvidia-settings)
> 
> I fixed that via accorinding use-flag setting as you suggested but
> unfortunately vtk is ignoring my manipulations:
> 
> [I] sci-libs/vtk
>  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"}
>  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")
>  Homepage:http://www.vtk.org/
>  Description: The Visualization Toolkit
> 
> 
> There is no 'nvidia-settings" use-flag with vtk.
> 
> But nevertheless - it pulls it in:
> [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" 
> [ebuild  N~]  media-video/nvidia-settings-355.11::gentoo  USE="-examples 
> -gtk3" 0 KiB
> 
> 
> Am I lost? ;)

Update: I see at least the latest nvidia-drivers (358.09) includes
nvidia-settings. If that driver supports your hardware, you can unmerge
nvidia-settings, put nvidia-drivers back in world and the whole problem
goes away



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Porblems with nvidia-settings vs. nvidia-drivers: Up-/downgrade race condition

2015-10-17 Thread Meino . Cramer
Alan McKinnon  [15-10-17 18:24]:
> On 17/10/2015 16:59, meino.cra...@gmx.de wrote:
> > Heiko Baums  [15-10-17 15:44]:
> >> Am 17.10.2015 um 13:07 schrieb meino.cra...@gmx.de:
> >>
> >>> previously I had emerged nvidia-settings seperately. This leads to an 
> >>> problem with a recent update, because the nvidia-settings were
> >>> pulling in the old version of the nvidia-drivers and the update wants
> >>> the new version of the drivers.
> >>>
> >>> So I emerge -C'ed the nvidia-settings, set the USE-flag 'tools' for
> >>> the drivers and updated...it works.
> >>>
> >>> This morning ... updateing my Gentoo box again, the same scenario
> >>> happens again...nvidia-settings (old version) were missing (why?)
> >>> and again wants the old driver while emerge wants the new one.
> >>>
> >>> How can I get out of this?
> >>
> >> Do you have xfce-extra/xfce4-sensors-plugin with
> >> USE="video_cards_nvidia" resp. VIDEO_CARDS="nvidia" installed?
> >>
> >> Because this pulls in media-video/nvidia-settings.
> >>
> >> My guess is that media-video/nvidia-settings is now included in
> >> x11-drivers/nvidia-drivers and is therefore not needed anymore as a
> >> separate package.
> >>
> >> As a workaround, because I hadn't had time to file a bug report when I
> >> discovered this, I just reinstalled xfce-extra/xfce4-sensors-plugin with
> >> USE="-video_cards_nvidia".
> >>
> >> There are some other packages which pull in media-video/nvidia-settings
> >> if VIDEO_CARDS="nvidia" is set. So if you don't use Xfce it's probably
> >> one of those packages.
> >>
> >> Just run `equery depends nvidia-settings` or `emerge -pv --tree ...` to
> >> see by which package it gets pulled in.
> >>
> > 
> > Hi Heiko,
> > (_sounds_ somehow redundant, hahahaha! ;)
> > 
> > Thanks for the help! :)
> > The equery command found three more of those:
> > app-admin/conky-1.9.0-r3 (nvidia ? media-video/nvidia-settings)
> > sci-libs/vtk-6.1.0-r1 (video_cards_nvidia ? media-video/nvidia-settings)
> > sys-apps/hwloc-1.10.0-r2 (gl ? media-video/nvidia-settings)
> > 
> > I fixed that via accorinding use-flag setting as you suggested but
> > unfortunately vtk is ignoring my manipulations:
> > 
> > [I] sci-libs/vtk
> >  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"}
> >  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")
> >  Homepage:http://www.vtk.org/
> >  Description: The Visualization Toolkit
> > 
> > 
> > There is no 'nvidia-settings" use-flag with vtk.
> > 
> > But nevertheless - it pulls it in:
> > [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" 
> > [ebuild  N~]  media-video/nvidia-settings-355.11::gentoo  
> > USE="-examples -gtk3" 0 KiB
> > 
> > 
> > Am I lost? ;)
> 
> With the tree currently as-is, yes. vtk blindly pulls in nvidia-settings:
> 
> RDEPEND="
>   ...
>   video_cards_nvidia? ( media-video/nvidia-settings )
> 
> 
> Which is a bit of a blunt weapon - saying nvidia in make.conf gives you
> nvidia-settings regardless of anything else.
> 
> I would suggest removing nvidia-drivers from world, putting
> nvidia-settings in instead. This will enforce that you only get drivers
> packages that are compatible with settings. Any ebuild that tries to
> update drivers to latest without a matching settings will run into a
> blocker.
> 
> Ideal of course would be nvidia-settings is always in step with
> nvidia-drivers then this problem just never arises. Why those two are
> eternally out of step is beyond me.
> 
> > 
> > 
> > Best regards,
> > Meino
> > 
> > 
> > 
> > 
> 
> 
> -- 
> Alan McKinnon
> alan.mckin...@gmail.com
> 
> 

Hi Alan,

thanks for digging into the depth of Gentoo! :)

Why not to remove nvidia-settings as a separate package completely and
make the choose whether to install it dependant from the
"tools" flag of the drivers?

I dont think, that there is someone out there, who wants
nvidia-settings /without/ the drivers?!?

Only my 2 EURcents... ;) 

Best regards,
Meino