CUDA error: Invalid value in cuCtxDestroy(cuContext), line 327 #73946

Closed
opened 2020-02-17 21:05:56 +01:00 by Gavin Wyatt · 21 comments

{F8345689}System Information
Operating system: win 10 pro, AMD thread dripper
Graphics card: RTX 2070 Supper

Blender Version
Broken: 2.82 (sub 7), branch: master, commit date: 2020-02-12 16:20, hash: 77d23b0bd7

Exact steps for others to reproduce the error

I hit F12 to render, return to Cycles render view I get a box outline no Colour or texture as the photo below, Cube no color
hit F12 again get "CUDA error at cuCtxCreate: Launch failed

I am running basic set up no addons at all Clean install Splash screen below just says v2.82

Error List 
CUDA error at cuCtxCreate: Launch failed

Refer to the Cycles GPU rendering documentation for possible solutions:
https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html

CUDA error: Invalid value in cuCtxPushCurrent(device->cuContext)
CUDA error: Invalid context in mem_alloc_result, line 855
CUDA error: Invalid context in cuCtxPopCurrent(NULL)
CUDA error: Invalid value in cuCtxPushCurrent(device->cuContext)
CUDA error: Invalid context in mem_alloc_result, line 855
CUDA error: Invalid context in cuCtxPopCurrent(NULL)
CUDA error: Invalid value in cuCtxPushCurrent(device->cuContext)
CUDA error: Invalid context in mem_alloc_result, line 855
CUDA error: Invalid context in cuCtxPopCurrent(NULL)
CUDA error: Invalid value in cuCtxPushCurrent(device->cuContext)
CUDA error: Invalid context in mem_alloc_result, line 855
CUDA error: Invalid context in cuCtxPopCurrent(NULL)
CUDA error at cuCtxCreate: Launch failed

Refer to the Cycles GPU rendering documentation for possible solutions:
https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html

CUDA error at cuCtxCreate: Launch failed

Refer to the Cycles GPU rendering documentation for possible solutions:
https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html

CUDA error: Invalid value in cuCtxDestroy(cuContext), line 327
CUDA error: Invalid value in cuCtxDestroy(cuContext), line 327

bpy.context.space_data.shading.type = 'RENDERED'
bpy.context.space_data.shading.type = 'MATERIAL'
bpy.context.space_data.shading.type = 'RENDERED'
bpy.context.space_data.shading.type = 'MATERIAL'
bpy.context.scene.cycles.device = 'CPU'
bpy.context.space_data.shading.type = 'RENDERED'
bpy.context.scene.cycles.device = 'GPU'
CUDA error at cuCtxCreate: Launch failed
bpy.context.scene.cycles.device = 'CPU'
bpy.context.scene.cycles.device = 'GPU'
bpy.context.scene.render.engine = 'BLENDER_EEVEE'
bpy.context.scene.eevee.use_gtao = True
bpy.context.scene.eevee.use_gtao = False
bpy.context.scene.render.engine = 'CYCLES'
bpy.context.scene.cycles_curves.use_curves = False
bpy.context.scene.render.use_simplify = True
bpy.context.scene.render.use_simplify = False
bpy.context.scene.cycles.preview_start_resolution = 128
No active image found in material slot (0) for object "Cube"
bpy.context.scene.cycles.device = 'CPU'
bpy.context.scene.cycles.device = 'GPU'
CUDA error at cuCtxCreate: Launch failed
bpy.context.scene.cycles.device = 'CPU'
bpy.context.scene.cycles.device = 'GPU'
CUDA error at cuCtxCreate: Launch failed

Blender_error2.png

Blender_error.png

