Having trouble with P3D and ControlP5 in m1 MAC

hi’m in an m1 mac now. i’ve written my code in 3.5.4 and it was working fine on an intel architecture. when moved to m1 it all became a catastrophe. the controlFrame won’t open


import websockets.*;
import controlP5.*;
import ddf.minim.*;
import ddf.minim.analysis.*;
import codeanticode.syphon.*;

SyphonServer syphon;
WebsocketClient wsc;
ControlP5 cp5;
ControlFrame cf;
Minim minim;
FFT fft;
AudioInput in;

PGraphics canvas;

Ring[] ring;
Forma[] forma;

color[] palette={#BC0000, #8BC34A, #03A9F4};
int band0=9;
int band1 =15;
int band2=27;
int[] band={band0, band1,band2};  
int[] alphaValues={100,100,100};
int[] beat={60,120,180};
int[] milis={1000,500,333};
int[] milisPrev={0,0,0};

int amount = 3;
int total=0;
int r1, r2, r3;

int canvasWidth=470;
int canvasHeight=200;
int canvasMargin=5;
int formaWidth=0;

void settings() {
  size (1200, 1000, P3D);

void setup() {
  wsc= new WebsocketClient(this, "ws://light.techno-dev.com.br");  
  syphon=new SyphonServer(this, "Tactile_2");
  canvas=createGraphics(canvasWidth, canvasHeight);

  cf =new ControlFrame(this, 490, displayHeight, "TACTILE CONTROL");
  minim=new Minim(this);
  fft = new FFT (in.bufferSize(), in.sampleRate());
  fft.logAverages(22, 3);

  PVector pos=new PVector(width/2, height/2);
  ring = new Ring[amount];
  for (int i=0; i<amount; i++) {
    ring[i]=new Ring(pos, (i+1)*240, palette[i], i);

  forma = new Forma[total];
  for ( int i=0; i<forma.length; i++) {
    float bW=fft.getAverageCenterFrequency(i);
    forma[i] = new Forma(i*formaWidth, canvasHeight, formaWidth, canvasHeight, i, bW);

void draw() {

  for (int  i=0; i<ring.length; i++) {


void sendWSMessage(){

i receive this message

Waited 5000ms for: <44618b25, 4aa67dd9>[count 2, qsz 0, owner <main-FPSAWTAnimator#00-Timer0>] - <main-FPSAWTAnimator#00-Timer0-FPSAWTAnimator#00-Timer1>

and this is the console

[main-FPSAWTAnimator#00-Timer0] INFO org.eclipse.jetty.util.log - Logging initialized @1593ms
Syphon 4.0 by Andres Colubri, Tom Butterworth, Anton Marini http://syphon.v002.info/
RuntimeException: Waited 5000ms for: <44618b25, 4aa67dd9>[count 2, qsz 0, owner <main-FPSAWTAnimator#00-Timer0>] - <main-FPSAWTAnimator#00-Timer0-FPSAWTAnimator#00-Timer1>
java.lang.RuntimeException: Waited 5000ms for: <44618b25, 4aa67dd9>[count 2, qsz 0, owner <main-FPSAWTAnimator#00-Timer0>] - <main-FPSAWTAnimator#00-Timer0-FPSAWTAnimator#00-Timer1>
	at processing.opengl.PSurfaceJOGL.lambda$initAnimator$2(PSurfaceJOGL.java:428)
	at java.base/java.lang.Thread.run(Thread.java:833)
RuntimeException: Waited 5000ms for: <44618b25, 4aa67dd9>[count 2, qsz 0, owner <main-FPSAWTAnimator#00-Timer0>] - <main-FPSAWTAnimator#00-Timer0-FPSAWTAnimator#00-Timer1>

what’s going on? haven’t ever used m1 macs and ventura 13.2.1

so. i’ve put them all in one window, got rid of the control frame. etc, fine…

right now i have an issue with syphon library, it wasn’t updated for ARM64 architecture…