AW: AW: Problems with tilesort SPU
Décosterd Gaël <[email protected]>
| Newsgroups | gmane.comp.graphics.chromium.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, I made the changes (your mail below). Now I have an other error :( But is seems to make crash java differently. --> Mother ship no problem --> crserver --> connexion reset after crappfaker died ######## CRAPPFAKER --> RELEASE = 0 ########################### ............. CR Debug(graphic1:0): Tilesort SPU: ---------- End of Init ------------- CR Debug(graphic1:0): Initializing error SPU CR Debug(graphic1:0): Initializing passthrough SPU CR Debug(graphic1:0): Initializing print SPU CR Warning(graphic1:0): Couldn't find the CRMOTHERSHIP environment variable, def aulting to localhost CR Debug(graphic1:0): In crNetConnectToServer( "localhost", port=10000, mtu=8096 , broker=0 ) CR Debug(graphic1:0): Connecting to graphic1 on port 10000, with protocol tcpip CR Debug(graphic1:0): Done connecting to localhost (swapping=0) CR Debug(graphic1:0): Looking for the system's OpenGL library... CR Debug(graphic1:0): Found it in default path. CR Debug(graphic1:0): Tilesort SPU: CreateContext(704709390, 0x2f) CR Debug(graphic1:0): Tilesort SPU: HDC = 704709390 CR Debug(graphic1:0): Buffer pool 031422D0 was empty; allocated new 2068 byte bu ffer. CR Warning(graphic1:0): crPackReleaseBuffer called with no current buffer CR Debug(graphic1:0): Tilesort SPU: CreateContext(-1308555569, 0x2f) CR Debug(graphic1:0): Tilesort SPU: HDC = -1308555569 CR Error(graphic1:0): Assertion failed: crPackCanHoldOpcode( 1, (len) ), file pa ck_context.c, line 39 CR Debug(graphic1:0): Cleaning up SPU print CR Debug(graphic1:0): Cleaning up SPU passthrough CR Debug(graphic1:0): Cleaning up SPU error CR Warning(graphic1:0): "C:\DOCUME~1\gael\LOCALS~1\Temp\cr75\java.exe": exited w ith status=3 CR Debug(graphic1:0): Dead connection (sock=1944, host=graphic1), removing from pool ################## END crappfaker ################# I joined the print spu of server and client side. I hope it will pass. Is there a solution for my problem? thanks Gaël ________________________________ Von: Brian Paul [mailto:[email protected]] Gesendet: Fr 05.05.2006 21:02 An: Décosterd Gaël Cc: [email protected] Betreff: Re: AW: [Chromium-users] Problems with tilesort SPU I wonder if Java3D or the application is calling glFlush() without a current rendering context. Try this change to tilesortspu_flush.c: diff -c -r1.57 tilesortspu_flush.c *** tilesortspu_flush.c 26 Jan 2006 00:13:51 -0000 1.57 --- tilesortspu_flush.c 5 May 2006 19:02:20 -0000 *************** *** 774,779 **** --- 774,782 ---- CRPackBuffer old_geometry_buffer; + if (!thread || !thread->CurrentContext) + return; + CRASSERT(thread); CRASSERT(thread->currentContext); CRASSERT(thread->currentContext->State); -Brian Décosterd Gaël wrote: > Here are the debug information with chromium in debug mode: > > CR Debug(graphic1:0): Connecting to graphic1 on port 10000, with > protocol tcpip > CR Debug(graphic1:0): Done connecting to localhost (swapping=0) > CR Debug(graphic1:0): Tilesort SPU: Got the MTU as 2048 > CR Debug(graphic1:0): Tilesort SPU: found 1 servers. > CR Debug(graphic1:0): Getting tile information from servers. > CR Debug(graphic1:0): Server 1: tcpip://graphic1.bfh.ch.:7000 > CR Debug(graphic1:0): Tilesort SPU: Total output dimensions = (210, 210) > CR Debug(graphic1:0): In crNetConnectToServer( > "tcpip://graphic1.bfh.ch.:7000", > port=7000, mtu=2048, broker=1 ) > CR Debug(graphic1:0): Connecting to graphic1.bfh.ch. on port 7000, with > protocol > tcpip > CR Warning(graphic1:0): Couldn't find the CRMOTHERSHIP environment > variable, def > aulting to localhost > CR Debug(graphic1:0): In crNetConnectToServer( "localhost", port=10000, > mtu=8096 > , broker=0 ) > CR Debug(graphic1:0): Connecting to graphic1 on port 10000, with > protocol tcpip > CR Debug(graphic1:0): Done connecting to localhost (swapping=0) > CR Debug(graphic1:0): Done connecting to tcpip://graphic1.bfh.ch.:7000 > (swapping > =0) > CR Debug(graphic1:0): Buffer pool 031824F0 was empty; allocated new 2068 > byte bu > ffer. > CR Debug(graphic1:0): Tilesort SPU: Not using DMX > CR Debug(graphic1:0): Tilesort SPU: ---------- End of Init ------------- > CR Debug(graphic1:0): Initializing error SPU > CR Debug(graphic1:0): Initializing passthrough SPU > CR Debug(graphic1:0): Initializing print SPU > CR Warning(graphic1:0): Couldn't find the CRMOTHERSHIP environment > variable, def > aulting to localhost > CR Debug(graphic1:0): In crNetConnectToServer( "localhost", port=10000, > mtu=8096 > , broker=0 ) > CR Debug(graphic1:0): Connecting to graphic1 on port 10000, with > protocol tcpip > CR Debug(graphic1:0): Done connecting to localhost (swapping=0) > CR Debug(graphic1:0): Looking for the system's OpenGL library... > CR Debug(graphic1:0): Found it in default path. > CR Debug(graphic1:0): Tilesort SPU: CreateContext(-1040119792, 0x2f) > CR Debug(graphic1:0): Tilesort SPU: HDC = -1040119792 > CR Debug(graphic1:0): Buffer pool 031824F0 was empty; allocated new 2068 > byte bu > ffer. > CR Warning(graphic1:0): crPackReleaseBuffer called with no current buffer > CR Debug(graphic1:0): Tilesort SPU: CreateContext(1057032573, 0x2f) > CR Debug(graphic1:0): Tilesort SPU: HDC = 1057032573 > CR Error(graphic1:0): Assertion failed: thread->currentContext, file > tilesortspu > _flush.c, line 778 > CR Debug(graphic1:0): Cleaning up SPU print > CR Debug(graphic1:0): Cleaning up SPU passthrough > CR Debug(graphic1:0): Cleaning up SPU error > CR Warning(graphic1:0): "C:\DOCUME~1\gael\LOCALS~1\Temp\cr75\java.exe": > exited w > ith status=3 > CR Debug(graphic1:0): Dead connection (sock=1944, host=graphic1), > removing from > pool > > ------------------------------------------------------------------------ > *Von:* [email protected] im Auftrag von > Décosterd Gaël > *Gesendet:* Mi 03.05.2006 16:10 > *An:* [email protected] > *Betreff:* [Chromium-users] Problems with tilesort SPU > > Hello, > > I've tried to launch a JAVA3D app using chromium. With a render SPU > (server) and a pack SPU (client) it just work fine. > > But when I launch it with a tilesort SPU (client) it always crash. There > is an error message (in the console where I launched crappfaker): "CR > Warning(graphic1:0): crPackReleaseBuffer called with no current buffer" > > and then java crashes. Here is a part of the java log file: > > ################################################## JAVA ERROR FILE > ################### > > # > # An unexpected error has been detected by HotSpot Virtual Machine: > # > # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0335d48c, pid=2600, > tid=2620 > # > # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, sharing) > # Problematic frame: > # C [tilesortspu.dll+0x1d48c] > # > > --------------- T H R E A D --------------- > Current thread (0x02c66d90): JavaThread "J3D-Renderer-1" > [_thread_in_native, id=2620] > siginfo: ExceptionCode=0xc0000005, reading address 0x00000004 > Registers: > EAX=0x033a9dd8, EBX=0x48010808, ECX=0x00000000, EDX=0x03602c40 > ESP=0x039df658, EBP=0x039df69c, ESI=0x039df6b4, EDI=0x039df69c > EIP=0x0335d48c, EFLAGS=0x00010206 > Top of Stack: (sp=0x039df658) > 0x039df658: 039df7d4 cccccccc cccccccc cccccccc > 0x039df668: cccccccc cccccccc cccccccc cccccccc > 0x039df678: cccccccc cccccccc cccccccc cccccccc > 0x039df688: cccccccc cccccccc cccccccc cccccccc > 0x039df698: cccccccc 039df6a8 0335d41c 033a9dd8 > 0x039df6a8: 039df7d4 035d701c 033a9dd8 039df82c > 0x039df6b8: 039df840 00000120 03690750 03602c40 > 0x039df6c8: cccccccc 38303231 31373230 00003434 > Instructions: (pc=0x0335d48c) > 0x0335d47c: 00 00 00 b8 cc cc cc cc f3 ab 8b 45 08 8b 48 34 > 0x0335d48c: 8b 51 04 89 55 fc 83 3d 8c 98 3a 03 00 75 1a 8b > > Stack: [0x039a0000,0x039e0000), sp=0x039df658, free space=253k > Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, > C=native code) > C [tilesortspu.dll+0x1d48c] > C [tilesortspu.dll+0x1d41c] > C [tilesortspu_crpacker_copy.dll+0x7701c] > C [tilesortspu.dll+0x99bf] > C [printspu.dll+0x39de] > C [OPENGL32.dll+0x330c] > C [OPENGL32.dll+0xbed6] > Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) > j javax.media.j3d.Canvas3D.createContext(JIIJJZZ)J+0 > j javax.media.j3d.Renderer.doWork(J)V+2900 > j javax.media.j3d.J3dThread.run()V+15 > v ~StubRoutines::call_stub > ################################################## END ##################333 > > I working on windows with cr 1.9. I need to launch a java3D app in a > CAVE system then I need tilesort? Could anyone help me ? > > Thanks > > Gaël
java Demo_CLIENT_LOG.txt
(text/plain, 197 B)
CreateContext( 03806480, 47, 0 ) = 200 WindowCreate( 038068B8, 47 ) = 1 MakeCurrent( 1, 1644234856, 200 ) Viewport( 0, 0, 1192, 827 ) DestroyContext( 200 ) CreateContext( 03832B10, 47, 0 )
java Demo_SERVER_LOG.txt
(text/plain, 8.7 KB)
GetIntegerv( GL_VIEWPORT, 0x00ABA474 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) ActiveTextureARB( GL_TEXTURE0 ) MatrixMode( GL_MODELVIEW ) ActiveTextureARB( GL_TEXTURE0 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) ActiveTextureARB( GL_TEXTURE1 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) ActiveTextureARB( GL_TEXTURE2 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) ActiveTextureARB( GL_TEXTURE3 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) ActiveTextureARB( GL_TEXTURE4 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) ActiveTextureARB( GL_TEXTURE5 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) ActiveTextureARB( GL_TEXTURE6 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) ActiveTextureARB( GL_TEXTURE7 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) ActiveTextureARB( GL_TEXTURE0 ) MatrixMode( GL_MODELVIEW ) GetString( GL_EXTENSIONS ) BindBufferARB( GL_ARRAY_BUFFER, 0 ) BindBufferARB( GL_ELEMENT_ARRAY_BUFFER, 0 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) ActiveTextureARB( GL_TEXTURE0 ) TexEnviv( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, 0012FE5C ) ActiveTextureARB( GL_TEXTURE1 ) TexEnviv( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, 0012FE5C ) ActiveTextureARB( GL_TEXTURE2 ) TexEnviv( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, 0012FE5C ) ActiveTextureARB( GL_TEXTURE3 ) TexEnviv( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, 0012FE5C ) ActiveTextureARB( GL_TEXTURE4 ) TexEnviv( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, 0012FE5C ) ActiveTextureARB( GL_TEXTURE5 ) TexEnviv( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, 0012FE5C ) ActiveTextureARB( GL_TEXTURE6 ) TexEnviv( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, 0012FE5C ) ActiveTextureARB( GL_TEXTURE7 ) TexEnviv( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, 0012FE5C ) ActiveTextureARB( GL_TEXTURE0 ) PolygonStipple( [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255] ) CreateContext( 0012FDC4, 47, 0 ) = 1 WindowCreate( 0012FDC4, 47 ) = 1 GetChromiumParametervCR( GL_WINDOW_SIZE_CR, 1, GL_INT, 2, 0012FD78 ) MakeCurrent( 1, 1644234856, 1 ) WindowPos2iARB( -10, -10 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) ActiveTextureARB( GL_TEXTURE0 ) MatrixMode( GL_MODELVIEW ) ActiveTextureARB( GL_TEXTURE0 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) ActiveTextureARB( GL_TEXTURE1 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) ActiveTextureARB( GL_TEXTURE2 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) ActiveTextureARB( GL_TEXTURE3 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) ActiveTextureARB( GL_TEXTURE4 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) ActiveTextureARB( GL_TEXTURE5 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) ActiveTextureARB( GL_TEXTURE6 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) ActiveTextureARB( GL_TEXTURE7 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) ActiveTextureARB( GL_TEXTURE0 ) MatrixMode( GL_MODELVIEW ) BindBufferARB( GL_ARRAY_BUFFER, 0 ) BindBufferARB( GL_ELEMENT_ARRAY_BUFFER, 0 ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) MatrixMode( GL_MODELVIEW ) PushMatrix( ) LoadIdentity( ) PopMatrix( ) MatrixMode( GL_MODELVIEW ) ActiveTextureARB( GL_TEXTURE0 ) TexEnviv( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, 0012FDD0 ) ActiveTextureARB( GL_TEXTURE1 ) TexEnviv( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, 0012FDD0 ) ActiveTextureARB( GL_TEXTURE2 ) TexEnviv( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, 0012FDD0 ) ActiveTextureARB( GL_TEXTURE3 ) TexEnviv( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, 0012FDD0 ) ActiveTextureARB( GL_TEXTURE4 ) TexEnviv( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, 0012FDD0 ) ActiveTextureARB( GL_TEXTURE5 ) TexEnviv( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, 0012FDD0 ) ActiveTextureARB( GL_TEXTURE6 ) TexEnviv( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, 0012FDD0 ) ActiveTextureARB( GL_TEXTURE7 ) TexEnviv( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, 0012FDD0 ) ActiveTextureARB( GL_TEXTURE0 ) PolygonStipple( [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255] ) GetString( GL_EXTENSIONS )