CUDA errors #48765
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#48765
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Windows 10, GTX 670
Blender Version
Broken: 2.76, 2.77a
Short description of error
Crash during render. Various CUDA errors
CUDA error at cuCtxCreate: ILLEGAL_ADDRESS or CUDA error: ILLEGAL_ADDRESS in cuCtxSynchronize()
Exact steps for others to reproduce the error
Press render and wait. I have a blend file to send but I packed the textures and it's 120Mb now... I can Wetransfer it if you give me an address. Memory usage is in the 200Mb range... And I have 16 Gb of Ram so it shouldn't be that...
Changed status to: 'Open'
Added subscriber: @JulesetMariusLABORDE
Let me know if I can help you!
Added subscriber: @Sergey
Please simplify your file as much as possible so we can investigate it. We really need something which demonstrates the issue in order to fix it.
You can also use ftp://ftp.blender.org/incoming to share .blend file.
Sorry, forgot to mention, please test latest builds from builder.blender.org to see if the issue was fixed already :)
I downloaded the latest build. Opened the file. Some objects got upscaled. I checked these objects and their scale is 1 to 1 to 1. What can I do?
For each of the issue you've got:
Important note: do not mix different issues in the same report, one issue -- one report. Helps keeping things under control here.
Hi,
The file can be downloaded here: https://we.tl/MvQ4kxXnoV
Sorry, it's quite heavy but I couldn't do better than that...
I can not reproduce any issue with the file you've attached.
Some notes to check on:
So at this point, please check:
Make sure you've got latest drivers installed from NVidia site (it is important to use NVidia since drivers provided by Windows Update are known to be glitchy).
Latest Blender builds manages to render the scene (ignoring the fact that some objects are wrong size for you).
Check if smaller tile size / increased TDR time makes your scene to render.
Check VRAM consumption using GPU-Z to see if you're itting memory limit issue of some sort.
Start Blender from the command line with --debug-cycles argument and attach log after the issue occurred.
https://www.blender.org/manual/render/cycles/gpu_rendering.html#the-nvidia-opengl-driver-lost-connection-with-the-display-driver
Added subscriber: @mib2berlin
Hi, cant get errors too on my GTX 670 2 GB.
The file need 760 MB VRAM.
I had to reduce samples to 200, no time for a 60 minutes render but should not make a difference.
Opensuse Leap 42.1 x86_64
Intel i5 3570K
RAM 16 GB
GTX 760 4 GB /Display card
GTX 670 2 GB
Driver 367.27
I checked with Blender 2.77a and GTX 670 only.
Hi,
I have created a Registry key for TDR and set it to 8. Render started and crashed.
This is a GPU-Z log (not sure it's useful):
GPU-Z Sensor Log.txt
I don't know how to do that... I started Blender using the Command Prompt but I don't know how to do this :
"...with --debug-cycles argument and attach log after the issue occurred."
What exactly you mean by "crash" ? (technically, crash is when application encounters unrecoverable error and being terminated by the OS).
In order to get debug log, run this:
blender.exe --debug-cycles > log.txt 2>&1
and attach log.txt here.Sorry for being unprecise.
I started Blender using the command Promt, opened the file from Blender, pressed the render button.
Render starts, then stops and I get the Illegal address in cuCtxSynchronize() error message.
Command prompt shows this:
command log.txt
Added subscriber: @ThomasDinges
It's not clear to me if you got the issue with a new build as well? The attached log is from an older blender (not current master).
Hi Thomas,
No, I had the issue with 2.77a. I'm testing the latest build tonight. I'll let you know.
Same thing. : (
Here's the log.
command log-2.77.1.txt
Do you have enough infos with my latest log?
There is unfortunately not so much in the logs, just for some reason CUDA fails.
On a fortunate side i'm back to the studio and have some NVidia hardware around and Windows 10 machine. Will try to reproduce the issue on a closer configuration to yours.
At the meantime, did anyone else confirm the issue?
@JulesetMariusLABORDE, did you make sure you've got latest drivers installed from nvidia.com site?
Hi Sergey,
Yes, I have installed the latest drivers (368.39).
I just tried to launch a render of the same scene on another computer.
I had a render error:
CUDA error: Launch exceeded timeout in cuMemcpyDtoH((uchar*)mem.data_pointer + offset, (CUdeviceptr)(mem.device_pointer + offset), size)
And yet another:
CUDA error at cuCtxCreate: Launch exceeded timeout
Changed status from 'Open' to: 'Archived'
Timeout is caused by specific of how CUDA works -- it'll limit amount of time kernel can do calculations on the display card. Additionally, on Windows you've got extra timeout which is applied on driver itself and will re-set it if it did not respond within a given timeout.
See - [x] for a bit details and possible solutions.
So it all seems you're just hitting limitations of GPGPU, nothing we can really solve from blender side.
How come this is not working on this brand new computer:
https://www.grosbill.com/4-msi_gt72s_6qe_483fr_i7_ssd_gtx980m_gsync-671328-ordinateurs-ordi_portable
Still, thank you for your time. I will read your link tomorrow.