Start Cavepainting manually in the Cave
Cavepainting in the Cave involves coordination among a bunch of different machines. This article shows you HOWTO get everything running by issuing commands from the command line.
- Turn on tracking (VRPN) on serial
ssh cavedemo@serialcd /share/gfx/bin
Note that you don't want to go to $G!./vrpn_start.current- Leave this program running and open up a new terminal to do the following steps.
- Set up the displays on cs-nodes
ssh -Y cs-nodescd /vol/projects/cave-powerwall./setup_cave.sh./myframelock.sh- Note that this script might whine. Give it a long time to throw up errors; it eventually shows.
- If it stalls after displaying "cs-front", hit ctrl-C and see if it continues through the other machines and works.
- If it is taking especially long, hit ctrl-C a few times until you return to the prompt and try again. I'm not sure why this program is so nondeterministic.
- In the Nvidia config GUI program that pops up:
- Go to "Frame Lock" in the left-hand pane
- Make sure that cs-front has the "server" box checked and all others are "client"
- Hit the "Enable Frame Lock" button in the lower-right
- Once all the red "Timing" and "Stereo" lights along the right turn green, you can hit "Quit"
- Make sure that grexecd is running on the Windows machine in the corner to the right of the Cave and that there are no error messages or other weird things going on there.
- Run Cavepainting on wallconsole. You have three options, listed in increasing order of hassle and debuggability:
- Press the button on the kiosk webpage corresponding to your project.
- Run your personalized Cavepainting script directly:
ssh -Y cavedemo@wallconsole$G/bin/cave.cscluster.<some other junk that includes your username>
- Run the commands typically included in such a script manually:
ssh -Y cavedemo@wallconsole$G/bin/cave_display_csclusterssh -Y demo@cs-nodessetenv GROOT /ccvdisk2/dollar-g-cs137; source $GROOT/tools/gfxtools-startup-csh$G/bin/cavepainting-cave -c SaveBasePath=$G/data/cavepaintings/<user> -c LoadBasePath=$G/data/cavepaintings/<user> -c UserDataDir=$G/data/cavepaintings/<user>
- You should now see activity in a new terminal window on the Windows machine, then a big grey window on the Windows machine, and then Cavepainting should start in the Cave.
- If there are problems with the display, check out HOWTO Troubleshoot Cavepainting.
- Be sure to follow the Cavepainting user's guide, and especially to shut down properly by using the ESC key on the Windows machine.