Refraction Crash/Extremely Slow #40693

Closed
opened 2014-06-18 21:54:41 +02:00 by Sofus Rose · 4 comments

System Information
Microsoft Windows 7 Home Premium
Intel 4700-MQ
NVIDIA 780M
16GB 1600MHz RAM

Blender Version
Broken: 2.70, 2.71RC2
Worked: None yet.
Settings:

While following the Pancake Hobo tutorial on Blender Cookie, I was following along with my GPU as render device, using fake SSS shaders. However, near the end, after adding a refraction shader as part of the material for the syrup, I ran into problems. The render crashed because of a timeout, and when I edited the registry setting that controls it, the render was taking a very long time - 5 samples per second on the white background.

1: Open the file, enter viewport render. Notice that it works well enough.
2: Attempt an f12 render, using CUDA. Blender will likely crash due to timeout, and if overriden (as I have done), notice the slow render speeds.
3: Enter the syrup object material, and enter the Refractive Absorption nodegroup. Try removing the Light Path node; no change (there was not long ago a bug that affected using Light Path in materials with the GPU). Replace the refraction shader with a Transluscent shader, inputting the color with the Light Path node on the other end of the string.
4: Now, try another f12 render. Notice that it has sped up considerably, with no crashes.

Notes:

  • The SSS shaders for the other objects are faked with a diffuse and two transluscent shaders each.
  • When rendering with No Causics enabled, and the refraction shader in place, the render goes back to a decent speed.
  • All textures are Creative Commons.
  • The attached file is large, but the only one where I can easily recreate the issue.

https://docs.google.com/uc?id=0Bx0YaKfeuWSrd3BMbUttU05fY1E&export=download

**System Information** Microsoft Windows 7 Home Premium Intel 4700-MQ NVIDIA 780M 16GB 1600MHz RAM **Blender Version** Broken: 2.70, 2.71RC2 Worked: None yet. Settings: While following the Pancake Hobo tutorial on Blender Cookie, I was following along with my GPU as render device, using fake SSS shaders. However, near the end, after adding a refraction shader as part of the material for the syrup, I ran into problems. The render crashed because of a timeout, and when I edited the registry setting that controls it, the render was taking a very long time - 5 samples per second on the white background. 1: Open the file, enter viewport render. Notice that it works well enough. 2: Attempt an f12 render, using CUDA. Blender will likely crash due to timeout, and if overriden (as I have done), notice the slow render speeds. 3: Enter the syrup object material, and enter the Refractive Absorption nodegroup. Try removing the Light Path node; no change (there was not long ago a bug that affected using Light Path in materials with the GPU). Replace the refraction shader with a Transluscent shader, inputting the color with the Light Path node on the other end of the string. 4: Now, try another f12 render. Notice that it has sped up considerably, with no crashes. Notes: - The SSS shaders for the other objects are faked with a diffuse and two transluscent shaders each. - When rendering with No Causics enabled, and the refraction shader in place, the render goes back to a decent speed. - All textures are Creative Commons. - The attached file is large, but the only one where I can easily recreate the issue. https://docs.google.com/uc?id=0Bx0YaKfeuWSrd3BMbUttU05fY1E&export=download
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @Darkfie9825

Added subscriber: @Darkfie9825

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Brecht Van Lommel self-assigned this 2014-06-21 18:00:29 +02:00

Unfortunately this is an old issue with no easy fix. It's considered a To Do item still.
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/GPU_Rendering#The_NVIDIA_OpenGL_driver_lost_connection_with_the_display_driver

If you've got many bounces, GPU rendering can take too long and interfere with the display driver. The workaround for now is to use smaller tile sizes and fewer bounces. Tricks with the Light Path node or setting No Caustics will lower the effective number of bounces.

Unfortunately this is an old issue with no easy fix. It's considered a To Do item still. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/GPU_Rendering#The_NVIDIA_OpenGL_driver_lost_connection_with_the_display_driver If you've got many bounces, GPU rendering can take too long and interfere with the display driver. The workaround for now is to use smaller tile sizes and fewer bounces. Tricks with the Light Path node or setting No Caustics will lower the effective number of bounces.
Sign in to join this conversation.
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
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#40693
No description provided.