cr1.8 and tilesortspu on Windows OS

<[email protected]> Wed, 25 May 2005 17:04:41 -0400
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>
Hi.

Maybe you are having the same problem that we have been experiencing.  I, also, have had problems using Chromium v1.8 with the tilesort spu.  I did eventually get it to work by removing compiler optimization setting in the "options.mk" file found in the chromium directory.  Change the optimization setting from 1 (compile with optimizations and no debug info) to 0.  I don't know if this is the same problem as you are experiencing, but it is worth a try.

After you change your "options.mk" file setting to 0, do a 'make clean' and a 'make'. 

See if that helps.

Alicia


---- "Jones wrote: 
> Hi,
> 
> What kind of error would this produce?  We're have some trouble with our
> Windows install of Chromium 1.8.  We have it installed on an SGI IRIX
> 6.5, and two Windows XP machines.  On the SGI if we do the 'python
> crdemo.conf atlantis' or 'python crdemo.conf atlantis tilesort' things
> work fine.  On the XP machines if we do 'python crdemo.conf atlantis'
> things work fine, but if we do 'python crdemo.conf atlantis tilesort',
> the GLUT frame and render frame comes up and then Windows pops up and
> says some memory can't be written to.
> 
> Is this a different problem? (hopefully a known one)  Here is the
> crdemo.conf file that was used:
> 
> # Copyright (c) 2001, Stanford University
> # All rights reserved
> #
> # See the file LICENSE.txt for information on redistributing this
> software.
> 
> import sys
> sys.path.append( '../server' )
> from mothership import *
> 
> if len(sys.argv) > 3 or len(sys.argv) < 2:
> 	print 'Usage: %s <demo> [spu]' % sys.argv[0] 
> 	sys.exit(-1)
> 
> demo = sys.argv[1]
> 
> if len(sys.argv) == 3:
> 	clientspuname = sys.argv[2]
> else:
> 	clientspuname = 'pack'
> 
> server_spu = SPU( 'render' )
> client_spu = SPU( clientspuname )
> 
> W = 500
> H = 500
> 
> server_spu.Conf( 'window_geometry', [0, 0, W, H] )
> server_spu.Conf( 'swap_master_url', "" )
> 
> server_node = CRNetworkNode( )
> server_node.AddSPU( server_spu )
> 
> if (clientspuname == 'tilesort' ):
> 	server_node.AddTile( 0, 0, W, H )
> 
> client_node = CRApplicationNode( )
> client_node.AddSPU( client_spu )
> client_spu.AddServer( server_node, 'tcpip' )
> 
> client_node.SetApplication( demo )
> client_node.StartDir( crbindir )
> 
> cr = CR()
> cr.MTU( 1024*1024 )
> cr.AddNode( client_node )
> cr.AddNode( server_node )
> cr.Go()
> 
> 
> 
> Thanks,
> Archie
> 
> 
> 
> 
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Brian
> Paul
> Sent: Wednesday, May 25, 2005 1:15 PM
> To: [email protected]
> Cc: [email protected]; [email protected];
> [email protected]
> Subject: Re: [Chromium-dev] Typo in renderspu_wgl.c
> 
> [email protected] wrote:
> > Hi all,
> > 
> > I think I've spotted a bug in renderspu_wgl.c near line 252 and line
> 270.
> > 
> > The bad code:
> > render_spu.ws.wglDescribePixelFormat( hdc, pixelformat, sizeof(ppfd), 
> > ppfd );
> > 
> > Better code:
> > render_spu.ws.wglDescribePixelFormat( hdc, pixelformat, sizeof(*ppfd),
> 
> > ppfd );
> > 
> > The error near line 270 is similar...
> > 
> > DescribePixelFormat expects the size of the pixelformat structure (~40
> 
> > bytes), not the size of the pointer (4 bytes)!
> 
> I've checked in the change.  Thanks.
> 
> -Brian
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: GoToMeeting - the easiest way to
> collaborate online with coworkers and clients while avoiding the high
> cost of travel and communications. There is no equipment to buy and you
> can meet as often as you want. Try it
> free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
> _______________________________________________
> Chromium-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/chromium-dev
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
> online with coworkers and clients while avoiding the high cost of travel and
> communications. There is no equipment to buy and you can meet as often as
> you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
> _______________________________________________
> Chromium-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/chromium-dev



-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click