Cuda Copy_from_device error in final render #105442
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#105442
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
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 528.49
Blender Version
Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-03-01 01:34, hash:
ea97bb1641b9
Worked: 3.4.1 Stable
Short description of error
I have 5 levels of multires modifier on a female body and when trying to render i get this error "Illegal address in CUDA queue copy_from_device (integrator_intersect_closest)"
Blender build 3.5.0 Beta has the same error while 3.4.1 Stable works fine
i'm on the latest studio drivers from nvidia
Exact steps for others to reproduce the error
preferences > systems
tabhttps://drive.google.com/file/d/1qtbG4ajGajCJN-NDrQW39oW1_xzyMRdS/view?usp=sharing
Hi, thanks for the report. Could you share full logs generated with the error?: https://docs.blender.org/manual/en/dev/troubleshooting/crash.html#windows
Issue could be same as reported in: #98348
this is what i get from the system console:
Illegal address in CUDA queue copy_from_device (integrator_intersect_closest)
Refer to the Cycles GPU rendering documentation for possible solutions:
https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html
Illegal address in cuMemFree_v2((CUdeviceptr)device_pointer) (C:\Users\blender\git\blender-vdev\blender.git\intern\cycles\device\cuda\device_impl.cpp:520)
This line is repeated abouut 50 times
Error: Illegal address in CUDA queue copy_from_device (integrator_intersect_closest)
Hi, please attach complete log files:
Open Blender's installation directory and double click on the
blender_debug_gpu.cmd
. This will start Blender in debug mode and create log files. Try to reproduce the error again. Once it crashes or you close Blender manually the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located inC:\Users\[your username]\AppData\Local\Temp\[project name].crash.txt
(or simply type%TEMP%
into the path bar of the Windows Explorer).Did you overclock the GPU? Is this started to happen recently? Have you made any changes on system side (bios, drivers, OS updates)?
Hi,
i did not overclock the gpu or anything, this has been an issuue ever since i updated to the alpha version of 3.5.0, i did not change anything in the system like bios or drivers, 3.4.1 stable works just fine for me.
I'm also having the same problem in Blender 3.5. It's working in Blender 3.4.
I don't know if it helps.
Hi, I'm able to confirm the error in 3.5
In prior versions, I caught up with out of memory issue.
Will raise the priority since this looks like a regression from comments.
Cuda Copy_from_device bugto Cuda Copy_from_device error in final renderI'm unable to get this file to render on 3.3, 3.4 or 3.5 as it runs out of memory in all of them. Maybe I can reproduce it when I simplify the file.
However I did notice this file has Open Shading Language enabled, which is supported for OptiX since 3.5. So you could try disabling that and see if the error still happens.
Disabling the OSL didn't do anything for me since it was turned on but no OSL shaders are active, rendering purely on cpu works for me even in 3.5, if i change to Optix i get "Failed to create CUDA context (Illegal address)",
When i chhange render devices to both GPU and cpu i also get "Failed to create CUDA context (Illegal address)",
i prefer to use CUDA instead of optix since in most my projects CUDA does Out of core rnedering and optix doesnt atleast on my system
@brecht , try replicating with CUDA.
I can sometimes get it to run out of memory with CUDA in 3.5, but not consistently. I noticed that it uses a few % more memory than 3.4 which may just be pushing it over the limit. But I'm not sure if that's really the problem.
I'll look further to figure out what's really going on. This could be a bug in host memory fallback, in which case
6dcfb6d
could have caused it.There are also recent memory usage optimizations in 3.6 that help significantly (
6c03339
), and I have not been able to reproduce with the very latest version there.I don't know if it is usefull info but at the second my GPU runs out of VRAM and needs to go out of core it instantly gives me this error, might have to do with that ?
it still give me that error in 3.6 but not in 3.5
@Shady.Hamza what's the full name of the 3.6 build (with build hash included) that you tested? Are you testing the .blend file from the description in this bug report, or something else?
I'm using the latest
blender-3.6.0-alpha+main.3eff28a158ca-windows.amd64-release
I submitted a report #105522 (comment) using different file, it's too large to upload here, and i can't share most of it unfortunately, i was getting many types of errors in both cuda and optix including this one , all screenshots in report, the file wasn't rendering in both 3.5 and 3.6, only in 3.4.1,now 3.5 renders it but not 3.6, let me know if i can provide something that can help, thank you
Let's continue discussion in #105522 then.