cancel
Showing results for 
Search instead for 
Did you mean: 

Blender Discussions

shrisha
Adept II

Linux build renders with CPU only

Hi,

Prorender gives opencl error with Nvidia Card. (GTX 1070). Didn't check with AMD cards. With CPU everything renders just fine.

Here is an error:

2018-12-08 23:55:40,927 INFO rpr.default [139728045209344]:  RenderLayers create...

2018-12-08 23:55:41,022 INFO rpr.image_cache [139728045209344]:  images: 0, total size: 0.0Mb, requests:0, request per image: -, virtual size requested: 0.0 Mb

2018-12-08 23:55:41,022 INFO rpr.downscaled_image_cache [139728045209344]:  images: 0, total size: 0.0Mb, requests:0, request per image: -, virtual size requested: 0.0 Mb

2018-12-08 23:55:41,022 INFO rpr.core_image_cache [139728045209344]:  CoreImageCache(original): image_size=None, contexts number=0

2018-12-08 23:55:41,022 INFO rpr.core_downscaled_image_cache [139728045209344]:  CoreImageCache(downscaled): image_size=None, contexts number=0

Exception in thread Thread-3:

Traceback (most recent call last):

  File "/home/shrisha/blender-2.7/2.79/python/lib/python3.5/threading.py", line 914, in _bootstrap_inner

    self.run()

  File "/root/.config/blender/2.79/scripts/addons/rprblender/render/scene.py", line 342, in run

    self.renderer.render_proc()

  File "/root/.config/blender/2.79/scripts/addons/rprblender/render/scene.py", line 490, in render_proc

    next(render_iter)

  File "/root/.config/blender/2.79/scripts/addons/rprblender/render/scene.py", line 105, in render_proc

    yield from self._render_proc()

  File "/root/.config/blender/2.79/scripts/addons/rprblender/render/scene.py", line 211, in _render_proc

    self.render_targets.render(render_region)

  File "/root/.config/blender/2.79/scripts/addons/rprblender/render/device.py", line 63, in render

    self.context.render()

  File "/root/.config/blender/2.79/scripts/addons/rprblender/pyrpr.py", line 241, in render

    ContextRender(self)

  File "/root/.config/blender/2.79/scripts/addons/rprblender/pyrpr.py", line 60, in wrapped

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

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

2018-12-08 23:55:42,314 CRITICAL rpr.render [139728045209344]:  ERROR: It is recommended to restart Blender

render failed

I tried as user and as root for any case.

0 Likes
2 Replies
shrisha
Adept II

I ran Blender in debug mode to use cuda device in opencl mode and render same scene in cycles perfectly. So it is not nvidia drivers problem.

Forgot to mention my sytem.

Ryzen 2700, 32 RAM.

Fedora 29, Blender 2.79b not experimental build.

0 Likes
arozghon
Challenger

That's 100% NV drivers issue, you can fix it with install latest Nvidia drivers and install OpenCL + Vulkan (for Hybrid render):

Nvidia OpenCL+Vulkan
sudo apt update
sudo apt install ocl-icd-opencl-dev

and link for Vulkan API install:
https://linuxgamecast.com/2016/02/installing-and-testing-vulkan-on-ubuntu/

0 Likes