CUDA Rendering Bug (and Fix) for Blender v2.80 RC2 to RC3 #67775

Closed
opened 2019-07-27 01:23:58 +02:00 by Doug Fullerton · 10 comments

System Information
Operating system: Windows 10 64-bit
Graphics card: Nvidia Titan X (Pascal)

Blender Version
Broken: v2.80 RC2
(example: 2.79b release)
(example: 2.80, edbf15d3c0, blender2.8, 2018-11-28, as found on the splash screen)
Worked: v2.80 RC3

Hello.  I was noticing while rendering the splash screen test files for "Splash279" with the character shooting a hairdryer that upon reaching the character's hair in rendering, I would hear system fans ramp down and the program forcibly close with no error.  Further in testing, I also saw that while rendering "The Butterfly's Sorrow" animation, in Frame 134, I would receive a red "CUDA ctxMemory" error or something related to CUDA processing that would simply halt the render.  It would not however, close the entire program.  Repeated runs of both scenes caused these issues in v2.80 RC2.  
However, I did re-test both scenes and others with the newest release of Blender v2.80 RC3 and both scenes were able to complete successfully.  I am guessing something regarding keeping the CUDA pipeline full, flexibility on errors, or some other bug fix helped allow the previously broken files to now render correctly.  
I am still seeing a modeling conflict with the desks in "Classroom" as those will not load in any version of v2.80 RC1, 2 or 3.  However using GPU+CPU compute renders the file of the room just fine.  
Looking forward to release of v2.80.  Thank you.
**System Information** Operating system: Windows 10 64-bit Graphics card: Nvidia Titan X (Pascal) **Blender Version** Broken: v2.80 RC2 (example: 2.79b release) (example: 2.80, edbf15d3c044, blender2.8, 2018-11-28, as found on the splash screen) Worked: v2.80 RC3 ``` Hello. I was noticing while rendering the splash screen test files for "Splash279" with the character shooting a hairdryer that upon reaching the character's hair in rendering, I would hear system fans ramp down and the program forcibly close with no error. Further in testing, I also saw that while rendering "The Butterfly's Sorrow" animation, in Frame 134, I would receive a red "CUDA ctxMemory" error or something related to CUDA processing that would simply halt the render. It would not however, close the entire program. Repeated runs of both scenes caused these issues in v2.80 RC2. ``` ``` However, I did re-test both scenes and others with the newest release of Blender v2.80 RC3 and both scenes were able to complete successfully. I am guessing something regarding keeping the CUDA pipeline full, flexibility on errors, or some other bug fix helped allow the previously broken files to now render correctly. ``` ``` I am still seeing a modeling conflict with the desks in "Classroom" as those will not load in any version of v2.80 RC1, 2 or 3. However using GPU+CPU compute renders the file of the room just fine. ``` ``` Looking forward to release of v2.80. Thank you.
Author

Added subscriber: @The-Real-Link

Added subscriber: @The-Real-Link

Added subscriber: @WayneHawkins

Added subscriber: @WayneHawkins

Hi. I may have the same problem. If you try this and find it stable then we may be onto something. Try turning Denoising off. I have found with this off, all is stable. If left on I will get Blender crash when I use more than one video card. For me I have 3 X GTX 1080. If I render with one card and Denoising on, all is well. If with 2 or more it's not.

Something to do with Denoising - or so it seems on my testing.

Hi. I may have the same problem. If you try this and find it stable then we may be onto something. Try turning Denoising off. I have found with this off, all is stable. If left on I will get Blender crash when I use more than one video card. For me I have 3 X GTX 1080. If I render with one card and Denoising on, all is well. If with 2 or more it's not. Something to do with Denoising - or so it seems on my testing.
Author

Hello Wayne. I have not been able to re-test that yet with denoising off. However I did receive one other one-off CUDA error on something around frame 175. A simple close and relaunching of the program fixed this. I have not seen any other errors to date.

Hello Wayne. I have not been able to re-test that yet with denoising off. However I did receive one other one-off CUDA error on something around frame 175. A simple close and relaunching of the program fixed this. I have not seen any other errors to date.

Added subscriber: @ZedDB

Added subscriber: @ZedDB

Is this still and issue with the latest build from here? https://builder.blender.org/download/

We can't seem to be able to reproduce this.

Is this still and issue with the latest build from here? https://builder.blender.org/download/ We can't seem to be able to reproduce this.
Author

Hello Sebastian,

I found when Blender was crashing that it registered under Event Viewer's log as stating a Display Driver crash. I was originally running Nvidia 430.86 on my Titan X (Pascal). I have since updated Windows 10 to Ver. 1903, updated GFE, and updated the Display Driver to the Titan Studio release of 431.70 which is a couple months newer. It had no problem rendering the Splash279 benchmark scene. I would have to test repeatedly for sure but I am 99% positive it was just an older driver not playing nice with Blender v2.80 Final. Thanks.

Hello Sebastian, I found when Blender was crashing that it registered under Event Viewer's log as stating a Display Driver crash. I was originally running Nvidia 430.86 on my Titan X (Pascal). I have since updated Windows 10 to Ver. 1903, updated GFE, and updated the Display Driver to the Titan Studio release of 431.70 which is a couple months newer. It had no problem rendering the Splash279 benchmark scene. I would have to test repeatedly for sure but I am 99% positive it was just an older driver not playing nice with Blender v2.80 Final. Thanks.

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2019-08-20 11:26:37 +02:00

thanks, think we can consider this as driver issue in any case then.

thanks, think we can consider this as driver issue in any case then.
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
4 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#67775
No description provided.