{[F8345689](https://archive.blender.org/developer/F8345689/Blender_Splash_2-82.png)}**System Information** Operating system: win 10 pro, AMD thread dripper Graphics card: RTX 2070 Supper **Blender Version** Broken: 2.82 (sub 7), branch: master, commit date: 2020-02-12 16:20, hash: `77d23b0bd7` **Exact steps for others to reproduce the error** I hit F12 to render, return to Cycles render view I get a box outline no Colour or texture as the photo below, Cube no color hit F12 again get "CUDA error at cuCtxCreate: Launch failed I am running basic set up no addons at all Clean install Splash screen below just says v2.82 ``` Error List CUDA error at cuCtxCreate: Launch failed Refer to the Cycles GPU rendering documentation for possible solutions: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html CUDA error: Invalid value in cuCtxPushCurrent(device->cuContext) CUDA error: Invalid context in mem_alloc_result, line 855 CUDA error: Invalid context in cuCtxPopCurrent(NULL) CUDA error: Invalid value in cuCtxPushCurrent(device->cuContext) CUDA error: Invalid context in mem_alloc_result, line 855 CUDA error: Invalid context in cuCtxPopCurrent(NULL) CUDA error: Invalid value in cuCtxPushCurrent(device->cuContext) CUDA error: Invalid context in mem_alloc_result, line 855 CUDA error: Invalid context in cuCtxPopCurrent(NULL) CUDA error: Invalid value in cuCtxPushCurrent(device->cuContext) CUDA error: Invalid context in mem_alloc_result, line 855 CUDA error: Invalid context in cuCtxPopCurrent(NULL) CUDA error at cuCtxCreate: Launch failed Refer to the Cycles GPU rendering documentation for possible solutions: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html CUDA error at cuCtxCreate: Launch failed Refer to the Cycles GPU rendering documentation for possible solutions: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html CUDA error: Invalid value in cuCtxDestroy(cuContext), line 327 CUDA error: Invalid value in cuCtxDestroy(cuContext), line 327 bpy.context.space_data.shading.type = 'RENDERED' bpy.context.space_data.shading.type = 'MATERIAL' bpy.context.space_data.shading.type = 'RENDERED' bpy.context.space_data.shading.type = 'MATERIAL' bpy.context.scene.cycles.device = 'CPU' bpy.context.space_data.shading.type = 'RENDERED' bpy.context.scene.cycles.device = 'GPU' CUDA error at cuCtxCreate: Launch failed bpy.context.scene.cycles.device = 'CPU' bpy.context.scene.cycles.device = 'GPU' bpy.context.scene.render.engine = 'BLENDER_EEVEE' bpy.context.scene.eevee.use_gtao = True bpy.context.scene.eevee.use_gtao = False bpy.context.scene.render.engine = 'CYCLES' bpy.context.scene.cycles_curves.use_curves = False bpy.context.scene.render.use_simplify = True bpy.context.scene.render.use_simplify = False bpy.context.scene.cycles.preview_start_resolution = 128 No active image found in material slot (0) for object "Cube" bpy.context.scene.cycles.device = 'CPU' bpy.context.scene.cycles.device = 'GPU' CUDA error at cuCtxCreate: Launch failed bpy.context.scene.cycles.device = 'CPU' bpy.context.scene.cycles.device = 'GPU' CUDA error at cuCtxCreate: Launch failed ``` ![Blender_error2.png](https://archive.blender.org/developer/F8345681/Blender_error2.png) ![Blender_error.png](https://archive.blender.org/developer/F8345680/Blender_error.png)
Author

Added subscriber: @GavinWyatt

Added subscriber: @GavinWyatt
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Does this happen on any scene or just one? If just one please upload the blend-file that causes an issue

Does this happen on any scene or just one? If just one please upload the blend-file that causes an issue
Author

I have tried it with the Ford Transit Van, Everything was working fine yesterday while I was Modeling the van, came to texture it today and the Cycles render was not having it, I uninstalled all of the blender addons and blender, reinstalled All Nvidia Drivers, Tried the Van and render then nothing in Cycles live render view Just black, with Orange outline as above in photo,

I then just tried a basic cube basic set up and same issues

I have tried it with the Ford Transit Van, Everything was working fine yesterday while I was Modeling the van, came to texture it today and the Cycles render was not having it, I uninstalled all of the blender addons and blender, reinstalled All Nvidia Drivers, Tried the Van and render then nothing in Cycles live render view Just black, with Orange outline as above in photo, I then just tried a basic cube basic set up and same issues
Author

Ive now installed the Cuda Tool kit to see if that would help, Cant think of anything else todo, Just tried again Render then live cycles view and Blank outline of a Van i took all Textures off in case that was the issue

Blender_error3.png

Ive now installed the Cuda Tool kit to see if that would help, Cant think of anything else todo, Just tried again Render then live cycles view and Blank outline of a Van i took all Textures off in case that was the issue ![Blender_error3.png](https://archive.blender.org/developer/F8345855/Blender_error3.png)
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Author

Added subscriber: @aaron-14

Added subscriber: @aaron-14
Author

@ Aaron Carlisle (Blendify) what else you need ?

@ Aaron Carlisle (Blendify) what else you need ?
Member

Nothing it is likely some obscure bug limited to your system. Does 2.81 work?

Nothing it is likely some obscure bug limited to your system. Does 2.81 work?
Author

None on the bender works even 2.79, 2.8,2.81

None on the bender works even 2.79, 2.8,2.81

Added subscriber: @iss

Added subscriber: @iss

Blender Version
Broken: (example: 2.80, edbf15d3c0, master, 2018-11-28, as found on the splash screen)
Worked: (optional) 2.82, Uninstalled Removed all Addons just basic Version

In #73946#874701, @GavinWyatt wrote:
None on the bender works even 2.79, 2.8,2.81

So is 2.82 working or not?

>Blender Version >Broken: (example: 2.80, edbf15d3c044, master, 2018-11-28, as found on the splash screen) >Worked: (optional) 2.82, Uninstalled Removed all Addons just basic Version > In #73946#874701, @GavinWyatt wrote: > None on the bender works even 2.79, 2.8,2.81 So is 2.82 working or not?
Author

In #73946#876089, @iss wrote:

Blender Version
Broken: (example: 2.80, edbf15d3c0, master, 2018-11-28, as found on the splash screen)
Worked: (optional) 2.82, Uninstalled Removed all Addons just basic Version

In #73946#874701, @GavinWyatt wrote:
None on the bender works even 2.79, 2.8,2.81

So is 2.82 working or not?

I reverted PC back to January the 1st got 2.81a working not installed 2.82 as want to get project working, i've attached the file i was working on in 2.82

Van1.blend

> In #73946#876089, @iss wrote: >>Blender Version >>Broken: (example: 2.80, edbf15d3c044, master, 2018-11-28, as found on the splash screen) >>Worked: (optional) 2.82, Uninstalled Removed all Addons just basic Version > >> In #73946#874701, @GavinWyatt wrote: >> None on the bender works even 2.79, 2.8,2.81 > > So is 2.82 working or not? I reverted PC back to January the 1st got 2.81a working not installed 2.82 as want to get project working, i've attached the file i was working on in 2.82 [Van1.blend](https://archive.blender.org/developer/F8351172/Van1.blend)

@GavinWyatt I want to know if there is bug in 2.82, or is it OK.

@GavinWyatt I want to know if there is bug in 2.82, or is it OK.
Author

In #73946#876343, @iss wrote:
@GavinWyatt I want to know if there is bug in 2.82, or is it OK.

No i tried it last-night and not working, so un installed it

> In #73946#876343, @iss wrote: > @GavinWyatt I want to know if there is bug in 2.82, or is it OK. No i tried it last-night and not working, so un installed it
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Please retry after a driver update & also upload help menu > save system info.txt

Please retry after a driver update & also upload help menu > save system info.txt
Member

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Ankit Meel self-assigned this 2020-05-01 18:15:47 +02:00
Member

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with tested newer blender versions, updating GPU drivers & system info.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with tested newer blender versions, updating GPU drivers & system info.
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#73946
No description provided.