Forums > Jitter

jit.gl.slab not working on Mac with multiple graphic cards

November 27, 2006 | 3:14 pm

hello list,
I have a problem when I try to use jit.gl.slab on a Mac with multiple
graphic cards where monitors are attached. The Computer I use is a Mac
Quad (4*2.5 GHz, 4.5 GB Ram) with three PCI express graphic cards. this
is one Nvidia gforce 7800Gt and two nvidia gforce 6600. as long as
monitors (2) are attached to only one graphic card jit.gl.slab works
just like expected. if I attach a monitor to a second graphic card
jit.gl.slab doesn’t operate any more and the following error messages
appear in the max window:

• error: jit.gl.pbuffer: error binding invalid pbuffer!
• error: jit.gl.texture: error binding readback mechanism for capture!

this happens with the jit.gl.slab.help patch. a shader used with
jit.gl.shader still works.

Max 4.6.2
jitter 1.6.2

I tested this on a PC with two PCI express cards and everything worked fine.

thanks for any hints.. john.


November 27, 2006 | 4:01 pm

somehow I had the feeling that I should try this with Max 4.5.7 and
jitter 1.5.2. -and it works fine. from jitter 1.6.2 I made use of the
shaders td.kaleido.jxs and cf.radialblur.jxs that do not come with
jitter 1.5.2. So i just copied the missing shaders to the older version.
But it seems that they are not compatible? I get the following errors in
the Max window:

• error: jit.gl.shader: jit.gl.shader: error creating CG program : CG
ERROR : The compile returned an error.
• error: — START CG INFO LOG –
(0) : error C0000: syntax error, unexpected $end at token ""
(0) : error C0501: type name expected at token "
"
• error: — END CG INFO LOG –
jit.gl.texture: error disabling transform: GL Error: Stack underflow
jit_gl_end_capture: GL Error: Stack underflow
ob3d_draw_end popmatrix: GL Error: Stack underflow
• error: jit.gl.shader: jit.gl.shader: error creating CG program : CG
ERROR : The compile returned an error.
• error: — START CG INFO LOG –
(0) : error C0000: syntax error, unexpected $end at token "
"
(0) : error C0501: type name expected at token "
"
• error: — END CG INFO LOG –
jit.gl.texture: error disabling transform: GL Error: Stack underflow
jit_gl_end_capture: GL Error: Stack underflow
ob3d_draw_end popmatrix: GL Error: Stack underflow

I assume that the shader implementation has somehow changed from 1.5.2
to 1.6.2. Is there a workaround WITHOUT knowing anything about shader
languages?

thanks john.


November 28, 2006 | 8:50 am

> I assume that the shader implementation has somehow changed from 1.5.2
> to 1.6.2.

Aside from a bug fix or two, nothing was changed that would affect the
loading of shader files. I just tried both shaders in Max 4.5.7 and
Jitter 1.5.2 without issue. Are you sure you copied the shaders
properly? I’m on a PB 1.67 with a Radeon 9700 and OSX 10.4.8.

wes


November 29, 2006 | 11:22 am

Quote: John deKron wrote on Mon, 27 November 2006 16:14
—————————————————-
> if I attach a monitor to a second graphic card
> jit.gl.slab doesn’t operate any more and the following error messages
> appear in the max window:
>
> ⤢ error: jit.gl.pbuffer: error binding invalid pbuffer!
> ⤢ error: jit.gl.texture: error binding readback mechanism for capture!
>
> this happens with the jit.gl.slab.help patch. a shader used with
> jit.gl.shader still works.
>
> Max 4.6.2
> jitter 1.6.2
>

Confirmed on a Quad G5 with 1 GeForce 7800GT (2 monitors) and 1 GeForce 6600 (2 monitors). With monitors connected to 1 card everything is fine. When I connect a monitor to the other card, after auto-detecting it, at first everything is fine. When I drag the output screen to the newly attached monitor, I get these errors:

? error: jit.gl.pbuffer: error binding invalid pbuffer!
? error: jit.gl.texture: error binding readback mechanism for capture!

When I drag the window back to the original position, or when I close the patch and re-open it, the errors persist.

This all holds for Max 4.6.2, Jitter 1.6.2

NOTE – I tried on Jitter 1.6.3b, the problem is fixed there. I get

jit.gl.render: building GL on window "foo"…
? error: jit.gl.texture: unable to create texture!
? error: jit.gl.texture: unable to create texture!

only once when I drag the output window to the other screen, but the patch keeps working.

Wes, I don’t understand your reaction. Since this is fixed in 1.6.3b, I would expect you to recognize this behaviour and directly refer to 1.6.3b.

Regards,
Mattijs


November 29, 2006 | 3:52 pm

> Wes, I don’t understand your reaction. Since this is fixed in 1.6.3b, I would expect you to recognize this behaviour and directly refer to 1.6.3b.

I think you’re misreading my tone of voice. THere was no reaction.
Just responding to his email :} < - smiley for good measure.

wes

>
> Regards,
> Mattijs
> –
> SmadSteck – http://www.smadsteck.nl
> Interactive audiovisual sampling soft- and hardware
>
>


Viewing 5 posts - 1 through 5 (of 5 total)