CR and DMX not working correctly

"Volz, Bill (WRVO) (Bill.Volz)" <[email protected]>
Newsgroups gmane.comp.graphics.chromium.user,gmane.comp.graphics.chromium.devel
Message-ID <5A4AB6EA1F66464EA8C427B72B10B5B00272C6C0@bocnte2k2.boc.chevrontexaco.net>
I trying to get CR working on DMX. I have DMX working and compiled CR
(version 1.7) for DMX.

Symptom: not all tiles show the OpenGL output:

Hardware: 6 dual AMD node, 8 GB Ram, FX3000 graphics. Each node displays
to left and right LCD panels, each at 1280 x 1024. They are arranged in
an array of 3 rows of 4 LCD's. The video output is as follows:
 n2-L n2-R n5-L n5-R
 n1-L n1-R n4-L n4-R
 n0-L n0-R n3-L n3-R
Where 'n#' is node name (houbl40#, # = [0-5]) and L and R are the left
and right channels.

I modified the dmx.conf file for my area - it is attached.
 <<wrv_dmx.conf>> 

The relevant portion of the DMX setup is:
virtual big {
  display houbl402:0 2560x1024 @0x0;
  display houbl401:0 2560x1024 @0x1024;
  display houbl400:0 2560x1024 @0x2048;
  display houbl405:0 2560x1024 @2560x0;
  display houbl404:0 2560x1024 @2560x1024;
  display houbl403:0 2560x1024 @2560x2048;
  option +xinerama -fontpath /usr/X11R6/lib/X11/fonts/misc -fontpath
/usr/X11R6/lib/X11/fonts/100dpi -fontpath /usr/X11R6/lib/X11/fonts/75dpi
; }

I followed the directions  for manually running chromium from the web
page. I'm running the 'city' demo. 

Here's what I'm seeing:

For a window about 600x600, displays correctly only in the middle row of
displays. Nothing is displayed in the others. So the output on houbl401
and 404 are ok. For the other displays, I get the following warning:

CR Warning(houbl400:26244): Total output dimensions = (5120, 3072) 
CR Warning(houbl400:26244): render SPU's render_to_app_window option is
set but the application window ID 0x5400002 is invalid on the display
named houbl400:0.0 
This is repeated for houbl402 and houbl403. For houbl405, I don't get a
warning, but I do get a black screeen. I do not get these warning on the
two that are working.

I also get this when I run crappfaker:

CR Warning(houbl400:26251): Total output dimensions = (5120, 3072) 
CR Warning(houbl400:26251): Tilesort bucket_mode = Non-Uniform Grid, but
tiles don't form a non-uniform grid! Falling back to Test All Tiles
mode. 
I looked for the GL_CR_dmx extension and cannot find it.

When I resize the window to cover all the outputs, I get essentially the
same thing - the middle row is rendering correctly. One additional
observation is that whats rendering in the upper right two display is
what should be in the lower right two displays. The upper and lower left
two display are garbage.
I also tried tiletest, but all I got was a garbage window or black. It
indicated that it drew 0 triangles and that can't be correct. I never
got anything to display correctly for tiletest.
Also, I am looking at the autodmx.conf and it refers to a 'crsite' file
but that doesn't seem to exist and doesn't indicate how to set it up. Is
this the same as the crconfigs referred to in the docs page?
Thanks in advance for you help,


> William R Volz,  Senior Research Geophysicist
> 
> ChevronTexaco 
> Energy Technology Company
> Subsurface Characterization Business Line
> Interpretation Product Development & Support
> 4800 Fournace Place, Bellaire, TX, 77401
> Tel 713 432 6666  Fax 713 432 2536
> 
> <mailto:[email protected]>
> This message may contain confidential information that is proprietary
> to ChevronTexaco and is intended only for the use of the parties to
> whom it is addressed. If you are not an intended recipient, you are
> hereby notified that any disclosure, copying, distribution or use of
> any information in this message is strictly prohibited. If you have
> received this message in error, please notify me immediately at the
> telephone number noted above.
> 
>
wrv_dmx.conf (application/octet-stream, 1.8 KB)
# Copyright (c) 2001, Stanford University
# All rights reserved
#
# See the file LICENSE.txt for information on redistributing this software.

# This configuration file is an example of what would be used to run
# Chromium on a DMX systems.

import sys
sys.path.append( "../server" )
from mothership import *

if len(sys.argv) > 1:
	demo = sys.argv[1]
else:
	demo = 'atlantis'

cr = CR()
cr.MTU( 10*1024*1024 )

# Fix these:
TILE_COLS = 2
TILE_ROWS = 3
HOSTS = ['houbl400', 'houbl401', 'houbl402', 'houbl403', 'houbl404', 'houbl405']


# These values don't really matter!
TILE_WIDTH = 2560
TILE_HEIGHT = 1024

tilesortspu = SPU('tilesort')
tilesortspu.Conf('use_dmx', 1)
tilesortspu.Conf('retile_on_resize', 1)  # the default
tilesortspu.Conf('bucket_mode', 'Non-Uniform Grid')
tilesortspu.Conf('draw_bbox', 0)
tilesortspu.Conf('scale_images', 0)

clientnode = CRApplicationNode( )
clientnode.StartDir( crbindir )
clientnode.SetApplication( demo )
clientnode.AddSPU( tilesortspu )
clientnode.Conf('track_window_size', 1)
clientnode.Conf('track_window_position', 1)

for row in range(TILE_ROWS):
	for col in range(TILE_COLS):
		n = row * TILE_COLS + col

		renderspu = SPU( 'render' )
		renderspu.Conf('display_string', HOSTS[n] + ":0")
		renderspu.Conf('render_to_app_window', 1)
		renderspu.Conf( 'window_geometry', [col*TILE_WIDTH, row*TILE_HEIGHT, TILE_WIDTH, TILE_HEIGHT] )

		servernode = CRNetworkNode( HOSTS[n] )
		servernode.AddTile( col*TILE_WIDTH, (TILE_ROWS-row-1)*TILE_HEIGHT, TILE_WIDTH, TILE_HEIGHT )

		servernode.AddSPU( renderspu )
		# optimize_bucket is of no use w/ DMX.
		servernode.Conf('optimize_bucket', 0)
		servernode.Conf('use_dmx', 1)
		cr.AddNode( servernode )

		tilesortspu.AddServer( servernode, protocol='tcpip', port=7000 + n )


cr.AddNode( clientnode )
cr.Go()
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.