chromium CVS/1.9 buffer pool and blank screen
Eric Sandall <[email protected]>
| Newsgroups | gmane.comp.graphics.chromium.user |
|---|---|
| Message-ID | <[email protected]> |
I checked out chromium from CVS (as of 2006-07-20 15:30PST) to try the changes, but am receiving the following errors/warnings: $ python vade.conf ... (more details in attached chromium-1.9.log) CR Debug(vr-master:11873): Using native GL, app window doesn't meet minimum_window_size CR Debug(vr-master:11872): Buffer pool 0x96077c0 was empty; allocated new 1048596 byte buffer. The problem is that the render nodes do have the tiles showing up and moving as they should, but the app node has a black screen with nothing on it. This exact configuration (all I changed was chromium versions) worked fine with chromium 1.8. Any ideas? -sandalle -- Eric Sandall | Source Mage GNU/Linux Developer eric at sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/ http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU http://counter.li.org/ #196285 | http://www.shock.wsu.edu/ ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Chromium-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/chromium-users
chromium-1.9.log
(text/x-log, 35 KB)
This is Chromium, Version 1.9 Autostart for node vr-master: ['/bin/sh', '-c', 'source $HOME/.bashrc && LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/chromium/cr-cvs/lib/Linux /home/chromium/cr-cvs/bin/Linux/crappfaker'] Autostart for node vr-master: ['/usr/bin/ssh', 'vr-master', "/bin/sh -c 'source $HOME/.bashrc && DISPLAY=:0.0 CRMOTHERSHIP=vr-master LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/chromium/cr-cvs/lib/Linux crserver'"] Autostart for node slave1: ['/usr/bin/ssh', 'slave1', "/bin/sh -c 'source $HOME/.bashrc && DISPLAY=:0.0 CRMOTHERSHIP=vr-master LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/chromium/cr-cvs/lib/Linux crserver'"] Autostart for node slave2: ['/usr/bin/ssh', 'slave2', "/bin/sh -c 'source $HOME/.bashrc && DISPLAY=:0.0 CRMOTHERSHIP=vr-master LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/chromium/cr-cvs/lib/Linux crserver'"] Autostart for node slave3: ['/usr/bin/ssh', 'slave3', "/bin/sh -c 'source $HOME/.bashrc && DISPLAY=:0.0 CRMOTHERSHIP=vr-master LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/chromium/cr-cvs/lib/Linux crserver'"] Autostart for node slave4: ['/usr/bin/ssh', 'slave4', "/bin/sh -c 'source $HOME/.bashrc && DISPLAY=:0.0 CRMOTHERSHIP=vr-master LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/chromium/cr-cvs/lib/Linux crserver'"] CR Debug(vr-master:11957): In crNetConnectToServer( "vr-master:10000", port=10000, mtu=8096, broker=0 ) CR Debug(vr-master:11957): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(vr-master:11957): Done connecting to vr-master:10000 (swapping=0) CR Debug(slave3:2892): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave3:2892): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave3:2892): Done connecting to vr-master (swapping=0) CR Debug(slave4:2896): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave4:2896): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave4:2896): Done connecting to vr-master (swapping=0) CR Debug(slave2:2896): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave2:2896): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave2:2896): Done connecting to vr-master (swapping=0) CR Debug(slave1:2908): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave1:2908): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave1:2908): Done connecting to vr-master (swapping=0) CR Debug(vr-master:11988): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(vr-master:11988): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(vr-master:11988): Done connecting to vr-master (swapping=0) CR Debug(slave3:2892): CRServer: my SPU chain: 2 6 readback 7 pack CR Debug(slave3:2892): SPU 1/2: (6) "readback" CR Debug(slave3:2892): SPU 2/2: (7) "pack" CR Debug(slave4:2896): CRServer: my SPU chain: 2 8 readback 9 pack CR Debug(slave4:2896): SPU 1/2: (8) "readback" CR Debug(slave4:2896): SPU 2/2: (9) "pack" CR Debug(slave2:2896): CRServer: my SPU chain: 2 4 readback 5 pack CR Debug(slave2:2896): SPU 1/2: (4) "readback" CR Debug(slave2:2896): SPU 2/2: (5) "pack" CR Debug(slave1:2908): CRServer: my SPU chain: 2 2 readback 3 pack CR Debug(slave1:2908): SPU 1/2: (2) "readback" CR Debug(slave1:2908): SPU 2/2: (3) "pack" CR Debug(vr-master:11988): CRServer: my SPU chain: 1 1 render CR Debug(vr-master:11988): SPU 1/1: (1) "render" CR Debug(slave3:2892): CRServer: my port number is 7003 CR Debug(slave4:2896): CRServer: my port number is 7004 CR Debug(slave2:2896): CRServer: my port number is 7002 CR Debug(slave3:2892): Initializing error SPU CR Debug(slave1:2908): CRServer: my port number is 7001 CR Debug(slave3:2892): Initializing pack SPU CR Debug(slave3:2892): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave3:2892): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave4:2896): Initializing error SPU CR Debug(slave3:2892): Done connecting to vr-master (swapping=0) CR Debug(vr-master:11988): CRServer: my port number is 7000 CR Debug(slave4:2896): Initializing pack SPU CR Debug(slave3:2892): In crNetConnectToServer( "tcpip://vr-master:7000", port=7000, mtu=1048576, broker=1 ) CR Debug(slave3:2892): Connecting to vr-master on port 7000, with protocol tcpip CR Debug(slave4:2896): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave4:2896): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave3:2892): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave3:2892): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave3:2892): Done connecting to vr-master (swapping=0) CR Debug(slave4:2896): Done connecting to vr-master (swapping=0) CR Debug(slave2:2896): Initializing error SPU CR Debug(slave1:2908): Initializing error SPU CR Debug(slave4:2896): In crNetConnectToServer( "tcpip://vr-master:7000", port=7000, mtu=1048576, broker=1 ) CR Debug(slave4:2896): Connecting to vr-master on port 7000, with protocol tcpip CR Debug(slave4:2896): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave4:2896): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave4:2896): Done connecting to vr-master (swapping=0) CR Debug(slave2:2896): Initializing pack SPU CR Debug(slave2:2896): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave2:2896): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave2:2896): Done connecting to vr-master (swapping=0) CR Debug(slave1:2908): Initializing pack SPU CR Debug(slave1:2908): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave1:2908): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave1:2908): Done connecting to vr-master (swapping=0) CR Debug(slave2:2896): In crNetConnectToServer( "tcpip://vr-master:7000", port=7000, mtu=1048576, broker=1 ) CR Debug(slave2:2896): Connecting to vr-master on port 7000, with protocol tcpip CR Debug(slave2:2896): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave2:2896): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave2:2896): Done connecting to vr-master (swapping=0) CR Debug(slave1:2908): In crNetConnectToServer( "tcpip://vr-master:7000", port=7000, mtu=1048576, broker=1 ) CR Debug(slave1:2908): Connecting to vr-master on port 7000, with protocol tcpip CR Debug(slave1:2908): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave1:2908): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave1:2908): Done connecting to vr-master (swapping=0) CR Debug(vr-master:11988): Initializing error SPU CR Debug(vr-master:11988): Initializing render SPU CR Debug(vr-master:11988): Render SPU: thread-safe CR Debug(vr-master:11988): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(vr-master:11988): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(vr-master:11988): Done connecting to vr-master (swapping=0) CR Debug(vr-master:11988): Looking for the system's OpenGL library... CR Debug(vr-master:11988): Found it in default path. CR Debug(vr-master:11988): Render SPU: Creating default window (visBits=0x25, id=0) CR Debug(vr-master:11988): Render SPU: Opening display :0.0 CR Debug(vr-master:11988): Render SPU: Chose visual id=0x26: RGBA=(8,8,8,0) Z=24 stencil=0 double=1 stereo=0 accum=(16,16,16,16) CR Debug(vr-master:11988): Render SPU: Created window 0x3800001 on display :0.0, Xvisual 0x26 CR Debug(vr-master:11988): Render SPU: actual window x, y, width, height: 850, 0, 1200, 1200 CR Debug(vr-master:11988): Render SPU: WindowCreate returned 0 (0=normal) CR Debug(vr-master:11988): Render SPU: Creating default context, visBits=0x25 CR Debug(vr-master:11988): Render SPU: Created DIRECT context (0) on display :0.0 for visAttribs 0x25 PF ================================================ PF = OpenGL Performer 3.2.2 = PF = DEMO EDITION = PF ================================================ PF = For information about purchasing the full = PF = OpenGL Performer product, visit = PF = http://www.sgi.com/software/performer/ = PF ================================================ CR Debug(vr-master:11989): In crNetConnectToServer( "vr-master:10000", port=10000, mtu=8096, broker=0 ) CR Debug(vr-master:11989): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(vr-master:11989): Done connecting to vr-master:10000 (swapping=0) CR Debug(vr-master:11989): SPU 1/1: (0) "tilesort" CR Debug(vr-master:11989): minimum_window_size: 500 x 500 CR Debug(vr-master:11988): Render SPU: GL_VENDOR: NVIDIA Corporation CR Debug(vr-master:11988): Render SPU: GL_RENDERER: Quadro FX 3400/PCI/SSE2 CR Debug(vr-master:11988): Render SPU: GL_VERSION: 2.0.2 NVIDIA 87.62 CR Debug(vr-master:11988): Render SPU: ---------- End of Init ------------- CR Debug(vr-master:11988): CRServer: my clients: 4 tcpip 3,tcpip 5,tcpip 7,tcpip 9 CR Debug(vr-master:11988): In crNetAcceptClient( protocol="tcpip" port=7000 mtu=1048576 ) CR Debug(vr-master:11988): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(vr-master:11988): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(vr-master:11988): Done connecting to vr-master (swapping=0) CR Debug(slave3:2892): Done connecting to tcpip://vr-master:7000 (swapping=0) CR Debug(slave3:2892): Buffer pool 0x98ee7c0 was empty; allocated new 1048596 byte buffer. CR Debug(vr-master:11988): Accepted connection from "slave3". CR Debug(vr-master:11988): Adding client 0x9ffe4f0 to the run queue CR Debug(vr-master:11988): In crNetAcceptClient( protocol="tcpip" port=7000 mtu=1048576 ) CR Debug(vr-master:11988): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(vr-master:11988): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(vr-master:11988): Done connecting to vr-master (swapping=0) CR Debug(slave1:2908): Done connecting to tcpip://vr-master:7000 (swapping=0) CR Debug(vr-master:11988): Accepted connection from "slave1". CR Debug(slave1:2908): Buffer pool 0x88b17c0 was empty; allocated new 1048596 byte buffer. CR Debug(vr-master:11988): Adding client 0x9ffe888 to the run queue CR Debug(vr-master:11988): In crNetAcceptClient( protocol="tcpip" port=7000 mtu=1048576 ) CR Debug(vr-master:11988): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(vr-master:11988): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(vr-master:11988): Done connecting to vr-master (swapping=0) CR Debug(slave4:2896): Done connecting to tcpip://vr-master:7000 (swapping=0) CR Debug(slave4:2896): Buffer pool 0x8c817c0 was empty; allocated new 1048596 byte buffer. CR Debug(vr-master:11988): Accepted connection from "slave4". CR Debug(vr-master:11988): Adding client 0x9ffedf8 to the run queue CR Debug(vr-master:11988): In crNetAcceptClient( protocol="tcpip" port=7000 mtu=1048576 ) CR Debug(vr-master:11988): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(vr-master:11988): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(vr-master:11988): Done connecting to vr-master (swapping=0) CR Debug(slave2:2896): Done connecting to tcpip://vr-master:7000 (swapping=0) CR Debug(vr-master:11988): Accepted connection from "slave2". CR Debug(slave2:2896): Buffer pool 0x95547c0 was empty; allocated new 1048596 byte buffer. CR Debug(vr-master:11988): Adding client 0x9fff158 to the run queue CR Debug(vr-master:11988): No tiling information for server! CR Debug(slave3:2892): Initializing error SPU CR Info(vr-master:11988): Total output dimensions = (0, 0) CR Debug(slave1:2908): Initializing error SPU CR Debug(slave3:2892): Initializing render SPU CR Debug(slave3:2892): Render SPU: thread-safe CR Debug(slave3:2892): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave3:2892): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave3:2892): Done connecting to vr-master (swapping=0) CR Debug(slave1:2908): Initializing render SPU CR Debug(slave4:2896): Initializing error SPU CR Debug(slave1:2908): Render SPU: thread-safe CR Debug(slave1:2908): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave1:2908): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave1:2908): Done connecting to vr-master (swapping=0) CR Debug(slave2:2896): Initializing error SPU CR Debug(slave4:2896): Initializing render SPU CR Debug(slave4:2896): Render SPU: thread-safe CR Debug(slave4:2896): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave4:2896): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave4:2896): Done connecting to vr-master (swapping=0) CR Debug(slave2:2896): Initializing render SPU CR Debug(slave2:2896): Render SPU: thread-safe CR Debug(slave2:2896): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave2:2896): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave2:2896): Done connecting to vr-master (swapping=0) CR Debug(slave3:2892): Looking for the system's OpenGL library... CR Debug(slave1:2908): Looking for the system's OpenGL library... CR Debug(vr-master:11989): Initializing error SPU CR Debug(slave4:2896): Looking for the system's OpenGL library... CR Debug(vr-master:11989): Initializing tilesort SPU CR Debug(vr-master:11989): In crNetConnectToServer( "vr-master:10000", port=10000, mtu=8096, broker=0 ) CR Debug(vr-master:11989): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(vr-master:11989): Done connecting to vr-master:10000 (swapping=0) CR Debug(slave2:2896): Looking for the system's OpenGL library... CR Debug(vr-master:11989): Tilesort SPU: Got the MTU as 1048576 CR Debug(vr-master:11989): Tilesort SPU: found 4 servers. CR Debug(vr-master:11989): Getting tile information from servers. CR Debug(vr-master:11989): Server 1: tcpip://slave1:7001 CR Debug(slave3:2892): Render SPU: Creating default window (visBits=0x25, id=0) CR Debug(slave3:2892): Render SPU: Opening display :0.0 CR Debug(vr-master:11989): Server 2: tcpip://slave2:7002 CR Debug(vr-master:11989): Server 3: tcpip://slave3:7003 CR Debug(vr-master:11989): Server 4: tcpip://slave4:7004 CR Debug(slave1:2908): Found it in default path. CR Debug(slave1:2908): Render SPU: Creating default window (visBits=0x25, id=0) CR Debug(slave3:2892): Render SPU: Chose visual id=0x26: RGBA=(8,8,8,0) Z=24 stencil=0 double=1 stereo=0 accum=(16,16,16,16) CR Debug(slave1:2908): Render SPU: Opening display :0.0 CR Debug(slave3:2892): Render SPU: Created window 0x2a00001 on display :0.0, Xvisual 0x26 CR Debug(slave3:2892): Render SPU: actual window x, y, width, height: 0, 660, 600, 300 CR Debug(vr-master:11989): Tilesort SPU: Total output dimensions = (1200, 1200) CR Debug(vr-master:11989): In crNetConnectToServer( "tcpip://slave1:7001", port=7000, mtu=1048576, broker=1 ) CR Debug(vr-master:11989): Connecting to slave1 on port 7001, with protocol tcpip CR Debug(vr-master:11989): In crNetConnectToServer( "vr-master:10000", port=10000, mtu=8096, broker=0 ) CR Debug(vr-master:11989): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave3:2892): Render SPU: WindowCreate returned 0 (0=normal) CR Debug(vr-master:11989): Done connecting to vr-master:10000 (swapping=0) CR Debug(slave3:2892): Render SPU: Creating default context, visBits=0x25 CR Debug(slave4:2896): Found it in default path. CR Debug(slave1:2908): Render SPU: Chose visual id=0x26: RGBA=(8,8,8,0) Z=24 stencil=0 double=1 stereo=0 accum=(16,16,16,16) CR Debug(slave4:2896): Render SPU: Creating default window (visBits=0x25, id=0) CR Debug(slave1:2908): Render SPU: Created window 0x2a00001 on display :0.0, Xvisual 0x26 CR Debug(slave1:2908): Render SPU: actual window x, y, width, height: 0, 0, 600, 300 CR Debug(slave4:2896): Render SPU: Opening display :0.0 CR Debug(slave1:2908): Render SPU: WindowCreate returned 0 (0=normal) CR Debug(slave2:2896): Found it in default path. CR Debug(slave1:2908): Render SPU: Creating default context, visBits=0x25 CR Debug(slave2:2896): Render SPU: Creating default window (visBits=0x25, id=0) CR Debug(slave2:2896): Render SPU: Opening display :0.0 CR Debug(slave4:2896): Render SPU: Chose visual id=0x26: RGBA=(8,8,8,0) Z=24 stencil=0 double=1 stereo=0 accum=(16,16,16,16) CR Debug(slave4:2896): Render SPU: Created window 0x2a00001 on display :0.0, Xvisual 0x26 CR Debug(slave3:2892): Render SPU: Created DIRECT context (0) on display :0.0 for visAttribs 0x25 CR Debug(slave4:2896): Render SPU: actual window x, y, width, height: 0, 990, 600, 300 CR Debug(slave4:2896): Render SPU: WindowCreate returned 0 (0=normal) CR Debug(slave2:2896): Render SPU: Chose visual id=0x26: RGBA=(8,8,8,0) Z=24 stencil=0 double=1 stereo=0 accum=(16,16,16,16) CR Debug(slave4:2896): Render SPU: Creating default context, visBits=0x25 CR Debug(slave2:2896): Render SPU: Created window 0x2a00001 on display :0.0, Xvisual 0x26 CR Debug(slave2:2896): Render SPU: actual window x, y, width, height: 0, 330, 600, 300 CR Debug(slave2:2896): Render SPU: WindowCreate returned 0 (0=normal) CR Debug(slave2:2896): Render SPU: Creating default context, visBits=0x25 CR Debug(slave1:2908): Render SPU: Created DIRECT context (0) on display :0.0 for visAttribs 0x25 CR Debug(slave4:2896): Render SPU: Created DIRECT context (0) on display :0.0 for visAttribs 0x25 CR Debug(slave2:2896): Render SPU: Created DIRECT context (0) on display :0.0 for visAttribs 0x25 CR Debug(slave3:2892): Render SPU: GL_VENDOR: NVIDIA Corporation CR Debug(slave3:2892): Render SPU: GL_RENDERER: Quadro FX 3400/PCI/SSE2 CR Debug(slave3:2892): Render SPU: GL_VERSION: 2.0.2 NVIDIA 87.62 CR Debug(slave3:2892): Render SPU: ---------- End of Init ------------- CR Debug(slave1:2908): Render SPU: GL_VENDOR: NVIDIA Corporation CR Debug(slave1:2908): Render SPU: GL_RENDERER: Quadro FX 3400/PCI/SSE2 CR Debug(slave1:2908): Render SPU: GL_VERSION: 2.0.2 NVIDIA 87.62 CR Debug(slave3:2892): Initializing readback SPU CR Debug(slave3:2892): Readback SPU: thread-safe CR Debug(slave3:2892): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave3:2892): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave1:2908): Render SPU: ---------- End of Init ------------- CR Debug(slave3:2892): Done connecting to vr-master (swapping=0) CR Debug(slave4:2896): Render SPU: GL_VENDOR: NVIDIA Corporation CR Debug(slave1:2908): Initializing readback SPU CR Debug(slave1:2908): Readback SPU: thread-safe CR Debug(slave1:2908): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave1:2908): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave4:2896): Render SPU: GL_RENDERER: Quadro FX 3400/PCI/SSE2 CR Debug(slave4:2896): Render SPU: GL_VERSION: 2.0.2 NVIDIA 87.62 CR Debug(slave1:2908): Done connecting to vr-master (swapping=0) CR Debug(slave4:2896): Render SPU: ---------- End of Init ------------- CR Debug(slave2:2896): Render SPU: GL_VENDOR: NVIDIA Corporation CR Debug(slave2:2896): Render SPU: GL_RENDERER: Quadro FX 3400/PCI/SSE2 CR Debug(slave2:2896): Render SPU: GL_VERSION: 2.0.2 NVIDIA 87.62 CR Debug(slave2:2896): Render SPU: ---------- End of Init ------------- CR Debug(slave4:2896): Initializing readback SPU CR Debug(slave4:2896): Readback SPU: thread-safe CR Debug(slave4:2896): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave4:2896): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave4:2896): Done connecting to vr-master (swapping=0) CR Debug(slave2:2896): Initializing readback SPU CR Debug(slave2:2896): Readback SPU: thread-safe CR Debug(slave2:2896): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave2:2896): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave2:2896): Done connecting to vr-master (swapping=0) CR Debug(slave3:2892): CRServer: my clients: 1 tcpip 0 CR Debug(slave3:2892): In crNetAcceptClient( protocol="tcpip" port=7003 mtu=1048576 ) CR Debug(slave3:2892): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave3:2892): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave3:2892): Done connecting to vr-master (swapping=0) CR Debug(slave1:2908): CRServer: my clients: 1 tcpip 0 CR Debug(slave1:2908): In crNetAcceptClient( protocol="tcpip" port=7001 mtu=1048576 ) CR Debug(slave1:2908): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave1:2908): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave1:2908): Done connecting to vr-master (swapping=0) CR Debug(vr-master:11989): Done connecting to tcpip://slave1:7001 (swapping=0) CR Debug(vr-master:11989): In crNetConnectToServer( "tcpip://slave2:7002", port=7000, mtu=1048576, broker=1 ) CR Debug(vr-master:11989): Connecting to slave2 on port 7002, with protocol tcpip CR Debug(vr-master:11989): In crNetConnectToServer( "vr-master:10000", port=10000, mtu=8096, broker=0 ) CR Debug(vr-master:11989): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(vr-master:11989): Done connecting to vr-master:10000 (swapping=0) CR Debug(slave1:2908): Accepted connection from "vr-master". CR Debug(slave1:2908): Adding client 0x8a095e8 to the run queue CR Debug(slave1:2908): Added tile: 0, 900 .. 300, 1200 CR Debug(slave1:2908): Added tile: 0, 600 .. 300, 900 CR Debug(slave1:2908): Added tile: 0, 300 .. 300, 600 CR Debug(slave1:2908): Added tile: 0, 0 .. 300, 300 CR Debug(slave4:2896): CRServer: my clients: 1 tcpip 0 CR Debug(slave4:2896): In crNetAcceptClient( protocol="tcpip" port=7004 mtu=1048576 ) CR Debug(slave4:2896): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave4:2896): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave4:2896): Done connecting to vr-master (swapping=0) CR Info(slave1:2908): Total output dimensions = (1200, 1200) CR Debug(slave2:2896): CRServer: my clients: 1 tcpip 0 CR Warning(slave1:2908): No room for 300x300 tile in this server's window (600 x 300)! CR Warning(slave1:2908): No room for 300x300 tile in this server's window (600 x 300)! CR Debug(slave2:2896): In crNetAcceptClient( protocol="tcpip" port=7002 mtu=1048576 ) CR Debug(slave2:2896): In crNetConnectToServer( "vr-master", port=10000, mtu=8096, broker=0 ) CR Debug(slave2:2896): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave2:2896): Done connecting to vr-master (swapping=0) CR Debug(vr-master:11989): Done connecting to tcpip://slave2:7002 (swapping=0) CR Debug(vr-master:11989): In crNetConnectToServer( "tcpip://slave3:7003", port=7000, mtu=1048576, broker=1 ) CR Debug(vr-master:11989): Connecting to slave3 on port 7003, with protocol tcpip CR Debug(vr-master:11989): In crNetConnectToServer( "vr-master:10000", port=10000, mtu=8096, broker=0 ) CR Debug(vr-master:11989): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(vr-master:11989): Done connecting to vr-master:10000 (swapping=0) CR Debug(vr-master:11989): Done connecting to tcpip://slave3:7003 (swapping=0) CR Debug(vr-master:11989): In crNetConnectToServer( "tcpip://slave4:7004", port=7000, mtu=1048576, broker=1 ) CR Debug(vr-master:11989): Connecting to slave4 on port 7004, with protocol tcpip CR Debug(vr-master:11989): In crNetConnectToServer( "vr-master:10000", port=10000, mtu=8096, broker=0 ) CR Debug(vr-master:11989): Connecting to vr-master on port 10000, with protocol tcpip CR Debug(slave2:2896): Accepted connection from "vr-master". CR Debug(slave3:2892): Accepted connection from "vr-master". CR Debug(slave2:2896): Adding client 0x96ac5e8 to the run queue CR Debug(slave3:2892): Adding client 0x9a465e8 to the run queue CR Debug(vr-master:11989): Done connecting to vr-master:10000 (swapping=0) CR Debug(slave2:2896): Added tile: 300, 900 .. 600, 1200 CR Debug(slave2:2896): Added tile: 300, 600 .. 600, 900 CR Debug(slave2:2896): Added tile: 300, 300 .. 600, 600 CR Debug(slave2:2896): Added tile: 300, 0 .. 600, 300 CR Debug(slave3:2892): Added tile: 600, 900 .. 900, 1200 CR Debug(slave3:2892): Added tile: 600, 600 .. 900, 900 CR Debug(slave3:2892): Added tile: 600, 300 .. 900, 600 CR Debug(slave3:2892): Added tile: 600, 0 .. 900, 300 CR Debug(vr-master:11989): Done connecting to tcpip://slave4:7004 (swapping=0) CR Debug(vr-master:11989): Buffer pool 0x868c490 was empty; allocated new 1048596 byte buffer. CR Debug(slave4:2896): Accepted connection from "vr-master". CR Debug(slave4:2896): Adding client 0x8dd95e8 to the run queue CR Debug(vr-master:11989): Buffer pool 0x868c490 was empty; allocated new 1048596 byte buffer. CR Debug(vr-master:11989): Buffer pool 0x868c490 was empty; allocated new 1048596 byte buffer. CR Debug(vr-master:11989): Buffer pool 0x868c490 was empty; allocated new 1048596 byte buffer. CR Info(slave3:2892): Total output dimensions = (1200, 1200) CR Warning(slave2:2896): No room for 300x300 tile in this server's window (600 x 300)! CR Warning(slave2:2896): No room for 300x300 tile in this server's window (600 x 300)! CR Warning(slave3:2892): No room for 300x300 tile in this server's window (600 x 300)! CR Warning(slave3:2892): No room for 300x300 tile in this server's window (600 x 300)! CR Debug(slave4:2896): Added tile: 900, 900 .. 1200, 1200 CR Debug(slave4:2896): Added tile: 900, 600 .. 1200, 900 CR Debug(slave4:2896): Added tile: 900, 300 .. 1200, 600 CR Debug(slave4:2896): Added tile: 900, 0 .. 1200, 300 CR Debug(vr-master:11989): Tilesort SPU: Not using DMX CR Debug(vr-master:11989): Tilesort SPU: ---------- End of Init ------------- CR Info(slave4:2896): Total output dimensions = (1200, 1200) CR Warning(slave4:2896): No room for 300x300 tile in this server's window (600 x 300)! CR Warning(slave4:2896): No room for 300x300 tile in this server's window (600 x 300)! CR Debug(vr-master:11989): Looking for the system's OpenGL library... CR Debug(vr-master:11989): Found it in default path. CR Warning(vr-master:11989): glXChooseVisual: didn't request RGB visual? CR Debug(vr-master:11989): Using native GL, app window doesn't meet minimum_window_size CR Warning(vr-master:11989): glXChooseVisual: didn't request RGB visual? CR Debug(vr-master:11989): Using native GL, app window doesn't meet minimum_window_size CR Warning(vr-master:11989): glXChooseVisual: didn't request RGB visual? CR Debug(vr-master:11989): Using native GL, app window doesn't meet minimum_window_size CR Warning(vr-master:11989): glXChooseVisual: didn't request RGB visual? CR Debug(vr-master:11989): Tilesort SPU: CreateContext(:0.0, 0xad) CR Debug(vr-master:11989): Tilesort SPU: Opened display :0.0 CR Debug(slave1:2908): Buffer pool 0x88b17c0 was empty; allocated new 1048596 byte buffer. CR Debug(slave1:2908): Render SPU: Opening display :0.0 CR Debug(slave1:2908): Render SPU: Chose visual id=0x38: RGBA=(8,8,8,0) Z=24 stencil=8 double=1 stereo=0 accum=(16,16,16,16) CR Debug(slave1:2908): Render SPU: Created DIRECT context (1) on display :0.0 for visAttribs 0xad CR Debug(vr-master:11988): Buffer pool 0x9f077c0 was empty; allocated new 1048596 byte buffer. CR Debug(vr-master:11988): Render SPU: Opening display :0.0 CR Debug(vr-master:11989): Using native GL, app window doesn't meet minimum_window_size CR Debug(vr-master:11988): Render SPU: Chose visual id=0x2a: RGBA=(8,8,8,0) Z=0 stencil=0 double=1 stereo=0 accum=(16,16,16,16) CR Debug(vr-master:11988): Render SPU: Created DIRECT context (1) on display :0.0 for visAttribs 0x21 CR Debug(slave1:2908): Buffer pool 0x88b17c0 was empty; allocated new 1048596 byte buffer. CR Debug(vr-master:11989): Buffer pool 0x868c490 was empty; allocated new 1048596 byte buffer. CR Debug(slave2:2896): Buffer pool 0x95547c0 was empty; allocated new 1048596 byte buffer. CR Debug(slave2:2896): Render SPU: Opening display :0.0 CR Debug(slave2:2896): Render SPU: Chose visual id=0x38: RGBA=(8,8,8,0) Z=24 stencil=8 double=1 stereo=0 accum=(16,16,16,16) CR Debug(slave2:2896): Render SPU: Created DIRECT context (1) on display :0.0 for visAttribs 0xad CR Debug(slave2:2896): Buffer pool 0x95547c0 was empty; allocated new 1048596 byte buffer. CR Debug(slave3:2892): Buffer pool 0x98ee7c0 was empty; allocated new 1048596 byte buffer. CR Debug(slave3:2892): Render SPU: Opening display :0.0 CR Debug(slave3:2892): Render SPU: Chose visual id=0x38: RGBA=(8,8,8,0) Z=24 stencil=8 double=1 stereo=0 accum=(16,16,16,16) CR Debug(slave3:2892): Render SPU: Created DIRECT context (1) on display :0.0 for visAttribs 0xad CR Debug(slave3:2892): Buffer pool 0x98ee7c0 was empty; allocated new 1048596 byte buffer. CR Debug(slave4:2896): Buffer pool 0x8c817c0 was empty; allocated new 1048596 byte buffer. CR Debug(slave4:2896): Render SPU: Opening display :0.0 CR Debug(slave4:2896): Render SPU: Chose visual id=0x38: RGBA=(8,8,8,0) Z=24 stencil=8 double=1 stereo=0 accum=(16,16,16,16) CR Debug(slave4:2896): Render SPU: Created DIRECT context (1) on display :0.0 for visAttribs 0xad CR Debug(slave4:2896): Buffer pool 0x8c817c0 was empty; allocated new 1048596 byte buffer. CR Debug(slave1:2908): Render SPU: Created window 0x3000002 on display :0.0, Xvisual 0x38 CR Debug(slave1:2908): Render SPU: actual window x, y, width, height: 0, 0, 600, 300 CR Debug(vr-master:11988): Render SPU: Created window 0x4c00002 on display :0.0, Xvisual 0x2a CR Debug(vr-master:11988): Render SPU: actual window x, y, width, height: 850, 0, 1200, 1200 CR Debug(vr-master:11988): CRServer: client 0x9ffe888 created new window 1 (SPU window 1) CR Warning(slave1:2908): No room for 300x300 tile in this server's window (600 x 300)! CR Warning(slave1:2908): No room for 300x300 tile in this server's window (600 x 300)! CR Debug(slave1:2908): CRServer: client 0x8a095e8 created new window 1 (SPU window 1) CR Debug(slave2:2896): Render SPU: Created window 0x3000002 on display :0.0, Xvisual 0x38 CR Debug(slave2:2896): Render SPU: actual window x, y, width, height: 0, 330, 600, 300 CR Debug(vr-master:11988): Render SPU: Created window 0x4c00003 on display :0.0, Xvisual 0x2a CR Debug(vr-master:11988): Render SPU: actual window x, y, width, height: 850, 0, 1200, 1200 CR Debug(vr-master:11988): CRServer: client 0x9fff158 created new window 2 (SPU window 2) CR Warning(slave2:2896): No room for 300x300 tile in this server's window (600 x 300)! CR Warning(slave2:2896): No room for 300x300 tile in this server's window (600 x 300)! CR Debug(slave2:2896): CRServer: client 0x96ac5e8 created new window 1 (SPU window 1) CR Debug(slave3:2892): Render SPU: Created window 0x3000002 on display :0.0, Xvisual 0x38 CR Debug(slave3:2892): Render SPU: actual window x, y, width, height: 0, 660, 600, 300 CR Debug(vr-master:11988): Render SPU: Created window 0x4c00004 on display :0.0, Xvisual 0x2a CR Debug(vr-master:11988): Render SPU: actual window x, y, width, height: 850, 0, 1200, 1200 CR Debug(vr-master:11988): CRServer: client 0x9ffe4f0 created new window 3 (SPU window 3) CR Warning(slave3:2892): No room for 300x300 tile in this server's window (600 x 300)! CR Warning(slave3:2892): No room for 300x300 tile in this server's window (600 x 300)! CR Debug(slave3:2892): CRServer: client 0x9a465e8 created new window 1 (SPU window 1) CR Debug(slave4:2896): Render SPU: Created window 0x3000002 on display :0.0, Xvisual 0x38 CR Debug(slave4:2896): Render SPU: actual window x, y, width, height: 0, 990, 600, 300 CR Debug(vr-master:11988): Render SPU: Created window 0x4c00005 on display :0.0, Xvisual 0x2a CR Debug(vr-master:11988): Render SPU: actual window x, y, width, height: 850, 0, 1200, 1200 CR Debug(vr-master:11988): CRServer: client 0x9ffedf8 created new window 4 (SPU window 4) CR Warning(slave4:2896): No room for 300x300 tile in this server's window (600 x 300)! CR Warning(slave4:2896): No room for 300x300 tile in this server's window (600 x 300)! CR Debug(slave4:2896): CRServer: client 0x8dd95e8 created new window 1 (SPU window 1) CR Debug(slave1:2908): Render SPU: GL_VENDOR: NVIDIA Corporation CR Debug(slave1:2908): Render SPU: GL_RENDERER: Quadro FX 3400/PCI/SSE2 CR Debug(slave1:2908): Render SPU: GL_VERSION: 2.0.2 NVIDIA 87.62 CR Debug(slave2:2896): Render SPU: GL_VENDOR: NVIDIA Corporation CR Debug(slave2:2896): Render SPU: GL_RENDERER: Quadro FX 3400/PCI/SSE2 CR Debug(slave2:2896): Render SPU: GL_VERSION: 2.0.2 NVIDIA 87.62 CR Debug(slave3:2892): Render SPU: GL_VENDOR: NVIDIA Corporation CR Debug(slave3:2892): Render SPU: GL_RENDERER: Quadro FX 3400/PCI/SSE2 CR Debug(slave3:2892): Render SPU: GL_VERSION: 2.0.2 NVIDIA 87.62 CR Debug(slave4:2896): Render SPU: GL_VENDOR: NVIDIA Corporation CR Debug(slave4:2896): Render SPU: GL_RENDERER: Quadro FX 3400/PCI/SSE2 CR Debug(slave4:2896): Render SPU: GL_VERSION: 2.0.2 NVIDIA 87.62 CR Debug(slave3:2892): Readback SPU: 3 bytes per pixel (3 RGB[A] + 0 Z) CR Debug(slave3:2892): Readback SPU: 540000 bytes per 600x300 image CR Warning(vr-master:11988): Render SPU: Can't bind context 1 to CRUT/native window 0x4200008 because of different X visuals (0x38 != 0x2a)! CR Warning(vr-master:11988): Render SPU: Trying to recreate GLX context to match. CR Debug(vr-master:11988): Render SPU: Creating new GLX context with visual 0x38 CR Debug(slave1:2908): Readback SPU: 3 bytes per pixel (3 RGB[A] + 0 Z) CR Debug(slave1:2908): Readback SPU: 540000 bytes per 600x300 image CR Debug(slave2:2896): Readback SPU: 3 bytes per pixel (3 RGB[A] + 0 Z) CR Debug(slave2:2896): Readback SPU: 540000 bytes per 600x300 image CR Debug(slave4:2896): Readback SPU: 3 bytes per pixel (3 RGB[A] + 0 Z) CR Debug(slave4:2896): Readback SPU: 540000 bytes per 600x300 image CR Debug(vr-master:11988): Render SPU: GL_VENDOR: NVIDIA Corporation CR Debug(vr-master:11988): Render SPU: GL_RENDERER: Quadro FX 3400/PCI/SSE2 CR Debug(vr-master:11988): Render SPU: GL_VERSION: 2.0.2 NVIDIA 87.62 CR Debug(vr-master:11988): Buffer pool 0x9f077c0 was empty; allocated new 1048596 byte buffer. CR Debug(vr-master:11988): Buffer pool 0x9f077c0 was empty; allocated new 1048596 byte buffer. CR Debug(vr-master:11988): Buffer pool 0x9f077c0 was empty; allocated new 1048596 byte buffer. CR Debug(vr-master:11988): Buffer pool 0x9f077c0 was empty; allocated new 1048596 byte buffer. CR Debug(vr-master:11988): Buffer pool 0x9f077c0 was empty; allocated new 1048596 byte buffer. CR Debug(vr-master:11988): Buffer pool 0x9f077c0 was empty; allocated new 1048596 byte buffer. CR Debug(vr-master:11989): Using native GL, app window doesn't meet minimum_window_size CR Debug(vr-master:11988): Buffer pool 0x9f077c0 was empty; allocated new 1048596 byte buffer. CR Debug(vr-master:11988): Buffer pool 0x9f077c0 was empty; allocated new 1048596 byte buffer. CR Debug(vr-master:11988): Buffer pool 0x9f077c0 was empty; allocated new 1048596 byte buffer. CR Debug(vr-master:11989): Cleaning up SPU tilesort Killed by signal 2. CR Debug(vr-master:11989): Cleaning up SPU error Killed by signal 2. Killed by signal 2. Killed by signal 2. Killed by signal 2. Thank you for using Chromium! CR Debug(vr-master:11989): Cleaning up SPU tilesort CR Debug(vr-master:11989): Cleaning up SPU error
vade.conf
(application/octet-stream, 5.7 KB)
# Copyright (c) 2001, Stanford University
# All rights reserved
#
# See the file LICENSE.txt for information on redistributing this software.
# This is an example of tilesort-reassembly into an application window.
#
# The app node has a tilesort SPU that connect to two servers.
# Each server has two tiles (four total).
# A readback SPU runs on each server.
# The readback SPUs send two tiles each to the render SPU.
# The render SPU uses render_to_app_window to render into the original
# application window. The render SPU window is never displayed.
# Brian Paul 16 July 2002
# vrcim-cluster.conf
# Eric Sandall 19 July 2006
# WARNING! WARNING! WARNING! WARNING!
#
# If you enable both 'extract_alpha' and RENDER_BACK you'll probably crash
# your X server if using the NVIDIA 2960 drivers. This is probably because
# the render SPU GLX context has different visual attributes (an alpha channel)
# that the original app window lacks. This mismatch shouldn't cause a crash
# but it does. (Brian - 20 August 2002)
#
import sys
sys.path.append( "../server" )
sys.path.append( "/home/chromium/cr/mothership/server" )
from mothership import *
localHostname = os.uname()[1]
if len(sys.argv) < 2:
demo = "vade -v1 -f me473.data"
else:
demo = "vade -v1 -f %s" % sys.argv[1]
# Server(s) base hostname. If your cluster has hosts named cr1, cr2, cr3,
# etc. you'd set ServerHost = 'cr'. If you leave ServerHost as '' then
# all nodes will be on your local host.
ServerHost = 'slave'
cr = CR()
cr.MTU( 1024*1024 ) # may need larger value for big windows
TILE_COLS = 4 # don't change these unless you overhaul LayoutTiles()
TILE_ROWS = 4
MAX_TILE_WIDTH = 300
MAX_TILE_HEIGHT = 300
NUM_SERVERS = 4 # don't change these unless you overhaul LayoutTiles()
SLOP = 30 # window border
REASSEMBLE = 1 # use readback SPUs and downstream render SPU
REASSEMBLE_HOST = "vr-master"
RENDER_BACK = 1 # render back into app window
RESIZABLE = 0 # track client window size changes
FULLSCREEN = 0
BORDERLESS = 0
DLIST_BBOX = 1
LAZY_DLIST = 1
# This is a callback which we register with spu.TileLayoutFunction()
def LayoutTiles(muralWidth, muralHeight):
"""Return list of tuples of new tiles for the given mural size.
Each tuple is of the form (serverIndex, x, y, width, height)."""
if muralWidth > MAX_TILE_WIDTH * TILE_COLS:
print "Warning: mural size is too wide!"
muralWidth = MAX_TILE_WIDTH * TILE_COLS
if muralHeight > MAX_TILE_HEIGHT * TILE_ROWS:
print "Warning: mural size is too tall!"
muralHeight = MAX_TILE_HEIGHT * TILE_ROWS
# four tiles
w = muralWidth / 2
h = muralHeight / 2
t0 = (0, 0, 0, w, h) # lower-left
t1 = (1, w, 0, muralWidth - w, h) # lower-right
t2 = (1, 0, h, w, muralHeight - h) # upper-left
t3 = (0, w, h, muralWidth - w, muralHeight - h) # upper-right
tiles = []
tiles.append(t0)
tiles.append(t1)
tiles.append(t2)
tiles.append(t3)
return tiles
# The application node (tilesort SPU)
tilesortspu = SPU( 'tilesort' )
tilesortspu.TileLayoutFunction( LayoutTiles )
#tilesortspu.Conf('broadcast', '1')
tilesortspu.Conf('bucket_mode', 'Non-Uniform Grid')
tilesortspu.Conf('auto_dlist_bbox',DLIST_BBOX)
tilesortspu.Conf('lazy_send_dlists',LAZY_DLIST)
client_node = CRApplicationNode( )
client_node.StartDir( "/home/chromium/VADE/VADE/EXECS" )
client_node.SetApplication( demo )
client_node.AddSPU( tilesortspu )
client_node.Conf('track_window_size', RESIZABLE)
client_node.Conf('minimum_window_size', [500, 500])
cr.AddNode( client_node )
client_node.AutoStart( ["/bin/sh", "-c", "source $HOME/.bashrc && LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%s %s/crappfaker" % (crlibdir, crbindir) ] )
# Final reassembly node (render SPU)
if REASSEMBLE:
render_node = CRNetworkNode()
renderspu = SPU('render')
renderspu.Conf( 'window_geometry',
[850, 0, TILE_COLS * MAX_TILE_WIDTH, TILE_ROWS * MAX_TILE_HEIGHT] )
renderspu.Conf('render_to_app_window', RENDER_BACK)
renderspu.Conf('resizable', RESIZABLE)
renderspu.Conf('fullscreen',FULLSCREEN)
renderspu.Conf('borderless',BORDERLESS)
render_node.Conf('only_swap_once', 1)
render_node.AddSPU(renderspu)
cr.AddNode( render_node )
render_node.AutoStart( ["/usr/bin/ssh", REASSEMBLE_HOST, "/bin/sh -c 'source $HOME/.bashrc && DISPLAY=:0.0 CRMOTHERSHIP=%s LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%s crserver'" % (REASSEMBLE_HOST, crlibdir) ] )
# create server nodes
serverNodes = range(NUM_SERVERS)
for i in range(NUM_SERVERS):
if ServerHost == '':
serverNodes[i] = CRNetworkNode( )
else:
host = ServerHost + str(i + 1)
serverNodes[i] = CRNetworkNode( host )
if REASSEMBLE:
readbackspu = SPU( 'readback' )
readbackspu.Conf( 'window_geometry',
[0, i * (MAX_TILE_HEIGHT + SLOP),
2 * MAX_TILE_WIDTH, MAX_TILE_HEIGHT] )
readbackspu.Conf('extract_alpha', 0)
readbackspu.Conf('extract_depth', 0)
readbackspu.Conf('title', 'readback SPU %d' % i)
serverNodes[i].AddSPU( readbackspu )
packspu = SPU('pack')
serverNodes[i].AddSPU(packspu)
packspu.AddServer( render_node, protocol='tcpip' )
serverNodes[i].AutoStart( ["/usr/bin/ssh", host, "/bin/sh -c 'source $HOME/.bashrc && DISPLAY=:0.0 CRMOTHERSHIP=%s LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%s crserver'" % (localHostname, crlibdir) ] )
else:
renderspu = SPU( 'render' )
renderspu.Conf( 'window_geometry',
[0, i * (MAX_TILE_HEIGHT + SLOP),
2 * MAX_TILE_WIDTH, MAX_TILE_HEIGHT] )
serverNodes[i].AddSPU( renderspu )
tilesortspu.AddServer( serverNodes[i], protocol='tcpip', port=7001 + i )
serverNodes[i].Conf('optimize_bucket', '0')
cr.AddNode( serverNodes[i] )
# setup tiling
for row in range(TILE_ROWS):
for col in range(TILE_COLS):
index = row * TILE_COLS + col
srv = index % NUM_SERVERS
node = serverNodes[srv]
node.AddTile( col * MAX_TILE_WIDTH,
(TILE_ROWS - row - 1) * MAX_TILE_HEIGHT,
MAX_TILE_WIDTH, MAX_TILE_HEIGHT )
cr.Go()