Description of problem: ocl-icd doesn't depend on any OpenCL ICD implementation, so after installing it, you still have to install an ICD manually. Currently, there are three ICDs available in Fedora: mesa-libOpenCL (mainly AMD GPUs) beignet (Intel GPUs) pocl (CPU-based implementation) I'd suggest adding something like: Requires: opencl-icd or at least: Recommends: opencl-icd to ocl-icd.spec. I'm opening bugs against the three packages mentioned above to include this common provide. Version-Release number of selected component (if applicable): 2.2.8-2.git20151217.0122332.fc24
Rebuild with virtual Provides failed (but not related to that) for beignet. Pocl and Mesa have been rebuilt. Ocl-icd has been rebuilt with Requires: opencl-icd.
mesa-11.2.0-0.devel.13.24ea81a.fc24 ocl-icd-2.2.8-3.git20151217.0122332.fc24 pocl-0.13-4.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-9fa31fd9f3
mesa-11.2.0-0.devel.13.24ea81a.fc24, ocl-icd-2.2.8-3.git20151217.0122332.fc24, pocl-0.13-4.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-9fa31fd9f3
mesa-11.2.0-0.devel.13.24ea81a.fc24, ocl-icd-2.2.8-3.git20151217.0122332.fc24, pocl-0.13-4.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
I reverted this for a while because it creates some problems.
We should think how to implement something what has been done in SUSE long long time ago. Dependencies based on PCI ID. Otherwise it just doesn't make sense to add such provides as in 80% cases it will not work.
This is an interesting idea. May provide a standard build for each architecture and possibly suggestions for how to recompile or optimized builds in copr repositories. For other packages which use OpenCL in libraries built on OpenCL, will build system allow easy use of correct dependencies?
Can we have a fixed package (without the Requires) for f24.
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'.
What is the current status of this issue ? It seems like an openCL implementation is installed in my case (armv7) whereas none is relevant. Unless an OpenCL enabled app really mandate an opencl backend (In think none is in this case, having blender in mind). There should be no Requires or even Suggests that would install one by default. Best would be to rely on appdata to install any appropriate OpenCL implementation (see how it's done with nvidia on rpmfusion). than rely on any random choice for an implementation.
I wish dnf would automagically install opencl drivers based on hardware (as thing with metainfo/appdata does).... So I agree that until dnf supports this, no way to implement this.