Old version of libclc (=dev-libs/libclc-0.2.0_pre20201001) seems to prevent mesa's clover state tracker from enabling OpenCL 1.2 support despite it support it since >=media-libs/mesa-20.3 See news: https://www.phoronix.com/scan.php?page=news_item&px=Mesa-20.3-OpenCL-1.2-Clover and https://www.phoronix.com/scan.php?page=news_item&px=Mesa-20.3-Released Reproducible: Always Actual Results: [I] media-libs/mesa Available versions: 20.2.6^t (~)20.3.4^t (~)21.0.0_rc5^t **9999*l^t {+X +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +llvm lm-sensors opencl osmesa selinux test unwind vaapi valgrind vdpau vulkan vulkan-overlay wayland xa xvmc zink +zstd ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32" KERNEL="linux" VIDEO_CARDS="freedreno i915 i965 intel iris lima nouveau panfrost r100 r200 r300 r600 radeon radeonsi v3d vc4 virgl vivante vmware"} Installed versions: 21.0.0_rc5^t(18:32:25 02/26/21)(X dri3 egl gallium gbm gles2 llvm lm-sensors opencl vaapi zstd -classic -d3d9 -debug -gles1 -osmesa -selinux -test -unwind -valgrind -vdpau -vulkan -vulkan-overlay -wayland -xa -xvmc -zink ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" KERNEL="linux" VIDEO_CARDS="radeonsi -freedreno -i915 -i965 -intel -iris -lima -nouveau -panfrost -r100 -r200 -r300 -r600 -radeon -v3d -vc4 -virgl -vivante -vmware") Homepage: https://www.mesa3d.org/ https://mesa.freedesktop.org/ Description: OpenGL-like graphic library for Linux [I] dev-libs/libclc Available versions: 0.2.0_pre20201001 {VIDEO_CARDS="nvidia r600 radeonsi"} Installed versions: 0.2.0_pre20201001(18:30:30 02/26/21)(VIDEO_CARDS="radeonsi -nvidia -r600") Homepage: https://libclc.llvm.org/ Description: OpenCL C library # clinfo |grep -i version Platform Version OpenCL 1.1 Mesa 21.0.0-rc5 Driver Version 21.0.0-rc5 Device OpenCL C Version OpenCL C 1.1
https://github.com/llvm/llvm-project/commits/main/libclc I don't see any new commits since Oct 2020 (which is our current snapshot), and a quick search doesn't reveal any new repo.
A link in https://libclc.llvm.org/ for the repo is wrong. There is no libclc branch anymore :) Thank you, Mgorny, do you have any idea what's going wrong? I should try to media-libs/mesa-9999
No clue, and I'm sorry but I don't really have time to research this.
Thank you for clarification. Mesa-9999 does not provide any changes. It might be fixed later. I'll stay that bug as unconfirmed. I don't want to switch to proprietary driver, but I had to. I don't get Radeon Open Compute drivers working because my server does not support Pci-e atomics, so ffmpeg causes me glitches when I tried with ROCm
From #dri-devel: [10:56] < mattst88> | karolherbst: any clue about https://bugs.gentoo.org/773049 ? [10:57] <karolherbst> | mattst88: we don't report 1.2 [10:57] < mattst88> | thanks, what's what I figured. so the reporter is just confused [10:58] < karolherbst> | I am not even sure we are even 1.0 compliant :p [10:58] < alyssa> | have you tried ~turning it off and on again~ installing gentoo? [10:58] < karolherbst> | anyway, devices report support for images, so we really can't expose 1.2 [10:58] < karolherbst> | and we need to fix feature enumeration anyway :/ [10:58] < karolherbst> | it will be a bit messy
Thank you for clarification, Matt