Unable to use GPU to render any more. "Cuda illegal address in cuCtxSynchronize(), line 1372" #53072

Closed
opened 2017-10-15 10:51:19 +02:00 by Simon Pollard · 10 comments

System Information
Windows 10 Home
10.0.14393 Build 14393

nVidia GeForce GTX 1080
Driver: 387.92 (latest version)

Blender Version
Broken: 2.79 2017-09-11 10:43 Hash: 5bd8ac9
Worked: 2.78c

Since upgrading to 2.79 I am now no longer able to use the GPU to render. I get the error "Cuda illegal address in cuCtxSynchronize(), line 1372" as soon as it tries to render.

The previous version (2.78c) worked absolutely fine. Need to move to 2.79 for the Principled BSDF shader workflow.

Exact steps for others to reproduce the error
N/A

**System Information** Windows 10 Home 10.0.14393 Build 14393 nVidia GeForce GTX 1080 Driver: 387.92 (latest version) **Blender Version** Broken: 2.79 2017-09-11 10:43 Hash: 5bd8ac9 Worked: 2.78c Since upgrading to 2.79 I am now no longer able to use the GPU to render. I get the error "Cuda illegal address in cuCtxSynchronize(), line 1372" as soon as it tries to render. The previous version (2.78c) worked absolutely fine. Need to move to 2.79 for the Principled BSDF shader workflow. **Exact steps for others to reproduce the error** N/A
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @polly2carpets

Added subscriber: @polly2carpets

Added subscriber: @brecht

Added subscriber: @brecht
  • Does it happen with the default startup cube scene? If not, please attach a .blend to reproduce the problem.
  • Did you verify it's the Blender version and not the Nvidia driver version that makes the difference, by running Blender 2.78c with the latest driver?
  • You could test the latest build from https://builder.blender.org/download/.
  • Running a slightly older Nvidia driver version may work around the problem.
* Does it happen with the default startup cube scene? If not, please attach a .blend to reproduce the problem. * Did you verify it's the Blender version and not the Nvidia driver version that makes the difference, by running Blender 2.78c with the latest driver? * You could test the latest build from https://builder.blender.org/download/. * Running a slightly older Nvidia driver version may work around the problem.
Author

Thanks for such a prompt reply, Brecht

Does it happen with the default startup cube scene? If not, please attach a .blend to reproduce the problem.

Yes. It occurs even with reset to factory default and no addons installed.

Did you verify it's the Blender version and not the Nvidia driver version that makes the difference, by running Blender 2.78c with the latest driver?

I've just tried 2.78c and I get CUDA error: Illegal address in cuCtxSynchronise().

You could test the latest build from https://builder.blender.org/download/.

Tried the latest build of 2.79.1 and get "CUDA error: Illegal address in ctuCtxSynchronise(), line 1348"

Running a slightly older Nvidia driver version may work around the problem.

I've regressed my nVidia driver as far back as I can go from what's available at http://www.nvidia.com/Download/Find.aspx?lang=en-gb (to version 375.95) and I still get "Cuda illegal address in cuCtxSynchronize(), line 1372".

~ Simon

Thanks for such a prompt reply, Brecht > Does it happen with the default startup cube scene? If not, please attach a .blend to reproduce the problem. Yes. It occurs even with reset to factory default and no addons installed. > Did you verify it's the Blender version and not the Nvidia driver version that makes the difference, by running Blender 2.78c with the latest driver? I've just tried 2.78c and I get CUDA error: Illegal address in cuCtxSynchronise(). > You could test the latest build from https://builder.blender.org/download/. Tried the latest build of 2.79.1 and get "CUDA error: Illegal address in ctuCtxSynchronise(), line 1348" > Running a slightly older Nvidia driver version may work around the problem. I've regressed my nVidia driver as far back as I can go from what's available at http://www.nvidia.com/Download/Find.aspx?lang=en-gb (to version 375.95) and I still get "Cuda illegal address in cuCtxSynchronize(), line 1372". ~ Simon

Added subscriber: @moth3r

Added subscriber: @moth3r

I believe, I was getting the same message on ASUSstrix 980Ti with all Blender builds (2.78 - 2.79c). I don't know what's the exact cause but I suspect card comes with a bit of factory overclock. On example, If I set it to work with GPU Tweak II on the 'silent mode' which lowers the default clock and not "oc" or "gaming" I was not getting that error. On top of the same message like Simon I was also experiencing visual glitches or random artifacts while over-viewing the 3d models. From the moment I started to see glitches BSOD were prone to happen.

