public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings
@ 2013-08-22 17:37 Alexander Kapshuk
  2013-08-22 17:42 ` Alan McKinnon
  2013-08-22 18:27 ` Yuri K. Shatroff
  0 siblings, 2 replies; 14+ messages in thread
From: Alexander Kapshuk @ 2013-08-22 17:37 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1397 bytes --]

When setting up the X server and the  proprietary ndivia driver, as
described here (https://wiki.gentoo.org/wiki/NVidia/nvidia-drivers), I
emerged nvidia-settings, as suggested in the wiki article, The drivers
can be installed with the *gtk* USE flag set in /etc/portage/make.conf.
This will install *media-video/nvidia-settings*, a handy graphical tool
for monitoring and configuring several aspects of your nVidia card.

The version of the nvidia driver and nvidia settings I emerged is:
box0=; equery list '*'|grep nvidia-driver
x11-drivers/nvidia-drivers-319.32

I then emerged xfce4 as well as the xfce4-sensors-plugin (box0=; equery
list '*'|grep xfce4-sensors-plugin
xfce-extra/xfce4-sensors-plugin-1.2.5), which pulled in nvidia-settings
of an older version:
box0=; equery list '*'|grep nvidia-settings
media-video/nvidia-settings-304.60

I had a look at the xfce4-sensors-plugin ebuild, and found
nvidia-settings listed as a dependency, with no version specified.

RDEPEND=">=x11-libs/gtk+-2.14:2
    >=xfce-base/libxfce4ui-4.8
    >=xfce-base/xfce4-panel-4.8
    hddtemp? ( app-admin/hddtemp net-analyzer/gnu-netcat )
    libnotify? ( >=x11-libs/libnotify-0.7 )
    lm_sensors? ( >=sys-apps/lm_sensors-3.1.0 )
    video_cards_nvidia? ( media-video/nvidia-settings )"

I now seem to have both versions of nvidia-settings installed.

How do I fix that please?

Thanks.

Alexander Kapshuk.

[-- Attachment #2: Type: text/html, Size: 2083 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings
  2013-08-22 17:37 [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings Alexander Kapshuk
@ 2013-08-22 17:42 ` Alan McKinnon
  2013-08-22 18:02   ` Alexander Kapshuk
  2013-08-22 18:27 ` Yuri K. Shatroff
  1 sibling, 1 reply; 14+ messages in thread
From: Alan McKinnon @ 2013-08-22 17:42 UTC (permalink / raw
  To: gentoo-user

On 22/08/2013 19:37, Alexander Kapshuk wrote:
> When setting up the X server and the  proprietary ndivia driver, as
> described here (https://wiki.gentoo.org/wiki/NVidia/nvidia-drivers), I
> emerged nvidia-settings, as suggested in the wiki article, The drivers
> can be installed with the *gtk* USE flag set in /etc/portage/make.conf.
> This will install *media-video/nvidia-settings*, a handy graphical tool
> for monitoring and configuring several aspects of your nVidia card.
> 
> The version of the nvidia driver and nvidia settings I emerged is:
> box0=; equery list '*'|grep nvidia-driver
> x11-drivers/nvidia-drivers-319.32
> 
> I then emerged xfce4 as well as the xfce4-sensors-plugin (box0=; equery
> list '*'|grep xfce4-sensors-plugin
> xfce-extra/xfce4-sensors-plugin-1.2.5), which pulled in nvidia-settings
> of an older version:
> box0=; equery list '*'|grep nvidia-settings
> media-video/nvidia-settings-304.60
> 
> I had a look at the xfce4-sensors-plugin ebuild, and found
> nvidia-settings listed as a dependency, with no version specified.
> 
> RDEPEND=">=x11-libs/gtk+-2.14:2
>     >=xfce-base/libxfce4ui-4.8
>     >=xfce-base/xfce4-panel-4.8
>     hddtemp? ( app-admin/hddtemp net-analyzer/gnu-netcat )
>     libnotify? ( >=x11-libs/libnotify-0.7 )
>     lm_sensors? ( >=sys-apps/lm_sensors-3.1.0 )
>     video_cards_nvidia? ( media-video/nvidia-settings )"
> 
> I now seem to have both versions of nvidia-settings installed.
> 
> How do I fix that please?



You don't have two versions of nvidia-settings.
You have one version of nvidia-drivers and one version of
nvidia-settings, and they don't have the same version number.

This is normal, nvidia-settings often runs behind nvidia-drivers. They
do not seem to get updated at the same time (unless driver changes
require it be done of course)


-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings
  2013-08-22 17:42 ` Alan McKinnon
@ 2013-08-22 18:02   ` Alexander Kapshuk
  2013-08-22 18:06     ` Alan McKinnon
  0 siblings, 1 reply; 14+ messages in thread
From: Alexander Kapshuk @ 2013-08-22 18:02 UTC (permalink / raw
  To: gentoo-user

On 08/22/2013 08:42 PM, Alan McKinnon wrote:
> You don't have two versions of nvidia-settings.
> You have one version of nvidia-drivers and one version of
> nvidia-settings, and they don't have the same version number.
>
> This is normal, nvidia-settings often runs behind nvidia-drivers. They
> do not seem to get updated at the same time (unless driver changes
> require it be done of course)
Thanks for your prompt response.

There seem to be ebuilds available for both versions of the
nvidia-settings in the portage repository:
box0=; ls `pwd`/*|egrep '304.60|319.32'
/usr/portage/media-video/nvidia-settings/nvidia-settings-304.60.ebuild
/usr/portage/media-video/nvidia-settings/nvidia-settings-319.32.ebuild

I've also  noticed that in the xfce 'Applicatoins Menu' -> 'Settings', I
have two entries for nvidia-settings.

Is there a reason why the xfce-sensors plug-in pulls in
nvidia-settings-304.60, instead of nvidia-settings-319.32?

Thanks.



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings
  2013-08-22 18:02   ` Alexander Kapshuk
@ 2013-08-22 18:06     ` Alan McKinnon
  2013-08-22 18:16       ` Alexander Kapshuk
  0 siblings, 1 reply; 14+ messages in thread
From: Alan McKinnon @ 2013-08-22 18:06 UTC (permalink / raw
  To: gentoo-user

On 22/08/2013 20:02, Alexander Kapshuk wrote:
> On 08/22/2013 08:42 PM, Alan McKinnon wrote:
>> You don't have two versions of nvidia-settings.
>> You have one version of nvidia-drivers and one version of
>> nvidia-settings, and they don't have the same version number.
>>
>> This is normal, nvidia-settings often runs behind nvidia-drivers. They
>> do not seem to get updated at the same time (unless driver changes
>> require it be done of course)
> Thanks for your prompt response.
> 
> There seem to be ebuilds available for both versions of the
> nvidia-settings in the portage repository:
> box0=; ls `pwd`/*|egrep '304.60|319.32'
> /usr/portage/media-video/nvidia-settings/nvidia-settings-304.60.ebuild
> /usr/portage/media-video/nvidia-settings/nvidia-settings-319.32.ebuild
> 
> I've also  noticed that in the xfce 'Applicatoins Menu' -> 'Settings', I
> have two entries for nvidia-settings.
> 
> Is there a reason why the xfce-sensors plug-in pulls in
> nvidia-settings-304.60, instead of nvidia-settings-319.32?


xfce4-sensors-plugin is not what's doing it. It only requires
nvidia-settings and doesn't care what version. So that's not it.

There's really only one explanation - something else is pulling in
nvidia-settings and xfce4-sensors-plugin is leaving it as-is.

Please post the results of

equery depends nvidia-settings
grep -r nvidia-settings /etc/portage




-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings
  2013-08-22 18:06     ` Alan McKinnon
@ 2013-08-22 18:16       ` Alexander Kapshuk
  0 siblings, 0 replies; 14+ messages in thread
From: Alexander Kapshuk @ 2013-08-22 18:16 UTC (permalink / raw
  To: gentoo-user

On 08/22/2013 09:06 PM, Alan McKinnon wrote:
> xfce4-sensors-plugin is not what's doing it. It only requires
> nvidia-settings and doesn't care what version. So that's not it.
>
> There's really only one explanation - something else is pulling in
> nvidia-settings and xfce4-sensors-plugin is leaving it as-is.
>
> Please post the results of
>
> equery depends nvidia-settings
> grep -r nvidia-settings /etc/portage
box0=; equery depends nvidia-settings
 * These packages depend on nvidia-settings:
xfce-extra/xfce4-sensors-plugin-1.2.5 (video_cards_nvidia ?
media-video/nvidia-settings)

box0=; grep -r nvidia-settings /etc/portage
box0=; echo $?
1

Thanks.



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings
  2013-08-22 17:37 [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings Alexander Kapshuk
  2013-08-22 17:42 ` Alan McKinnon
@ 2013-08-22 18:27 ` Yuri K. Shatroff
  2013-08-22 18:30   ` Alexander Kapshuk
  2013-08-22 18:49   ` Alexander Kapshuk
  1 sibling, 2 replies; 14+ messages in thread
From: Yuri K. Shatroff @ 2013-08-22 18:27 UTC (permalink / raw
  To: gentoo-user

On 22.08.2013 21:37, Alexander Kapshuk wrote:
> The version of the nvidia driver and nvidia settings I emerged is:
> box0=; equery list '*'|grep nvidia-driver
> x11-drivers/nvidia-drivers-319.32
>
> I then emerged xfce4 as well as the xfce4-sensors-plugin (box0=; equery
> list '*'|grep xfce4-sensors-plugin
> xfce-extra/xfce4-sensors-plugin-1.2.5), which pulled in nvidia-settings
> of an older version:
> box0=; equery list '*'|grep nvidia-settings
> media-video/nvidia-settings-304.60

I guess it's rather obvious.
The two packages x11-drivers/nvidia-drivers and 
media-video/nvidia-settings don't know about each other.
The xfce4-sensors-plugin package needs nv-settings but it simply doesn't 
know that nv-settings is already installed by the (different!) nv-drivers.
I think this could be reported to the maintainer of the xfce4 plugin.

-- 
Best wishes,
Yuri K. Shatroff


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings
  2013-08-22 18:27 ` Yuri K. Shatroff
@ 2013-08-22 18:30   ` Alexander Kapshuk
  2013-08-22 18:49   ` Alexander Kapshuk
  1 sibling, 0 replies; 14+ messages in thread
From: Alexander Kapshuk @ 2013-08-22 18:30 UTC (permalink / raw
  To: gentoo-user

On 08/22/2013 09:27 PM, Yuri K. Shatroff wrote:
> I guess it's rather obvious.
> The two packages x11-drivers/nvidia-drivers and
> media-video/nvidia-settings don't know about each other.
> The xfce4-sensors-plugin package needs nv-settings but it simply
> doesn't know that nv-settings is already installed by the (different!)
> nv-drivers.
> I think this could be reported to the maintainer of the xfce4 plugin.
That makes sense. Thanks.



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings
  2013-08-22 18:27 ` Yuri K. Shatroff
  2013-08-22 18:30   ` Alexander Kapshuk
@ 2013-08-22 18:49   ` Alexander Kapshuk
  2013-08-22 18:59     ` Yuri K. Shatroff
  1 sibling, 1 reply; 14+ messages in thread
From: Alexander Kapshuk @ 2013-08-22 18:49 UTC (permalink / raw
  To: gentoo-user

On 08/22/2013 09:27 PM, Yuri K. Shatroff wrote:
> I think this could be reported to the maintainer of the xfce4 plugin. 
The maintainer field for the xfce4-sensors plugin seems to be undefined:

box0=; equery meta xfce4-sensors-plugin-1.2.5|grep -i maintainer
Maintainer:  None specified

Who would you recommend contacting about my original post?

Thanks.



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings
  2013-08-22 18:49   ` Alexander Kapshuk
@ 2013-08-22 18:59     ` Yuri K. Shatroff
  2013-08-22 19:03       ` Alexander Kapshuk
  0 siblings, 1 reply; 14+ messages in thread
From: Yuri K. Shatroff @ 2013-08-22 18:59 UTC (permalink / raw
  To: gentoo-user

On 22.08.2013 22:49, Alexander Kapshuk wrote:
> On 08/22/2013 09:27 PM, Yuri K. Shatroff wrote:
>> I think this could be reported to the maintainer of the xfce4 plugin.
> The maintainer field for the xfce4-sensors plugin seems to be undefined:
>
> box0=; equery meta xfce4-sensors-plugin-1.2.5|grep -i maintainer
> Maintainer:  None specified
>
> Who would you recommend contacting about my original post?
>
> Thanks.

As I figured in the package's changelog, some work on it is being done 
by Samuli Suominen <ssuominen@gentoo.org>. He is also on this list, so I 
guess he could get involved as soon as he reads the list.



-- 
Best wishes,
Yuri K. Shatroff


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings
  2013-08-22 18:59     ` Yuri K. Shatroff
@ 2013-08-22 19:03       ` Alexander Kapshuk
  2013-08-22 19:14         ` Samuli Suominen
  0 siblings, 1 reply; 14+ messages in thread
From: Alexander Kapshuk @ 2013-08-22 19:03 UTC (permalink / raw
  To: gentoo-user

On 08/22/2013 09:59 PM, Yuri K. Shatroff wrote:
> As I figured in the package's changelog, some work on it is being done
> by Samuli Suominen <ssuominen@gentoo.org>. He is also on this list, so
> I guess he could get involved as soon as he reads the list. 
Understood. Thanks.

Let's wait and hear from Samuli Suominen then.



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings
  2013-08-22 19:03       ` Alexander Kapshuk
@ 2013-08-22 19:14         ` Samuli Suominen
  2013-08-22 19:22           ` Alexander Kapshuk
  0 siblings, 1 reply; 14+ messages in thread
From: Samuli Suominen @ 2013-08-22 19:14 UTC (permalink / raw
  To: gentoo-user

On 22/08/13 22:03, Alexander Kapshuk wrote:
> On 08/22/2013 09:59 PM, Yuri K. Shatroff wrote:
>> As I figured in the package's changelog, some work on it is being done
>> by Samuli Suominen <ssuominen@gentoo.org>. He is also on this list, so
>> I guess he could get involved as soon as he reads the list.
> Understood. Thanks.
>
> Let's wait and hear from Samuli Suominen then.
>
>

Because the separate nvidia-settings package also ships a library which 
isn't installed by nvidia-drivers package:

$ qfile -b libXNVCtrl.a
media-video/nvidia-settings (/usr/lib64/libXNVCtrl.a)

And it's being used by xfce4-sensors-plugin, if you extract the tarball 
and look inside file configure.in, you'll see:

NVIDIA_LIBS="-lX11 -lXext -lXNVCtrl
                           ^^^^^^^^^ <- See here, libXNVCtrl.a used


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings
  2013-08-22 19:14         ` Samuli Suominen
@ 2013-08-22 19:22           ` Alexander Kapshuk
  2013-08-22 19:28             ` Samuli Suominen
  0 siblings, 1 reply; 14+ messages in thread
From: Alexander Kapshuk @ 2013-08-22 19:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1034 bytes --]

Understood. Thanks.

What course of action would you recommend taking with regard to my original
post?

Thanks.
 On Aug 22, 2013 10:17 PM, "Samuli Suominen" <ssuominen@gentoo.org> wrote:

> On 22/08/13 22:03, Alexander Kapshuk wrote:
>
>> On 08/22/2013 09:59 PM, Yuri K. Shatroff wrote:
>>
>>> As I figured in the package's changelog, some work on it is being done
>>> by Samuli Suominen <ssuominen@gentoo.org>. He is also on this list, so
>>> I guess he could get involved as soon as he reads the list.
>>>
>> Understood. Thanks.
>>
>> Let's wait and hear from Samuli Suominen then.
>>
>>
>>
> Because the separate nvidia-settings package also ships a library which
> isn't installed by nvidia-drivers package:
>
> $ qfile -b libXNVCtrl.a
> media-video/nvidia-settings (/usr/lib64/libXNVCtrl.a)
>
> And it's being used by xfce4-sensors-plugin, if you extract the tarball
> and look inside file configure.in, you'll see:
>
> NVIDIA_LIBS="-lX11 -lXext -lXNVCtrl
>                           ^^^^^^^^^ <- See here, libXNVCtrl.a used
>
>

[-- Attachment #2: Type: text/html, Size: 1743 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings
  2013-08-22 19:22           ` Alexander Kapshuk
@ 2013-08-22 19:28             ` Samuli Suominen
  2013-08-22 19:34               ` Alexander Kapshuk
  0 siblings, 1 reply; 14+ messages in thread
From: Samuli Suominen @ 2013-08-22 19:28 UTC (permalink / raw
  To: gentoo-user

On 22/08/13 22:22, Alexander Kapshuk wrote:
> What course of action would you recommend taking with regard to my
> original post?

I'm not sure if I understand your problem but...

Looks like nvidia-drivers-319.32 was stabilized without stabilizing 
nvidia-settings-319.32 together with it.
You can file a bug at http://bugs.gentoo.org/ and request stabilization 
of nvidia-settings-319.32 to match the current stable nvidia-drivers.

You can also temporarily add entry to /etc/portage/package.keywords like
~media-video/nvidia-settings-319.32

Anyway I wouldn't worry about it too much, they have been going in 
different cycles for years and I don't ever remembering anyone reporting 
an actual bug about it (other than what I just suggested, people get 
confused by non-matching version numbers, ask questions, and end up 
filing stabilization request ;-)


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings
  2013-08-22 19:28             ` Samuli Suominen
@ 2013-08-22 19:34               ` Alexander Kapshuk
  0 siblings, 0 replies; 14+ messages in thread
From: Alexander Kapshuk @ 2013-08-22 19:34 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1027 bytes --]

No worries then. Thanks very much for the explanation.
 On Aug 22, 2013 10:31 PM, "Samuli Suominen" <ssuominen@gentoo.org> wrote:

> On 22/08/13 22:22, Alexander Kapshuk wrote:
>
>> What course of action would you recommend taking with regard to my
>> original post?
>>
>
> I'm not sure if I understand your problem but...
>
> Looks like nvidia-drivers-319.32 was stabilized without stabilizing
> nvidia-settings-319.32 together with it.
> You can file a bug at http://bugs.gentoo.org/ and request stabilization
> of nvidia-settings-319.32 to match the current stable nvidia-drivers.
>
> You can also temporarily add entry to /etc/portage/package.keywords like
> ~media-video/nvidia-settings-**319.32
>
> Anyway I wouldn't worry about it too much, they have been going in
> different cycles for years and I don't ever remembering anyone reporting an
> actual bug about it (other than what I just suggested, people get confused
> by non-matching version numbers, ask questions, and end up filing
> stabilization request ;-)
>
>

[-- Attachment #2: Type: text/html, Size: 1497 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2013-08-22 19:34 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-22 17:37 [gentoo-user] re: xfce4-sensors-plugin pulling in nvidia-settings Alexander Kapshuk
2013-08-22 17:42 ` Alan McKinnon
2013-08-22 18:02   ` Alexander Kapshuk
2013-08-22 18:06     ` Alan McKinnon
2013-08-22 18:16       ` Alexander Kapshuk
2013-08-22 18:27 ` Yuri K. Shatroff
2013-08-22 18:30   ` Alexander Kapshuk
2013-08-22 18:49   ` Alexander Kapshuk
2013-08-22 18:59     ` Yuri K. Shatroff
2013-08-22 19:03       ` Alexander Kapshuk
2013-08-22 19:14         ` Samuli Suominen
2013-08-22 19:22           ` Alexander Kapshuk
2013-08-22 19:28             ` Samuli Suominen
2013-08-22 19:34               ` Alexander Kapshuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox