Windows


In this section you can find some common issues that may arise when working with V-Ray for SketchUP. If you encounter a problem that is not listed here or cannot be solved with the suggested solutions, please email vraysketchup@chaosgroup.com

Cannot Install V-Ray


Symptoms: 

The installation file crashes when you attempt to run it.

Cause:

The installation file is not downloaded properly.

Solution:

Please re-download the installation file from our web site.

V-Ray Could Not Obtain License


Here you can find the list of symptoms and their likely cause when V-Ray could not obtain the license. Please check the resolution part at the end of this section.

Symptoms: 

When attempting to render, the V-Ray Progress Window shows the message "error: Could not obtain a license (10061)" or "error: Could not obtain a license (111)" or "error: Could not obtain a license (61)"

Cause:

V-Ray could not connect to a working license server.

 

Symptoms:

When attempting to render, the V-Ray Progress Window shows the message "error: Could not obtain a license (-98)".

Cause:

V-Ray connected to a working license server but there are no licenses

 

Symptoms:

When you start the V-Ray RT render server, there are no error messages in the V-Ray Progress Window, but when a job is sent to the V-Ray RT render server there is an error in the V-Ray Progress Window "Could not obtain a license (10061)."

Cause:

No access to the V-Ray license server.

 

Symptoms:

When you start the V-Ray RT render server, there are no error messages in the V-Ray Progress Window, but when a job is sent to the V-Ray RT render server, the error in the V-Ray Progress Window is "Could not obtain a license (-98)."

Cause:

No available license on the V-Ray license server.

 

Symptoms:

When you try to render with V-Ray Standalone, an error message appears in the console: “Could not obtain a license (10061).”

Cause:

No access to the V-Ray license server.

 

Symptoms:

When you try to render with V-Ray Standalone, an error message appears in the console: “Could not obtain a license (-98).”

Cause:

No available license on the V-Ray license server.

 

Resolution: 

Please go through the check-list below:

  1. Checking the V-Ray license server:

    Please restart the machine with the V-Ray license server and dongle installed. Unplug the dongle and plug it again in a different USB port, preferably USB 2.0. Make sure that Windows properly recognizes the dongle and doesn't show error message. If you receive an error message, please refer to V-Ray license server can't start” in this section. 

    Start the V-Ray license server from Windows Start > All Programs > Chaos Group > V-Ray for SketchUp adv > Licensing > Launch V-Ray license server

    You may receive a message warning that the V-Ray license server is already running.

    Open the link http://localhost:30304 in a web browser on the same machine.

    This will open the V-Ray license server status web page. If it looks like the screenshot below, the license server is working.


  2. Checking the available licenses on the license server:
    After you ensuring the V-Ray license server is working, you need to check the available licenses. On the same machine, where the V-Ray license server is running, open the link http://localhost:30304/getstatus

    Please refer to “V-Ray license server status” in the Setting up your licenses” section for more information on the type of licenses you need to look for.

    If you do not see the V-Ray for SketchUP 2.0 licenses, this means that your dongle has to be reprogrammed as described in Dongle reprogramming” in the Setting up your licenses” section.If you don't see free licenses this means that all available licenses are in use and you can't have more concurrent users.

  3. Checking the connection to the license server:

    If V-Ray is on the same machine as the V-Ray license server, you can skip this step.

    To make sure that nothing is blocking the connection to the license server on the machine where you want to run V-Ray, open the link http://<IP_address>:30304 in a web browser, where <IP_address> is the IP address of the machine with the V-Ray license server. If you get a web page like the one below, V-Ray can access the V-Ray license server from this machine. In the example screenshot below the IP address of the machine with the license server is 10.0.0.160



    If you get an error message that the web page can't be accessed then there is a network problem that prevents the connection to the V-Ray license server. If you have any firewall or antivirus software running on your machines make sure they are not blocking applications' access to the network or blocking the communication on TCP/IP port 30304. Please contact your system administrator for more information.

  4. Checking the V-Ray license settings:

    On the machine where you want to use V-Ray, run the V-Ray license client configuration utility from  Windows Start > All Programs > Chaos Group > V-Ray for SketchUp adv > Licensing >Administration>  > Change license settings. In the dialog that appears, make sure that the IP address in the License server field at the Primary license server tab is entered correctly and that the connection port is 30304. If you modify any of these settings, you will need to restart SketchUp.


    Note: If the V-Ray license server is running on the same machine as V-Ray you can use localhost or 127.0.0.1 in the License server field.

