Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia-drivers on x86_64: how to enable X flag?
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
joeklow
n00b
n00b


Joined: 23 Jan 2011
Posts: 46

PostPosted: Mon Oct 07, 2013 1:13 am    Post subject: nvidia-drivers on x86_64: how to enable X flag? Reply with quote

Hi all.

Code:
ABI_X86="32 64"


libX11, libXext were rebuilt with that ABI_X86, and app-emulation/emul-linux-x86-xlibs are removed
Now, looking at nvidia-drivers ebuild, can't undestand why Im getting (-X):

Code:
[ebuild   R    ] x11-drivers/nvidia-drivers-331.13  USE="(multilib) (-X) -acpi -pax_kernel (-tools)" 0 kB


What else should be checked?
_________________
Commit code back to ALSA, save your latency and CPU: rm /usr/bin/pulseaudio;touch /usr/bin/pulseaudio;chattr +i /usr/bin/pulseaudio
Back to top
View user's profile Send private message
baragoon
n00b
n00b


Joined: 11 Feb 2013
Posts: 12

PostPosted: Mon Oct 07, 2013 11:08 am    Post subject: Reply with quote

echo "x11-drivers/nvidia-drivers X" >> /etc/portage/package.use ?
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Mon Oct 07, 2013 11:18 am    Post subject: Reply with quote

What profile is selected ?
Code:
eselect profile list

Adding X to the driver will not be sufficient, and nvidia drivers are normally pushed by xorg-server meta package.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


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

PostPosted: Mon Oct 07, 2013 11:20 am    Post subject: Reply with quote

isn't flags in brackets flags that have been removed (and those with % and in yellow new flags)
ie the X flag is no longer present - kind of make sense for a gfx driver & what it has to depend on
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
N8Fear
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2013
Posts: 140
Location: Berlin (Germany)

PostPosted: Mon Oct 07, 2013 8:10 pm    Post subject: Reply with quote

A useflag in (...) is a masked useflag. This means that someone wants to forbid the use of this flag (in most cases due to more or less severe breakage.
You can (if you know what you do) unmask it again by create an entry in /etc/portage/package.use.force (either in a file with this path or in a file in a directory called package.use.mask.
The entry should look like this:
x11-drivers/nvidia-drivers -X

You should not that these masks are seldom without a reason and most likely it won't work correctly.
In your case I assume that you use a hardened profile: X for nvidia-drivers is masked in this case because the driver doesn't play nice with pax.
Back to top
View user's profile Send private message
joeklow
n00b
n00b


Joined: 23 Jan 2011
Posts: 46

PostPosted: Thu Oct 10, 2013 2:00 am    Post subject: Reply with quote

hardened profile is used, but is not activated for now..

XavierMiller
and why would one care about mesa if one needs a nvidia-bundled libGL.so?

N8Fear
thanks, that seems to solve the problem, anyway will not test it until next nvidia-drivers version.
_________________
Commit code back to ALSA, save your latency and CPU: rm /usr/bin/pulseaudio;touch /usr/bin/pulseaudio;chattr +i /usr/bin/pulseaudio
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1213
Location: Massachusetts USA

PostPosted: Thu Oct 10, 2013 4:06 am    Post subject: Reply with quote

From /usr/portage/profiles/hardened/linux/amd64/package.use.mask
Quote:
# Magnus Granberg <zorry@gentoo.org> (20 Nov 2012)
# mask X for we still mis the docs for revdep-pax
# else hell will rule. (RWX in the libs)
# Bug 433121
# also mask tools as it requires X -zerochaos
x11-drivers/nvidia-drivers X tools
Back to top
View user's profile Send private message
N8Fear
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2013
Posts: 140
Location: Berlin (Germany)

PostPosted: Thu Oct 10, 2013 5:41 am    Post subject: Reply with quote

joeklow
Hardened profile is used but not active? That's not possible. Maybe you don't use the hardened kernel options, but as soon as you switch to the hardened profile you'll get the hardened useflags and after a rebuild the hardened toolchain.
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