Announcement

Collapse
No announcement yet.

VRay RT does not work with 770 GTX and OpenCL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VRay RT does not work with 770 GTX and OpenCL

    Hi,

    I have tried to render using RT OpenCL engine (V-Ray Standalone for Linux 3.6.03) using CPU (i7-4770K) and Nvidia GTX 770 (driver 375.66 on Kubuntu 17.04) from Blender (With V-Ray Additions, nightly 2017-08-15), but it failed with "cl_nv_compiler_options extension not found." error like this:

    Code:
    2017/Aug/15|13:23:20] OpenCL program built in 79.628 s
    [2017/Aug/15|13:23:20] Kernel binary cache saved successfuly at /tmp/vray_ocl_cache_2017_08_01_14_36GeForce GTX 770_x64_ubt_moblur_lc_cp_lm_lrs_375.66.clbin
    [2017/Aug/15|13:23:20] Driver version 375.66
    [2017/Aug/15|13:23:20] cl_nv_compiler_options extension not found.
    [2017/Aug/15|13:23:20] Failed loading precompiled binary (0)
    [2017/Aug/15|13:23:20] warning: Building OpenCL trace program for device Portable Computing Language_pthread-Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz. That build is made only the first time you run V-Ray on a particular hardware, but it might take a while.
    5 warnings and 1 error generated.
    Error Program build failure (-11) at line 2170 , in file ./src/opencl_main.cpp !!!
    
    [2017/Aug/15|13:23:22] warning: Failed to compile OpenCL kernels, falling back to CPU code.
    [2017/Aug/15|13:23:22] error: buildProgram() failed for device 1 (-11)!
    [2017/Aug/15|13:23:22] warning: initDevices() failed. Please check that your system has compatible GPU devices installed.
    [2017/Aug/15|13:23:22] Tracing 1000000 image samples for light cache in 64 passes.
    [2017/Aug/15|13:23:22] Closing RTEngine (cancelled)
    Do I have to install some packages, or my card does not support OpenCL as needed..?

    Thanks!

  • #2
    As of V-Ray 3.50, OpenCL is supported on AMD GPUs only. Use CUDA for NVIDIA GPUs.
    If you want to use the CPU as well, enable the C++/CPU device from the list of V-Ray GPU Devices. This will make the CPU behave as a regular CUDA device (this is made with internal implementation that is reliable and fast).

    Best,
    Blago.
    V-Ray fan.
    Looking busy around GPUs ...
    RTX ON

    Comment


    • #3
      This tool might not work well for Linux. You can do the same however by setting env var "export VRAY_OPENCL_PLATFORMS_x64=c++/cpu;nvidia".

      Best,
      Blago.
      V-Ray fan.
      Looking busy around GPUs ...
      RTX ON

      Comment

      Working...
      X