Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Latest nvidia-driver broken USE flags?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 927

PostPosted: Sun Feb 01, 2015 8:43 pm    Post subject: Latest nvidia-driver broken USE flags? Reply with quote

Code:

 # emerge -upDN world

These are the packages that would be merged, in order:

Calculating dependencies /

!!! Problem resolving dependencies for x11-drivers/nvidia-drivers from @selected
... done!

!!! The ebuild selected to satisfy "x11-drivers/nvidia-drivers" has unmet requirements.
- x11-drivers/nvidia-drivers-346.35::gentoo USE="X acpi multilib tools -gtk2 -gtk3 -pax_kernel -uvm" ABI_X86="64"

  The following REQUIRED_USE flag constraints are unsatisfied:
    tools? ( any-of ( gtk2 gtk3 ) )

  The above constraints are a subset of the following complete expression:
    tools? ( X any-of ( gtk2 gtk3 ) )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
 #

Needless to say, X, gtk2 and gtk3 are installed, and no customization of nvidia-drivers exists under /etc/portage. It should build out of the box, no? Current running and working driver is 343.36, and I can't really make sense of the diffs between those two ebuilds.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6069
Location: Removed by Neddy

PostPosted: Sun Feb 01, 2015 8:49 pm    Post subject: Reply with quote

have you set the USE flags (in make.conf or package.use) . Having a library installed doesn't mean it autosets a USE flag
_________________
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 927

PostPosted: Mon Feb 02, 2015 9:12 pm    Post subject: Reply with quote

Why should I have to? They're not listed in /usr/portage/profiles/use.desc.

I'll add them to the port to jump this particular hurdle ...
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Tue Feb 03, 2015 6:50 pm    Post subject: Reply with quote

Princess Nell wrote:
Why should I have to? They're not listed in /usr/portage/profiles/use.desc.

For your convenience:
Code:
x11-drivers/nvidia-drivers-346.35:0::gentoo
Description               NVIDIA Accelerated Graphics Driver
Homepage                  http://www.nvidia.com/
Maintainers               <jer@gentoo.org>
Use flags                 
    USE                   
        X                 Install the X.org driver, OpenGL libraries, XvMC libraries, and VDPAU libraries
        -acpi             Add support for Advanced Configuration and Power Interface
        -gtk2             Install nvidia-settings with support for GTK+ 2
        -gtk3             Install nvidia-settings with support for GTK+ 3
        (-multilib)       On 64bit systems, if you want to be able to compile 32bit and 64bit binaries
        -pax_kernel       PaX patches from the PaX project
        tools             Install additional tools such as nvidia-settings
        -uvm              Install the Unified Memory kernel module (nvidia-uvm) for sharing memory between CPU and GPU in CUDA programs
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54648
Location: 56N 3W

PostPosted: Tue Feb 03, 2015 8:02 pm    Post subject: Reply with quote

Princess Nell,

USE=tools gets you nvidia-settings which needs a gtk variant for its GUI.
Either drop tools or allow tools its GUI.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 927

PostPosted: Tue Feb 03, 2015 9:17 pm    Post subject: Reply with quote

Thanks, Neddy. -tools it is.
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2305
Location: Adendorf, Germany

PostPosted: Wed Feb 04, 2015 12:26 pm    Post subject: Reply with quote

Princess Nell wrote:
Thanks, Neddy. -tools it is.
You have both gtk2 and gtk3 installed, and instead of telling nvidia-drivers which of them to use for its tools you disable the tools? I don't get it... nvidia-settings is rather useful, so why drop it?
_________________
Edited 220,176 times by Yamakuzure
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6069
Location: Removed by Neddy

PostPosted: Wed Feb 04, 2015 2:11 pm    Post subject: Reply with quote

Yamakuzure wrote:
Princess Nell wrote:
Thanks, Neddy. -tools it is.
You have both gtk2 and gtk3 installed, and instead of telling nvidia-drivers which of them to use for its tools you disable the tools? I don't get it... nvidia-settings is rather useful, so why drop it?
I have questioned that from the moment there was a "why should I" response... Gentoo is about choice and thus you have to tell it exactly what you want ESPECIALLY as hte new nvidia-settings permits gtk2 OR gtk3
_________________
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 927

PostPosted: Wed Feb 04, 2015 10:46 pm    Post subject: Reply with quote

The drivers have always installed fine without any additional settings. This is changed now, and my *choice* is to disable what I don't use.
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2305
Location: Adendorf, Germany

PostPosted: Thu Feb 05, 2015 12:38 pm    Post subject: Reply with quote

Princess Nell wrote:
The drivers have always installed fine without any additional settings. This is changed now, and my *choice* is to disable what I don't use.
Well, this is of course your choice to make.

I just thought you like the performance and power consumption settings per application that nvidia-settings provides. Like the Powermizer. Can that be configured without nvidia-settings?

However, the default settings should just be fine... Never mind...
_________________
Edited 220,176 times by Yamakuzure
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6069
Location: Removed by Neddy

PostPosted: Thu Feb 05, 2015 1:21 pm    Post subject: Reply with quote

Yamakuzure wrote:
Princess Nell wrote:
The drivers have always installed fine without any additional settings. This is changed now, and my *choice* is to disable what I don't use.
Well, this is of course your choice to make.

I just thought you like the performance and power consumption settings per application that nvidia-settings provides. Like the Powermizer. Can that be configured without nvidia-settings?

However, the default settings should just be fine... Never mind...
it can. nvidia-settings runs in 2 modes.
commandline or GUI. As nvidia shipped gtk2 and gtk3 libs gentoo took the obvious decision and gave the user the ability to control which one they want.
usually people have gtk2 in their global use flag list so it is moot.

Those that don't or heavily use per-application USE now have the option to choose what they want: gtk2 or gtk3
I really don't see how this is so controversial, VLC will not install with a gui unless you set the qt USE flag. this is a similar thing.
_________________
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2305
Location: Adendorf, Germany

PostPosted: Fri Feb 06, 2015 11:52 am    Post subject: Reply with quote

Naib wrote:
Yamakuzure wrote:
Princess Nell wrote:
The drivers have always installed fine without any additional settings. This is changed now, and my *choice* is to disable what I don't use.
Well, this is of course your choice to make.

I just thought you like the performance and power consumption settings per application that nvidia-settings provides. Like the Powermizer. Can that be configured without nvidia-settings?

However, the default settings should just be fine... Never mind...
it can. nvidia-settings runs in 2 modes.
commandline or GUI. As nvidia shipped gtk2 and gtk3 libs gentoo took the obvious decision and gave the user the ability to control which one they want.
usually people have gtk2 in their global use flag list so it is moot.

Those that don't or heavily use per-application USE now have the option to choose what they want: gtk2 or gtk3
I really don't see how this is so controversial, VLC will not install with a gui unless you set the qt USE flag. this is a similar thing.
Nothing is controversial. It was just me getting confused about Nell complaining that both gtk versions were installed but nvidia-drivers wouldn't take both USE flags, and then removing the tools completely. That's it, really.
_________________
Edited 220,176 times by Yamakuzure
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum