Hi, i found this, i was trying to enable OpenCL in my system, but mesa is configured to only accept Radeon Cards, i have an intel and nvidia (dedicated), here is the log: !!! Problem resolving dependencies for media-libs/mesa ... done! !!! The ebuild selected to satisfy "mesa" has unmet requirements. - media-libs/mesa-18.0.5::gentoo USE="classic dri3 egl gallium gbm gles2 llvm nptl opencl vaapi vdpau wayland -bindist -d3d9 -debug -gles1 -openmax -osmesa -pax_kernel -pic (-selinux) -unwind -valgrind -vulkan -xa -xvmc" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="i915 i965 intel nouveau (-freedreno) (-imx) -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 ) ) 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 ) Now i'm reinstalling my system, i never had this problem, opencl should works with nvidia and intel. I don't have any radeon cards, so i should not enable that USEs. Thx.
Created attachment 538648 [details] emerge --info
Well, mesa's Clover (the OpenCL implementation) only supports AMD cards. If you don't have an AMD card just add "media-libs/mesa -opencl" to /etc/portage/package.use. Making the opencl use flag of mesa do nothing without an AMD card would cause bigger problems and be even more confusing for users. Like media-libs/mesa[opencl] would satisfy the requirements of virtual/opencl but not actually provide an implementation.
Hi, mm, maybe would be great some part of the wiki spliting right opencl/cuda/opengl, just to avoid this. Because a question can be, opencl will support other GPU in future? Thx.
Every user may edit the wiki after registration.