CUDA error: ILLEGAL_ADDRESS in cuCtxSynchronize() #42160
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
9 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#42160
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
Ubuntu 14.04 64bit; Nvidia GTX 550 Ti (sm21)
Blender Version
Broken: 2.72
47b8bf5
Short description of error
Cuda crashes/stops working (but can be toggled off/on again) if multiple importance is disabled after being set to 512.
Exact steps for others to reproduce the error
Output of the console:
Changed status to: 'Open'
Added subscriber: @dmcgrath
Added subscriber: @mont29
That one would be for you, Sergey. :)
Added subscriber: @mib2berlin
Hi, I cant verify this error on my system.
Blender
45ce901
Opensuse 13.1/64
Intel i5 3770K
GTX 760 4 GB (Display)
GTX 560Ti 1.28 GB 448 Cores
Driver 343.19
Tested on both cards and with GTX 760 also with experimental kernel.
Cheers, mib
Ok, I just upgraded Blender to
c2d6de8e20
and it still happens.Added subscriber: @david_black
Can confirm the error on my system with Blender 2.72
Windows 7 x64
Twin GTX 580 3GB
Tested Supported and Experimental cubin
Blender 2.72 hash
95182d1
(official release)Blender 2.72 hash
ee5936c
Blender 2.70a and 2.71 does not cause a CUDA error while performing the steps outlined in first post.
After further tests, Multiple Importance Map Resolution of 511 and below does not cause a CUDA error with 2.72, just settings of 512 and above.
David
This issue was referenced by
acd7f50308
Changed status from 'Open' to: 'Resolved'
Closed by commit
acd7f50308
.This issue was referenced by
fd2de82207
Added subscriber: @KarimHosein
I have had this problem in 2.69, 2.71, 2.72a and now 2.73a.
Everytime I come to this sight, it is listed as fixed. This is not fixed.
OUTPUT START
CUDA error: ILLEGAL_ADDRESS in cuCtxSynchronize()
Refer to the Cycles GPU rendering documentation for possible solutions:
http://www.blender.org/manual/render/cycles/gpu_rendering.html
CUDA error: ILLEGAL_ADDRESS in cuCtxSynchronize()
CUDA error: ILLEGAL_ADDRESS in cuMemcpyDtoH((uchar*)mem.data_pointer + offset, (CUdeviceptr)(mem.device_pointer + offset), size)
CUDA error: ILLEGAL_ADDRESS in cuCtxSynchronize()
CUDA error: ILLEGAL_ADDRESS in cuMemcpyDtoH((uchar*)mem.data_pointer + offset, (CUdeviceptr)(mem.device_pointer + offset), size)
CUDA error: ILLEGAL_ADDRESS in cuCtxSynchronize()
CUDA error: ILLEGAL_ADDRESS in cuMemcpyDtoH((uchar*)mem.data_pointer + offset, (CUdeviceptr)(mem.device_pointer + offset), size)
CUDA error: ILLEGAL_ADDRESS in cuCtxSynchronize()
CUDA error: ILLEGAL_ADDRESS in cuMemcpyDtoH((uchar*)mem.data_pointer + offset, (CUdeviceptr)(mem.device_pointer + offset), size)
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemAlloc(&device_pointer, size)
CUDA error: ILLEGAL_ADDRESS in cuModuleGetGlobal(&cumem, &cubytes, cuModule, name)
CUDA error: ILLEGAL_ADDRESS in cuMemcpyHtoD(cumem, (void*)&ptr, cubytes)
CUDA error: ILLEGAL_ADDRESS in cuMemAlloc(&device_pointer, size)
CUDA error: ILLEGAL_ADDRESS in cuModuleGetGlobal(&cumem, &cubytes, cuModule, name)
CUDA error: ILLEGAL_ADDRESS in cuMemcpyHtoD(cumem, (void*)&ptr, cubytes)
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
CUDA error: ILLEGAL_ADDRESS in cuMemFree(cuda_device_ptr(mem.device_pointer))
Error: CUDA error: ILLEGAL_ADDRESS in cuCtxSynchronize()
OUTPUT END
DIAGNOSIS BEGIN
karim@Phenuntu:~$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 340.29 Thu Jul 31 20:23:19 PDT 2014
GCC version: gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
karim@Phenuntu:~$
karim@Phenuntu:~$
karim@Phenuntu:~$ gcc --version
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
karim@Phenuntu:~$
karim@Phenuntu:~$
karim@Phenuntu:~$
karim@Phenuntu:~$ lsmod | grep nv
nvidia_uvm 35066 2
nvidia 10540162 68 nvidia_uvm
drm 303102 2 nvidia
karim@Phenuntu:~$
karim@Phenuntu:~$
karim@Phenuntu:~$
karim@Phenuntu:~$
karim@Phenuntu:~$ cd /usr/local/cuda/samples/1_Utilities/deviceQuery
karim@Phenuntu:/usr/local/cuda/samples/1_Utilities/deviceQuery$ ./deviceQuery
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: "GeForce GTX 760"
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 6.5, CUDA Runtime Version = 6.5, NumDevs = 1, Device0 = GeForce GTX 760
Result = PASS
karim@Phenuntu:/usr/local/cuda/samples/1_Utilities/deviceQuery$
DIAGNOSIS ENDS
Ubuntu 14.04
It was fixed for Dan, so you might be experiencing another issue. So please do a separate report then with all the info requested in the template (example .blend, steps to reproduce etc). It's also better to attach system info as a file -- makes things easier to read :)
Added subscriber: @Darkfie9825
I am getting this exact error in 2.74 (from Debian Sid repository). The output looks like this:
Before launching into this:
I am using a 560 Ti 1GB in tandem with a 780 Ti 3GB. My scene includes a 500MB fluid simulation, and a dynamic paint cache. The memory usage supposedly peaks at 600MB (4GB during compositing; I had buffer groups and OpenCL on). There is only a subdivided plane and some mesh text in terms of geometry. It managed to render 100 frames (~3 minutes each) before throwing this error. I had Save Buffers on using 256x256 tiles.
Added subscriber: @ThomasDinges
Please always make a new report, do not attach these infos to old and already fixed reports.
And please test with official builds from blender.org only and not some third party builds.