RT working in CPU not GPU (Maya)
Hi All,
I am having the same issue with RT rendering on CPU and not GPU. The issue started after installing Vray for Maya 2.20.01 (just released). Basically the initial OpenCl build hangs - I have tried letting it run for 10 minutes, an hour, two hours…nothing worked. I am not sure if this is related, but I keep getting ‘warning: Scene is empty’ messages popping up on the Maya command line. The test scene isn’t empty, it consists of a very simple sphere, plane, vrayMtl, vrayDomeLight. Initially I had the same issue with the previous stable build of Vray and, as another person posted, it magically fixed itself after a few attempts (although I may have added an environment variable too, can’t remember exactly). No such luck here though - I tried for hours yesterday, very annoying.
One thing I noticed in the log is an undocumented environment variable that Vray says it can’t find called VRAY_OPENCL_PLATFORMS_x64. Can someone shed some light on this? Perhaps setting it would help.
Also, I looked at the environment variables Vray setup on installation (I used the .exe, not the zip file) and under System Variables there is one called VRAY_PATH with no value associated. What should the path be? Is this by design? Not sure if the installer messed up.
See below for the log from the Vray/Maya command window and my system specs.
System Specs:
Maya 2012 SAP SP1 x64
OS Name Microsoft Windows 7 Ultimate
Version 6.1.7601 Service Pack 1 Build 7601
System Type x64-based PC
Processor Intel(R) Xeon(R) CPU X5690 @ 3.47GHz, 4318 Mhz, 6 Core(s), 12 Logical Processor(s)
Processor Intel(R) Xeon(R) CPU X5690 @ 3.47GHz, 4318 Mhz, 6 Core(s), 12 Logical Processor(s)
BIOS Version/Date American Megatrends Inc. 080016, 7/5/2011
Installed Physical Memory (RAM) 24.0 GB
Available Physical Memory 20.1 GB
Total Virtual Memory 60.0 GB
Available Virtual Memory 55.7 GB
Name NVIDIA Quadro 5000
PNP Device ID PCI\VEN_10DE&DEV_06D9&SUBSYS_077010DE&REV_A3\6&2BCDCEE8&0&00000018
Adapter Type Quadro 5000, NVIDIA compatible
Adapter RAM (1,610,612,736) bytes
Driver Version 8.17.12.7642
Resolution 1920 x 1200 x 59 hertz
Driver c:\windows\system32\drivers\nvlddmkm.sys (8.17.12.7642, 12.78 MB (13,403,456 bytes), 2/6/2012 4:30 PM)
Vray Command Window:
[2012/Feb/7|09:10:33] Reading configuration from "C:\Program Files\Autodesk\Maya
2012\vray\bin\/vrayconfig.xml"
[2012/Feb/7|09:10:33] ===============================================
[2012/Feb/7|09:10:33] V-Ray Standalone, version 2.20.01 for x64
[2012/Feb/7|09:10:33] Copyright (C) 2000-2010 Chaos Group Ltd. All rights reserv
ed.
[2012/Feb/7|09:10:33] Use -credits option for additional third-party copyright n
otices.
[2012/Feb/7|09:10:33]
[2012/Feb/7|09:10:33] Build from Feb 1 2012, 17:00:57
[2012/Feb/7|09:10:33] Compiled with Intel C++ compiler, version 12
[2012/Feb/7|09:10:33] Operating system is Microsoft(tm) Windows(tm), version 6.1
, Service Pack 1
[2012/Feb/7|09:10:33]
[2012/Feb/7|09:10:33] V-Ray core version is 2.00.01
[2012/Feb/7|09:10:33] ===============================================
[2012/Feb/7|09:10:33]
[2012/Feb/7|09:10:33] Loading plugins from "C:\Program Files\Autodesk\Maya2012/v
ray/vrayplugins/vray_*.dll"
[2012/Feb/7|09:10:33] 103 plugin(s) loaded successfully
[2012/Feb/7|09:10:33] Finished loading plugins.
[2012/Feb/7|09:10:33] Entering server mode - waiting for render requests on port
20207. Press Ctrl+C to exit.
[2012/Feb/7|09:10:34] Starting DR session from 127.0.0.1
[2012/Feb/7|09:10:34] Receiving DR scene from 127.0.0.1
[2012/Feb/7|09:10:34] Reading scene file "C:\Users\NICHOL~1\AppData\Local\Temp\v
rscene.txt"
[2012/Feb/7|09:10:34] C:\Users\NICHOL~1\AppData\Local\Temp\vrscene.txt: done [ 0
h 0m 0.0s]
[2012/Feb/7|09:10:34] Scene file parsed successfully in 0.0 s.
[2012/Feb/7|09:10:34] Scene created successfully.
[2012/Feb/7|09:10:34] Objects in scene: 0
[2012/Feb/7|09:10:34] Starting render sequence.
[2012/Feb/7|09:10:34] Preparing renderer...
[2012/Feb/7|09:10:34] Preparing scene for rendering...: done [ 0h 0m 0.0s]
[2012/Feb/7|09:10:34] OpenCL renderer requested.
[2012/Feb/7|09:10:34] 1 plugin(s) loaded successfully
[2012/Feb/7|09:10:34] OpenCL renderer plugin successfully loaded from "C:\Progra
m Files\Autodesk\Maya2012\vray\bin\/rt_opencl.dll"
[2012/Feb/7|09:10:34] OpenCL renderer plugin instance successfully created.
[2012/Feb/7|09:10:34] EXT_RTOPENCL interface obtained successfully from OpenCL r
enderer plugin instance.
[2012/Feb/7|09:10:34] ========================
[2012/Feb/7|09:10:34] Starting frame 1.
[2012/Feb/7|09:10:34] warning: Camera FOV is too small, possible round-off error
s.
[2012/Feb/7|09:10:34] Preparing scene for frame...: done [ 0h 0m 0.0s]
[2012/Feb/7|09:10:34] Compiling geometry...: done [ 0h 0m 0.0s]
[2012/Feb/7|09:10:34] Building SDTree for GPU
[2012/Feb/7|09:10:34] warning: Scene is empty.
[2012/Feb/7|09:10:34] Running RTEngine
[2012/Feb/7|09:10:34] Initializing OpenCL renderer (single kernel version)...
[2012/Feb/7|09:10:34] Querying for OpenCL devices...
[2012/Feb/7|09:10:34] warning: Environment variable VRAY_OPENCL_PLATFORMS_x64 no
t found - using all available devices
[2012/Feb/7|09:10:34] Using the following OpenCL devices:
[2012/Feb/7|09:10:34] NVIDIA CUDA Quadro 5000
[2012/Feb/7|09:10:34] cl_nv_compiler_options supported!
[2012/Feb/7|09:10:34] Building OpenCL trace program for device NVIDIA CUDA_Quadr
o 5000...
Maya Command Window:
V-Ray: Starting render
[2012/Feb/6|13:54:25] V-Ray: Loading plugins from "C:\Program Files\Autodesk\Maya2012/vray/vrayplugins/vray_*.dll"
[2012/Feb/6|13:54:25] V-Ray: 103 plugin(s) loaded successfully
[2012/Feb/6|13:54:25] V-Ray: Finished loading plugins.
[2012/Feb/6|13:54:25] V-Ray: Exporting scene to V-Ray.
[2012/Feb/6|13:54:25] V-Ray: Parsing light links time 0h 0m 0.0s (0.0 s)
[2012/Feb/6|13:54:25] V-Ray: Translating scene geometry for V-Ray
[2012/Feb/6|13:54:25] V-Ray: Total time translating scene for V-Ray 0h 0m 0.0s (0.0 s)
[2012/Feb/6|13:54:25] V-Ray: Rendering with IPR (port 20207).
[2012/Feb/6|13:54:25] V-Ray: Updating frame at time 1.00
[2012/Feb/6|13:54:25] V-Ray: Total time updating frame 0h 0m 0.1s (0.1 s)
[2012/Feb/6|13:54:25] V-Ray: Render complete
[2012/Feb/6|13:54:25] V-Ray: ========================
[2012/Feb/6|13:54:25] V-Ray warning: [SettingsPNG] No image writer specified.
[2012/Feb/6|13:54:25] V-Ray warning: [SettingsJPEG] No image writer specified.
[2012/Feb/6|13:54:25] V-Ray warning: [SettingsSGI] No image writer specified.
[2012/Feb/6|13:54:25] V-Ray warning: [SettingsTIFF] No image writer specified.
[2012/Feb/6|13:54:25] V-Ray warning: [SettingsTGA] No image writer specified.
[2012/Feb/6|13:54:25] V-Ray warning: [SettingsEXR] No image writer specified.
[2012/Feb/6|13:54:25] V-Ray: Preparing renderer...
[2012/Feb/6|13:54:25] V-Ray: Preparing scene for rendering...
[2012/Feb/6|13:54:25] V-Ray: OpenCL renderer requested.
[2012/Feb/6|13:54:25] V-Ray warning: No scene found; cannot create OpenCL renderer plugin.
[2012/Feb/6|13:54:25] V-Ray: dr host: 127.0.0.1
[2012/Feb/6|13:54:25] V-Ray: Connected to render host 127.0.0.1:20207
[2012/Feb/6|13:54:25] V-Ray: Using 1 hosts for distributed rendering.
[2012/Feb/6|13:54:25] V-Ray: Preparing scene for frame...
[2012/Feb/6|13:54:25] V-Ray warning: Scene is empty.
Thanks,
-Nick Breslow