Regression: Cycles: Optix not able to render without cuda toolkit #109550
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#109550
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux
Graphics card: NVIDIA A100-SXM4-40GB
Blender Version
Broken: 3.6
Worked: 3.5.1
Short description of error
A render with Optix suddenly no longer works without the CUDA toolkit
The same machine renders without issues with Blender 3.5.1
Is this expected?
Exact steps for others to reproduce the error
Cycles: Optix not able to render without cuda toolkitto Regression: Cycles: Optix not able to render without cuda toolkitUpdate: The user now installed CUDA 12.1(latest?)...
Another note: we are launching Blender with
--factory-startup
for every jobThis is caused by
7fca0ee76a
. The NVIDIA A100 uses compute capability 8.0, which Blender doesn't ship precompiled kernels for. It still worked previously because it fell back to PTX, since compute capability 7.5 PTX can be compiled for it, but the update to 8.9 makes that impossible. @Sergey It's probably fine to leave PTX at 7.5, since the main target-specific optimization pipeline runs during compilation from PTX to bytecode, rather than during the compilation to PTX, plus there are precompiled kernels for all the major compute capabilities (used by consumer cards) anyway.I'm considering it confirmed then, but I'm unsure if the bug should be marked high priority even though it's a regression.
@pmoursnv The bump for the PTX kernel was to hopefully ease running older Blender (like LTS) on a modern cards. We had some freezes during the PTX compilation on certain platforms (like #109002). The motivation was that giving the closest possible PTX will help with such cases.
Now, in the context of LTS, not sure what is the best strategy. Perhaps easiest is to revert the change in both main and LTS branches, so that the known regression is resolved. I'm fine with it.
@brecht Are you fine with such change in the 3.6 branch? Or shall we instead add 8.0 compute there?
I would be fine with both ways. Keeping or reverting.
I just wanted to clarify if it was an intended change or not.
But it would be nice if Blender could already report the needed toolkit version in the first error message. (CUDA 10.1 to 11.4 instead of the latest)
@Raimund58 The change to PTX was intended, the breaking compatibility was not :)
I quickly talked to Brecht, we are both fine reverting to a known good state. I've crated a PR, running tests, etc now. Keep in mind, it will only get into 3.6 with its next LTS update.
I've committed the fix to
main
and added the commit to the list to be back-ported to 3.6 in there: #109399Thank you :)