Difference between revisions of "DCInstructions"

From Immersive Visualization Lab Wiki
Jump to: navigation, search
(Run Future Patient Demo)
 
(9 intermediate revisions by one user not shown)
Line 1: Line 1:
=Director's Collaboratory Instructions=
+
=DWall Instructions=
  
The following instructions are for running CalVR with the Future Patient demonstration on the 6x4 tiled display wall in the WAVE lab.
+
The following instructions are for running CalVR with the Future Patient demonstration on the 6x4 tiled display wall in the SME Building's WAVE lab.
 +
 
 +
==Display Mapping==
 +
 
 +
{| class="wikitable"
 +
|-
 +
|dwall-0-3.0
 +
|dwall-0-3.1
 +
|dwall-1-3.0
 +
|dwall-1-3.1
 +
|dwall-2-3.0
 +
|dwall-2-3.1
 +
|-
 +
|dwall-0-2.0
 +
|dwall-0-2.1
 +
|dwall-1-2.0
 +
|dwall-1-2.1
 +
|dwall-2-2.0
 +
|dwall-2-2.1
 +
|-
 +
|dwall-0-1.0
 +
|dwall-0-1.1
 +
|dwall-1-1.0
 +
|dwall-1-1.1
 +
|dwall-2-1.0
 +
|dwall-2-1.1
 +
|-
 +
|dwall-0-0.0
 +
|dwall-0-0.1
 +
|dwall-1-0.0
 +
|dwall-1-0.1
 +
|dwall-2-0.0
 +
|dwall-2-0.1
 +
|}
  
 
==Turn Displays On/Off==
 
==Turn Displays On/Off==
  
* Open terminal window on head node as user calvr.
+
* Log in to head node (67.58.52.98=dwallhead) as user calvr.
* Type "wall_on" on, "wall_off" for off.
+
* In terminal window type "wall_on" on, "wall_off" for off.
 +
 
 +
==Run Future Patient Demo==
 +
 
 +
* VRPN is needed to support the Gyromouse to control the green mouse cursor on the wall.
 +
** Make sure VRPN is running:
 +
** cd ~calvr
 +
** ./vrpn stop
 +
** ./vrpn start
 +
** VRPN needs to report "Init good."
 +
* Make sure FuturePatient plugin is on in config file (~calvr/CalVR/config/dwall.xml)
 +
* Make sure displays are in separate x display mode
 +
** Force with "sudo clustersep"
 +
* Run CalVR:
 +
** CalVR
 +
 
 +
==Other Commands==
 +
 
 +
* To use separate displays for x server: "sudo clustersep"
 +
* To set x server in Twinview mode: "sudo clustertwin"
 +
* To reboot display cluster: "sudo clusterreboot"
 +
* To shut down display cluster: "sudo tentakel shutdown -h now"
 +
 
 +
==Display Node xorg.conf==
 +
 
 +
<pre>
 +
Section "Device"
 +
    Identifier    "Device0"
 +
    Driver        "nvidia"
 +
    VendorName    "NVIDIA Corporation"
 +
    BoardName      "GeForce GTX 580"
 +
    BusID          "PCI:4:0:0"
 +
    Screen          0
 +
EndSection
 +
 
 +
Section "Device"
 +
    Identifier    "Device1"
 +
    Driver        "nvidia"
 +
    VendorName    "NVIDIA Corporation"
 +
    BoardName      "GeForce GTX 580"
 +
    BusID          "PCI:4:0:0"
 +
    Screen          1
 +
EndSection
 +
 
 +
Section "Screen"
 +
    Identifier    "Screen0"
 +
    Device        "Device0"
 +
    Monitor        "Monitor0"
 +
    DefaultDepth    24
 +
    Option        "Stereo" "0"
 +
    Option        "metamodes" "DFP-0: 1920x1080 +0+0; DFP-0: nvidia-auto-select
 +
+0+0; DFP-0: nvidia-auto-select +0+0; DFP-0: 1920x1080_50 +0+0; DFP-0: 1920x108
 +
