serious problems with slabs in a row

paulklee's icon

Hi there,

I have some trouble with a few jit.gl.slab objects in a row (actualy just three right now). I am using different shaders that can be changed while the program is running. Max sometimes reports some "check failed" "zgetfn" or "egetfn" object corrupt messages when choosing or activating a new shader. I do not have a clue what the problem is, because sometimes it's working - and sometimes max is crashing completely.
I'm using Jitter 1.5 on an IBM Thinkpad T42p with a ATI FireGL T2 Mobility video card.
If necessary I can post the patch too.

thanks a lot for any advice or comment
best
.tom

Wesley Smith's icon

Can you post an example patch?

thanks,
wes

Joshua Kit Clayton's icon

> If necessary I can post the patch too.

Please. *Always* provide examples + steps to reproduce. Otherwise, we
can only speculate.

-Joshua

paulklee's icon

sorry, I thought this might be a common problem or issue.
I attached just the subpatcher for the slab-chain to show how I am trying to deal with it. The two inlets on the top are fed by two video sources. Each of them passes two variable shaders (for brightness, bias or whatever correction) and then they merge in the third jit.slab that is used for compositing tasks. Finaly the merged video goes through a last shader to do some final adjustment. The specific shader-destinations, params and the control for the gates is sent by another subpatcher that is controlling the main user-interface. It all seems to work, but sometimes (always after a while playing around with different shaders) I get error messages and max crashes. When max crashes, I get strange visual artefacts all over the screen, so it seems to be a video problem. Either I am dealing in a wrong way with the slabs or there are some driver problems with my ATI FireGL Mobility T2. I don't have to mention that I am working on XP.

thanks again

best
.tom

Max Patch
Copy patch and select New From Clipboard in Max.

Joshua Kit Clayton's icon

Please provide a *complete* example patch with a numbered set of
steps to reproduce the exact issue. What you've provided isn't quite
enough for us.

Thanks,
Joshua

paulklee's icon

alright, I attached the hole patch.
Notice that I just use two of the slab objects yet,
the others are just bypassed.

The main patcher is called 0_SlabTest.pat (as there are a few bpatchers and stupid script-comments in the folder as well)

The video footages I used are 768 x 432px foto-jpeg files.

Hope that is all you need.
thanks

.tom

paulklee's icon

sorry, I couldn't attach a zip file.
So there we go - but without the separate bpatcher and script files.

Max Patch
Copy patch and select New From Clipboard in Max.

paulklee's icon

just a little update,

I tried to install a new catalyst mobility driver for my video card and nothing worked at all anymore. As soon as I startet the rendering of the videoplane max crashed so I went back to the old driver - with the old problem that it's working 'a little bit' and just crashes when playing around to much with the different shaders.

best
.tom

yair reshef's icon

uninstall your graphic card driver with a freeware that eliminates current
driver files and registry references to it. wundiows world.
http://www.drivercleaner.net/professional.html

paulklee's icon

No one out there to give me a hint?

it's not a problem of leftovers of the catalyst grafic driver - I removed it already comlpletely.

It seems to be a problem of switching the shaders while the video is rendered. Could there be some kind of confusion that while my video is processed by one shader I am replacing this shader by another one?

I don't really know where to look for further information that might help me - but is there any way to disable the old shader properly just in the moment when I'm switching to another shader in the same jit.gl.slab object? So that there is a clear stop of processing the video in the old shader.
It seems to be a bit tricky.
I hope there is a way around writing a new shader that combines many function, coz I'm not that familiar with the OpenGL shading language.

please, give me a hand. It's quite important for me to understand something down here.

best
.tom

nesa's icon

Maybe this was already suggested to you(I have a large fresh chunk of
maxlist to digest), but maybe omega ati drivers might be of some help to
you? Omega worked better for me than 'official' drivers. Try to find it via
google, can't remember url at the moment.

nesa