CUDA error: Launch failed in cuCtxSynchronize(), line 1679 #60806

Closed
opened 2019-01-23 22:49:04 +01:00 by Loïc DAUTRY · 12 comments

System Information
Operating system: Windows 10 64b pro
Graphics card: Nvidia GTX 970

Blender Version
Broken (all three of them) :
2.79b
2.79.6 65b25df801 (2018-10-25)
2.8 dc3b5024be (2019-01-23)
2.8 1d908bffdd of January 24, 01:37:26
2.79.6 d753726ce7 of January 24, 02:19:28

Short description of error

I have one blender scene:

Bath1.blend

If I start rendering with GPU, the GPU tiles renders blank and I end up with this error :

CUDA error: Launch failed in cuCtxSynchronize(), line 1679

I tried with CPU + GPU (only CPU renders, GPU tiles keep rendering blank tiles and I got the error at the end of rendering), tried different tile sizes and samplings as well. Also tried on other computers (one with GTX 1080, one with GTX 980ti).

**System Information** Operating system: Windows 10 64b pro Graphics card: Nvidia GTX 970 **Blender Version** Broken (all three of them) : 2.79b 2.79.6 65b25df8018 (2018-10-25) 2.8 dc3b5024be1a (2019-01-23) 2.8 1d908bffddb4 of January 24, 01:37:26 2.79.6 d753726ce712 of January 24, 02:19:28 **Short description of error** I have one blender scene: [Bath1.blend](https://archive.blender.org/developer/F6382669/Bath1.blend) If I start rendering with GPU, the GPU tiles renders blank and I end up with this error : `CUDA error: Launch failed in cuCtxSynchronize(), line 1679` I tried with CPU + GPU (only CPU renders, GPU tiles keep rendering blank tiles and I got the error at the end of rendering), tried different tile sizes and samplings as well. Also tried on other computers (one with GTX 1080, one with GTX 980ti).
Author

Added subscriber: @L0Lock

Added subscriber: @L0Lock

Added subscriber: @SteffenD

Added subscriber: @SteffenD
Member

Added subscriber: @nacioss

Added subscriber: @nacioss
Member
The solution to this problem is here: http://artificialflight.org/blog/2013/cycles-crash-cuda-tdr-error/
Author

No it isn't, nor even nearly the same problem.

No it isn't, nor even nearly the same problem.
Author

Just tried again with version 2.8 1d908bffdd of January 24, 01:37:26, and version 2.79.6 d753726ce7 of January 24, 02:19:28. Not better.

Just tried again with version 2.8 1d908bffddb4 of January 24, 01:37:26, and version 2.79.6 d753726ce712 of January 24, 02:19:28. Not better.
Brecht Van Lommel self-assigned this 2019-01-24 14:34:05 +01:00

This issue was referenced by blender/cycles@3f5cbac544

This issue was referenced by blender/cycles@3f5cbac544cfc5420e81fb1234aef0a8e3147079

This issue was referenced by 6260b3c15e

This issue was referenced by 6260b3c15e5afd0a38c97a16d47665833f69a79f

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Author

Thanks for the fast fix!
Tried today's build (January 25, 01:04:42 - 4b8b7c821d ).
There are no errors anymore, but still quite an issue: when rendering with GPU + CPU, there's a tile missing.

Right now I'm on an Intel i7-980X (12 threads) with Nvidia GTX 660.

Rendering with GPU only looks fine :
image.png

But as I enable both CPU and GPU as compute devices, there are only 12 render tiles at the same time (I guess the 12 are from the CPU) :
image.png

(Note that the screen shot uses huge tile size and no rendered tiles because otherwise, it was hard to see. But I did my tests with 16px², 32px², 128px², and always waited for the render to be completed.)

Thanks for the fast fix! Tried today's build (January 25, 01:04:42 - 4b8b7c821d46 ). There are no errors anymore, but still quite an issue: when rendering with GPU + CPU, there's a tile missing. Right now I'm on an Intel i7-980X (12 threads) with Nvidia GTX 660. Rendering with GPU only looks fine : ![image.png](https://archive.blender.org/developer/F6398203/image.png) But as I enable both CPU and GPU as compute devices, there are only 12 render tiles at the same time (I guess the 12 are from the CPU) : ![image.png](https://archive.blender.org/developer/F6398214/image.png) (Note that the screen shot uses huge tile size and no rendered tiles because otherwise, it was hard to see. But I did my tests with 16px², 32px², 128px², and always waited for the render to be completed.)

With CPU + GPU rendering, there is one CPU core dedicated to the GPU.

With CPU + GPU rendering, there is one CPU core dedicated to the GPU.
Author

Oh ok I didn't noticed.

Oh ok I didn't noticed.
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
5 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#60806
No description provided.