Cycles Optix cannot be brought back once AO node is added (does not recover removing the node or material) #79837
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
Interest: X11
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#79837
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: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.67
Blender Version
Broken: version: 2.83.3, branch: master, commit date: 2020-07-22 06:01, hash:
353e5bd749
Worked: (newest version of Blender that worked as expected)
Short description of error
[Whenever I add a Ambient Oclusion node in the shading tab of an object material, Cycles would either crashed and stuck on one frame. Or it would crash and everything would render as grey. It crash on the viewport like that. And when I render it, it say optix implementation does not support shader ray tracing yet. ]
Exact steps for others to reproduce the error
[Just adding an AO node into the shader tab, not even connect the node to anything, and it crash the viewport immediately{F8786400}]
[Based on the default startup or an attached .blend file (as simple as possible)]
Added subscriber: @RyanDang
Added subscriber: @YAFU
That's correct, OptiX render doesn't support those features yet.
https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html#supported-features-and-limitations
But I'm not sure if the report is about that even after removing AO node in Shader editor, Viewport still keeps showing the message and doesn't render in viewport.
Yes. It does not render in the viewport even after removing it.
Extra question: so if I want to use AO. I would need to use CUDA then?
Yes, it is a CUDA/OpenCL/CPU only feature for now.
Cycles crashed with AO nodeto Cycles Optix cannot be brought back once AO node is added (does not recover removing the node or material)Changed status from 'Needs Triage' to: 'Confirmed'
Added subscribers: @pmoursnv, @brecht
@pmoursnv, can you check?
2.90 shows a proper error message for this in the viewport already. AO and Bevel nodes are not currently supported with OptiX. This is caught when kernels are loaded, so need to force Cycles to reinitialize to get rid of the error after removing those nodes. Simplest way to do this is to switch Viewport Shading to Solid and then back to Rendered. I cannot reproduce it not being possible to get back to a working viewport after removing the node this way, so don't think there is a bug here.
Hi
The method of switching to Solid mode does not work here. Linux, GTX 960 (450.66), Blender 2.91.0 Alpha
396d39c6b9
optix_GTX 960.mp4
Added subscriber: @sebastian_k
Yeah, I can confirm that. Also going to System preferences and switching to CUDA, enabling viewport rendering, going back to solid, switching to OPTIX and enabling viewport rendering agin fixes it. I somehow cannot get OPTIX to "unregister" that AO node. (testing with
21cb6f09ff
)Added subscriber: @lichtwerk
The method of switching to Solid mode does not work here either. Linux, 970m (440.100)
You need to change a node connection. Blender apparently doesn't update the node graph send to Cycles if an unconnected node is deleted. So either connect the AO node to something and then delete it, or add/remove a connection somewhere else before switching mode and it will work.
That works for me
So I suppose that @brecht must decide if this behavior in Cycles is acceptable, and then if this ticket should be closed.
Added subscriber: @Raimund58
I think rather than aborting the render, we should just make the AO node output black.
We could use a better mechanism in Cycles and Blender in general as a whole to support aborting the render on missing things like GPU support for a particular feature or a missing image texture, but if we do that we better implement it as a generic mechanism.
For now I think it's better to handle this like e.g. missing image textures, which is to continue to render without it.
Changed status from 'Confirmed' to: 'Resolved'
Rendering with OptiX does support AO/Bevel nodes now (
c10546f5e9
), so this should no longer be an issue either way.