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 nvidia myself for ages so have nothing in the past 

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 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





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 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





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 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: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 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 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




[gentoo-user] Re: libepoxy fails to compile on arm

2015-10-17 Thread James
Alexander Puchmayr  linznet.at> writes:


> I'm trying to compile a system for my raspberry 2, and during compiling
> media-libs/libexpoxy-1.2, I encountered a problem:

> Thanks for suggestions
>   Alex


Hi Alex,

You are going have much deeper access to a very deep bench of arm
expertise, on IRC:: gentoo-embedded.


hth,
James









[gentoo-user] Re: Boot Media Admin CD

2015-10-17 Thread James
João Miguel  openmailbox.org> writes:


> > On the download pages I found this interesting choice for AMD64::
> > Boot Media Admin CD::
> > https://www.gentoo.org/downloads/
> > Anyone know what an .admin cd. is? Anyone tested it yet?
> Hmm I hadn't seen it, but it seems pretty similar to the minimal
> installation CD, except it has a different logo. In fact, it calls
> itself a «minimal installation CD», boots in exactly the same way (boot
> prompt, keymap choice, loading tons of modules, etc.)

I was thinking it was a boodcd that analyzed your hardware/settings
and throws one directly into a "chrooted environment". That would be
very cool, if that is the goal:: repair/reconfigure of low level missteps...


> So I'm guessing it has a few more things than the standard ISO, maybe
> some things that were deemed unnecessary for the minimal install, but
> that may be useful, I don't know, if you mess up your bootloader, or
> maybe it has some statically compiled binaries that you can copy and use
> on your main system if something is broken... But that's just a guess.

Yes, or it could be a hybrid-customizable (catalyst/aufs/systemrescue) media
project where you spin your own boot/recovery cd/iso sometime after an
install is complete?   Just a wishful guess cloning for cluster research
and dev does come to mind (hopeful intentions here) for folks that need to
spin up lots of gentoo images on real hardware. As my work progresses to
'bare metal' clusters on heterogeneous hardware (arm64 is next) VM's are not
a viable option for my needs.   


> The easiest way to know the difference may be to mount the ISOs, the
> SquashFSs inside, and compare the files...
> If you want to try it, you can do:
>  $ qemu-system-x86_64 -m 1G -hda admincd.iso -enable-kvm
> Thanks for the question. Now I'm curious too :-D
> João Miguel

Yep, inquiring minds just want to know. Maybe?::It's preparation for the
upcoming "stage_4" installs?  [1,2] There's quite an impressive list of devs
@1 now part of Gentoo Release Engineering. I sure those folks will "put out"
some amazing new install toys! Either way, an "admin cd" in the installation
media collection for gentoo, does spark excitement and 
curiosities and possibilities, kno?


James

[1] https://wiki.gentoo.org/wiki/Project:RelEng

[2] https://wiki.gentoo.org/wiki/Project:RelEng_GRS



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 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.



[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