V-Ray License Server Can't Start


Symptoms: 

When you start the V-Ray license server it pops a dialog box like the one shown below:

Cause: 

This error message appears when the V-Ray license server cannot find a dongle attached to the machine.

Resolution:

Before you start, make sure the dongle is NOT plugged-in.

  1. Uninstall the WIBU-KEY driver from Windows Control Panel.

  2. Update your USB drivers to the latest version.

  3. Restart your machine.

  4. Download and install the latest WIBU-KEY drivers from http://wibu.com/download_user.php.

  5. Attach the dongle to a different USB port, preferably to USB 2.0. Make sure that Windows recognizes the dongle and doesn't show error messages. To verify that dongle is properly installed please go to the Windows Control Panel > System applet. Choose the Hardware tab and then click on the Device manager button. Expand the Universal serial bus controllers list and check for a WIBU-BOX/RU entry there:

Dongle Disconnects Periodically


Symptoms: 

The dongle is working for extended periods of time but periodically disappears for no apparent reason and is no longer detected by Windows as a USB device. This could cause the V-Ray license server to fail or V-Ray licenses to be refused.

Cause: 

There can be a number of reasons related to the hardware configuration and Windows settings like the Power options.

Resolution: 

Please check your Windows Power Options, make sure that your USB devices are not powered off.

Try to plug the dongle into a different USB port on the same machine, preferably USB 2.0, and restart the V-Ray license server. If you still experience problems, try to install it on a different machine.

Missing V-Ray License Server Icon


Symptoms: 

The V-Ray licensing server is running but there is no icon in the Windows System Tray.

Cause: 

The icon is hidden by the Auto-hide unused icons option of the Windows System Tray or the V-Ray license server is registered as a Windows service.

Resolution: 

  1. If you have the Auto-hide unused icons option of the Windows System Tray, click on the double-arrow icon to expand the full list of icons.

  2. If you still do not see the V-Ray licensing service icon, that means that the V-Ray licensing service is started as a Windows service and in that case it cannot show any graphical user interface. There is currently no resolution for this; you need to manage the V-Ray license service from the Windows Control Panel > Administrative tools > Services applet.

Updating Dongles when the .rtu Files are not Associated Properly


Symptoms: 

WIBU-KEY drivers are properly installed, but double-click on the “.rtu” file doesn't update the dongle.

Cause:

The “.rtu” file is not associated properly with the WIBU-KEY drivers.

Resolution: 

Please, first try the steps from “The license service does not start because no dongle is found” in this section. If this doesn't help proceed with the steps below:

  1. Make sure that the dongle is plugged-in.

  2. In the Windows Control Panel locate the WibuKey management tool and run it:



  3. Now you need to start the Advanced Mode from the system menu by right-clicking onto the title bar. Go to the “WibuBox Update” tab.

  4. Click Browse, specify the “.rtu” file, and press Apply.

V-Ray RT GPU is Crashing


Symptoms: 

When rendering with V-Ray RT on CUDA/OpenCL, it crashes without showing a specific error message.

Cause:

The scene you are trying to render is too large and the Graphics card memory is insufficient.

Resolution:

You can try to reduce the scene size by reducing the polygon count or by using lower resolution textures. V-Ray RT has an option called “Resize textures for GPU” that you can use to automatically resize textures during rendering on the GPU.

Alternately you can upgrade your graphics device with one containing more memory.

V-Ray RT GPU is not Rendering


Symptoms: 

When rendering with V-Ray RT running in OpenCL mode, it takes too long for the render to begin and the “vray.exe” process is taking much memory.

Cause:

Your GPU drivers are unable to compile the OpenCL code needed to render the scene with your video card.

Resolution:

The best solution is to switch V-Ray RT to use CUDA.

Alternately you can try and find drivers for your graphics device that are capable of compiling the OpenCL code needed to run V-Ray RT on GPU. However the latest drivers are not always appropriate. This means that it may require some experimentation until you find the correct drivers.

WIBU-KEY Drivers Issues

Symptoms:

When installing the WIBU-KEY drivers you get the following error:

Symptoms:

When uninstalling the WIBU-KEY drivers you get the following error:

Symptoms:

When you plug-in the dongle or when you try to run V-Ray License Server you get one of the following errors:

or

Cause:

These errors are caused by the recently added Microsoft Update KB3004394 (added on December 2014 for Windows Root Certificate Program).  Affected operating systems are Windows 7 and higher. This update breaks the WIBU-KEY driver.
There is a workaround given by WIBU here: http://www.wibu.com/nc/faq-wibukey/question/single/on-installing-wibukey-the-error-211-is-returned-what-can-i-do-229.html

After you complete the steps given by WIBU follow the instructions below in order to repair your WIBU-KEY driver

1. Unplug all WIBU-KEY dongles from the PC

2. Go to Start > Control Panel > "Programs and Features" and uninstall the WIBU-KEY drivers by double clicking on WibuKey Setup (WibuKey Remove)

3. Follow the instructions of the Uninstaller

4. Open an Windows Explorer and in the address bar enter "%systemroot%\inf"

5. Find the file wibukeyPCMCIA.inf and delete it.

6. Search for a file named oem*.inf that contains the term "WIBU". To do that enter "WIBU" in the search bar and when the search is complete click on the "File Contents" button:

7. The search may take a while but in the end it should find a file named oem*.inf. Delete that file and the file with the same name but an extension PNF (eg. if you found a file named oem123.inf delete oem123.pnf)

8. In Windows Explorer in the address bar enter "%systemroot%\system32\drivers"

9. Find and delete all WibuKey*.sys files.

10. Click Windows Start and in the Search field type "regedit"

11. This will open the Registry Editor. Find and delete the following keys":

in "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services” if any of the folders "WIBUKEY", "WibuKey2" and "WibuKey2_64" exist, find them and delete them.

in "HKEY_LOCAL_MACHINE\SOFTWARE\" find and delete the folder "WIBU-SYSTEMS"

12. Restart the computer

13. After reboot please download the latest driver form the official WIBU Systems site, under "WibuKey for Users" section here http://www.wibu.com/downloads-user-software.html. Ensure that you have administrative rights.

14. Make sure that the dongle is NOT plugged in. Double click on the installation file and follow the instructions of the installer.

15. After the installation has finished plug in the dongle.

16. The "New Hardware found" dialog  will appear and install the new hardware automatically.

Mac OS X



In this section you can find some common issues that may arise when working with V-Ray for SketchUP. If you encounter a problem that is not listed here or cannot be solved with the suggested solutions, please email vraysketchup@chaosgroup.com

V-Ray Could not Obtain License


Here you can find the list of symptoms and their likely cause when V-Ray could not obtain the license. Please check the resolution part at the end of this section.

Symptoms: 

When attempting to render, the V-Ray Progress Window shows the message "error: Could not obtain a license (10061)" or "error: Could not obtain a license (111)" or "error: Could not obtain a license (61)"

Cause:

V-Ray could not connect to a working license server.

 

Symptoms:

When attempting to render, the V-Ray Progress Window shows the message "error: Could not obtain a license (-98)".

Cause:

