~ $ eselect opencl list Available OpenCL implementations: [1] ocl-icd
Yet:
~ $ equery list mesa * Searching for mesa ... [I-O] [ ] media-libs/mesa-18.2.8:0
And (select opencl USE line)
~ $ equery uses media-libs/mesa [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for media-libs/mesa-18.2.8: U I + + classic : Build drivers based on the classic architecture. - - d3d9 : Enable Direct 3D9 API through Nine state tracker. Can be used together with patched wine. - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces + + dri3 : Enable DRI3 support. + + egl : Enable EGL support. + + gallium : Build drivers based on Gallium3D, the new architecture for 3D graphics drivers. + + gbm : Enable the Graphics Buffer Manager for EGL on KMS. - - gles1 : Enable GLESv1 support. + + gles2 : Enable GLESv2 support. + + llvm : Enable LLVM backend for Gallium3D. + + lm_sensors : Add linux lm_sensors (hardware sensors) support + + opencl : Enable the Clover Gallium OpenCL state tracker. - - osmesa : Build the Mesa library for off-screen rendering. + + pax_kernel : Enable if the user plans to run the package under a pax enabled hardened kernel + + pic : disable optimized assembly code that is not PIC friendly - - test : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore - - unwind : Add support for stack trace unwinding and function name resolution + + vaapi : Enable Video Acceleration API for hardware decoding - - valgrind : Compile in valgrind memory hints + + vdpau : Enable the VDPAU acceleration interface for the Gallium3D Video Layer. - - video_cards_i915 : <unknown> - - video_cards_i965 : <unknown> - - video_cards_intel : <unknown> - - video_cards_nouveau : <unknown> - - video_cards_r100 : <unknown> - - video_cards_r200 : <unknown> - - video_cards_r300 : <unknown> + + video_cards_r600 : <unknown> + + video_cards_radeon : <unknown> - - video_cards_radeonsi : <unknown> - - video_cards_virgl : <unknown> - - video_cards_vmware : <unknown> - - vulkan : Enable Vulkan drivers - - wayland : Enable support for dev-libs/wayland + + xa : Enable the XA (X Acceleration) API for Gallium3D. - - xvmc : Enable the XvMC acceleration interface for the Gallium3D Video Layer.
And (see AMDGPU use)
~ $ equery uses llvm [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for sys-devel/llvm-7.0.0-r1: U I - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces - - doc : Build and install the HTML documentation and regenerate the man pages - - exegesis : Enable performance counter support for llvm-exegesis tool that can be used to measure host machine instruction characteristics - - gold : Build the gold linker plugin - - libedit : Use the libedit library (replacement for readline) + + libffi : Enable support for Foreign Function Interface library - - llvm_targets_AArch64 : <unknown> + + llvm_targets_AMDGPU : <unknown> - - llvm_targets_ARM : <unknown> + + llvm_targets_BPF : <unknown> - - llvm_targets_Hexagon : <unknown> - - llvm_targets_Lanai : <unknown> - - llvm_targets_MSP430 : <unknown> - - llvm_targets_Mips : <unknown> + + llvm_targets_NVPTX : <unknown> - - llvm_targets_PowerPC : <unknown> - - llvm_targets_Sparc : <unknown> - - llvm_targets_SystemZ : <unknown> - - llvm_targets_XCore : <unknown> + + ncurses : Support querying terminal properties using ncurses' terminfo - - test : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore - - xar : Support dumping LLVM bitcode sections in Mach-O files (uses app-arch/xar) + + xml : Add support for XML files
With
~ $ equery uses virtual/opencl [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for virtual/opencl-0-r5: U I - - video_cards_amdgpu : <unknown> - - video_cards_i965 : <unknown> - - video_cards_nvidia : <unknown>
My guess is that AMDGPU may not be set on virtual/opencl... but it is set everywhere else. It used to work great on 1.2 but ever since upgrading to 1.3, I can't see mesa as opencl vendor. Some apps manage to detect it correctly but it remains a hint that something is (at least partially) broken.
I'm not sure by which end to take this. There was a lot of troubleshooting and package re-emerging involved before I decided to create this ticket.
Please advise.