Bug 1226377

Summary: The Tumbleweed package of Blender is missing OptiX support
Product: [openSUSE] openSUSE Tumbleweed Reporter: Áron Kovács <aronkvh>
Component: MaintenanceAssignee: Hans-Peter Jansen <hpj>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: hp.jansen, stefan.bruens
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Áron Kovács 2024-06-14 23:04:10 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Build Identifier: 

The package blender-4.1.1-1.1 has no support for OptiX, even though the version from blender.org works on the same system.

GPU: RTX 4060
Operating System: openSUSE Tumbleweed 20240612
KDE Plasma Version: 6.0.5
Kernel Version: 6.9.3-1-default (64-bit)
Graphics Platform: Wayland
Graphics Processor: Mesa Intel® Graphics
Manufacturer: SLIMBOOK

Reproducible: Always

Steps to Reproduce:
1. Install Blender from YaST
2. Launch Blender
3. Go to settings > System
Actual Results:  
There is no OptiX tab in settings and no way to render with optix

Expected Results:  
OptiX is recognized just like on the standalone version
Comment 1 Hans-Peter Jansen 2024-07-01 16:04:58 UTC
Yes, this is a known issue.

Unlike CUDA support, adding OptiX support requires us to include some specific NVIDIA headers.

Some people believe, that including the nvidia-optix-headers into our official build infringe copyright law. Despite this, I'm doing it in the blender builds of my home project:

https://build.opensuse.org/project/show/home:frispete:blender

You're free and welcomed to use this version, of course. I'm specifically interested in any issues using the Wayland platform.

Offending headers can be downloaded here: 
https://developer.download.nvidia.com/redist/optix/v7.4/OptiX-7.4.0-Include.zip

Although NVIDIA makes these headers publicly available for precisely this purpose, they have "overlooked" to adapt the copyright headers accordingly.

For a discussion with the Blender developers, see:
https://devtalk.blender.org/t/blender-2-8-cycles-optix-packaging/12533/12

Since these are C++ Headers containing inline code, one can argue, that this produces code (as being done by Stefan Brüns in that discussion).

If you have an idea, how to bug NVIDIA on that, let me know! 
Or you can find a way to get Stefan Brüns to relent.

Until that happens, I unfortunately have to close this issue as "WONTFIX".