RT working in CPU not GPU

These seem rather old; have you tried newer drivers?

It would also seem that I have lost the ability to see the log (that would pop up when rendering).Do you see vray.exe in the Task Manager (make sure that “Show processes from all users” is enabled)? If yes, you probably registered the V-Ray RT render server to run as a Windows service. In that case you can try unregistering it (from the Start menu), killing vray.exe and trying a new RT render.

Best regards,
Vlado

YES now I have my log back. I updated my ATI drivers to latest (11.12) and the GPU Render still is coming out black (except lights) while CPU RT works fine. Here is the log; hope somewhere in there is an answer.

Thanks again

Hi! Same problem here: Win 7 XP64, Dual Xeon, Quadro 4000, latest NVidia-drivers. After waiting 1 hour for building the OpenCL trace program, VRay-standalone crashes. Also when rendering with CPUs…

If it crashes on CPU, then it’s a different issue. Does it happen on any scene?

Best regards,
Vlado

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

It doesn’t matter that the variable is not defined. It is set by the ocldeviceselect utility and is useful if you have more than one GPU installed.

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.V-Ray does not use this variable (it was added by the previous installers for information purposes).

Which is the driver version by the way (as reported by the NVidia Control panel, should be something like 276.xx or similar, not the cryptic 8.17.12.7642)?

In any case, do you get any processor usage while the OpenCL program is being built? If yes, then it is not hung, just taking its (very long) time. On the not-so-bright side, GeForce cards tend to work much better for this.

Best regards,
Vlado

Isn’t the ‘ocldeviceselect utility’ a 3DSMax tool? I am using Vray for Maya. Setting it couldn’t hurt right? One less error. Would I set it to the device number? (i.e. 0 for my one GPU)

Noted - will delete that entry.

Sorry about that - it is the Quadro 276.42 driver. I have had no issues with it at all and it has been available on the Nvidia site for about 6 weeks.

According to the Windows Task Manager\Processes\vray.exe holds at a steady 4% in the CPU column while trying to build.

I looked in the Maya Script Editor and saw this:

// Warning: [SettingsJPEG] No image writer specified. // 
// Warning: [SettingsPNG] No image writer specified. // 
// Warning: [SettingsEXR] No image writer specified. // 
// Warning: [SettingsTGA] No image writer specified. // 
// Warning: [SettingsTIFF] No image writer specified. // 
// Warning: [SettingsSGI] No image writer specified. // 
// Warning: No scene found; cannot create OpenCL renderer plugin. // 
// Warning: Scene is empty. // 

What is this ‘Scene not found’ issue? It seems to me that I could let this try to build forever but if it can’t find a scene, whats the use?

Also, when I close the Vray command window while it is trying to build the Maya Script Editor returns: // Warning: Render host bresboxx (127.0.0.1) is not responding //

Could this be some sort of communication error? Just trying to think of everything.

That isn’t what I want to hear… And frankly, at this point, shouldn’t be the case.

Thanks,

-Nick Breslow

No, it’s not just a number unfortunately; it would be best to leave this alone - things will work fine (assuming they work out eventually :))

Sorry about that - it is the Quadro 276.42 driver. I have had no issues with it at all and it has been available on the Nvidia site for about 6 weeks.Ok then; there is a developer driver for CUDA 4.1 that might work better, but I don’t know if it supports Tesla/Quadro cards, but I’m not sure it will work, I have to try it out.

According to the Windows Task Manager\Processes\vray.exe holds at a steady 4% in the CPU column while trying to build.Ok then; here it takes about 1 hour 10 minutes of that to build the code for a Tesla 2075 card.

What is this ‘Scene not found’ issue? It seems to me that I could let this try to build forever but if it can’t find a scene, whats the use?For this particular issue, it doesn’t matter what it says in Maya; the OpenCL runs in the V-Ray Standalone, not in the V-Ray for Maya plugin.

Could this be some sort of communication error?Nope. It’s just slow. Waiting it out is the only way to get it working.

Best regards,
Vlado

Hi Vlado,

First, thanks for the quick and informative replies - very much appreciated.

Ok then; here it takes about 1 hour 10 minutes of that to build the code for a Tesla 2075 card.

Jeez - I literally let it run for 2 hours last night and no luck. Does it confirm the build in the Vray command window when complete? I seem to remember it confirming the build and giving the time. It used to just ‘work’. I guess I am just a bit dumbfounded as to why my machine with the specs listed above (it rips through everything else) could be taking so long.

The compiled binary winds up somewhere, right? I think a Win user temp folder if memory serves. Can I watch there to confirm it is actually building? If so, what folder? And if I do get this going, how can I make sure it doesn’t get deleted - seems like the Temp folder isn’t the best place for this.

Thanks,

-Nick Breslow

Yes, it will be obvious when it is done. > It used to just ‘work’.Our OpenCL code gets more complicated, so I guess the OpenCL compiler needs more time (why it needs it only on Quadro/Tesla cards though is beyond me).> I guess I am just a bit dumbfounded as to why my machine with the specs listed above (it rips through everything else) could be taking so long.I’d love to know that too, but only the guys at nVidia know the answer :slight_smile:

The compiled binary winds up somewhere, right? I think a Win user temp folder if memory serves. Can I watch there to confirm it is actually building? If so, what folder? And if I do get this going, how can I make sure it doesn’t get deleted - seems like the Temp folder isn’t the best place for this.It is in the temp folder and in fact I just realised that we do have a Quadro 5000 card here and I can just give you the compiled code to dump into your temp folder - I will try to do that tomorrow.

Best regards,
Vlado

Vlado,

It is in the temp folder and in fact I just realized that we do have a Quadro 5000 card here and I can just give you the compiled code to dump into your temp folder - I will try to do that tomorrow.

You are a real gentleman and all around great guy - Thanks so much. I will give it another shot also..do you know the path (i.e. is it in a sub-folder or just %USERPROFILE%\AppData\Local\Temp) it ultimately winds up in?

-Nick Breslow

Just type %temp% in Windows explorer and you’ll get there.

Best regards,
Vlado

Got it - will look for your Quadro compile tomorrow and attempt my own. Thanks again,

-Nick Breslow

Vlado!

It finally worked - took 3 hours 20 minutes. I guess I wasn’t patient enough. Thanks for all your help - I guess persistence pays off. Very much appreciated,

-Nick Breslow

Yes, happens on any scene.

Best regards, Tobi

sorry, im having the same problem with radeon hd 7970 on mac pro, cpu renders fine, gpu blue screen, did anyone try this card yet? sorry my native language is spanish.

I just got a 7970 a few days ago, but I haven’t plugged it into my workstation yet; I hope to get there tomorrow and see how it goes.

Best regards,
Vlado