On Sun, 2023-06-18 at 07:28 +0100, Rebecca N. Palmer wrote: > Hence, such a package would need to Depend on or Recommend *all* the > ICDs, similar to xorg-xserver-video-all.
Ah. So considering what Vincent said, something like this? Package: some-opencl-using-package Recommends: opencl-icd-all | opencl-icd Package: opencl-icd-all Section: metapackages Depends: beignet-opencl-icd, intel-opencl-icd, mesa-opencl-icd, pocl-opencl-icd, Package: opencl-icd-all-non-free Section: non-free/metapackages Depends: opencl-icd-all-free, nvidia-legacy-340xx-opencl-icd, nvidia-legacy-390xx-opencl-icd, nvidia-opencl-icd, nvidia-tesla-418-opencl-icd, nvidia-tesla-450-opencl-icd, nvidia-tesla-460-opencl-icd, nvidia-tesla-470-opencl-icd, nvidia-tesla-510-opencl-icd, nvidia-tesla-opencl-icd, > I have proposed this before (see 31-Jan-2015 pkg-opencl-devel), but > never actually did it, partly because there are applications that > implicitly assume that all the installed ICDs work, and may fail to find > the usable ICD if there are unusable ones installed. (I consider this > to be a bug in the application, but finding and fixing these would take > time.) Since we just opened trixie for development, maybe now is the time to do this, so that the problems can be found via bug reports? > intel-opencl-icd = Intel integrated GPUs (replacing beignet-opencl-icd, > which as you note, no longer builds) Unfortunately intel-opencl-icd can't replace beignet-opencl-icd because the former doesn't support old hardware. At least on my system, clinfo says only pocl and beignet have supported devices. -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part