cancel
Showing results for 
Search instead for 
Did you mean: 

Blender Discussions

predivan
Journeyman III

[rpr-1.7] Blank page when trying to render ('Check log for details')

This is a similar issue to ProRender for blender Rendering not showing anything,[pc, windows 10, all drivers up to date and my ...​ , but

on Linux and with Nvidia card

First I must mention that this is on a unsupported Linux distribution, so I don't expect the developers attention (I suspect they have their hands full already),

this is more of a possible bug report for reference.

Some version info:

   -  RPR version 1.7.212 (core 1.312)

     - Nvidia GT-640 (yes, I know , can't afford AMD at the moment) binary driver 396.54

     clinfo shows it as OpenCL-1.2 capable

Installing rpr was pretty straightforward:

- extract the .run file

- install the addon from within Blender

- activate it

- add RPR_MATERIAL_LIBRARY_PATH as a environment variable

(couldn't figure out the proper path to copy it too, rpr in Blender kept complaining that it can't find it

without setting env variable).

Since the version of Blender (2.79 built from upstream master branch (I can dig up the exact commit, if you are interested)) is

using system python3, I removed cffi_backend.cpython-35m-x86_64-linux-gnu.so and libffi-72499c49.so.6.0.4

libraries from rprblender directory (system versions are 1.3.1 and 3.2.1).

Btw, I've seen in install.py  embree and openimageio as dependencies.

I do have openimageio-1.8.14 installed, but no embree.

Two issues:

- Can't apply any materials (object just turns bright white)

- When I try to render, blank page with the 'Check log for details' shows

I think this is the relevant portion from the rprblender.log

2018-09-16 16:05:49,776 rpr.default [139757202622080]: INFO ui.register()

2018-09-16 16:05:49,778 rpr.default [139757202622080]: INFO material_browser.register

2018-09-16 16:05:49,779 rpr.addon [139757202622080]: INFO Try: Emulate load_post...

2018-09-16 16:05:49,779 rpr.default [139757202622080]: INFO rpr.register - done

2018-09-16 16:05:49,779 rpr.default [139757202622080]: INFO load_post...

2018-09-16 16:05:49,780 rpr.default [139757202622080]: INFO File was saved by unknown addon version

2018-09-16 16:05:49,781 rpr.default [139757202622080]: INFO Automatic save user preferences...

2018-09-16 16:05:49,783 rpr.default [139757202622080]: INFO /home/pedja/.config/blender/2.79/scripts/addons/rprblender/images.py load_post

2018-09-16 16:05:57,593 rpr.default [139755841304320]: INFO DownloadAddonJsonThread started...

2018-09-16 16:05:57,593 rpr.default [139755841304320]: INFO Download from:  https://radeon-prorender.github.io/rpr_renderer_plugin_blender_latest_version.json

2018-09-16 16:05:57,797 rpr.default [139755841304320]: ERROR Can't download json file.

2018-09-16 16:05:57,799 rpr.default [139755841304320]: INFO DownloadAddonJsonThread finished.

2018-09-16 16:15:57,738 rpr.default [139755841304320]: INFO using GPU(0): "GeForce GT 640"

2018-09-16 16:15:57,738 rpr.default [139755841304320]: INFO total used 1 gpu, flags(1)

2018-09-16 16:15:57,739 rpr.default [139755841304320]: INFO tracing: off

2018-09-16 16:15:58,026 rpr.default [139755841304320]: INFO camera.focal_length:  30.0

2018-09-16 16:15:58,026 rpr.default [139755841304320]: INFO camera.sensor_size: (32.0, 32.0)

2018-09-16 16:15:58,033 rpr.default [139755841304320]: INFO RenderLayers create...

2018-09-16 16:15:58,033 rpr.default [139755841304320]: INFO added aov: default

2018-09-16 16:15:58,042 rpr.material [139755841304320]: WARNING Parse : Can't get output node, return error shader (material: Material)

2018-09-16 16:15:58,043 rpr.image_cache [139755841304320]: INFO images: 0, total size: 0.0Mb, requests:0, request per image: -, virtual size requested: 0.0 Mb

2018-09-16 16:15:58,043 rpr.downscaled_image_cache [139755841304320]: INFO images: 0, total size: 0.0Mb, requests:0, request per image: -, virtual size requested: 0.0 Mb

2018-09-16 16:15:58,043 rpr.core_image_cache [139755841304320]: INFO CoreImageCache(original): image_size=None, contexts number=0

2018-09-16 16:15:58,043 rpr.core_downscaled_image_cache [139755841304320]: INFO CoreImageCache(downscaled): image_size=None, contexts number=0

2018-09-16 16:15:58,082 rpr.render [139755333342976]: CRITICAL Traceback (most recent call last):

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/__init__.py", line 25, in core_operations

    yield

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/scene.py", line 292, in _render_proc

    pyrpr.ContextRender(self.get_core_context())

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/pyrpr.py", line 57, in wrapped

    raise CoreError(status, f.__name__, argv, module_name)

pyrpr.CoreError: RPR call ContextRender(<pyrpr.Context object at 0x7f1b8c9ddda0>) returned error code <ERROR_OPENCL<-26>> with error message: 'b'TahoeContext: render failed //// TAHOEERROR: FILE=../Adl/CL/AdlKernelUtilsCL.cpp LINE=409 MESSAGE=ADLASSERT  //// FREXCEPTION : FILE=../Tahoe/Renderer.cpp LINE=707 ERROR=-26 ////''

2018-09-16 16:15:58,146 rpr.render [139755841304320]: CRITICAL ERROR: It is recommended to restart Blender

render failed

2018-09-16 16:16:00,379 rpr.default [139755841304320]: INFO using GPU(0): "GeForce GT 640"

2018-09-16 16:16:00,379 rpr.default [139755841304320]: INFO total used 1 gpu, flags(1)

2018-09-16 16:16:00,381 rpr.default [139755841304320]: INFO camera.focal_length:  30.0

2018-09-16 16:16:00,382 rpr.default [139755841304320]: INFO camera.sensor_size: (32.0, 32.0)

2018-09-16 16:16:00,383 rpr.default [139755841304320]: INFO RenderLayers create...

2018-09-16 16:16:00,383 rpr.default [139755841304320]: INFO added aov: default

2018-09-16 16:16:00,394 rpr.image_cache [139755841304320]: INFO images: 0, total size: 0.0Mb, requests:0, request per image: -, virtual size requested: 0.0 Mb

2018-09-16 16:16:00,394 rpr.downscaled_image_cache [139755841304320]: INFO images: 0, total size: 0.0Mb, requests:0, request per image: -, virtual size requested: 0.0 Mb

2018-09-16 16:16:00,395 rpr.core_image_cache [139755841304320]: INFO CoreImageCache(original): image_size=None, contexts number=0

2018-09-16 16:16:00,395 rpr.core_downscaled_image_cache [139755841304320]: INFO CoreImageCache(downscaled): image_size=None, contexts number=0

2018-09-16 16:16:00,414 rpr.render [139755324950272]: CRITICAL Traceback (most recent call last):

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/__init__.py", line 25, in core_operations

    yield

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/scene.py", line 292, in _render_proc

    pyrpr.ContextRender(self.get_core_context())

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/pyrpr.py", line 57, in wrapped

    raise CoreError(status, f.__name__, argv, module_name)

pyrpr.CoreError: RPR call ContextRender(<pyrpr.Context object at 0x7f1b8c9ddda0>) returned error code <ERROR_OPENCL<-26>> with error message: 'b'TahoeContext: render failed //// TAHOEERROR: FILE=../Adl/CL/AdlKernelUtilsCL.cpp LINE=409 MESSAGE=ADLASSERT  //// FREXCEPTION : FILE=../Tahoe/Renderer.cpp LINE=707 ERROR=-26 ////''

2018-09-16 16:16:00,497 rpr.render [139755841304320]: CRITICAL ERROR: It is recommended to restart Blender

render failed

2018-09-16 16:16:42,930 rpr.default [139755841304320]: INFO using GPU(0): "GeForce GT 640"

2018-09-16 16:16:42,930 rpr.default [139755841304320]: INFO total used 1 gpu, flags(1)

2018-09-16 16:16:42,933 rpr.default [139755841304320]: INFO camera.focal_length:  30.0

2018-09-16 16:16:42,933 rpr.default [139755841304320]: INFO camera.sensor_size: (32.0, 32.0)

2018-09-16 16:16:42,935 rpr.default [139755841304320]: INFO RenderLayers create...

2018-09-16 16:16:42,935 rpr.default [139755841304320]: INFO added aov: default

2018-09-16 16:16:42,945 rpr.image_cache [139755841304320]: INFO images: 0, total size: 0.0Mb, requests:0, request per image: -, virtual size requested: 0.0 Mb

2018-09-16 16:16:42,945 rpr.downscaled_image_cache [139755841304320]: INFO images: 0, total size: 0.0Mb, requests:0, request per image: -, virtual size requested: 0.0 Mb

2018-09-16 16:16:42,945 rpr.core_image_cache [139755841304320]: INFO CoreImageCache(original): image_size=None, contexts number=0

2018-09-16 16:16:42,945 rpr.core_downscaled_image_cache [139755841304320]: INFO CoreImageCache(downscaled): image_size=None, contexts number=0

2018-09-16 16:16:43,031 rpr.default [139755841304320]: INFO using GPU(0): "GeForce GT 640"

2018-09-16 16:16:43,032 rpr.default [139755841304320]: INFO total used 1 gpu, flags(1)

2018-09-16 16:16:43,034 rpr.default [139755841304320]: INFO camera.focal_length:  30.0

2018-09-16 16:16:43,034 rpr.default [139755841304320]: INFO camera.sensor_size: (32.0, 32.0)

2018-09-16 16:16:43,035 rpr.default [139755841304320]: INFO RenderLayers create...

2018-09-16 16:16:43,035 rpr.default [139755841304320]: INFO added aov: default

2018-09-16 16:16:43,044 rpr.image_cache [139755841304320]: INFO images: 0, total size: 0.0Mb, requests:0, request per image: -, virtual size requested: 0.0 Mb

2018-09-16 16:16:43,044 rpr.downscaled_image_cache [139755841304320]: INFO images: 0, total size: 0.0Mb, requests:0, request per image: -, virtual size requested: 0.0 Mb

2018-09-16 16:16:43,045 rpr.core_image_cache [139755841304320]: INFO CoreImageCache(original): image_size=None, contexts number=0

2018-09-16 16:16:43,045 rpr.core_downscaled_image_cache [139755841304320]: INFO CoreImageCache(downscaled): image_size=None, contexts number=0

2018-09-16 16:16:43,073 rpr.render [139755324950272]: CRITICAL Traceback (most recent call last):

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/__init__.py", line 25, in core_operations

    yield

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/scene.py", line 292, in _render_proc

    pyrpr.ContextRender(self.get_core_context())

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/pyrpr.py", line 57, in wrapped

    raise CoreError(status, f.__name__, argv, module_name)

pyrpr.CoreError: RPR call ContextRender(<pyrpr.Context object at 0x7f1b8c9ddda0>) returned error code <ERROR_OPENCL<-26>> with error message: 'b'TahoeContext: render failed //// TAHOEERROR: FILE=../Adl/CL/AdlKernelUtilsCL.cpp LINE=409 MESSAGE=ADLASSERT  //// FREXCEPTION : FILE=../Tahoe/Renderer.cpp LINE=707 ERROR=-26 ////''

2018-09-16 16:16:43,148 rpr.render [139755841304320]: CRITICAL ERROR: It is recommended to restart Blender

render failed

2018-09-16 16:17:02,533 rpr.default [139755841304320]: INFO using GPU(0): "GeForce GT 640"

2018-09-16 16:17:02,533 rpr.default [139755841304320]: INFO total used 1 gpu, flags(1)

2018-09-16 16:17:02,536 rpr.default [139755841304320]: INFO camera.focal_length:  30.0

2018-09-16 16:17:02,536 rpr.default [139755841304320]: INFO camera.sensor_size: (32.0, 32.0)

2018-09-16 16:17:02,538 rpr.default [139755841304320]: INFO RenderLayers create...

2018-09-16 16:17:02,539 rpr.default [139755841304320]: INFO added aov: default

2018-09-16 16:17:02,549 rpr.image_cache [139755841304320]: INFO images: 0, total size: 0.0Mb, requests:0, request per image: -, virtual size requested: 0.0 Mb

2018-09-16 16:17:02,549 rpr.downscaled_image_cache [139755841304320]: INFO images: 0, total size: 0.0Mb, requests:0, request per image: -, virtual size requested: 0.0 Mb

2018-09-16 16:17:02,549 rpr.core_image_cache [139755841304320]: INFO CoreImageCache(original): image_size=None, contexts number=0

2018-09-16 16:17:02,549 rpr.core_downscaled_image_cache [139755841304320]: INFO CoreImageCache(downscaled): image_size=None, contexts number=0

2018-09-16 16:17:02,578 rpr.render [139755324950272]: CRITICAL Traceback (most recent call last):

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/__init__.py", line 25, in core_operations

    yield

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/scene.py", line 292, in _render_proc

    pyrpr.ContextRender(self.get_core_context())

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/pyrpr.py", line 57, in wrapped

    raise CoreError(status, f.__name__, argv, module_name)

pyrpr.CoreError: RPR call ContextRender(<pyrpr.Context object at 0x7f1b8c9ddda0>) returned error code <ERROR_OPENCL<-26>> with error message: 'b'TahoeContext: render failed //// TAHOEERROR: FILE=../Adl/CL/AdlKernelUtilsCL.cpp LINE=409 MESSAGE=ADLASSERT  //// FREXCEPTION : FILE=../Tahoe/Renderer.cpp LINE=707 ERROR=-26 ////''

2018-09-16 16:17:02,652 rpr.render [139755841304320]: CRITICAL ERROR: It is recommended to restart Blender

render failed

2018-09-16 16:17:11,898 rpr.default [139755841304320]: INFO using GPU(0): "GeForce GT 640"

2018-09-16 16:17:11,898 rpr.default [139755841304320]: INFO total used 1 gpu, flags(1)

2018-09-16 16:17:11,900 rpr.default [139755841304320]: INFO camera.focal_length:  30.0

2018-09-16 16:17:11,900 rpr.default [139755841304320]: INFO camera.sensor_size: (32.0, 32.0)

2018-09-16 16:17:11,901 rpr.default [139755841304320]: INFO RenderLayers create...

2018-09-16 16:17:11,902 rpr.default [139755841304320]: INFO added aov: default

2018-09-16 16:17:11,912 rpr.image_cache [139755841304320]: INFO images: 0, total size: 0.0Mb, requests:0, request per image: -, virtual size requested: 0.0 Mb

2018-09-16 16:17:11,912 rpr.downscaled_image_cache [139755841304320]: INFO images: 0, total size: 0.0Mb, requests:0, request per image: -, virtual size requested: 0.0 Mb

2018-09-16 16:17:11,912 rpr.core_image_cache [139755841304320]: INFO CoreImageCache(original): image_size=None, contexts number=0

2018-09-16 16:17:11,912 rpr.core_downscaled_image_cache [139755841304320]: INFO CoreImageCache(downscaled): image_size=None, contexts number=0

2018-09-16 16:17:11,929 rpr.render [139755324950272]: CRITICAL Traceback (most recent call last):

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/__init__.py", line 25, in core_operations

    yield

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/scene.py", line 292, in _render_proc

    pyrpr.ContextRender(self.get_core_context())

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/pyrpr.py", line 57, in wrapped

    raise CoreError(status, f.__name__, argv, module_name)

pyrpr.CoreError: RPR call ContextRender(<pyrpr.Context object at 0x7f1b8c9ddda0>) returned error code <ERROR_OPENCL<-26>> with error message: 'b'TahoeContext: render failed //// TAHOEERROR: FILE=../Adl/CL/AdlKernelUtilsCL.cpp LINE=409 MESSAGE=ADLASSERT  //// FREXCEPTION : FILE=../Tahoe/Renderer.cpp LINE=707 ERROR=-26 ////''

2018-09-16 16:17:12,014 rpr.render [139755841304320]: CRITICAL ERROR: It is recommended to restart Blender

render failed

2018-09-16 16:17:18,379 rpr.default [139757202622080]: INFO using GPU(0): "GeForce GT 640"

2018-09-16 16:17:18,380 rpr.default [139757202622080]: INFO total used 1 gpu, flags(1)

2018-09-16 16:17:18,380 rpr.default [139757202622080]: INFO tracing: off

2018-09-16 16:17:18,662 rpr.default [139757202622080]: INFO RenderLayers create...

2018-09-16 16:17:18,662 rpr.default [139757202622080]: INFO added aov: default

2018-09-16 16:17:18,670 rpr.image_cache [139757202622080]: INFO images: 0, total size: 0.0Mb, requests:0, request per image: -, virtual size requested: 0.0 Mb

2018-09-16 16:17:18,670 rpr.downscaled_image_cache [139757202622080]: INFO images: 0, total size: 0.0Mb, requests:0, request per image: -, virtual size requested: 0.0 Mb

2018-09-16 16:17:18,670 rpr.core_image_cache [139757202622080]: INFO CoreImageCache(original): image_size=None, contexts number=0

2018-09-16 16:17:18,670 rpr.core_downscaled_image_cache [139757202622080]: INFO CoreImageCache(downscaled): image_size=None, contexts number=0

2018-09-16 16:17:18,708 rpr.render [139757202622080]: CRITICAL Traceback (most recent call last):

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/__init__.py", line 25, in core_operations

    yield

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/scene.py", line 335, in get_image

    im = self._get_aov_image(aov_name)

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/scene.py", line 424, in _get_aov_image

    return self.render_targets.get_resolved_image(frame_buffer)

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/device.py", line 142, in get_resolved_image

    pyrpr.ContextResolveFrameBuffer(self.render_device.core_context, fb, self.frame_buffer_tonemapped, False)

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/pyrpr.py", line 57, in wrapped

    raise CoreError(status, f.__name__, argv, module_name)

pyrpr.CoreError: RPR call ContextResolveFrameBuffer(<pyrpr.Context object at 0x7f1b8c65be48>, <pyrpr.FrameBuffer object at 0x7f1b8c65bcf8>, <pyrpr.FrameBuffer object at 0x7f1b8c65bb00>, False) returned error code <ERROR_INTERNAL_ERROR<-18>> with error message: 'b"TahoeContext: can't resolve framebuffer //// TAHOEERROR: FILE=../Adl/CL/AdlKernelUtilsCL.cpp LINE=177 MESSAGE=ADLASSERT  //// FREXCEPTION : FILE=../Tahoe/Renderer.cpp LINE=939 ERROR=-18 ////"'

2018-09-16 16:17:18,709 rpr.render [139757202622080]: CRITICAL ERROR: It is recommended to restart Blender

Exception: Traceback (most recent call last):

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/engine.py", line 483, in view_draw

    self._view_draw(context)

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/helpers.py", line 436, in wrapped

    return f(*argv, **kwargs)

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/engine.py", line 559, in _view_draw

    im = viewport_renderer.get_image(viewport_renderer.render_aov.pass_displayed)

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/viewport.py", line 45, in get_image

    return self.scene_renderer.get_image(pass_name)

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/helpers.py", line 436, in wrapped

    return f(*argv, **kwargs)

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/scene.py", line 335, in get_image

    im = self._get_aov_image(aov_name)

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/scene.py", line 424, in _get_aov_image

    return self.render_targets.get_resolved_image(frame_buffer)

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/device.py", line 142, in get_resolved_image

    pyrpr.ContextResolveFrameBuffer(self.render_device.core_context, fb, self.frame_buffer_tonemapped, False)

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/pyrpr.py", line 57, in wrapped

    raise CoreError(status, f.__name__, argv, module_name)

pyrpr.CoreError: RPR call ContextResolveFrameBuffer(<pyrpr.Context object at 0x7f1b8c65be48>, <pyrpr.FrameBuffer object at 0x7f1b8c65bcf8>, <pyrpr.FrameBuffer object at 0x7f1b8c65bb00>, False) returned error code <ERROR_INTERNAL_ERROR<-18>> with error message: 'b"TahoeContext: can't resolve framebuffer //// TAHOEERROR: FILE=../Adl/CL/AdlKernelUtilsCL.cpp LINE=177 MESSAGE=ADLASSERT  //// FREXCEPTION : FILE=../Tahoe/Renderer.cpp LINE=939 ERROR=-18 ////"'

2018-09-16 16:17:18,765 rpr.render [139755006191360]: CRITICAL Traceback (most recent call last):

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/__init__.py", line 25, in core_operations

    yield

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/render/scene.py", line 292, in _render_proc

    pyrpr.ContextRender(self.get_core_context())

  File "/home/pedja/.config/blender/2.79/scripts/addons/rprblender/pyrpr.py", line 57, in wrapped

    raise CoreError(status, f.__name__, argv, module_name)

pyrpr.CoreError: RPR call ContextRender(<pyrpr.Context object at 0x7f1b8c65be48>) returned error code <ERROR_OPENCL<-26>> with error message: 'b'TahoeContext: render failed //// TAHOEERROR: FILE=../Adl/CL/AdlKernelUtilsCL.cpp LINE=409 MESSAGE=ADLASSERT  //// FREXCEPTION : FILE=../Tahoe/Renderer.cpp LINE=707 ERROR=-26 ////''

tahoe.log is empty

If you need more logs or any other additional information, just ask

RPR looks very interesting, I'd love to play with it sometime.

And kudos for making it vendor-neutral, even though  some vendors are not particular fans of OpenCL *khm**khm*

0 Likes
2 Replies
bsavery
Staff

So I do not know NVidia drivers on linux as well, but is there a way to verify that the driver that you have supports OpenCL?

0 Likes

bsavery wrote:

So I do not know NVidia drivers on linux as well, but is there a way to verify that the driver that you have supports OpenCL?

That is what is confusing me about this.

Several other applications  that also use OpenCL work fine, and their opencl tests show no errors,

like Darktable or Gimp.

Here is the output of clinfo, you might spot something fishy/missing in it

Number of platforms                               1

  Platform Name                                   NVIDIA CUDA

  Platform Vendor                                 NVIDIA Corporation

  Platform Version                                OpenCL 1.2 CUDA 9.2.210

  Platform Profile                                FULL_PROFILE

  Platform Extensions                             cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer

  Platform Extensions function suffix             NV

  Platform Name                                   NVIDIA CUDA

Number of devices                                 1

  Device Name                                     GeForce GT 640

  Device Vendor                                   NVIDIA Corporation

  Device Vendor ID                                0x10de

  Device Version                                  OpenCL 1.2 CUDA

  Driver Version                                  396.54

  Device OpenCL C Version                         OpenCL C 1.2

  Device Type                                     GPU

  Device Topology (NV)                            PCI-E, 01:00.0

  Device Profile                                  FULL_PROFILE

  Device Available                                Yes

  Compiler Available                              Yes

  Linker Available                                Yes

  Max compute units                               2

  Max clock frequency                             1045MHz

  Compute Capability (NV)                         3.0

  Device Partition                                (core)

    Max number of sub-devices                     1

    Supported partition types                     None

    Supported affinity domains                    (n/a)

  Max work item dimensions                        3

  Max work item sizes                             1024x1024x64

  Max work group size                             1024

  Preferred work group size multiple              32

  Warp size (NV)                                  32

  Preferred / native vector sizes                

    char                                                 1 / 1      

    short                                                1 / 1      

    int                                                  1 / 1      

    long                                                 1 / 1      

    half                                                 0 / 0        (n/a)

    float                                                1 / 1      

    double                                               1 / 1        (cl_khr_fp64)

  Half-precision Floating-point support           (n/a)

  Single-precision Floating-point support         (core)

    Denormals                                     Yes

    Infinity and NANs                             Yes

    Round to nearest                              Yes

    Round to zero                                 Yes

    Round to infinity                             Yes

    IEEE754-2008 fused multiply-add               Yes

    Support is emulated in software               No

    Correctly-rounded divide and sqrt operations  Yes

  Double-precision Floating-point support         (cl_khr_fp64)

    Denormals                                     Yes

    Infinity and NANs                             Yes

    Round to nearest                              Yes

    Round to zero                                 Yes

    Round to infinity                             Yes

    IEEE754-2008 fused multiply-add               Yes

    Support is emulated in software               No

  Address bits                                    64, Little-Endian

  Global memory size                              2096693248 (1.953GiB)

  Error Correction support                        No

  Max memory allocation                           524173312 (499.9MiB)

  Unified memory for Host and Device              No

  Integrated memory (NV)                          No

  Minimum alignment for any data type             128 bytes

  Alignment of base address                       4096 bits (512 bytes)

  Global Memory cache type                        Read/Write

  Global Memory cache size                        32768 (32KiB)

  Global Memory cache line size                   128 bytes

  Image support                                   Yes

    Max number of samplers per kernel             32

    Max size for 1D images from buffer            134217728 pixels

    Max 1D or 2D image array size                 2048 images

    Max 2D image size                             16384x16384 pixels

    Max 3D image size                             4096x4096x4096 pixels

    Max number of read image args                 256

    Max number of write image args                16

  Local memory type                               Local

  Local memory size                               49152 (48KiB)

  Registers per block (NV)                        65536

  Max number of constant args                     9

  Max constant buffer size                        65536 (64KiB)

  Max size of kernel argument                     4352 (4.25KiB)

  Queue properties                               

    Out-of-order execution                        Yes

    Profiling                                     Yes

  Prefer user sync for interop                    No

  Profiling timer resolution                      1000ns

  Execution capabilities                         

    Run OpenCL kernels                            Yes

    Run native kernels                            No

    Kernel execution timeout (NV)                 Yes

  Concurrent copy and kernel execution (NV)       Yes

    Number of async copy engines                  1

  printf() buffer size                            1048576 (1024KiB)

  Built-in kernels                                (n/a)

  Device Extensions                               cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer

NULL platform behavior

  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform

  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No platform

  clCreateContext(NULL, ...) [default]            No platform

  clCreateContext(NULL, ...) [other]              Success [NV]

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No platform

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No platform

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No platform

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No platform

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No platform

  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No platform

I have CUDA-9.2 installed, since I use it for Cycles in Blender, if that's relevant.

I forgot to say before, but the same thing happens if I use the official Blender binary, I just modified

install.py not to install packages, since this is not a Ubuntu machine.

0 Likes