Re: Cannot display on app node with image reassembly template

Brian Paul <[email protected]>
Newsgroups gmane.comp.graphics.chromium.user
Message-ID <[email protected]>
Eric Sandall wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wed, 24 May 2006, Brian Paul wrote:
> 
>> Eric Sandall wrote:
>>
>>> I used configtool.py to setup an Image Reassembly template (modified
>>> to use ssh instead of rsh). When I run my config (vrcim-cluster.conf)
>>> a render window appears on all of the render nodes (slave1 through
>>> slave4) with part of the blue screen (trying to run `atlantis`)
>>> displayed. The app node (vr-master) has a "GLUT Atlantis Demo" window
>>> open, but does not seem to display the Atlantis window that I see when
>>> running `python crdemo.conf atlantis` (which works). The render
>>> windows on the slaves is static (solid blue, no whales).
>>>
>>> Any ideas? I've attached my options.mk that I used to compile chromium
>>> 1.8 and my vrcim-cluster.conf.
>>>
>>> In case it matters (perhaps I'm using the wrong template ;)) I am
>>> trying to use the slaves to do the 'work' of rendering, but have it
>>> display on the master (which can also do the work, but is not
>>> currently setup to do that with this configuration, AFAIK).
>>
>>
>> Two quick suggestions:
>>
>> 1. Does the reassemble.conf example work for you?
> 
> 
> Yes, if I modify it for my setup it will show render windows on all 4
> slaves and properly display on the master node.
> 
> Note that if a screensaver is running on a slave node then the
> appropriate tile on the master node will be blank. ;)
> 
>> 2. Could you try the latest Chromium 1.9 release candidate?
>> http://chromium.sf.net/beta


The following patch was made in Cr 1.9 which might solve your problem:

Index: reassembly_template.py
===================================================================
RCS file: /cvsroot/chromium/cr/mothership/tools/reassembly_template.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- reassembly_template.py	23 Sep 2004 17:55:34 -0000	1.12
+++ reassembly_template.py	5 May 2006 21:40:42 -0000	1.13
@@ -381,6 +381,7 @@

  if REASSEMBLY:
  	reassembleNode = CRNetworkNode(REASSEMBLE_HOST)
+	reassembleNode.Conf('shared_windows', 1)
  	reassembleSPU = SPU('render')
  	reassembleNode.AddSPU(reassembleSPU)
  	for (name, value) in REASSEMBLE_OPTIONS:



> reassemble.conf runs fine (ServerHosts='slave') on slave1 and slave2
> while displaying on vr-master (once the screensavers were turned off,
> anyways ;)).
> 
> I generated a new vrcim-cluster.conf with configtool.py. A few notes:
> * There should be an option to specify the connection command (e.g.
>   rsh or ssh)
> * AUTO_START_APPS: explicitly uses /usr/local/bin/bin rather than
>   crbindir
>   e.g.:
>         if AUTO_START_APPS:
>             clientnode.AutoStart( ["/bin/sh", "-c",
>                     "LD_LIBRARY_PATH=%s /usr/local/bin/crappfaker" %
> crlibdir] )
> 
> Should be:
>         if AUTO_START_APPS:
>             clientnode.AutoStart( ["/bin/sh", "-c",
>                     "LD_LIBRARY_PATH=%s %s/crappfaker" %
> (crlibdir, crbindir) ] )
> 
> I have been manually changing these in my generated config files
> (including the attached).

If you want to add some new options to the config tool to do these 
things that'd be great.  I don't really have any time to do it myself.

-Brian


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.