Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mesa unstatified restraints, can't merge
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
sublimepua
n00b
n00b


Joined: 10 Feb 2012
Posts: 2

PostPosted: Sat Feb 11, 2012 1:55 am    Post subject: Mesa unstatified restraints, can't merge Reply with quote

After a recent kernel upgrade, I can't merge mesa. Its holding up my world install with the message:

Code:
 emerge --update --deep --with-bdeps=y --newuse -av world

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

Calculating dependencies... done!

!!! The ebuild selected to satisfy ">=media-libs/mesa-7.8_rc[nptl=]" has unmet requirements.
- media-libs/mesa-8.0::gentoo USE="classic egl gallium llvm (multilib) nptl shared-glapi xvmc -bindist -d3d -debug -g3dvl -gbm -gles1 -gles2 -openvg -osmesa -pax_kernel -pic (-selinux) -shared-dricore -vdpau -wayland" VIDEO_CARDS="radeon -i915 -i965 -intel -nouveau -r100 -r200 -r300 -r600 -vmware"

  The following REQUIRED_USE flag constraints are unsatisfied:
    xvmc? ( g3dvl )

  The above constraints are a subset of the following complete expression:
    d3d? ( gallium ) g3dvl? ( gallium ) llvm? ( gallium ) openvg? ( egl gallium ) gbm? ( shared-glapi ) g3dvl? ( any-of ( vdpau xvmc ) ) vdpau? ( g3dvl ) xvmc? ( g3dvl ) video_cards_intel? ( any-of ( classic gallium ) ) video_cards_i915? ( any-of ( classic gallium ) ) video_cards_i965? ( classic ) video_cards_nouveau? ( any-of ( classic gallium ) ) video_cards_radeon? ( any-of ( classic gallium ) ) video_cards_r100? ( classic ) video_cards_r200? ( classic ) video_cards_r300? ( gallium ) video_cards_r600? ( gallium ) video_cards_vmware? ( gallium )

