WIBU-KEY Drivers Issues
When installing the WIBU-KEY drivers you get the following error:
When uninstalling the WIBU-KEY drivers you get the following error:
When you plug-in the dongle or when you try to run V-Ray License Server you get one of the following errors:
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.
For troubleshooting installation and licensing issues, please check the installation PDF guide.
If you experience any problems not discussed below while using V-Ray, please write to firstname.lastname@example.org .
This is most likely a hardware problem. V-Ray cannot cause system freeze by itself. The worst that V-Ray can do is crash Rhino. Check your memory chips and/or your CPU temperature. If the crashes are limited to Rhino only and not the OS or computer please see "Excessive memory usage while rendering" below.
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:
- Geometry - scenes with lots of objects and/or triangle counts require more memory to render. There are several ways to reduce this amount:
- 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: Rhino scene - Rhino 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.
There may be several reasons for splotches when rendering with the irradiance map:
- Regular noisy splotches - these are usually a result of insufficient Hemispheric subdivisions for the irradiance map. Usually they appear in difficult lighting situations when the default setting is too low. Examples of difficult lighting conditions are small bright sources of indirect light, hdri environments etc. You can avoid these splotches in several ways:
- If you are using Deterministic Monte Carlo GI for secondary GI bounces, try using another method - the light map or the photon map.
- Increase the Hemispheric subdivisions for the irradiance map. Note that the effect of the increased subdivisions depends also on the settings of the DMC Sampler.
- Decrease the Noise threshold of the DMC sampler.
- 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.