Files
blender/SUSE-NVIDIA-OptiX-rendering.txt
Hans-Peter Jansen cb8981343b Accepting request 965337 from home:frispete:blender
- Combine cycles devel package within blender
- Remove unused %post{,un} sections, these caches/databases are
  updated by rpm triggers
- Updated blender.appdata.xml

- Optix enabled build depends on package nvidia-optix-headers now
  (disabled by default due to copyright issues)

- Define %py3pkg literally allows use within {Build,}Requires
- Guard unzip/wget requirements %{with optix}.

- Add a OptiX build conditional, disabled by default and switched to 
  a dynamic approach to handle the the OptiX support. This way, no
  copyrighted bits are packaged.

- Adapt build for Python 3.10 (required minimum version)
- Add optix includes that prepares the runtime OptiX renderer 
  Similar to other renderers, the OptiX renderer is generated on the
  first use, given a proper local installation
- Drop outdated patch blender-293-openexr3.patch 

- Update to 3.1.0 
  https://www.blender.org/download/releases/3-1/
  https://wiki.blender.org/wiki/Reference/Release_Notes/3.1
- drop patches included in update
  0001-Fix-T94661-Out-of-bounds-memory-access-due-to-malfor.patch
  0001-Fix-T94629-The-IMB_flip-API-would-fail-with-large-im.patch
  0001-Fix-T89542-Crash-when-loading-certain-.hdr-files.patch

OBS-URL: https://build.opensuse.org/request/show/965337
OBS-URL: https://build.opensuse.org/package/show/graphics/blender?expand=0&rev=424
2022-04-04 17:25:39 +00:00

39 lines
1.2 KiB
Plaintext

NVIDIA OptiX rendering on openSUSE
Prerequisites
Given, you mastered SUSE-NVIDIA-GPU-rendering.txt already, follow this guide
in order to have OptiX rendering available from Blender.
Note, that you need an account on https://developer.nvidia.com for the next step
to succeed.
Download the OptiX package for Linux from
https://developer.nvidia.com/designworks/optix/download
At the time of this writing, this was Version 7.4.0.
The further description refers to this version.
You need to unpack it in a specific location (as root). Since we need to specify
the path to OptiX at build time, /opt/nvidia/optix needs to point to your current
OptiX environment:
$ su
# mkdir -p /opt/nvidia
# cd /opt/nvidia
# sh ~user/Downloads/NVIDIA-OptiX-SDK-7.4.0-linux64-x86_64.sh
# # Answer all questions with yes.
# # Note: adjust path accordingly
# ln -s NVIDIA-OptiX-SDK-7.4.0-linux64-x86_64 optix
Now set up OptiX environment, e.g. in ~/.profile or in /etc/profile.local:
export OPTIX_ROOT_DIR=/opt/nvidia/optix
export OPTIX_INCLUDE_DIR=$OPTIX_ROOT_DIR/include
Given, all prerequisites are fulfilled, you should find the OptiX rendering device
in Edit -> Preferences -> System.