serious problems with slabs in a row

    Jun 15 2006 | 7:44 pm
    Hi there,
    I have some trouble with a few 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

    • Jun 15 2006 | 8:06 pm
      Can you post an example patch?
      thanks, wes
    • Jun 15 2006 | 8:09 pm
      > If necessary I can post the patch too.
      Please. *Always* provide examples + steps to reproduce. Otherwise, we can only speculate.
    • Jun 15 2006 | 10:09 pm
      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
    • Jun 15 2006 | 10:57 pm
      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
    • Jun 16 2006 | 10:25 am
      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
    • Jun 16 2006 | 10:45 am
      sorry, I couldn't attach a zip file. So there we go - but without the separate bpatcher and script files.
    • Jun 16 2006 | 8:34 pm
      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
    • Jun 16 2006 | 8:50 pm
      uninstall your graphic card driver with a freeware that eliminates current driver files and registry references to it. wundiows world.
    • Jun 17 2006 | 1:01 pm
      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 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
    • Jun 18 2006 | 4:15 pm
      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.