Illegal address in CUDA queue copy_from_device (integrator_shade_surface integrator_sorted_paths_array prefix_sum) #92189

Closed
opened 2021-10-13 19:01:45 +02:00 by Christophe Schollhammer · 10 comments

System Information
Operating system: Windows-10- version 1909 18363.1256 64 Bits
Graphics card: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 465.89

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-10-05 22:29, hash: 26dac33ce1
Worked: none

Short description of error
CUDA Error with simple cube in scene, I can't use CUDA or OPTIX anymore

Exact steps for others to reproduce the error
Create a cube and switch viewport to Cycles with GPU
It will preview then just after preview is done it shows a CUDA error

I have tried to remove drivers and update them, use a brand new blender, reinstall windows with fresh blender and new drivers but still have this problem

Here's what I get as errors

Illegal address in CUDA queue copy_to_device ()
OPTIX_ERROR_CUDA_ERROR in optixDenoiserComputeMemoryResources( denoiser_.optix_denoiser, buffer_params.width, buffer_params.height, &sizes) (C:\Users\blender\git\blender-vdev\blender.git\intern\cycles\device\optix\device_impl.cpp:886)
Illegal address in cuMemFree_v2(mem.device_pointer) (C:\Users\blender\git\blender-vdev\blender.git\intern\cycles\device\cuda\device_impl.cpp:797)
System is out of GPU and shared host memory

Look like an hardware problem ?

Thanks

**System Information** Operating system: Windows-10- version 1909 18363.1256 64 Bits Graphics card: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 465.89 **Blender Version** Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-10-05 22:29, hash: `26dac33ce1` Worked: none **Short description of error** CUDA Error with simple cube in scene, I can't use CUDA or OPTIX anymore **Exact steps for others to reproduce the error** Create a cube and switch viewport to Cycles with GPU It will preview then just after preview is done it shows a CUDA error I have tried to remove drivers and update them, use a brand new blender, reinstall windows with fresh blender and new drivers but still have this problem Here's what I get as errors Illegal address in CUDA queue copy_to_device () OPTIX_ERROR_CUDA_ERROR in optixDenoiserComputeMemoryResources( denoiser_.optix_denoiser, buffer_params.width, buffer_params.height, &sizes) (C:\Users\blender\git\blender-vdev\blender.git\intern\cycles\device\optix\device_impl.cpp:886) Illegal address in cuMemFree_v2(mem.device_pointer) (C:\Users\blender\git\blender-vdev\blender.git\intern\cycles\device\cuda\device_impl.cpp:797) System is out of GPU and shared host memory Look like an hardware problem ? Thanks

Added subscriber: @cscholl

Added subscriber: @cscholl

doesn't work better in 2.9x versions

doesn't work better in 2.9x versions

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Could be issue with old driver, 465.89 is bit old, 496.13 seems to be latest, ckeck if updating helps. Also check if your GPU is overclocked, it can cause issues like this too.

Could be issue with old driver, 465.89 is bit old, 496.13 seems to be latest, ckeck if updating helps. Also check if your GPU is overclocked, it can cause issues like this too.

Thanks a lot Richard, it was the GPU which was not overclocked but lowering the frequency makes it work !
You saved my day ;))

Thanks a lot Richard, it was the GPU which was not overclocked but lowering the frequency makes it work ! You saved my day ;))

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'

Glad to hear that, it's a bit strange though... Will close report anyway since it's HW issue.

Glad to hear that, it's a bit strange though... Will close report anyway since it's HW issue.

Added subscriber: @Half.Ace

Added subscriber: @Half.Ace

Hey Guys, I've been running into this issue with a small animation in cycles with my RTX 3080 + AMD 5900X combo, I've tried everything from reverting my GPU to stock settings, updating latest drivers, restarting blender and PC, etc.

The only successful animation I've been able to render since without getting the same error message is by doing the following:

Open your scene in viewport, the go into File > Clean Up > Unused Data-Blocks > hit Enter when the pop asks to confirm.

then do the same but with Recursive Un-used Data-Blocks > hit enter when the pop asks to confirm.

I'm hoping this can help someone out there, I had read on a similar forum someone mentioning this error seemed to be cache-related and maybe that is something similar to my solution.

Hey Guys, I've been running into this issue with a small animation in cycles with my RTX 3080 + AMD 5900X combo, I've tried everything from reverting my GPU to stock settings, updating latest drivers, restarting blender and PC, etc. The only successful animation I've been able to render since without getting the same error message is by doing the following: Open your scene in viewport, the go into File > Clean Up > Unused Data-Blocks > hit Enter when the pop asks to confirm. then do the same but with Recursive Un-used Data-Blocks > hit enter when the pop asks to confirm. I'm hoping this can help someone out there, I had read on a similar forum someone mentioning this error seemed to be cache-related and maybe that is something similar to my solution.
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#92189
No description provided.