0_60i +0+0; DFP-0: 1920x1080_50i +0+0; DFP-0: 1680x1050 +0+0; DFP-0: 1440x900 +0
 +
+0; DFP-0: 1400x1050 +0+0; DFP-0: 1280x1024 +0+0; DFP-0: 1280x1024_60 +0+0; DFP-
 +
0: 1280x960 +0+0; DFP-0: 1280x800 +0+0; DFP-0: 1280x720 +0+0; DFP-0: 1280x720_50
 +
+0+0; DFP-0: 1024x768 +0+0; DFP-0: 800x600 +0+0; DFP-0: 640x480 +0+0"
 +
    SubSection    "Display"
 +
        Depth      24
 +
    EndSubSection
 +
EndSection
 +
 
 +
Section "Screen"
 +
    Identifier    "Screen1"
 +
    Device        "Device1"
 +
    Monitor        "Monitor1"
 +
    DefaultDepth    24
 +
    Option        "Stereo" "0"
 +
    Option        "metamodes" "DFP-2: 1920x1080 +0+0; DFP-2: 1920x1080 +0+0"
 +
    SubSection    "Display"
 +
        Depth      24
 +
    EndSubSection
 +
EndSection
 +
</pre>
 +
 
 +
==CalVR Config File==
 +
 
 +
* Main config file is ~calvr/CalVR/config/dwall.xml
 +
** This file includes dwall-screens-1920.xml
 +
* Display node configuration (example for dwall-0-0):
 +
<pre>
 +
  <LOCAL host="dwall-0-0.local" >
 +
    <NumPipes value="2" />
 +
    <NumScreens value="2" />
 +
    <NumWindows value="2" />
  
==Run CalVR==
+
    <PipeConfig>
 +
      <Pipe server="0" screen="0" name="0" />
 +
      <Pipe server="0" screen="1" name="1" />
 +
    </PipeConfig>
  
* In main menu, click on "Applications" button.
+
    <ChannelConfig>
* Click on "CalVR (Director's Collaboratory)" button to open the [[Media:calvr-menu.jpg|CalVR menu]].
+
      <Channel width="1920" height="1080" left="0" bottom="0" comment="MAIN" stereoMode="MONO"  windowIndex="0"  name="0"  />
* Click "Enable CalVR X Mode".
+
      <Channel width="1920" height="1080" left="0" bottom="0" comment="MAIN" stereoMode="MONO"  windowIndex="1"  name="1"  />
* Wait until all screens show the Calit2 logo.
+
    </ChannelConfig>
