Page MenuHome

Blender/Cycles 2.78 CUDA error on Jetson-TX1
Closed, ResolvedPublic

Description

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

Event Timeline

Don't see why tagging 2.8 project? ;)

My bad. Thanks Julian!

Sergey Sharybin (sergey) lowered the priority of this task from 90 to Normal.

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

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

Sergey Sharybin (sergey) triaged this task as 30 priority.Oct 7 2016, 10:47 PM

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 ?

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?

Bastien Montagne (mont29) raised the priority of this task from 30 to Normal.Oct 21 2016, 5:50 PM

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.

Oh, nice catch!

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