Forums > Jitter

Can jit.gl.texture handle videos larger than 2048 x 768?

December 20, 2010 | 9:06 pm

Hello, I am working on a project for a client who is using very high resolution video files in conjunction with a Matrox to project across multiple screens. Her files are 4096 x 768. I notice that anything sent to jit.gl.texture above 2048 x 768 produces this error:

jit.gl.texture: setting subteximage during submission.: GL Error: Invalid operation

Below is a small patch that produces this error on my machine. I am using a MacBook with a Intel GMA 950 graphics card. I am wondering if I’ve hit the maximum resolution jit.gl.texture can handle, or if this a limitation of my computer, or — best! — if there’s a workaround.

Thanks for your time!

– Pasted Max Patch, click to expand. –

December 20, 2010 | 10:45 pm

I just tried your patch, works perfectly for me. Even setting the dim to 4096 768 doesn’t produce an error. Are you sure this patch produces an error for you? Otherwise it might be your computer. Haven’t tried it with external hardware. I am on a 2 month old MacBook Pro 15"


December 21, 2010 | 3:20 am

for me it throws errors when either dimension gets above 2050. interestingly it seems to "wrap" after 2048, where 2049 looks the same as 1, 2050 looks like 2, then 2051 and above throws errors. you can tell better with "filter none" rather than default "filter linear" for jit.gl.texture.

surely there are other factors at work too…

– Pasted Max Patch, click to expand. –

December 21, 2010 | 9:15 am

For me it doesn’t wrap (I stil have a lot of dots going on there) and I can go up to at least 8000×8000 before it gives an error.


December 21, 2010 | 10:37 am

It is definitely your (our) computer’s graphic card. I tried your patch and had exactly the same problem. GMA950 work not so well as the NVIDIA cards on macbook Pros…


December 21, 2010 | 6:29 pm

I appreciate all your help! Sylvain, I am wondering that kind of graphics card you are using…


December 21, 2010 | 7:35 pm

The following is a useful link for determining this sort of info on macintosh:

http://homepage.mac.com/arekkusu/bugs/GLInfo.html

see the MAX_TEXTURE_SIZE entry for your card/OS.


December 21, 2010 | 7:36 pm

aww, man, you get 8000×8000? heh…

pretty slow update at 2048×2048 here, but my laptop is rather clunky.

Does the OpenGL and/or QT version make a difference with this, or is it just the card? out of curiosity.

Also isn’t it true that textures should be multiples of 2 in both dimensions, and if it’s not, it downsamples to the nearest?


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