Forums > Jitter

jit.gl.texture error

March 14, 2008 | 1:26 am

If I close and reopen my patch I get the following errors on every bang of the metro. Anyone know what is causing this or how to fix it? I think it could be the jit.gl.slab:

jit.gl.texture: error submitting texture data: GL Error: Invalid operation
• error: jit.gl.texture: error attaching texture to readback mechanism for capture!
jit.gl.pbuffer: error binding texture: GL Error: Invalid operation
• error: jit.gl.texture: unable to create texture!

Patch below (there are loadbangs to open the grabber and send it to fullscreen):

max v2;
#N vpatcher 14 47 1035 743;
#P origin 9 13;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P hidden newex 394 -39 45 196617 onebang;
#P newex 30 592 33 196617 r full;
#P newex 395 -14 33 196617 s full;
#P hidden newex 314 -15 35 196617 t 127;
#P hidden newex 341 -40 45 196617 onebang;
#P hidden newex 288 -40 45 196617 onebang;
#P hidden newex 168 -105 81 196617 scale 0 10 10 0;
#P hidden newex 239 -41 45 196617 onebang;
#P hidden newex 330 -119 68 196617 sel 2 3 8 10;
#P hidden message 62 -142 68 196617 0 , 10 10000;
#P hidden newex 177 -130 40 196617 line;
#P hidden newex 169 -170 48 196617 loadbang;
#P user hslider 111 29 12 71 128 1 0 0;
#P message 390 84 39 196617 vol $1;
#P message 330 82 31 196617 3.74;
#P message 238 48 46 196617 settings;
#P flonum 287 432 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 287 454 88 196617 param amount $1;
#P newex 566 533 346 196617 jit.gl.slab borzu @file cc.uyvy2rgba.lite.jxs @automatic 0 @dimscale 2. 1.;
#P newex 609 487 346 196617 jit.gl.slab borzu @file cc.uyvy2rgba.lite.jxs @automatic 0 @dimscale 2. 1.;
#P newex 567 509 328 196617 jit.gl.slab borzu @file co.normal.jxs @param amount 0.5 @automatic 0;
#P user jit.fpsgui 270 506 60 196617 0;
#P newex 544 567 270 196617 jit.gl.videoplane borzu @automatic 0 @transform_reset 2;
#P newex 270 482 93 196617 jit.gl.render borzu;
#P newex 594 333 72 196617 t b b l b erase;
#P newex 488 268 51 196617 zl ecils 1;
#P newex 487 250 60 196617 thresh 251;
#P button 406 274 15 0;
#P newex 396 242 58 196617 metro 250;
#P message 427 143 72 196617 changemode 0;
#N jit.cyclops;
#X restoreVISettings 1082 75 1257 210 1038 458 1258 678 5 5 4 0 0 65535 0 0 0 0 65535 256 0 1;
#X restoreVIPalette 10401385 65536 11474194 0 7828377 1 14114849 0 800803 0 538021 0 4280430 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0;
#X restoreVIZone 1 0.50625 0.475 closest 0 1 2 3 4 5 6;
#X restoreVIChksum 3327;
#P newobj 442 211 100 196617 jit.cyclops 320 240;
#P newex 796 408 75 196617 prepend frame;
#P toggle 677 150 15 0;
#P message 676 180 64 196617 sampling $1;
#P number 242 215 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 375 149 36 196617 r pick;
#P newex 142 585 36 196617 s pick;
#P newex 505 23 48 196617 loadbang;
#P message 41 645 68 196617 fullscreen $1;
#P toggle 24 645 15 0;
#P newex 66 620 35 196617 sel 27;
#P newex 24 620 40 196617 key;
#P newex 658 388 71 196617 sel loopnotify;
#P newex 14 664 290 196617 jit.window borzu @colormode uyvy @floating 1 @fsmenubar 0;
#P message 663 51 85 196617 read screen.mov;
#P newex 287 357 21 196617 t 1;
#P newex 658 409 21 196617 t 0;
#P newex 596 288 68 196617 r metronome;
#P newex 241 80 68 196617 s metronome;
#P newex 485 292 103 196617 sprintf read %s.mov;
#P newex 488 231 43 196617 route 1;
#P newex 311 354 347 196617 jit.qt.movie 850 480 @adapt 1 @unique 1 @colormode uyvy @loopreport 1;
#P newex 594 310 280 196617 jit.qt.movie 850 480 @adapt 1 @unique 1 @colormode uyvy;
#P message 52 50 20 196617 50;
#P message 12 49 14 196617 9;
#P newex 91 233 70 196617 speedlim 100;
#P number 52 74 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 12 74 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 157 488 62 196617 prepend set;
#P newex 52 463 32 196617 * 10;
#P newex 12 463 32 196617 * 10;
#P newex 206 562 21 196617 t 0;
#P newex 141 536 21 196617 t 1;
#P toggle 141 557 15 0;
#P newex 71 561 29 196617 gate;
#P newex 141 515 56 196617 past 1000;
#P newex 90 509 20 196617 t b;
#P newex 90 487 60 196617 split 0 100;
#P newex 90 345 27 196617 i;
#P newex 90 434 32 196617 mean;
#B color 5;
#P newex 90 411 175 196617 pack 0 0 0 0 0 0 0 0 0 0 0 0;
#P newex 105 390 161 196617 bucket 11;
#P newex 90 368 46 196617 unpack i;
#P newex 91 273 27 196617 t l l;
#P newex 90 302 89 196617 jit.op @op absdiff;
#P newex 90 324 56 196617 cv.jit.sum;
#P newex 91 253 66 196617 jit.rgb2luma;
#P newex 91 214 139 196617 jit.matrix bitty 4 char 4 4 4;
#P toggle 505 123 15 0;
#P toggle 578 123 15 0;
#P toggle 518 161 15 0;
#P message 518 181 64 196617 drawgrid $1;
#P message 578 142 71 196617 drawzones $1;
#P toggle 596 161 15 0;
#P toggle 457 164 15 0;
#P message 457 182 52 196617 palwin $1;
#P message 596 180 63 196617 videowin $1;
#P message 505 142 65 196617 bangmode $1;
#P message 173 121 26 196617 120;
#P message 105 121 26 196617 160;
#P flonum 283 112 66 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 305 139 45 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 242 139 45 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 305 159 58 196617 zoom_y $1;
#P message 242 159 58 196617 zoom_x $1;
#P number 173 139 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 105 139 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 173 159 65 196617 anchor_y $1;
#P message 105 159 65 196617 anchor_x $1;
#P newex 91 189 43 196617 jit.rota;
#P toggle 91 28 15 0;
#P message 159 49 28 196617 open;
#B color 9;
#P message 200 49 31 196617 close;
#B color 9;
#P newex 91 50 51 196617 qmetro 2;
#P newex 91 80 146 196617 jit.qt.grab 240 180 @unique 1;
#P newex 0 19 48 196617 loadbang;
#P comment 223 254 100 196617 cyclops;
#P comment 190 189 235 196617 clicking here always picks the right color->;
#P comment 113 12 100 196617 volume;
#P fasten 3 0 54 0 5 42 17 42;
#P connect 54 0 51 0;
#P connect 51 0 48 0;
#P connect 70 0 65 0;
#P connect 107 0 69 0;
#P fasten 68 0 69 0 71 642 29 642;
#P fasten 69 0 70 0 40 660 40 645;
#P fasten 3 0 55 0 5 42 57 42;
#P connect 55 0 52 0;
#P connect 52 0 49 0;
#P hidden connect 97 0 99 0;
#P fasten 67 0 68 0 65 637 65 622;
#P connect 45 0 44 0;
#P connect 35 1 34 0;
#P connect 34 0 33 0;
#P connect 33 0 40 0;
#P connect 40 0 36 0;
#P connect 36 0 38 0;
#P connect 38 0 39 0;
#P fasten 39 0 41 0 95 469 95 469;
#P connect 41 0 42 0;
#P connect 42 0 44 1;
#P hidden connect 101 0 8 0;
#P connect 8 0 5 0;
#P fasten 5 0 4 0 96 73 96 73;
#P fasten 93 0 4 0 243 72 96 72;
#P fasten 7 0 4 0 164 72 96 72;
#P fasten 6 0 4 0 205 72 96 72;
#P fasten 15 0 9 0 310 181 96 181;
#P fasten 14 0 9 0 247 181 96 181;
#P fasten 11 0 9 0 178 181 96 181;
#P fasten 10 0 9 0 110 181 96 181;
#P connect 4 0 9 0;
#P fasten 4 0 31 0 77 97 77 211 96 211;
#P connect 31 0 53 0;
#P connect 53 0 32 0;
#P connect 32 0 35 0;
#P fasten 71 0 19 0 510 105 110 105;
#P connect 19 0 12 0;
#P connect 12 0 10 0;
#P fasten 36 0 37 0 95 387 110 387;
#P connect 37 0 38 1;
#P hidden connect 105 0 96 0;
#P connect 37 1 38 2;
#P connect 37 2 38 3;
#P fasten 48 0 41 2 17 483 145 483;
#P fasten 50 0 43 0 162 510 146 510;
#P fasten 41 1 43 0 145 509 146 509;
#P connect 43 0 46 0;
#P connect 47 0 45 0;
#P connect 46 0 45 0;
#P connect 45 0 72 0;
#P connect 37 3 38 4;
#P connect 74 0 53 1;
#P fasten 49 0 50 0 57 483 162 483;
#P hidden connect 103 0 7 0;
#P connect 37 4 38 5;
#P hidden connect 98 0 102 0;
#P connect 35 0 34 1;
#P fasten 71 0 20 0 510 105 178 105;
#P connect 20 0 13 0;
#P connect 13 0 11 0;
#P hidden connect 99 0 98 0;
#P connect 37 5 38 6;
#P connect 37 6 38 7;
#P connect 44 0 47 0;
#P connect 37 7 38 8;
#P connect 37 8 38 9;
#P hidden connect 100 0 101 0;
#P connect 37 9 38 10;
#P fasten 5 0 60 0 96 72 246 72;
#P fasten 18 0 16 0 288 133 247 133;
#P connect 16 0 14 0;
#P connect 37 10 38 11;
#P fasten 84 0 85 0 599 427 275 427;
#P fasten 84 4 85 0 659 351 275 351;
#P connect 85 0 87 0;
#P hidden connect 97 0 101 1;
#P connect 94 0 18 0;
#P fasten 59 0 63 0 490 351 292 351;
#P fasten 63 0 92 0 292 390 292 390;
#P fasten 62 0 92 0 663 427 292 427;
#P connect 92 0 91 0;
#P connect 100 2 103 0;
#P fasten 18 0 17 0 288 133 310 133;
#P connect 17 0 15 0;
#P connect 95 0 57 0;
#P fasten 84 3 57 0 644 351 316 351;
#P fasten 59 0 57 0 490 351 316 351;
#P hidden connect 104 0 105 0;
#P hidden connect 97 0 103 1;
#P hidden connect 98 0 100 0;
#P fasten 71 0 94 0 510 46 335 46;
#P connect 100 3 104 0;
#P hidden connect 97 0 104 1;
#P fasten 96 0 95 0 116 42 395 42;
#P connect 100 1 108 0;
#P connect 108 0 106 0;
#P connect 73 0 80 0;
#P connect 80 0 81 0;
#P fasten 71 0 79 0 510 46 432 46;
#P connect 97 0 108 1;
#P fasten 79 0 78 0 432 207 447 207;
#P fasten 23 0 78 0 462 203 447 203;
#P fasten 27 0 78 0 523 203 447 203;
#P fasten 22 0 78 0 601 203 447 203;
#P fasten 75 0 78 0 681 203 447 203;
#P fasten 26 0 78 0 583 203 447 203;
#P fasten 21 0 78 0 510 203 447 203;
#P fasten 9 0 78 0 96 207 447 207;
#P connect 81 0 78 0;
#P connect 24 0 23 0;
#P fasten 83 1 59 0 534 288 490 288;
#P connect 58 0 82 0;
#P connect 78 1 58 0;
#P connect 82 0 83 0;
#P fasten 71 0 30 0 510 81 510 81;
#P connect 30 0 21 0;
#P connect 28 0 27 0;
#P fasten 84 1 86 0 614 472 549 472;
#P fasten 88 0 86 0 572 529 549 529;
#P fasten 57 0 90 0 316 426 571 426;
#P fasten 91 0 88 0 292 472 572 472;
#P fasten 89 0 88 0 614 506 572 506;
#P fasten 84 1 88 0 614 472 572 472;
#P connect 29 0 26 0;
#P connect 95 0 56 0;
#P connect 77 0 56 0;
#P fasten 64 0 56 0 668 308 599 308;
#P fasten 61 0 56 0 601 324 599 324;
#P fasten 56 0 84 0 599 329 599 329;
#P connect 25 0 22 0;
#P fasten 84 2 89 0 629 385 614 385;
#P fasten 57 1 66 0 653 385 663 385;
#P connect 66 0 62 0;
#P fasten 71 0 64 0 510 45 668 45;
#P connect 76 0 75 0;
#P fasten 66 0 77 0 663 407 801 407;
#P connect 90 0 88 1;
#P pop;


Viewing 1 post (of 1 total)