Illegal Address in Cuda #105522

Closed
opened 2023-03-07 09:37:39 +01:00 by Shady Hamza · 13 comments

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 531.18

Blender Version
Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-03-06 22:38, hash: 175b1b449ec2
Worked: (newest version of Blender that worked as expected)

Short description of error
I get these errors in both Cuda and Optix, in latest blender builds 3.5 beta and 3.6 Alpha, I ran the same Scene in Blender 3.4.1 and it rendered smoothly, unfortunately I won't be able to share the scene, let me know if I can provide something else.

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 531.18 **Blender Version** Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-03-06 22:38, hash: `175b1b449ec2` Worked: (newest version of Blender that worked as expected) **Short description of error** I get these errors in both Cuda and Optix, in latest blender builds 3.5 beta and 3.6 Alpha, I ran the same Scene in Blender 3.4.1 and it rendered smoothly, unfortunately I won't be able to share the scene, let me know if I can provide something else. **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] [Based on the default startup or an attached .blend file (as simple as possible)]
Shady Hamza added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-03-07 09:37:40 +01:00
Member

Hi, thanks for the report. We need a sample file to test an investigate the problem locally.
Please remove objects, shaders, textures, etc. if you can not share the complete file.


Do you use daily-builds frequently? If so, had you ever rendered this file in previous 3.6 builds? (just want to verify whether its a recent regression)

Hi, thanks for the report. We need a sample file to test an investigate the problem locally. Please remove objects, shaders, textures, etc. if you can not share the complete file. - - - Do you use daily-builds frequently? If so, had you ever rendered this file in previous 3.6 builds? (just want to verify whether its a recent regression)
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-03-07 11:42:32 +01:00
Author

Hi, not daily, I download every 2 days or something, will investigate what causes the error, if I removed the objects or textures it might work fine, will see what I can do and update you. thanks

Hi, not daily, I download every 2 days or something, will investigate what causes the error, if I removed the objects or textures it might work fine, will see what I can do and update you. thanks
Author

So after testing, the issue is caused by these assets, once they are activated in My scene for render, the render produces these errors, I couldn't upload textures the file becomes 180 MB and it says too large for uploading, the textures where in 4K when I lowered them to 2K they produce the same issue even after lowering the resolution, keeping in mind that the scene renders perfectly in 3.4.1 with these assets even in 4K it's only in 3.5 and 3.6, let me know if there is a debug report or something I could produce, Thank you

So after testing, the issue is caused by these assets, once they are activated in My scene for render, the render produces these errors, I couldn't upload textures the file becomes 180 MB and it says too large for uploading, the textures where in 4K when I lowered them to 2K they produce the same issue even after lowering the resolution, keeping in mind that the scene renders perfectly in 3.4.1 with these assets even in 4K it's only in 3.5 and 3.6, let me know if there is a debug report or something I could produce, Thank you
Author

this is in 3.5 latest plus this one
"Illegal address in CUDA queue copy_from_device (integrator_shade_surface integrator_sorted_paths_array prefix_sum)"

this is in 3.5 latest plus this one "Illegal address in CUDA queue copy_from_device (integrator_shade_surface integrator_sorted_paths_array prefix_sum)"
Author

so I'm using persistent data, each time I get this error or any other one and I try to hide objects in scene or disable or change anything, it keeps showing the error when I re-render, as if it doesn't update or free what's left in ram, even if I empty the scene completely, once i hit render it instantly shows the error.
I have to close blender and reopen it, then hide what causes the issue, and render, if I got the error there is no way around except closing blender and reopening it again. even if persistent data is turned off, when I re-render it shows failed to create cuda context

so I'm using persistent data, each time I get this error or any other one and I try to hide objects in scene or disable or change anything, it keeps showing the error when I re-render, as if it doesn't update or free what's left in ram, even if I empty the scene completely, once i hit render it instantly shows the error. I have to close blender and reopen it, then hide what causes the issue, and render, if I got the error there is no way around except closing blender and reopening it again. even if persistent data is turned off, when I re-render it shows failed to create cuda context
Member

Hi, can you reshare the file with low resolution textures?
Without textures error is not appearing here.
This report could be same as #105442

Hi, can you reshare the file with low resolution textures? Without textures error is not appearing here. This report could be same as #105442
Author

it won't appear, it appears in the full scene, this is just the assets that cause the issue when they are activated in the scene. unfortunately I couldn't upload even the lowered textures says too large for upload, let me know if there is another option. hank you

it won't appear, it appears in the full scene, this is just the assets that cause the issue when they are activated in the scene. unfortunately I couldn't upload even the lowered textures says too large for upload, let me know if there is another option. hank you
Member

Will close the ticket as we do not have enough information to redo it locally. We also have identical report so I think its safe to close this.
Thanks again for the report :)

Will close the ticket as we do not have enough information to redo it locally. We also have identical report so I think its safe to close this. Thanks again for the report :)
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-03-15 02:46:51 +01:00
Author

so here's something I noticed, the full scene can render up to 1K when activating the Simplify option in render and adjusting the render res. to 1K, once I adjust it to 2k it gives the error, and it uses more vram then 3.4.1, once it reaches the vram limit it gives the error i think, 3.4.1 did't reach the vram limit and renders fine in 4K, in Vram stats in blender 3.5 it gives the error when reaching 7.5GB, 3.4.1 it reaches 7.6GB then I see the Memory increases then renders, just something I noticed don't if that could help or not.

so here's something I noticed, the full scene can render up to 1K when activating the Simplify option in render and adjusting the render res. to 1K, once I adjust it to 2k it gives the error, and it uses more vram then 3.4.1, once it reaches the vram limit it gives the error i think, 3.4.1 did't reach the vram limit and renders fine in 4K, in Vram stats in blender 3.5 it gives the error when reaching 7.5GB, 3.4.1 it reaches 7.6GB then I see the Memory increases then renders, just something I noticed don't if that could help or not.
Author

ok so its resolved now in 3.5 but not in 3.6, 3.6 still gives this error

ok so its resolved now in 3.5 but not in 3.6, 3.6 still gives this error
Blender Bot added
Status
Needs Triage
and removed
Status
Archived
labels 2023-03-20 12:57:05 +01:00
Brecht Van Lommel added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-03-20 12:57:27 +01:00

There's not enough information to go on here. The Test.blend is set to Eevee, has no camera, is not using persistent data, so it's not clear what else is missing there to reproduce this.

To make the file smaller, image textures could be set to Generated with a simple grid instead of actual textures.

There's not enough information to go on here. The Test.blend is set to Eevee, has no camera, is not using persistent data, so it's not clear what else is missing there to reproduce this. To make the file smaller, image textures could be set to Generated with a simple grid instead of actual textures.
Author

works now on latest release

blender-3.6.0-alpha+main.7cda559d7c1b-windows.amd64-release

works now on latest release blender-3.6.0-alpha+main.7cda559d7c1b-windows.amd64-release

Ok, strange. Let's assume it's resolved unless it starts happening again.

Ok, strange. Let's assume it's resolved unless it starts happening again.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-03-21 09:36:19 +01:00
Brecht Van Lommel added
Status
Resolved
and removed
Status
Archived
labels 2023-03-21 09:36:30 +01:00
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#105522
No description provided.