XML Feeds

.

[jitter] [max5][bug]Weird framerate, OpenGL issues with Max 5

Gian Pablo Villamil gian.pablo at gmail.com
Tue Apr 29 18:00:27 MDT 2008


I have a patch that plays three Jitter video streams side-by-side, by sending them to jit.gl.textures and then assembling them on a single jit.gl.videoplane. (Patch is attached - click the "load deck" button to load a folder of videos into each player)

Under Max 4.6.3, this patch usually runs at around 20fps in full-screen mode. (No errors at all in the Max window)

When run under Max 5.0, it runs at 8fps in fullscreen mode, and the Max window shows a bunch of errors.

Strangely, if I open and run the patch in Max 4.6.3 while it is still open in Max 5.0, and stop it, the patch in Max 5.0 then runs at 40fps with no errors!

It seems like Jitter is failing to initialize something in OpenGL in Max 5.0, but when Max 4.6.3 runs it corrects this.

Also, the Max 5.0 window shows this when it runs at 8fps:

jit.gl.render: building GL on window "neonmusic"...
jit.gl.render: building GL on window "neonmusic"...
jit.gl.render:   warning: OpenGL version 1.2 or higher is required.
jit.gl.render:   Some rendering functions may be impaired.
jit.gl.render:   Please consult your graphics card manufacturer for upgrade info.
jit.gl.texture: setting texture wrap mode s: GL Error: Invalid enumeration
jit.gl.texture: setting texture wrap mode t: GL Error: Invalid enumeration
jit.gl.texture: setting texture wrap mode s: GL Error: Invalid enumeration
jit.gl.texture: setting texture wrap mode t: GL Error: Invalid enumeration
jit.gl.texture: setting texture wrap mode s: GL Error: Invalid enumeration
jit.gl.texture: setting texture wrap mode t: GL Error: Invalid enumeration

The GLInfo utility shows this:

-----------------------------------------------------------------------
Graphics Adapter:	NVIDIA GeForce 6800 
Manufacturer:	NVIDIA Corporation
GL Version:	2.1.2
Resolution:	1280 X 1024 X 32 bpp 
Driver version:	69.21
Driver date:	05/12/2007
Video Memory Size:	256 MB
-----------------------------------------------------------------------
Windows Version: Microsoft Windows XP - Service Pack 2
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+(2212MHz)
Physical Memory Usage: 1192/2047MB
Virtual Memory Usage: 4095/4095MB


-------------- next part --------------
A non-text attachment was scrubbed...
Name: neonmusic.zip
Type: application/zip
Size: 8552 bytes
Desc: not available
Url : http://www.cycling74.com/pipermail/jitter/attachments/20080429/8404ffc4/neonmusic.zip


More information about the jitter mailing list