problem with jit.gl.render on IMac G5

Apr 26, 2006 at 2:47pm

problem with jit.gl.render on IMac G5

Hello, Jitter-folk,

I am writing with regard to a problem I’m having on a recently
purchased IMac G5 (PPC, NOT intel) 2.1GHz 21″ machine.

I’m running a previously created patch that worked fine on a Powerbook G4
1GHz / 1.5GB RAM.

Now I’m trying to work on it on a new IMac G5 2.1GHz / 1.5 GB RAM, ATI
Radeon x600 XT

Both machines have Jitter 1.5.2 installed.
With the Powerbook test-run, all works fine,
> jit.gl.render: building GL on window “Sonic_Subway_Map”…
… commences and the project is OK.

With the new IMac test-run, I get:
> jit.gl.render: building GL on window “Sonic_Subway_Map”…

then
>jit.gl.texture: setting texture target.: GL Error: Invalid value
jit.gl.texture: setting subteximage during submission.: GL Error:
Invalid operation

Since nothing has changed besides my machine here, I’m confused. I’ve
sent this “isolated problem” patch to others and it works on their
powerbooks:

max v2;
#N vpatcher 20 109 1161 794;
#P origin 77 26;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P comment 814 126 86 196617 esc to fullscreen;
#P newex 719 168 32 196617 sel 9;
#P newex 719 144 40 196617 key;
#B color 9;
#P message 814 211 70 196617 fullscreen $1;
#P toggle 814 190 15 0;
#P newex 814 167 53 196617 sel 27;
#P newex 814 143 40 196617 key;
#P message 719 213 55 196617 floating $1;
#P toggle 719 195 15 0;
#P comment 719 126 58 196617 tab to float;
#P window setfont “Sans Serif” 14.;
#P window linecount 2;
#P newex 744 244 217 196622 jit.window Sonic_Subway_Map @size 640 480
@idlemouse 1;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 176 363 48 196617 loadbang;
#P message 176 390 156 196617 read NY_Subway_Mapwork2.jpg;
#P window setfont “Sans Serif” 14.;
#P flonum 594 392 56 14 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 474 420 147 196622 pak color 1. 1. 1. 1.;
#P newex 653 312 33 196622 b 2;
#P newex 176 420 296 196622 jit.qt.movie 1600 1200 @colormode uyvy;
#P newex 614 276 89 196622 t b b erase;
#P toggle 614 215 20 0;
#P newex 614 239 83 196622 qmetro 10;
#P window linecount 2;
#P newex 176 457 383 196622 jit.gl.videoplane Sonic_Subway_Map @scale
2.2 1.656 1. @automatic 0 @blend_enable 1 @colormode uyvy;
#P newex 707 384 229 196622 jit.gl.render Sonic_Subway_Map
@erase_color 0.4 0.4 0.4 1.;
#P connect 10 0 9 0;
#P connect 6 1 5 0;
#P connect 9 0 5 0;
#P connect 6 0 1 0;
#P fasten 7 0 1 0 479 450 181 450;
#P connect 5 0 1 0;
#P connect 8 0 7 4;
#P connect 13 0 3 0;
#P connect 3 0 2 0;
#P connect 2 0 4 0;
#P connect 4 1 6 0;
#P fasten 4 2 0 0 697 310 712 310;
#P lcolor 4;
#P connect 4 0 0 0;
#P connect 19 0 20 0;
#P connect 20 0 13 0;
#P connect 13 0 14 0;
#P connect 18 0 11 0;
#P connect 14 0 11 0;
#P connect 15 0 16 0;
#P connect 16 0 17 0;
#P connect 17 0 18 0;
#P pop;

I can send the image as a personal e-mail attachment to anybody who is
able to help since I’m not sure how the list feels about attachments.
Perhaps someone knows the answer to this mystery? Time is of the
essence as this is going to be part of an
installation that begins in a week and a half!
Cheers,
Jim Briggs

#25663
Apr 26, 2006 at 2:59pm

I had this problem recently, and I solved it by changing the
dimensions of my texture images.
I don’t know what exactly is the problem, but I guess it has
something to do with proportions or multiples of 2 pixels width/high…
So not exactly sure, but that ‘did’ solve it for me. If someone can
shed more light on this, i’d be happy to know this as well…

regards,
brecht

#75782
Apr 26, 2006 at 6:39pm

Hey,

could you send me the file you use in this patch ?
Interested to check what the problem can be…

grtz,
Brecht.

#75783
Apr 26, 2006 at 6:47pm

I just located my problem and it was with quicktime, actually. I did a
re-install up to the latest version and it solved everything.

I noticed when going back to the help that the movies either weren’t playing
or were acting funny when I loaded them up in help.

Nice to know it wasn’t my new machine or max inabilities. ;)

I can still send the image if you’d like, though.

Cheers,
Jim

#75784
Apr 26, 2006 at 7:09pm

Well… I guess that wont be necessary :) Good to hear you managed to
solve it.
I did have the problem with the jit.gl.texture objects when loading
in certain files of certain dimensions which seems to be related to
the hardware.

#75785

You must be logged in to reply to this topic.