Difference between revisions of "User:Cehughes"

From Immersive Visualization Lab Wiki
Jump to: navigation, search
(Joystick)
Line 44: Line 44:
  
 
==Installing/Updating libcollider==
 
==Installing/Updating libcollider==
 +
* Get the code by running
 +
  git clone https://github.com/libCollider/libcollider.git libcollider
 +
 +
* Compile:
 +
  cd libcollider
 +
  make
 +
  sudo make install
 +
 +
* However this will only install it locally in /usr/lib and /usr/include, not on all the cluster nodes.  To install it to the extern_libs, edit the Makefile to change
 +
  INSTALL_LIB_DIR to /opti/extern_libs/el6/lib/
 +
  INSTALL_INCLUDE_DIR to /opti/extern_libs/el6/include/
 +
then run:
 +
  make install
 +
 +
* Make sure the plugins link to the newly installed version by changing the COLLIDER_DIR variables in cmake.
  
 
==Projects==
 
==Projects==

Revision as of 14:51, 26 June 2013

Contents

Starting the NexCAVE

  • make sure you have door access
  • check calendar for demos at http://reservations.calit2.net/BrowseForSpace.aspx
  • turn on 3 power strips under center screens
  • if already logged in, System -> Log off
  • log in with user credentials provided (account: neuro)
  • open a terminal
  • run "gedit mycalvr.xml &"
  • make sure the desired plugins are set to "on" in the .xml file (save if you make any changes)
  • run "CalVR"

Leaving the NexCAVE

  • turn off all the screens
  • log out
  • close both doors

Troubleshooting

  • if a node hangs on a black screen after exiting CalVR, run tentakel killall -9 CalVR
  • if a specific node dies, run ssh nexcave-X-X (numbers from the map on the wall) reboot
  • if a node still dies, find Philip/Andrew/Joe/Jurgen to hard reboot the server in the server room
  • When you start CalVR, if it starts asking for passwords, just keep hitting return until it dies. You should see a "Gnome Keyring has crashed" notification. Wait a minute, then start CalVR again.

Joystick

  • If the joystick does not work, first make sure it is plugged in.
  • If the joystick still does not work, run the following commands:
 cd /home/neuro/CalVR/applications/vrpn_libusb_general
 /home/neuro/CalVR/bin/libusb_general_server vrpn.xml &
  • If it then complains about libusb couldn't open USB device /dev/bus/usb/XXX/XXX: Permission denied, run:
 sudo chmod a+rw /dev/bus/usb/XXX/XXX (or get someone with sudo privileges to run it for you)

then run:

 cd /home/neuro/CalVR/applications/vrpn_libusb_general
 /home/neuro/CalVR/bin/libusb_general_server vrpn.xml &

again.

  • It will say "Init good." when it has initialized correctly.

Developer notes

Be sure CalVR has been compiled recently, with the VRPN options in cmake enabled. On the nexcave, be sure to link against the extern_libs that are located in /opti/extern_libs/el6.

Also set CalVR to compile against the libusb version in /opti/extern_libs/el6. If it compiles against another version, it will segfault in libusb's call to get_device_list.

Installing/Updating libcollider

  • Get the code by running
 git clone https://github.com/libCollider/libcollider.git libcollider
  • Compile:
 cd libcollider
 make
 sudo make install
  • However this will only install it locally in /usr/lib and /usr/include, not on all the cluster nodes. To install it to the extern_libs, edit the Makefile to change
 INSTALL_LIB_DIR to /opti/extern_libs/el6/lib/
 INSTALL_INCLUDE_DIR to /opti/extern_libs/el6/include/

then run:

 make install
  • Make sure the plugins link to the newly installed version by changing the COLLIDER_DIR variables in cmake.

Projects