V-Ray connected to a working license server but there are no licenses.

 

Symptoms:

When you start the V-Ray RT render server, there are no error messages in the V-Ray Progress Window, but when a job is sent to the V-Ray RT render server there is an error in the V-Ray Progress Window "Could not obtain a license (10061)."

Cause:

No access to the V-Ray license server.

 

Symptoms:

When you start the V-Ray RT render server, there are no error messages in the V-Ray Progress Window, but when a job is sent to the V-Ray RT render server, the error in the V-Ray Progress Window is "Could not obtain a license (-98)."

Cause:

No available license on the V-Ray license server.

 

Symptoms:

When you try to render with V-Ray Standalone, an error message appears in the V-Ray Progress Window: “Could not obtain a license (10061).”

Cause:

No access to the V-Ray license server.

 

Symptoms:

When you try to render with V-Ray Standalone, an error message appears in the console: “Could not obtain a license (-98).”

Cause:

No available license on the V-Ray license server.

 

Resolution: 

Please go through the check-list below:

  1. Checking the V-Ray license server:

    Please restart the machine with the V-Ray license server and dongle installed. Unplug the dongle and plug it again in a different USB port, preferably USB 2.0. Make sure that the operating system properly recognizes the dongle.Make sure that the V-Ray license service is running, if you have issues refer to V-Ray license server can't start” in this section. 

    Start the V-Ray license server

    Open the link http://127.0.0.1:30304 in a web browser on the same machine.

    This will open the V-Ray license server status web page. If it looks like the screenshot below, the license server is working.


  2. Checking the available licenses on the license server:
    After you
    ensuring the V-Ray license server is working, you need to check the available licenses. On the same machine, where the V-Ray license server is running, open the link

    http://127.0.0.1:30304/getstatus


    Please refer to
    “V-Ray license server status” in the Setting up your licenses” section for more information on the type of licenses you need to look for. If you do not see the V-Ray 3.0 licenses, this means that your dongle has to be reprogrammed as described in Dongle reprogramming”in the Setting up your licenses” section. If you don't see free licenses this means that all available licenses are in use and you can't have more concurrent users.

  3. Checking the connection to the license server:
    If V-Ray is on the same machine as the V-Ray license server, you can skip this step. To make sure that nothing is blocking the connection to the license server on the machine where you want to run V-Ray, open the link http://<IP_address>:30304 in a web browser, where <IP_address> is the IP address of the machine with the V-Ray license server. If you get a web page like the one below, V-Ray can access the V-Ray license server from this machine. In the example screenshot below the IP address of the machine with the license server is 10.0.0.160


    If you get an error message that the web page can't be accessed then there is a network problem that prevents the connection to the V-Ray license server. If you have any firewall or antivirus software running on your machines make sure they are not blocking applications' access to the network or blocking the communication on TCP/IP port 30304. Please contact your system administrator for more information. 

  4.  Checking that the license server settings are correct. In the Terminal run

     /Applications/ASGVIS/Dongle Utilities/setvrlservice -dump

    This will show you the IP address or the name of the computer that V-Ray is trying to connect to; If it's incorrect refer to V-Ray license settings change in V-Ray configuration section.

V-Ray License Server Can't Start


Symptoms: 

When you start the V-Ray license server it pops up and closes

Cause: 

This error message appears when the V-Ray license server cannot find a dongle attached to the machine.

Resolution:

Before you start, make sure that the dongle is plugged-in directly in the machine and try again. If it is still not working

  1. Make sure the dongle is NOT plugged-in.

  2. Uninstall the WIBU-KEY driver

  3. Restart your machine.

  4. Download and install the WIBU-KEY drivers corresponding to your OS from http://wibu.com/download_user.php.

  5. Attach the dongle to a USB port DIRECTLY on your machine, preferably a USB 2.0. Make sure that the operating system recognizes the dongle and doesn't show error messages. To verify that dongle is properly installed please go to the

    /Applications/WIBUKEY/WkConfig.app


 

 

 

 

 

