News | People | Our Github

Configuring Chromium

 

Before running Chromium, we must make a config file which will allow us to run demos on the tiled display wall.

Change to the directory cr-X.Y/mothership/configs/. There are several example config files here, all of which are written in python. We will backup and modify the one which best fits our needs, wall.conf, as test_wall.conf.

Note: python is sensetive to indention, so try to retain the conf files format.

This configuration file can be downloaded here: test_wall.conf

Step 1: Copy wall.conf.
 cp wall.conf test_wall.conf
Now we will modify test_wall.conf

Step 2: Change the number of ROWS and COLS (3x3 display wall).

 TILE_COLS = 3
TILE_ROWS = 3
 ACTUAL_COLS=3
ACTUAL_ROWS=3

Step 3: Set screen resolution. Each screen in the wall runs at 1280x1024.

 TILE_WIDTH = 1280
TILE_HEIGHT = 1024

Step 4: Create array with each screen's client and location.

The first number is the number for the boba machine which the monitor is connected to (eg boba231).

TILES = [ (231,    0, 2048 ),
          (211, 1280, 2048 ),
          (121, 2560, 2048 ),
          (141,    0, 1024 ),
          (131, 1280, 1024 ),
          (111, 2560, 1024 ),
          (232,    0, 0 ),
          (212, 1280, 0 ),
          (122, 2560, 0 ),
]

Step 5: Disable bounding boxes.

Comment out the following lines with '#' to disable bounding boxes.

 tilesortspu.Conf( 'draw_bbox', 1 )
tilesortspu.Conf( 'bbox_line_width', 25 )

Step 6: Setup head machine and boba nodes.

Set the application node to be our head node: boba142

 clientnode = CRApplicationNode( 'boba142' )
Change the network nodes to be boba machines.
 node = CRNetworkNode( 'boba%d' % machine )

All done. Now this configuration script may be used to run a demo fullscreen using all 9 displays.