(dependency required by "x11-base/xorg-server-1.11.4" [installed])
(dependency required by "x11-drivers/xf86-video-ati-6.14.3" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


I am using the radeon driver with KMS as my graphics driver, and I have just upgraded to the 3.2.5 kernel. Any help? I just installed gentoo for the first time on Monday.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Sat Feb 11, 2012 2:08 am    Post subject: Reply with quote

Code:
  The following REQUIRED_USE flag constraints are unsatisfied:
    xvmc? ( g3dvl )

This tells you all: if xvmc is activated, g3dvl must be too. So you have two choices - deactivate xvmc or activate g3dvl
Back to top
View user's profile Send private message
sublimepua
n00b
n00b


Joined: 10 Feb 2012
Posts: 2

PostPosted: Sat Feb 11, 2012 2:24 am    Post subject: Reply with quote

Oh wow. Thanks. I checked that twice, and I thought that it was already enabled. Brainfart. Nothing to see here. Carry on.
Back to top
View user's profile Send private message
Theimon
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2007
Posts: 99
Location: Netherlands

PostPosted: Sat Feb 11, 2012 8:42 am    Post subject: Reply with quote

I ran into this too. But I have an Nvidia videocard in my system which uses the propietary nvidia-drivers. And it seems like mesa is only focused on Nouveau, Ati and Intel chips.

For instance: I got the xvmc useflag enabled and my system uses the Nvidia xvmc (eselect xvmc list shows that), but with mesa-8.0 it forces me to add the g3dvl as well or else it won't emerge. Why? The way I look at it I don't need g3dvl.

Am I missing something here?
_________________
It doesn't matter what's right, it's only wrong if you get caught.
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1480

PostPosted: Sat Feb 11, 2012 10:37 am    Post subject: Reply with quote

/me +1
having proprietary nvidia. I don't know how to manage these bunch of USE flags.

But as upstream mesa developpers said: mesa-8.0.0 is very testing. Wait for mesa-8.0.1!

I made a bug of this issue:
https://bugs.gentoo.org/show_bug.cgi?id=403155
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Sat Feb 11, 2012 11:55 am    Post subject: Reply with quote

Theimon wrote:
but with mesa-8.0 it forces me to add the g3dvl as well or else it won't emerge. Why?

Because mesa's xvmc uses g3dvl, that's why. If you want mesa to have xvmc functionality, you need to activate g3dvl.

However the thing is, if you're using nvidia-drivers you don't need to care at all about mesa. You're not using it. Nvidia provides it's own opengl stack.
Back to top
View user's profile Send private message
Theimon
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2007
Posts: 99
Location: Netherlands

PostPosted: Sat Feb 11, 2012 12:04 pm    Post subject: Reply with quote

Gusar wrote:
Theimon wrote:
but with mesa-8.0 it forces me to add the g3dvl as well or else it won't emerge. Why?

Because mesa's xvmc uses g3dvl, that's why. If you want mesa to have xvmc functionality, you need to activate g3dvl.

However the thing is, if you're using nvidia-drivers you don't need to care at all about mesa. You're not using it. Nvidia provides it's own opengl stack.


See, I wasn't sure about this, thanks for clearing that up :)

Apparently some programs depend on mesa, otherwise it probably wouldn't be on my system.
_________________
It doesn't matter what's right, it's only wrong if you get caught.
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1931

PostPosted: Sat Feb 11, 2012 2:59 pm    Post subject: Reply with quote

Gusar wrote:
Theimon wrote:
but with mesa-8.0 it forces me to add the g3dvl as well or else it won't emerge. Why?

Because mesa's xvmc uses g3dvl, that's why. If you want mesa to have xvmc functionality, you need to activate g3dvl.

However the thing is, if you're using nvidia-drivers you don't need to care at all about mesa. You're not using it. Nvidia provides it's own opengl stack.


What if I use Intel (non-gallium) - I assume there's no point in enabling g3dvl, right?
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Sat Feb 11, 2012 3:27 pm    Post subject: Reply with quote

Etal wrote:
What if I use Intel (non-gallium) - I assume there's no point in enabling g3dvl, right?

Yep. And even if intel used gallium, it'd be pointless. Because intel provides native xvmc support, or native vaapi. Where native means using dedicated hardware decoders, whereas g3dvl uses shaders.
Back to top
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Sun Feb 12, 2012 12:57 pm    Post subject: Reply with quote

I also use the nvidia-drivers and I would like to remove mesa from my system, but :
Code:

equery d media-libs/mesa
 * These packages depend on media-libs/mesa:
app-emulation/emul-linux-x86-opengl-20120127 (media-libs/mesa)
media-libs/libquicktime-1.2.3-r1 (opengl ? media-libs/mesa)
net-libs/xulrunner-2.0.1-r1 (webm ? media-libs/mesa)
net-misc/tigervnc-1.1.0-r3 (>=media-libs/mesa-7.1)
virtual/glu-7.0 (media-libs/mesa)
virtual/opengl-7.0 (media-libs/mesa)
x11-base/xorg-server-1.11.4 (!minimal ? >=media-libs/mesa-7.8_rc[nptl=])
x11-libs/cairo-1.10.2-r2 (openvg ? media-libs/mesa[gallium])
                         (gallium ? media-libs/mesa[gallium])

So mesa seems needed, no ?
Back to top
View user's profile Send private message
iamben
Apprentice
Apprentice


Joined: 10 May 2004
Posts: 275

PostPosted: Sun Feb 12, 2012 3:06 pm    Post subject: Reply with quote

Your apps will still need to build against mesa, so it needs to be installed
Back to top
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Sun Feb 12, 2012 3:38 pm    Post subject: Reply with quote

That the problem, which useflags should someone choose for mesa when one use nvidia's driver ?
Back to top
View user's profile Send private message
iamben
Apprentice
Apprentice


Joined: 10 May 2004
Posts: 275

PostPosted: Sun Feb 12, 2012 3:41 pm    Post subject: Reply with quote

Defaults should be fine
Back to top
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Sun Feb 12, 2012 10:00 pm    Post subject: Reply with quote

using package.use in order to remove vdpau and llvm allow me to have emerge been happy and allow the compilation to start (and succeed).
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