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

Dec 20, 2010 at 9:06pm

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

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. –
#54036
Dec 20, 2010 at 10:45pm

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″

#194464
Dec 21, 2010 at 3:20am

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. –
#194465
Dec 21, 2010 at 9:15am

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.

#194466
Dec 21, 2010 at 10:37am

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…

#194467
Dec 21, 2010 at 6:29pm

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

#194468
Dec 21, 2010 at 7:35pm

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.

#194469
Dec 21, 2010 at 7:36pm

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?

#194470

You must be logged in to reply to this topic.