Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 741564

Summary: media-gfx/blender-2.83.4: Add optix support
Product: Gentoo Linux Reporter: Richard Ostrow <rich>
Component: Current packagesAssignee: Adrian <agrigo2001>
Status: RESOLVED FIXED    
Severity: normal CC: darkdefende, jstein, proxy-maint
Priority: Normal Keywords: PATCH, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/21435
https://bugs.gentoo.org/show_bug.cgi?id=881179
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 741562    
Bug Blocks:    
Attachments: Patch to add optix support to media-gfx/blender-2.83.4

Description Richard Ostrow 2020-09-11 01:42:09 UTC
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
Comment 1 Richard Ostrow 2020-09-11 01:43:26 UTC
Created attachment 659452 [details, diff]
Patch to add optix support to media-gfx/blender-2.83.4
Comment 2 Adrian 2020-10-17 20:00:00 UTC
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.
Comment 3 Larry the Git Cow gentoo-dev 2022-08-31 09:58:10 UTC
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(+)
Comment 4 Larry the Git Cow gentoo-dev 2022-09-25 12:29:39 UTC
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(-)