General Issues during Rendering

My System Locks Up and Freezes While Rendering


This is most likely a hardware problem. V-Ray cannot cause system freeze by itself. The worst that V-Ray can do is crash SketchUp. Check your memory chips and/or your CPU temperature. If the crashes are limited to SketchUp only and not the OS or computer please see "Excessive memory usage while rendering" below.

Excessive Memory Usage While Rendering


Like every other program, V-Ray needs a certain amount of RAM to render the image. Depending on the scene complexity and the render settings, V-Ray will use varying amounts of RAM. Sometimes, the available system RAM may be less than the amount needed for rendering. In this case, you will most likely get an unhandled exception. You can check the memory usage from the Windows Task Manager.

On 32-bit machines, the Windows® operating system allows by default up to 1.5 GB for any single process (application). That means that even though you may have more physical RAM (for example 2GB), the operating system will not allow an application to use all of that memory.

However, on the Windows® XP operating system, you can change this by using the famous /3GB switch in your boot.ini file. This will enable the OS to allocate up to 3 GB of RAM for any given application. Using that switch may allow you to render your scene without using any of the methods below for reducing memory usage.

On 64-bit platforms, the 64-bit version of the Windows® operating system allows the usage of all available physical memory without limitations.

If you cannot use any of these methods to allow more RAM for rendering, the only choice is to reduce the amount that is needed by changing your scene and your V-Ray settings.The scene elements that take up most of the RAM while rendering can be divided into the following groups:

  • Bitmaps - these tend to take up large amounts of RAM, especially if the maps are large.
  • Image buffer - large output resolutions require a significant amount of RAM to store the final image. Additional G-Buffer channels increase that amount. There are several ways to reduce this amount:
    • Use the Render to V-Ray raw image file option and then use the V-Ray raw image file viewer to convert the resulting file to a different format.
    • Render the image in several different passes and stitch the pieces in a compositing program.
  • Image samplers (AA) - the image sampling algorithms of V-Ray require some amount of RAM to hold all the data for the sampled image. This amount can be quite large, depending on the chosen bucket size and sampling rate. To reduce that amount:
    • Reduce the bucket size.
    • Switch to a different image sampler - for example, the Adaptive DMC sampler uses less RAM than the Adaptive subdivision sampler.
  • Global illumination caches - irradiance maps, photon maps and light maps all require additional memory to store them. Each of these has different methods for controlling its memory usage:SketchUp scene - SketchUp itself stores a lot of information about the scene. V-Ray has no control over that memory, but you can adjust the quality of render meshes to reduce it.
    • For the irradiance map - the memory depends on the number of samples in the map; you can reduce this number by using lower Min/Max rate, and more loose threshold values (higher Color threshold, higher Normal threshold, lower Distance threshold).
    • For the photon map - the memory depends on the number of photons stored. You can reduce this number by reducing the Diffuse subdivs for the lights, or by increasing the Max. density.
    • For the light map - increase the Sample size.
  • Enable DR - If you have access to multiple computers you can take advantage of V-Ray's Distributed Rendering feature or DR to borrow power from other computers on the LAN to assist with rendering. DR is enabled in the options menu under the System rollout.

I get Splotches in my Rendering when Using the Irradiance Map


There may be several reasons for splotches when rendering with the irradiance map:

  • Isolated bright splotches - there may be different causes for these:
    • GI caustics - if you have reflective or refractive surfaces in your scene, especially if they are glossy, V-Ray may try to compute the GI caustics for these surfaces. Since caustics usually require a lot of sampling to get right, there may be splotches.
    • Incorrect or missing UVW coordinates - if some objects in your scene lack UVW coordinates, or the UVW coordinates fall outside the texture map, this can produce splotches or weird colors in the irradiance map. The solution would be to apply correct UVW coordinates to those objects.