multiple videoPlanes, videoCards and performance issues

May 22, 2006 at 1:56am

multiple videoPlanes, videoCards and performance issues

Hi list,

I’m currently trying to build a gl patch that could drive three 800 X 600
windows (each on a separate 6600 NVidia card stacked in a quad 2.5 G5). The
tricky part about this project is that I have to subdivize each window in 12
smaller blocks/videoScreens and have a gl.shader available to do real-time
treatment on all the video ouputs.

I’m currently reading the texture files (800 X 600, photoJpg, 15 fps) from
the ram, slicing them up with jit.scissors and tying them to independent
gl.texture and videoplane objects. I’m using a separate rendering context
for each window (seems to be HW).

I’m able to get 14 fps (if i can trust the fpsgui object…) but the video
seems to” clog-up” at moments and the computer eventually crashes after 15
minutes. I was wondering If there would be better ways to structure this
project.

I’ve read previous threads concerning multiple video Outputs and openGL +
other ones relating to texturing issues. I found there valuable information
(concerning rendering context, colorspace, window syncing and such) but
wanted to ask if anyone on the list tried something similar and what kind of
performance I should expect out of my set-up.

Thanks,

Etienne

#26102
May 23, 2006 at 8:46am

There was just a post on May 20th called “Using jit.gl.videoplane as
jit.glue” that might be of interest to you, for a different technique
with a single texture.

Otherwise, I use a similar method, but using multiple.jit.submatrix
objects instead of jit.scissors objects, each with it’s own
jit.texture. I have over 96 of them on a dual-core 2GHz G5 (nVidia
6600) with no problem (50fps, easy). Perhaps the multiple windows is
what’s bogging you down.

best,
evan

#77568
May 26, 2006 at 9:57pm

Sorry, forgot to add two necessary subObjects.

E.

—-
max v2;
#N vpatcher 20 74 776 517;
#P origin 33 20;
#P window setfont “Sans Serif” 9.;
#P newex 53 142 92 196617 route reset param;
#P newex 81 359 32 196617 sel 1;
#P window linecount 0;
#P message 140 391 217 196617;
#P window linecount 1;
#P newex 140 331 62 196617 prepend set;
#P newex 47 270 51 196617 zl slice 1;
#P newex 469 275 71 196617 prepend scale;
#P newex 81 334 27 196617 ==;
#P newex 383 276 83 196617 prepend position;
#P newex 558 124 27 196617 t i i;
#P newex 575 48 48 196617 loadbang;
#P newex 558 100 27 196617 int;
#P message 575 75 21 196617 $1;
#N coll scaleStart.col;
#P newobj 558 181 92 196617 coll scaleStart.col;
#N coll scale;
#P newobj 239 53 53 196617 coll scale;
#N coll positionStart.col;
#P newobj 575 147 104 196617 coll positionStart.col;
#N coll position;
#P newobj 150 53 64 196617 coll position;
#P newex 565 308 47 196617 r texItA;
#P newex 504 309 52 196617 r bangItA;
#P newex 1 53 119 196617 route tous unique;
#P newex 1 22 55 196617 r screenA;
#P outlet 504 344 15 0;
#P connect 1 0 2 0;
#P connect 2 0 20 0;
#P fasten 16 0 14 0 52 311 86 311;
#P connect 14 0 19 0;
#P fasten 16 1 17 0 93 296 145 296;
#P connect 17 0 18 0;
#P fasten 19 0 18 0 86 383 145 383;
#P fasten 5 0 13 0 155 235 388 235;
#P fasten 6 0 13 0 580 168 388 168;
#P fasten 7 0 15 0 244 235 474 235;
#P fasten 8 0 15 0 563 241 474 241;
#P fasten 4 0 0 0 570 337 509 337;
#P connect 3 0 0 0;
#P fasten 13 0 0 0 388 337 509 337;
#P fasten 15 0 0 0 474 337 509 337;
#P connect 20 1 0 0;
#P connect 20 0 10 0;
#P connect 10 0 12 0;
#P connect 12 0 8 0;
#P connect 11 0 9 0;
#P connect 9 0 10 1;
#P connect 12 1 6 0;
#P pop;

——–

max v2;
#N vpatcher 20 74 754 454;
#P origin 33 41;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 53 121 92 196617 route reset param;
#P newex 469 254 71 196617 prepend scale;
#P newex 383 255 83 196617 prepend position;
#P newex 558 103 27 196617 t i i;
#P newex 575 27 48 196617 loadbang;
#P newex 558 79 27 196617 int;
#P message 575 54 21 196617 $1;
#N coll scaleStart.col;
#P newobj 558 160 92 196617 coll scaleStart.col;
#N coll scale;
#P newobj 239 32 53 196617 coll scale;
#N coll positionStart.col;
#P newobj 575 126 104 196617 coll positionStart.col;
#N coll position;
#P newobj 150 32 64 196617 coll position;
#P newex 558 288 46 196617 r texItB;
#P newex 504 288 51 196617 r bangItB;
#P newex 1 32 119 196617 route tous unique;
#P newex 1 1 54 196617 r screenB;
#P outlet 504 323 15 0;
#P connect 1 0 2 0;
#P connect 2 0 15 0;
#P fasten 5 0 13 0 155 214 388 214;
#P fasten 6 0 13 0 580 147 388 147;
#P fasten 7 0 14 0 244 214 474 214;
#P fasten 8 0 14 0 563 220 474 220;
#P fasten 4 0 0 0 563 316 509 316;
#P connect 3 0 0 0;
#P fasten 13 0 0 0 388 316 509 316;
#P fasten 14 0 0 0 474 316 509 316;
#P connect 15 1 0 0;
#P connect 15 0 10 0;
#P connect 10 0 12 0;
#P connect 12 0 8 0;
#P connect 11 0 9 0;
#P connect 9 0 10 1;
#P connect 12 1 6 0;
#P pop;

#77569

You must be logged in to reply to this topic.