!!! The ebuild selected to satisfy "media-libs/mesa[wayland,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]" has unmet requirements. - media-libs/mesa-18.1.2::gentoo USE="classic dri3 egl gallium gbm gles2 llvm nptl opencl vaapi vulkan wayland -bindist -d3d9 -debug -gles1 -openmax -osmesa -pax_kernel -pic (-selinux) -unwind -valgrind -vdpau -xa -xvmc" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="i965 intel (-freedreno) -i915 (-imx) -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) -virgl (-vivante) -vmware" The following REQUIRED_USE flag constraints are unsatisfied: opencl? ( any-of ( video_cards_r600 video_cards_radeonsi ) ) And I have intel grafic.
check out this bug https://bugs.gentoo.org/658120
Yes I have seen it. But the problem is, when I build mesa without opencl, I had to rebuild ffmpeg. And I can't rebuild ffmpeg, because there is no opencl. The only solution is, I had to disable opencl systemwide if you have a Intel graphic. But Intel has support for opencl.
(In reply to klaus818 from comment #2) > Yes I have seen it. But the problem is, when I build mesa without opencl, I > had to rebuild ffmpeg. And I can't rebuild ffmpeg, because there is no > opencl. > > The only solution is, I had to disable opencl systemwide if you have a Intel > graphic. But Intel has support for opencl. No, it doesn't. As stated in https://bugs.gentoo.org/658120#c2 intel graphics do not have opencl via Mesa. There is dev-libs/beignet for Ivybridge-Coffeelake graphics, and https://github.com/intel/compute-runtime for Broadwell+.
But I can't use ffmpeg with opencl without mesa without opencl. And I have installed beignet.
You can -- just put media-libs/mesa -opencl in /etc/portage/package.use or /etc/portage/package.use/mesa I see that this is kind of confusing and unideal. I'll spend some time thinking about how to make this better.
(In reply to Matt Turner from comment #5) > You can -- just put > > media-libs/mesa -opencl > > in /etc/portage/package.use or /etc/portage/package.use/mesa > > I see that this is kind of confusing and unideal. I'll spend some time > thinking about how to make this better. This does not help for me: 'emerge -uvDN world' fails with: The following USE changes are necessary to proceed: (see "package.use" in the portage(5) man page for more details) # required by virtual/opencl-0-r5::gentoo # required by dev-libs/cl-1.2.3::gentoo # required by media-gfx/wings-2.1.7::gentoo # required by @selected # required by @world (argument) >=media-libs/mesa-18.1.2 opencl Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT). Carefully examine the list of proposed changes, paying special attention to mask or keyword changes that may expose experimental or unstable packages. !!! The ebuild selected to satisfy ">=media-libs/mesa-9.1.6[opencl,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]" has unmet requirements. - media-libs/mesa-18.1.2::gentoo USE="classic dri3 egl gallium gbm gles2 llvm nptl vaapi valgrind vdpau wayland xa xvmc -bindist -d3d9 -debug -gles1 -opencl -openmax -osmesa -pax_kernel -pic (-selinux) -unwind -vulkan" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="nouveau radeon (-freedreno) -i915 -i965 (-imx) -intel -r100 -r200 -r300 -r600 -radeonsi (-vc4) -virgl (-vivante) -vmware" The following REQUIRED_USE flag constraints are unsatisfied: opencl? ( any-of ( video_cards_r600 video_cards_radeonsi ) ) The above constraints are a subset of the following complete expression: d3d9? ( dri3 gallium ) llvm? ( gallium ) opencl? ( gallium llvm any-of ( video_cards_r600 video_cards_radeonsi ) ) openmax? ( gallium ) gles1? ( egl ) gles2? ( egl ) vaapi? ( gallium ) vdpau? ( gallium ) vulkan? ( any-of ( video_cards_i965 video_cards_radeonsi ) video_cards_radeonsi? ( llvm ) ) wayland? ( egl gbm ) xa? ( gallium ) video_cards_freedreno? ( gallium ) video_cards_intel? ( classic ) video_cards_i915? ( any-of ( classic gallium ) ) video_cards_i965? ( classic ) video_cards_imx? ( gallium video_cards_vivante ) video_cards_nouveau? ( any-of ( classic gallium ) ) video_cards_radeon? ( any-of ( classic gallium ) gallium? ( x86? ( llvm ) amd64? ( llvm ) ) ) video_cards_r100? ( classic ) video_cards_r200? ( classic ) video_cards_r300? ( gallium x86? ( llvm ) amd64? ( llvm ) ) video_cards_r600? ( gallium ) video_cards_radeonsi? ( gallium llvm ) video_cards_vc4? ( gallium ) video_cards_virgl? ( gallium ) video_cards_vivante? ( gallium gbm ) video_cards_vmware? ( gallium ) (dependency required by "virtual/opencl-0-r5::gentoo" [installed]) (dependency required by "dev-libs/cl-1.2.3::gentoo" [installed]) (dependency required by "media-gfx/wings-2.1.7::gentoo" [installed]) (dependency required by "@selected" [set]) (dependency required by "@world" [argument]) root@leopard:/root(5)# lspci | grep VGA 01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 520] (rev a1)