Funny enough, card was and still is rock steady in the games like BF1 and it was running cool without overheating whatsoever. Only had these issue with Blender so far. More lately I am not using CYCLES for rendering so I am not sure is it still present. I only replied to this thread cause that's the first time I saw someone with the same problems I have experienced a couple of months ago.
It could be Blender but card could be also be faulty. If it's not Blender I'll have to do RMA myself.

System Information
Windows 10 Pro, Version 1703
15063.674 Build

nVidia GeForce GTX 980 TI ( ASUSstrix 980Ti)
AMD Ryzen 7 1800x 3.6ghz

I believe, I was getting the same message on ASUSstrix 980Ti with all Blender builds (2.78 - 2.79c). I don't know what's the exact cause but I suspect card comes with a bit of factory overclock. On example, If I set it to work with GPU Tweak II on the 'silent mode' which lowers the default clock and not "oc" or "gaming" I was not getting that error. On top of the same message like Simon I was also experiencing visual glitches or random artifacts while over-viewing the 3d models. From the moment I started to see glitches BSOD were prone to happen. Funny enough, card was and still is rock steady in the games like BF1 and it was running cool without overheating whatsoever. Only had these issue with Blender so far. More lately I am not using CYCLES for rendering so I am not sure is it still present. I only replied to this thread cause that's the first time I saw someone with the same problems I have experienced a couple of months ago. It could be Blender but card could be also be faulty. If it's not Blender I'll have to do RMA myself. System Information Windows 10 Pro, Version 1703 15063.674 Build nVidia GeForce GTX 980 TI ( ASUSstrix 980Ti) AMD Ryzen 7 1800x 3.6ghz

We have a couple of similar reports, but currently none of the developers have been able to reproduce this issue. I've tried different scenes, different driver versions, different Windows 10 versions, reinstalling Windows, etc. Still it's unclear why there is a problem for some users, while most users seem to have no problem (as evidenced by threads like these ).

There's a few possible causes:

  • Bug in Cycles that causes it to access invalid memory, either in the kernel itself or in preparing data for the kernel. So far I have found nothing inspecting the code and running tools like valgrind and cuda-memcheck.
  • Different Nvidia graphics settings. Checking the "clean install" option when installing Nvidia drivers may help.
  • Corrupted Nvidia graphics installation. We've seen a few cases where Blender and any other application using CUDA crashes due to this, but not this type of error.
  • Differences in Windows versions or hardware. So far no pattern is visible here.

For now, all I can suggest is to do a totally clean driver install:

  • Uninstall any NVidia, AMD or Intel graphics drivers
  • Download latest driver from nvidia.com
  • Install, with clean install option checked
  • Reboot computer

Perhaps upgrading to Windows 10 Creators Update (or Fall Creators Update) may indirectly help as well.

We have a couple of similar reports, but currently none of the developers have been able to reproduce this issue. I've tried different scenes, different driver versions, different Windows 10 versions, reinstalling Windows, etc. Still it's unclear why there is a problem for some users, while most users seem to have no problem (as evidenced by [threads like these ](https://blenderartists.org/forum/showthread.php?439394-The-new-Cycles-GPU-2-79-Benchmark)). There's a few possible causes: * Bug in Cycles that causes it to access invalid memory, either in the kernel itself or in preparing data for the kernel. So far I have found nothing inspecting the code and running tools like valgrind and cuda-memcheck. * Different Nvidia graphics settings. Checking the "clean install" option when installing Nvidia drivers may help. * Corrupted Nvidia graphics installation. We've seen a few cases where Blender and any other application using CUDA crashes due to this, but not this type of error. * Differences in Windows versions or hardware. So far no pattern is visible here. For now, all I can suggest is to do a totally clean driver install: * Uninstall any NVidia, AMD or Intel graphics drivers * Download latest driver from nvidia.com * Install, with clean install option checked * Reboot computer Perhaps upgrading to Windows 10 Creators Update (or Fall Creators Update) may indirectly help as well.

Closed as duplicate of #52572

Closed as duplicate of #52572
Author

Thanks again for your reply.

For now, all I can suggest is to do a totally clean driver install:

Uninstall any NVidia, AMD or Intel graphics drivers
Download latest driver from nvidia.com
Install, with clean install option checked
Reboot computer

I did all those things prior to posting. So frustrating. I came to use Blender today and it worked fine for a while in GPU rendered view and then stopped! Nothing else has changed!!

Thanks again for your reply. > For now, all I can suggest is to do a totally clean driver install: > Uninstall any NVidia, AMD or Intel graphics drivers > Download latest driver from nvidia.com > Install, with clean install option checked > Reboot computer I did all those things prior to posting. So frustrating. I came to use Blender today and it worked fine for a while in GPU rendered view and then stopped! Nothing else has changed!!
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
3 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#53072
No description provided.