Hi all,
I would like to ask for some help on configuring Chromium for a tiled
display. Our tiled display has totally 20 panels (5x4) connected to 10 PCs,
in which each PC drives two 1920x1080 panels (vertically stacked). Is there
a template file for this kind of configuration? I looked into "wall.conf"
and changed it into a conf file with 10 nodes. I tried to change the
viewport of each node (by considering the width and height of seams between
the panels), but didn't get good results. The images are not geometrically
aligned. Do I need to go for a nested approach: create a 5x2 tile for the 10
PCs and then create a 2x1 tile on each PC? I tried to understand the
"multitilesort.conf", but couldn't quite understand it.
My configuration file is as follows:
...
TILE_COLS = 5
TILE_ROWS = 2
ACTUAL_COLS=TILE_COLS
ACTUAL_ROWS=TILE_ROWS
TILE_WIDTH = 1920
TILE_WIDTH_DELTA = 83 # the width of seam
TILE_HEIGHT = 2160
TILE_HEIGHT_DELTA = 2*83 # the height of seam
tilesortspu = SPU( 'tilesort' )
tilesortspu.Conf( 'bucket_mode', 'Uniform Grid')
tilesortspu.Conf( 'fake_window_dims', [256, 256])
clientnode = CRApplicationNode( 'wall' )
clientnode.ClientDLL( os.path.join(crlibdir,'libcrfaker.so') )
clientnode.SPUDir( crlibdir )
clientnode.SetApplication( sys.argv[1] )
clientnode.AddSPU( SPU( 'array' ))
clientnode.Conf( 'show_cursor', 1)
clientnode.AddSPU( tilesortspu )
for row in range(TILE_ROWS):
for col in range(TILE_COLS):
machine = (TILE_ROWS-row-1)+1+col*TILE_ROWS
x = col*(TILE_WIDTH+TILE_WIDTH_DELTA)
y = row*(TILE_HEIGHT+TILE_HEIGHT_DELTA)
print "x=",x,"y=",y,"machine",machine
node = CRNetworkNode( 'wall%d-10' % machine )
node.AddTile( x, y, TILE_WIDTH, TILE_HEIGHT )
renderspu = SPU( 'render' )
renderspu.Conf( 'window_geometry', [0, 0, TILE_WIDTH, TILE_HEIGHT] )
renderspu.Conf('fullscreen', 1)
renderspu.Conf('show_cursor', 1)
node.AddSPU( renderspu )
node.SPUDir( crlibdir )
cr.AddNode( node )
...
I would really appreciate any help from you guys. Thank you very much.
Best regards,
Chang Yuan
|