Installing multiple versions of Vray....

How do I stop vray uninstalling old versions of itself when installing newer nightly builds or stable versions?

During installation it gives you the option to either uninstall the previous version or abort the installing. I don’t know how we did it before but until this point we’ve successfully maintained several different versions fine…

On Fedora 12

Cheers
Martin

Let the uninstaller start, and then cancel it. For the next SP, we will be providing a .zip archive with all the necessary files, so this will be a lot easier.

Best regards,
Vlado

I don’t see how thats possible, its all command line… If I type ok at the uninstall prompt it just goes straight into deleting all the old files with no option to stop.

The problem is I can kind of get round this by always installing vray to my /tmp/ directory and then copy the files manually to the correct network location for them to be picked up by our wrapper, but then the RT renderer won’t work (the vray stand-alone console doesn’t load when I click the IRP button). If I provide the correct network path during the installation, the RT renderer works, but then i’m always uninstalling the previous version.

MartinB:
Probably the vray and vray-terminal wrapper scripts are not correct, because they use full paths.
You’ll have to modify them to use some kind of `pwd` scripts trickery.

/Teodor

Cheers Teodor,

RT is all working again now i’ve edited the vray and vray-terminal wrapper. Strangely it doesn’t lauch the vray-standalone console like it used to, but RT still works…

Can you post the log from Maya? (you have to start Maya from a terminal)

This is with a clean maya scene, create a sphere and a vray rect light and click IPR button. And the vray frame buffer is updating as expected when I move the sphere around or change attributes.

I just remember a separate ‘v-ray standalone’ window launching when I used RT previously. I don’t think it matters as it just used to scroll the below information into that window instead of my Linux console.

 Using maya project :    [ /work/training/lib/users/****** ]
 Using RMS version :     [ 3.0.2 ]
 Using Vray version :    [ 2.10.01-20120126_stable ]
 Loading maya version :  [ 2011 - Unlimited ]

Fri Jan 27 12:20:53 2012 - [2012/Jan/27|12:21:00] V-Ray: V-Ray for Maya version 2.10.01, revision 18908 from Jan 26 2012, 10:08:03        
Fri Jan 27 12:21:00 2012 - [2012/Jan/27|12:21:00] V-Ray: V-Ray core version is 2.00.01                                                    
Fri Jan 27 12:21:00 2012 -                                                                                                                
Fri Jan 27 12:21:27 2012 - V-Ray: Starting render                                                                                         
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray: Loading plugins from "/work/studio/bin/Linux/x86_64/apps/chaosgroup/vray2.10.01-20120126_stable/vrayForMaya2011-x64/vray/vrayplugins/libvray_*.so"
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray: 103 plugin(s) loaded successfully
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray: Finished loading plugins.
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray: Exporting scene to V-Ray.
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray: Parsing light links time  0h  0m  0.0s (0.0 s)
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray: Translating scene geometry for V-Ray
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray: Total time translating scene for V-Ray  0h  0m  0.2s (0.2 s)
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray: Rendering with IPR (port 20207).
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray: Updating frame at time 1.00
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray: Total time updating frame  0h  0m  0.2s (0.2 s)
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray: Render complete
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray: ========================
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray warning: [SettingsPNG] No image writer specified.
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray warning: [SettingsJPEG] No image writer specified.
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray warning: [SettingsSGI] No image writer specified.
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray warning: [SettingsTIFF] No image writer specified.
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray warning: [SettingsTGA] No image writer specified.
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray warning: [SettingsEXR] No image writer specified.
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray: Preparing renderer...
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray: Preparing scene for rendering...
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray: dr host: 127.0.0.1
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray: Connected to render host 127.0.0.1:20207
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray: Using 1 hosts for distributed rendering.
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray: Preparing scene for frame...
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray warning: Scene is empty.
Fri Jan 27 12:21:27 2012 - [2012/Jan/27|12:21:27] V-Ray: Running RTEngine

Hm, what happens if you run ./vrayterminal “sleep 100000” ?

The VRay Standalone console launches with the above command, but I have to run it from /vray/bin/ directory. I think an environment var might be wrong our side, or I didn’t edit all the wrappers properly. Its pointed me in the right direction at least


Trying to start gnome-terminal
./vrayterminal: line 12: gnome-terminal: command not found
gnome-terminal not found!
Trying to start xterm