Adds support for optix (nVidia ray-tracing on RTX cards) as an alternative to CUDA for media-gfx/blender-2.83.4.ebuild. The attached ebuild patch will allow the user to utilize this functionality on blender. Reproducible: Always
Created attachment 659452 [details, diff] Patch to add optix support to media-gfx/blender-2.83.4
I would love to add this to blender, but we will need to get optix accepted into the tree first. I am not able to maintain optix myself as it requires Volta or later cards and I am still using Pascal architecture.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=175fb5f846f586fd7c198f3a35247cb5f893a5c8 commit 175fb5f846f586fd7c198f3a35247cb5f893a5c8 Author: Bernd Waibel <waebbl-gentoo@posteo.net> AuthorDate: 2022-03-27 09:56:19 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2022-08-31 09:53:54 +0000 dev-libs/optix: new package, v7.4.0 Copied from ::sci and adapted Package being included for use by media-gfx/blender Bug: https://bugs.gentoo.org/741564 Closes: https://bugs.gentoo.org/741562 Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Signed-off-by: Ionen Wolkens <ionen@gentoo.org> dev-libs/optix/Manifest | 16 ++++++++ dev-libs/optix/metadata.xml | 24 ++++++++++++ dev-libs/optix/optix-7.4.0.ebuild | 80 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 120 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=240b8b5737d5451ad70466ccc16e49630c295863 commit 240b8b5737d5451ad70466ccc16e49630c295863 Author: Bernd Waibel <waebbl-gentoo@posteo.net> AuthorDate: 2022-09-17 09:06:21 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2022-09-25 12:22:38 +0000 media-gfx/blender: add optix support Add compile and runtime support for the NVIDIA OptiX library. Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Closes: https://bugs.gentoo.org/741564 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> media-gfx/blender/blender-3.2.2.ebuild | 15 ++- ...option-to-specify-OptiX-runtime-root-dire.patch | 108 +++++++++++++++++++++ ...-wrong-Cycles-OptiX-runtime-compilation-i.patch | 23 +++++ media-gfx/blender/metadata.xml | 3 + 4 files changed, 148 insertions(+), 1 deletion(-)