Rusticl in Mesa has started preferring a libclc fork, which guarantees a
stable interface and faster fixes to known bugs. Since on Debian it's
built against a unpatched libclc, it warns about the issue on every
launch, e.g.
$ clinfo -l
pci id for fd 14: 10de:25b8, driver (null)
pci id for fd 15: 10de:25b8, driver (null)
=== Rusticl warning: Patched Mesa libclc not detected. Upstream libclc may contain known bugs or breaking changes and isn't guaranteed to work reliably. Please visit https://gitlab.freedesktop.org/karolherbst/mesa-libclc for more information. ===
rusticl: could not initialize SVM support
Platform #0: rusticl
+-- Device #0: AMD Radeon Graphics (radeonsi, rembrandt, ACO, DRM 3.64, 7.1.13+deb14-amd64)
+-- Device #1: llvmpipe (LLVM 22.1.8, 256 bits)
+-- Device #2: zink Vulkan 1.4(AMD Radeon Graphics (RADV REMBRANDT) (MESA_RADV))
`-- Device #3: zink Vulkan 1.3(NVIDIA RTX A2000 Laptop GPU (NVIDIA_PROPRIETARY))
Platform #1: Portable Computing Language
+-- Device #0: cpu-tbb-znver3-AMD Ryzen 7 PRO 6850H with Radeon Graphics
`-- Device #1: NVIDIA RTX A2000 Laptop GPU
Platform #2: AMD Accelerated Parallel Processing
`-- Device #0: gfx1035
Platform #3: NVIDIA CUDA
`-- Device #0: NVIDIA RTX A2000 Laptop GPU
Platform #4: Intel(R) OpenCL
`-- Device #0: AMD Ryzen 7 PRO 6850H with Radeon Graphics
Platform #5: AMD Accelerated Parallel Processing
`-- Device #0: AMD Ryzen 7 PRO 6850H with Radeon Graphics
The preferable solution would be to also package mesa-clc in Debian and
build rusticl against it.
A proposed alternative is to patch the distro clc with the relevant
patches from the mesa-libclc project, as explained in the README of the
linked repository:
https://gitlab.freedesktop.org/karolherbst/mesa-libclc