invalid value in cuMemcpy #91433

Closed
opened 2021-09-15 11:15:16 +02:00 by Andrew Walsh · 9 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 466.77

Blender Version
Broken: version: 2.93.4, branch: master, commit date: 2021-08-31 09:23, hash: b7205031ce
Worked: (newest version of Blender that worked as expected)

Short description of error
in heavy scenes I get this error when rendering using GPU

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)]

I inevitably get this when using Blender at some point. Been having this issue since I started using Blender a couple of years ago, never got it resolved so trying my luck again. Problem persists on ALL versions. It happens when you have a heavy (? but not sure exactly what that means) scene and render with two GPUs. I discovered that this was the issue after googling the problem and finding that someone else had it. I tried many work-arounds but once I disabled one card it rendered.

Here's the issue mentioned above: https://blender.stackexchange.com/questions/211696/cuda-problem-error-invalid-value-in-cumemcpy2dunalignedparam

Here's an example error message:

image.png

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 466.77 **Blender Version** Broken: version: 2.93.4, branch: master, commit date: 2021-08-31 09:23, hash: `b7205031ce` Worked: (newest version of Blender that worked as expected) **Short description of error** in heavy scenes I get this error when rendering using GPU **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)] I inevitably get this when using Blender at some point. Been having this issue since I started using Blender a couple of years ago, never got it resolved so trying my luck again. Problem persists on ALL versions. It happens when you have a heavy (? but not sure exactly what that means) scene and render with two GPUs. I discovered that this was the issue after googling the problem and finding that someone else had it. I tried many work-arounds but once I disabled one card it rendered. Here's the issue mentioned above: https://blender.stackexchange.com/questions/211696/cuda-problem-error-invalid-value-in-cumemcpy2dunalignedparam Here's an example error message: ![image.png](https://archive.blender.org/developer/F10419045/image.png)
Author

Added subscriber: @andywalshart

Added subscriber: @andywalshart
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

I don't have the hardware to reproduce this. But can you check you have the latest drivers from Nvidea? Sometimes issues are caused by out-dated drivers.
You can also try testing on a more recent Blender version where Cycles had a good refactor.

I don't have the hardware to reproduce this. But can you check you have the latest drivers from Nvidea? Sometimes issues are caused by out-dated drivers. You can also try testing on a more recent Blender version where Cycles had a good refactor.

Added subscribers: @brecht, @iss

Added subscribers: @brecht, @iss

From what I have read in D2056, I don't see any limitation of multi-GPU setup mentioned. @brecht Do you have any means to test this?

Just FIY, I did not request sample .blend file since I assume it would depend on used hardware.

From what I have read in [D2056](https://archive.blender.org/developer/D2056), I don't see any limitation of multi-GPU setup mentioned. @brecht Do you have any means to test this? Just FIY, I did not request sample .blend file since I assume it would depend on used hardware.

There were bugfixes related to this, for example 336ca67.

To investigate this we really need it to be confirmed on a more recent Blender version + an example .blend.

There were bugfixes related to this, for example 336ca67. To investigate this we really need it to be confirmed on a more recent Blender version + an example .blend.
Member

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

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

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

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

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser Project (Legacy)
Interest
Asset System
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
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#91433
No description provided.