OpenGL in 64bit M4L issue

Jonas Margraf's icon

Hi everyone,

I'm currently working on a MaxForLive quad panner that makes use of the physics engine, with a 2d visualization / UI running in OpenGL (patch attached). The OpenGL & jit.pwindow part doesn't work inside 64 bit Ableton Live 9.1.1 & 64 bit Max 6.1.6 running on a late 2013 MacBookPro (Mavericks). It does work when I open/edit the device in the editor. I have also tested this on an almost identical spec'd MBP, with the same issue occurring.

The device worked fine when I tested it on an older MBP and a MacBook Air, both running 32 bit versions of Live 9.1.1. & Max 6.1.6.

So, is the issue really 32 bit vs 64 bit? Will I just have to work in 32 bit for this device or is there anything else I could do? Is this an OpenGL limitation?

I'd appreciate any ideas or pointers in other directions.

Thanks!

JM

PhysicsQuadPan001.amxd
amxd
Rob Ramirez's icon

it has something to do with the pwindow extending beyond the bounds of the live device window, i think.

if i scale the pwindow down by two pixels on each dimension, it works as expected.

thanks for the report, we'll see what can be done.

PhysicsQuadPan0011.amxd
amxd
Jonas Margraf's icon

Rob, you are an absolute hero!!! Just tried shrinking the pwindow by 2 pixels, and now it works in 64bit Live. Thank you!

Sam Tarakajian's icon

Hi Rob,

I just had this same problem. You're my hero too.

-S