View previous topic :: View next topic |
Author |
Message |
joeklow n00b
Joined: 23 Jan 2011 Posts: 46
|
Posted: Mon Oct 07, 2013 1:13 am Post subject: nvidia-drivers on x86_64: how to enable X flag? |
|
|
Hi all.
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 |
|
|
baragoon n00b
Joined: 11 Feb 2013 Posts: 12
|
Posted: Mon Oct 07, 2013 11:08 am Post subject: |
|
|
echo "x11-drivers/nvidia-drivers X" >> /etc/portage/package.use ? |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Mon Oct 07, 2013 11:18 am Post subject: |
|
|
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 |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Mon Oct 07, 2013 11:20 am Post subject: |
|
|
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 |
|
|
N8Fear Tux's lil' helper
Joined: 15 Apr 2013 Posts: 140 Location: Berlin (Germany)
|
Posted: Mon Oct 07, 2013 8:10 pm Post subject: |
|
|
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 |
|
|
joeklow n00b
Joined: 23 Jan 2011 Posts: 46
|
Posted: Thu Oct 10, 2013 2:00 am Post subject: |
|
|
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 |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1213 Location: Massachusetts USA
|
Posted: Thu Oct 10, 2013 4:06 am Post subject: |
|
|
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 |
|
|
N8Fear Tux's lil' helper
Joined: 15 Apr 2013 Posts: 140 Location: Berlin (Germany)
|
Posted: Thu Oct 10, 2013 5:41 am Post subject: |
|
|
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 |
|
|
|