Bug 2180613
| Summary: | Feature Request: oneAPI support for Cycles coming on Q3 2023 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alexander Koppe <koppe> |
| Component: | blender | Assignee: | Luya Tshimbalanga <luya_tfz> |
| Status: | ASSIGNED --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 38 | CC: | aekoroglu, code, design-devel, epel-packagers-sig, fzatlouk, koppe, kwizart, luya_tfz, promac |
| Target Milestone: | --- | Keywords: | FutureFeature, SubFeature, Task |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Alexander Koppe
2023-03-21 21:37:50 UTC
Currently, SYCL 6.0+ is missing in the repository: [...] -- Could NOT find SYCL (missing: SYCL_LIBRARY SYCL_INCLUDE_DIR) -- Found LevelZero: /usr/lib64/libze_loader.so -- oneAPI not found, disabling WITH_CYCLES_DEVICE_ONEAPI -- SYCL 6.0+ or Level Zero not found, disabling WITH_CYCLES_DEVICE_ONEAPI [...] One of Intel contributor is working on bring such support at this time of writing. Is SYCL really a runtime dependency for Blender with oneAPI support? Because I can run Blender's own builds from their website (compiled with oneAPI support) just fine with only intel-compute-runtime and oneapi-level-zero installed from Fedora's repos. It seems like SYCL is only required for compilation. But I guess Fedora's packaging guidelines require all build dependencies to also be available in the repository? According to version.cmake (https://projects.blender.org/blender/blender/src/branch/main/build_files/build_environment/cmake/versions.cmake) file from Blender source, minimal version 20220919 of dpcpp (Intel SYCL currently as nightly release) is needed for compilation. https://github.com/intel/llvm/archive/refs/tags/sycl-nightly/ Logically, upstream Blender build uses compiler which is currently unavailable in Fedora repository. Has any progress been made bringing sycl/dpcpp to Fedora yet or is there any way such progress can be followed somewhere? I hope this doesn't come across as overly naggy, but is there any update on the state of this? Apparently there was already some work in progress to bring sycl to Fedora, but I suppose those plans haven't really materialized? Not yet so far. It would be a first step to see if one can make a dedicated build using this content: https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html?operatingsystem=linux&distributions=dnf For some reason, I was not able to install the toolkit on fedora-38... Also maybe it worth to coordinate with frantisekz as he already has some components packaged as part of the intel-media-driver-free effort. (https://copr.fedorainfracloud.org/coprs/frantisekz/intel-media-driver-free/packages/) Lets add aekoroglu.com who is also interested to maintain the oneAPI stack and @frantisekzfrantisekz to possibly package oneAPI-dpcpp. Hello, I've started to work on oneAPI-dpcpp so this issue and the rest of the oneAPI-rendering-toolkit is in my OKRs to complete in Q3. Thanks Ali. Changing the title to reflect the progress. |