Blender/Cycles 2.78 CUDA error on Jetson-TX1 #49603

Closed
opened 2016-10-07 19:16:16 +02:00 by Bruno d'Arcangeli · 19 comments

Hi,

When trying to render scene with GPU (almost the simplest one with just the default cube), i've got this error:
CUDA error: Invalid value in cuMemcpyHtoD(cuda_device_ptr(mem.device_pointer), (void*)mem.data_pointer, mem.memory_size())

blender_tx1.txt

deviceQuery_TX1.txt

Hi, When trying to render scene with GPU (almost the simplest one with just the default cube), i've got this error: CUDA error: Invalid value in cuMemcpyHtoD(cuda_device_ptr(mem.device_pointer), (void*)mem.data_pointer, mem.memory_size()) [blender_tx1.txt](https://archive.blender.org/developer/F375156/blender_tx1.txt) [deviceQuery_TX1.txt](https://archive.blender.org/developer/F375157/deviceQuery_TX1.txt)

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @arcangeli

Added subscriber: @arcangeli

Added subscribers: @Sergey, @brecht, @ThomasDinges

Added subscribers: @Sergey, @brecht, @ThomasDinges

Not sure we do support Tegra devices. @Sergey @brecht ?

Not sure we do support Tegra devices. @Sergey @brecht ?
Member

Added subscriber: @GregZaal

Added subscriber: @GregZaal

Blender work very well on Jetson-TK1.
And worked on TX1 https://developer.blender.org/rBde0672436bf109c85da6b8f019c38a478c7cc905

Blender work very well on Jetson-TK1. And worked on TX1 https://developer.blender.org/rBde0672436bf109c85da6b8f019c38a478c7cc905
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

Don't see why tagging 2.8 project? ;)

Don't see why tagging 2.8 project? ;)

My bad. Thanks Julian!

My bad. Thanks Julian!
Sergey Sharybin self-assigned this 2016-10-07 22:46:33 +02:00

We made it to work back in the days, not sure why should we ignore this now.

@arcangeli, Question tho, does latest builds works for you (from the current Git) ? There were some fixes since the release..

We made it to work back in the days, not sure why should we ignore this now. @arcangeli, Question tho, does latest builds works for you (from the current Git) ? There were some fixes since the release..

Oops, intended to use Incomplete priority since the action from reported is required.

Oops, intended to use Incomplete priority since the action from reported is required.

Eh correction (just noticed it's blender-git folder):

  • Does latest git work for you (not sure how old our checkout was at the time of testing) ?
  • Did Cycles ever work for you ?
Eh correction (just noticed it's blender-git folder): - Does latest git work for you (not sure how old our checkout was at the time of testing) ? - Did Cycles ever work for you ?

Blender was downloaded less than 24h ago. Tried to update 2h ago. Same result.
I've received my Jetson-TX1 2 days ago and never tried blender on it before.
Cycles work on CPU only for now.
I'll try to make a debug version and see if it's more verbose.

Blender was downloaded less than 24h ago. Tried to update 2h ago. Same result. I've received my Jetson-TX1 2 days ago and never tried blender on it before. Cycles work on CPU only for now. I'll try to make a debug version and see if it's more verbose.

Any chance you can test 2.77 release?

Any chance you can test 2.77 release?

Same problem with 2.77a.

Same problem with 2.77a.

Hi all,

I've found the problem. It was with CUdeviceptr as 32bit pointer. The Tegra X1 is 64bit.
With the patch, cycles work perfectly with CUDA on the Jetson-TX1 devboard.

cycles_cuda_aarch64.diff

Hi all, I've found the problem. It was with CUdeviceptr as 32bit pointer. The Tegra X1 is 64bit. With the patch, cycles work perfectly with CUDA on the Jetson-TX1 devboard. [cycles_cuda_aarch64.diff](https://archive.blender.org/developer/F505422/cycles_cuda_aarch64.diff)

Oh, nice catch!

Currently fixing some OpenCL compile issues, but will apply your patch ASAP.

Oh, nice catch! Currently fixing some OpenCL compile issues, but will apply your patch ASAP.

This issue was referenced by 05dfe9c318

This issue was referenced by 05dfe9c318e1408f0e4ee59bc1bf65a2d3c2eae1

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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
6 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#49603
No description provided.