"error could not create jit.matrix u7780..."etc. when using jit.gl.model

Jack Palmer's icon

Hello,

First post! :)

I have created a patch with 64 instances of jit.gl.model. 52 of these are used to load GLTF models (i downloaded from various websites) the rest are currently vacant.

After loading all the models and turning on the jit.world rendering, after some time I start getting this error message in the console over and and over -

error could not create jit.matrix u569010568

error could not create jit.matrix u408010634

error could not create jit.matrix u022010690

etc.. all with different matrix id numbers

However, everything still runs fine at 60fps or more, with no obvious textures or anything missing from the models.

Eventually Max crashes completely without warning. This seems to be consistent behavior. It will run for a while maybe an hour or so, the error messages pile up, then it just crashes.

I am quite out of my depth here and consider myself maybe an "intermediate" Max user. Any help with or suggestions as to what might be going on would be much appreciated!

thanks!

--

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

A lot of whats here ^ connects to the rest of the patch so wont make sense, but you can see the actual jit.gl.model set up is pretty simple.

TFL's icon

I would make a stripped down version of your whole patch with maybe just 4 or 8 instances of your abstraction with the jit.gl.model, and see if you still get those error messages after some time. And if so, send that stripped down version (with the used models) to support along with a crash report if you get one after Max crashes.

While the patch is running, did you monitor RAM/VRAM usage to see if it is increasing?

Jack Palmer's icon

Thanks so much for your response! Thats a good idea, I will do this and see what happens.

I did look at activity monitor (im on a mac) it seems to run pretty consistently like this:

Im not so familar with all this stuff but to me it looks like it has buffer room before it hits its limit. However i haven't been looking at as it crashes so i dont know if it spikes. (will keep an eye out for next time)

A friend who is a software developer asked if Max has a CPU and GPU monitor where you can trace what is doing what? Apparently Touch Designer has this sort of thing built in. Do you know of how to monitor this stuff in Max?

thanks again :)