|
From: Morris B. <mo...@av...> - 2006-12-21 23:59:57
|
Hi, I've just started working with CR this week, so I'm sure this is something dumb, but I haven't been able to figure it out. I got the crdemo.config working fine. My aim is to have a tiled display on one machine with one tile on each of the two outputs on my video card (quadro FX 1500). I have my xorg.conf file set up to have two separate X screens. I've also tried it with twinview enabled just in case. The 'display_string' attribute seemed to have no effect before I commented it out. I had thought the display_string would send it to one video output or the other. I'm running cr1.9 on Mandriva 2007 64bit, Athlon X2. With the config file below, I get no errors, but nothing renders (no windows open) and the fps line never shows up in the console. When I comment out everything related to server2, everything runs as expected, with an empty app window and a single atlantis window. I was expecting two atlantis windows with the second server in use. Any help is appreciated. thanks, morris # All rights reserved # # See the file LICENSE.txt for information on redistributing this software. import sys sys.path.append( '../server' ) from mothership import * demo = 'atlantis' clientspuname = 'tilesort' server1_spu = SPU( 'render' ) server2_spu = SPU( 'render' ) client_spu = SPU( clientspuname ) W = 500 H = 500 server1_spu.Conf( 'window_geometry', [50, 50, W, H] ) #server1_spu.Conf( 'display_string', ':0' ) server2_spu.Conf( 'window_geometry', [600, 50, W, H] ) #server2_spu.Conf( 'display_string', ':1' ) server1_node = CRNetworkNode( 'localhost' ) server2_node = CRNetworkNode( 'localhost' ) server1_node.AddSPU( server1_spu ) server2_node.AddSPU( server2_spu ) server1_node.AddTile( 0, 0, W, H ) server2_node.AddTile( 500, 0, W, H ) client_node = CRApplicationNode( ) client_node.AddSPU( client_spu ) client_spu.AddServer( server1_node, protocol='tcpip', port=7000 ) client_spu.AddServer( server2_node, protocol='tcpip', port=7001 ) client_node.SetApplication( demo ) client_node.StartDir( crbindir ) cr = CR() cr.MTU( 1024*1024 ) cr.AddNode( client_node ) cr.AddNode( server1_node ) cr.AddNode( server2_node ) cr.Go() |