https://bugzilla.redhat.com/show_bug.cgi?id=2180613
Bug ID: 2180613 Summary: Feature Request: compile blender with oneAPI support for Cycles Product: Fedora Version: 38 Hardware: x86_64 OS: Linux Status: NEW Component: blender Severity: medium Assignee: luya_tfz@thefinalzone.net Reporter: koppe@posteo.de QA Contact: extras-qa@fedoraproject.org CC: code@musicinmybrain.net, design-devel@lists.fedoraproject.org, epel-packagers-sig@lists.fedoraproject.org, kwizart@gmail.com, luya_tfz@thefinalzone.net, negativo17@gmail.com, promac@gmail.com Target Milestone: --- Classification: Fedora
With Intel Level Zero now available in the Fedora repositories, I think the version of Blender shipped with Fedora should be compiled with Cycles oneAPI support for Intel GPUs enabled, currently only CUDA and HIP are enabled
https://bugzilla.redhat.com/show_bug.cgi?id=2180613
Luya Tshimbalanga luya_tfz@thefinalzone.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Doc Type|--- |If docs needed, set a value
--- Comment #1 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=2180613
--- Comment #2 from Alexander Koppe koppe@posteo.de --- 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?
https://bugzilla.redhat.com/show_bug.cgi?id=2180613
--- Comment #3 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- According to version.cmake (https://projects.blender.org/blender/blender/src/branch/main/build_files/bui...) 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.
https://bugzilla.redhat.com/show_bug.cgi?id=2180613
--- Comment #4 from Alexander Koppe koppe@posteo.de --- Has any progress been made bringing sycl/dpcpp to Fedora yet or is there any way such progress can be followed somewhere?
https://bugzilla.redhat.com/show_bug.cgi?id=2180613
--- Comment #5 from Alexander Koppe koppe@posteo.de --- 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?
https://bugzilla.redhat.com/show_bug.cgi?id=2180613
Luya Tshimbalanga luya_tfz@thefinalzone.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |SubFeature Status|NEW |ASSIGNED
--- Comment #6 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- Not yet so far.
https://bugzilla.redhat.com/show_bug.cgi?id=2180613
--- Comment #7 from Nicolas Chauvet (kwizart) kwizart@gmail.com --- 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-...
For some reason, I was not able to install the toolkit on fedora-38...
https://bugzilla.redhat.com/show_bug.cgi?id=2180613
--- Comment #8 from Nicolas Chauvet (kwizart) kwizart@gmail.com --- 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/p...)
https://bugzilla.redhat.com/show_bug.cgi?id=2180613
Luya Tshimbalanga luya_tfz@thefinalzone.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aekoroglu@linux.intel.com, | |fzatlouk@redhat.com Flags| |needinfo?(aekoroglu@linux.i | |ntel.com) | |needinfo?(fzatlouk@redhat.c | |om)
--- Comment #9 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- Lets add aekoroglu@linux.intel.com who is also interested to maintain the oneAPI stack and @frantisekzfrantisekz to possibly package oneAPI-dpcpp.
https://bugzilla.redhat.com/show_bug.cgi?id=2180613
Ali Erdinc Koroglu aekoroglu@linux.intel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(aekoroglu@linux.i | |ntel.com) |
--- Comment #10 from Ali Erdinc Koroglu aekoroglu@linux.intel.com --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=2180613
Luya Tshimbalanga luya_tfz@thefinalzone.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Feature Request: compile |Feature Request: oneAPI |blender with oneAPI support |support for Cycles coming |for Cycles |on Q3 2023 Keywords| |FutureFeature, Task Flags|needinfo?(fzatlouk@redhat.c | |om) |
--- Comment #11 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- Thanks Ali. Changing the title to reflect the progress.
https://bugzilla.redhat.com/show_bug.cgi?id=2180613
Luya Tshimbalanga luya_tfz@thefinalzone.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(aekoroglu@linux.i | |ntel.com)
--- Comment #12 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- (In reply to Ali Erdinc Koroglu from comment #10)
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.
Any update for packaging oneAPI-dpcpp?
https://bugzilla.redhat.com/show_bug.cgi?id=2180613
--- Comment #13 from František Zatloukal fzatlouk@redhat.com --- I've briefly looked into it, and as of now, if I am not missing anything, it's impossible to package this to Fedora. I wasn't able to find any sources for the dpcpp and its dependencies from the suite. eg. Archlinux packages just unpack the .deb files. It also comes with a bundled llvm (17, it seems) that may have some non-upstream patches.
The first step would be to have a source of this, then it may be possible to package it into Fedora (depending on the license, the arch package currently states "custom" which is a problem). Ali, do you have any idea/inside ways what to do with it?
https://bugzilla.redhat.com/show_bug.cgi?id=2180613
Ali Erdinc Koroglu aekoroglu@linux.intel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(aekoroglu@linux.i | |ntel.com) |
--- Comment #14 from Ali Erdinc Koroglu aekoroglu@linux.intel.com --- Hello everyone, We already started to discuss about this DPC++ issue with Red Hat and, I will be preparing the compiler package for Fedora from https://github.com/intel/llvm "SYCL branch", which is a derivative of DPC++.
The compiler requires a minimum TBB version of 2021 but Fedora has shipped with version 2020.3 On the other hand, Fedora 40 will include TBB 2021.8 (https://fedoraproject.org/wiki/Changes/F40ModernizeTBB) So, we should wait until TBB 2021.8 is successfully implemented in F40.
https://bugzilla.redhat.com/show_bug.cgi?id=2180613
--- Comment #15 from Alexander Koppe koppe@posteo.de --- Thanks everyone for the updates and your work on this. That is great news with F40 around the corner. Seems like things slowly start to fall into place with all of Intel's oneapi stuff on Fedora. Hope this will be ready and in a usable state for F41 maybe.
https://bugzilla.redhat.com/show_bug.cgi?id=2180613
--- Comment #16 from Alexander Koppe koppe@posteo.de --- Hello, with Fedora 40 now officially released and TBB 2021.11 available in the repos, is there any progress update on your efforts to bring the necessary compiler package to Fedora?
https://bugzilla.redhat.com/show_bug.cgi?id=2180613
--- Comment #17 from Aoife Moloney amoloney@redhat.com --- This message is a reminder that Fedora Linux 38 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 38 on 2024-05-21. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '38'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it.
Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 38 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
https://bugzilla.redhat.com/show_bug.cgi?id=2180613
Aoife Moloney amoloney@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution|--- |EOL Last Closed| |2024-05-21 14:33:04
--- Comment #18 from Aoife Moloney amoloney@redhat.com --- Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.
Fedora Linux 38 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field.
If you are unable to reopen this bug, please file a new report against an active release.
Thank you for reporting this bug and we are sorry it could not be fixed.
https://bugzilla.redhat.com/show_bug.cgi?id=2180613
František Zatloukal fzatlouk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|EOL |--- Status|CLOSED |ASSIGNED Version|38 |rawhide Keywords| |Reopened
epel-packagers-sig@lists.fedoraproject.org