CUDA ERROR Illegal address in cuCtXSynchronize(), line 1812 #56844

Closed
opened 2018-09-19 17:11:51 +02:00 by Elison G. Bradley · 5 comments

System Information
Operating system and graphics card
Windows 10 64
Nvidia GTX 1080

Blender Version
Blender 2.8 Alpha 2 69aac13524
Blender 2.79.6 06fd94140c

When attempting to bake any texture of any size, Windows will throw a "Application has been blocked from accessing your GPU Hardware" error pop up, and the Console will throw a huge screen of various CUDA errors like the above.

Steps to Reproduce:

  1. Load Blender with the provided .blend file Skunkworks.blend
  2. Insure that the image texture node with an appropriate blank image texture is selected.
  3. Insure that the Blender console is open to observe any error messages.
  4. Press Bake.

Observered Result (10/10):

  • Blender will at the 3-5% progress point stop baking leaving a still blank image. Windows will show a pop up error stating that it stopped Blender from using the GPU hardware. The error console will show the error "CUDA ERROR Illegal address in cuCtXSynchronize(), line 1812" and display a large number of related CUDA error messages. See attached error log. CUDA ERROR LOG.txt

Expected Resulted:

  • Blender bakes the texture without issue.

Note: Issue does not occur on a different computer that also has a GTX 1080 and Windows 10. Issue does not occur on Blender 2.79b that can be downloaded on Blender's official website (But I really need that Bevel node...)

Note 2: Issue does not occur when in preview rendering mode, or when rendering a frame in active scene in 2.79.6

Note 3: Issue also does not occur when rendering in preview mode/realtime rendering using EEVEE in 2.8.

Edit / Addendum: Branched Path Tracing causes the issue to tentatively no longer occur.

Edit / Addendum 2: Branched Path Tracing will still cause the issue to occur depending on the settings, such as AA samples to 4 and Diffuse samples to 25, or AA to 1 and Diffuse to 100.

**System Information** Operating system and graphics card Windows 10 64 Nvidia GTX 1080 **Blender Version** Blender 2.8 Alpha 2 69aac135243 Blender 2.79.6 06fd94140cb When attempting to bake any texture of any size, Windows will throw a "Application has been blocked from accessing your GPU Hardware" error pop up, and the Console will throw a huge screen of various CUDA errors like the above. Steps to Reproduce: 1. Load Blender with the provided .blend file [Skunkworks.blend](https://archive.blender.org/developer/F4754583/Skunkworks.blend) 2. Insure that the image texture node with an appropriate blank image texture is selected. 3. Insure that the Blender console is open to observe any error messages. 4. Press Bake. Observered Result (10/10): - Blender will at the 3-5% progress point stop baking leaving a still blank image. Windows will show a pop up error stating that it stopped Blender from using the GPU hardware. The error console will show the error "CUDA ERROR Illegal address in cuCtXSynchronize(), line 1812" and display a large number of related CUDA error messages. See attached error log. [CUDA ERROR LOG.txt](https://archive.blender.org/developer/F4754637/CUDA_ERROR_LOG.txt) Expected Resulted: - Blender bakes the texture without issue. Note: Issue does not occur on a different computer that also has a GTX 1080 and Windows 10. Issue does not occur on Blender 2.79b that can be downloaded on Blender's official website (But I really need that Bevel node...) Note 2: Issue does not occur when in preview rendering mode, or when rendering a frame in active scene in 2.79.6 Note 3: Issue also does not occur when rendering in preview mode/realtime rendering using EEVEE in 2.8. Edit / Addendum: Branched Path Tracing causes the issue to tentatively no longer occur. Edit / Addendum 2: Branched Path Tracing will still cause the issue to occur depending on the settings, such as AA samples to 4 and Diffuse samples to 25, or AA to 1 and Diffuse to 100.

Added subscriber: @ElisonRSalazar

Added subscriber: @ElisonRSalazar

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2018-09-20 08:50:57 +02:00

This is an intrinsic limitation of CUDA which puts a timelimit on the kernels when using display device for compute. See also the documentation.

This is an intrinsic limitation of CUDA which puts a timelimit on the kernels when using display device for compute. See also [the documentation](https://docs.blender.org/manual/en/dev/render/cycles/gpu_rendering.html#the-nvidia-opengl-driver-lost-connection-with-the-display-driver).

What do you mean by that because this issue completely prevents me from using Baking when using 2.79.6 or 2.8 but not in 2.79B, and doesn't occur on a different machine that also has a Nvidia 1080. In fact the documentation you linked me says nothing at all about my issue. The problem has nothing to do with losing connection as that doesn't describe the windows error pop up which is just a symptom. I'm pretty sure "This application has been BLOCKED from accessing the GPU Hardware" and ""The NVIDIA OpenGL driver lost connection with the display driver" are unrelated error messages.

It doesn't make sense that a GTX 1080 can't bake a simple 1024 by 1024 pixel texture, that's not an inherent limitation, that's clearly a bug.

To reiterate, hitting the bake button on any sized texture in Blender 2.79.6 and 2.8 in even the simplest of scenery instantly stops baking and prints the error message in the title of the message: "CUDA ERROR Illegal address in cuCtXSynchronize(), line 1812" followed by being unable to enter render mode at all until I restart Blender. This is clearly not supposed to be typical.

What do you mean by that because this issue completely prevents me from using Baking when using 2.79.6 or 2.8 but not in 2.79B, and doesn't occur on a different machine that also has a Nvidia 1080. In fact the documentation you linked me says nothing at all about my issue. The problem has nothing to do with losing connection as that doesn't describe the windows error pop up which is just a symptom. I'm pretty sure "This application has been BLOCKED from accessing the GPU Hardware" and ""The NVIDIA OpenGL driver lost connection with the display driver" are unrelated error messages. It doesn't make sense that a GTX 1080 can't bake a simple 1024 by 1024 pixel texture, that's not an inherent limitation, that's clearly a bug. To reiterate, hitting the bake button on any sized texture in Blender 2.79.6 and 2.8 in even the simplest of scenery instantly stops baking and prints the error message in the title of the message: "CUDA ERROR Illegal address in cuCtXSynchronize(), line 1812" followed by being unable to enter render mode at all until I restart Blender. This is clearly not supposed to be typical.
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#56844
No description provided.