* Click "CalVR ON".
+
* Two options to control the Future Patient application:
+
** Open the control panel by clicking on "Future Patient Console" in the CalVR menu.
+
** Open the control panel on a cell phone or tablet by browsing to [http://vrremote.calit2.net http://vrremote.calit2.net].
+
** Log in as user "calit2".
+
  
==Shut Down==
+
    <WindowConfig>
 +
      <Window width="1920" comment="FRONT" pipeIndex="0" height="1080" left="0" bottom="0" name="0" decoration="false" />
 +
      <Window width="1920" comment="FRONT" pipeIndex="1" height="1080" left="0" bottom="0" name="1" decoration="false" />
 +
    </WindowConfig>
  
* In [[Media:calvr-menu.jpg|CalVR (Director's Collaboratory) menu]], click on "CalVR OFF".
+
    <ScreenConfig>
* In [[Media:display-menu.jpg|Displays menu]], click on "Turn Wall OFF".
+
      <Screen width="1019" comment="FRONT" h="0.0" originX="-2568" originY="0" originZ="-864" height="568" p="0.0" r="0.0" name="0" />
 +
      <Screen width="1019" comment="FRONT" h="0.0" originX="-1541" originY="0" originZ="-864" height="568" p="0.0" r="0.0" name="1" />
 +
    </ScreenConfig>
 +
  </LOCAL>
 +
</pre>

Latest revision as of 16:24, 6 December 2014

Contents

DWall Instructions

The following instructions are for running CalVR with the Future Patient demonstration on the 6x4 tiled display wall in the SME Building's WAVE lab.

Display Mapping

dwall-0-3.0 dwall-0-3.1 dwall-1-3.0 dwall-1-3.1 dwall-2-3.0 dwall-2-3.1
dwall-0-2.0 dwall-0-2.1 dwall-1-2.0 dwall-1-2.1 dwall-2-2.0 dwall-2-2.1
dwall-0-1.0 dwall-0-1.1 dwall-1-1.0 dwall-1-1.1 dwall-2-1.0 dwall-2-1.1
dwall-0-0.0 dwall-0-0.1 dwall-1-0.0 dwall-1-0.1 dwall-2-0.0 dwall-2-0.1

Turn Displays On/Off

  • Log in to head node (67.58.52.98=dwallhead) as user calvr.
  • In terminal window type "wall_on" on, "wall_off" for off.

Run Future Patient Demo

  • VRPN is needed to support the Gyromouse to control the green mouse cursor on the wall.
    • Make sure VRPN is running:
    • cd ~calvr
    • ./vrpn stop
    • ./vrpn start
    • VRPN needs to report "Init good."
  • Make sure FuturePatient plugin is on in config file (~calvr/CalVR/config/dwall.xml)
  • Make sure displays are in separate x display mode
    • Force with "sudo clustersep"
  • Run CalVR:
    • CalVR

Other Commands

  • To use separate displays for x server: "sudo clustersep"
  • To set x server in Twinview mode: "sudo clustertwin"
  • To reboot display cluster: "sudo clusterreboot"
  • To shut down display cluster: "sudo tentakel shutdown -h now"

Display Node xorg.conf

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 580"
    BusID          "PCI:4:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 580"
    BusID          "PCI:4:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DFP-0: 1920x1080 +0+0; DFP-0: nvidia-auto-select
 +0+0; DFP-0: nvidia-auto-select +0+0; DFP-0: 1920x1080_50 +0+0; DFP-0: 1920x108
0_60i +0+0; DFP-0: 1920x1080_50i +0+0; DFP-0: 1680x1050 +0+0; DFP-0: 1440x900 +0
+0; DFP-0: 1400x1050 +0+0; DFP-0: 1280x1024 +0+0; DFP-0: 1280x1024_60 +0+0; DFP-
0: 1280x960 +0+0; DFP-0: 1280x800 +0+0; DFP-0: 1280x720 +0+0; DFP-0: 1280x720_50
 +0+0; DFP-0: 1024x768 +0+0; DFP-0: 800x600 +0+0; DFP-0: 640x480 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DFP-2: 1920x1080 +0+0; DFP-2: 1920x1080 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

CalVR Config File

  • Main config file is ~calvr/CalVR/config/dwall.xml
    • This file includes dwall-screens-1920.xml
  • Display node configuration (example for dwall-0-0):
  <LOCAL host="dwall-0-0.local" >
    <NumPipes value="2" />
    <NumScreens value="2" />
    <NumWindows value="2" />

    <PipeConfig>
      <Pipe server="0" screen="0" name="0" />
      <Pipe server="0" screen="1" name="1" />
    </PipeConfig>

    <ChannelConfig>
      <Channel width="1920" height="1080" left="0" bottom="0" comment="MAIN" stereoMode="MONO"  windowIndex="0"  name="0"  />
      <Channel width="1920" height="1080" left="0" bottom="0" comment="MAIN" stereoMode="MONO"  windowIndex="1"  name="1"  />
    </ChannelConfig>

    <WindowConfig>
      <Window width="1920" comment="FRONT" pipeIndex="0" height="1080" left="0" bottom="0" name="0" decoration="false" />
      <Window width="1920" comment="FRONT" pipeIndex="1" height="1080" left="0" bottom="0" name="1" decoration="false" />
    </WindowConfig>

    <ScreenConfig>
      <Screen width="1019" comment="FRONT" h="0.0" originX="-2568" originY="0" originZ="-864" height="568" p="0.0" r="0.0" name="0" />
      <Screen width="1019" comment="FRONT" h="0.0" originX="-1541" originY="0" originZ="-864" height="568" p="0.0" r="0.0" name="1" />
    </ScreenConfig>
  </LOCAL>