# P3D not working on Big Siur

**URL:** <https://discourse.processing.org/t/p3d-not-working-on-big-siur/29745>\
**Category:** Processing\
**Created:** [April 30, 2021, 3:54pm UTC](https://discourse.processing.org/t/p3d-not-working-on-big-siur/29745 "2021-04-30T15:54:12Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![jackeddielove](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@jackeddielove](https://discourse.processing.org/u/jackeddielove)\
**Post date:** [April 30, 2021, 3:54pm UTC](https://discourse.processing.org/t/p3d-not-working-on-big-siur/29745/1 "2021-04-30T15:54:13Z")

</div>

Even this basic code, cut and pasted from the P3D tutorial, won’t run. Any ideas?

```auto
float x,y,z;

void setup() {
  size(200,200,P3D);
  x = width/2;
  y = height/2;
  z = 0;
}

void draw() {
  translate(x,y,z);
  rectMode(CENTER);
  rect(0,0,100,100);

  z++; // The rectangle moves forward as z increments.
}

```

Here is the error I get:

```
0 AppKit 0x00007fff22ccf47f -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 352
1 AppKit 0x00007fff22cba121 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1375
2 AppKit 0x00007fff22cb9bbb -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
3 libnativewindow_macosx.jnilib 0x00000001351be3fe Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
4 ??? 0x0000000118020a88 0x0 + 4697754248

```

)

---

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [April 30, 2021, 4:21pm UTC](https://discourse.processing.org/t/p3d-not-working-on-big-siur/29745/2 "2021-04-30T16:21:19Z")

</div>

try it now

```auto
float x,y,z;

void setup() {
  size(800,700,P3D);
  x = width/2;
  y = height/2;
  z = 0;
}

void draw() {
  translate(x,y,z);
 rectMode(CENTER);
  rect(0,0,100,100);

  z++; // The rectangle moves forward as z increments.
}

```

---

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [April 30, 2021, 4:24pm UTC](https://discourse.processing.org/t/p3d-not-working-on-big-siur/29745/3 "2021-04-30T16:24:47Z")

</div>

> [@jackeddielove](#):
>
> Even this basic code, cut and pasted from the P3D tutorial, won’t run. Any ideas?

its run normal …

---

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [April 30, 2021, 4:25pm UTC](https://discourse.processing.org/t/p3d-not-working-on-big-siur/29745/4 "2021-04-30T16:25:40Z")

</div>

chick your vga card conflagrations

---

<div class="post-metadata">

**Author:** ![th75](https://avatars.discourse-cdn.com/v4/letter/t/ebca7d/32.png) [@th75](https://discourse.processing.org/u/th75)\
**Post date:** [April 30, 2021, 5:26pm UTC](https://discourse.processing.org/t/p3d-not-working-on-big-siur/29745/5 "2021-04-30T17:26:09Z")

</div>

```auto
float x,y,z;
void setup() {
  size(200,200,P3D);
  x = width/2;
  y = height/2;
  z = 0;
  frameRate(12);
}

void draw() {
  translate(x,y,z);
  rectMode(CENTER);
  rect(0,0,100,100);
  z++; // The rectangle moves forward as z increments.
}

```

here it works: you need frameRate(); during setup() on big sur… ( frameRate(1200); if you don’t whant framerate limitations)

---

<div class="post-metadata">

**Author:** ![jackeddielove](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@jackeddielove](https://discourse.processing.org/u/jackeddielove)\
**Post date:** [April 30, 2021, 7:17pm UTC](https://discourse.processing.org/t/p3d-not-working-on-big-siur/29745/6 "2021-04-30T19:17:30Z")

</div>

beautiful, thanks!

it runs, but do you know why i’m getting this error code?

```
0 AppKit 0x00007fff22d52891 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 352
1 AppKit 0x00007fff22d3d44a -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1296
2 AppKit 0x00007fff22d3cf33 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
3 libnativewindow_macosx.jnilib 0x000000012991d3fe Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
4 ??? 0x000000010f820a88 0x0 + 4555147912

```

)

---

<div class="post-metadata">

**Author:** ![th75](https://avatars.discourse-cdn.com/v4/letter/t/ebca7d/32.png) [@th75](https://discourse.processing.org/u/th75)\
**Post date:** [April 30, 2021, 7:42pm UTC](https://discourse.processing.org/t/p3d-not-working-on-big-siur/29745/7 "2021-04-30T19:42:06Z")

</div>

no, i don’t know and i’ve same stuff here … but sketch run as usual.  
another strange one, if you import a library, i often have, “No library found for xxxx” but sketch run as usual and library works… i think this one started on catalina too

---

<div class="post-metadata">

**Author:** ![jackeddielove](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@jackeddielove](https://discourse.processing.org/u/jackeddielove)\
**Post date:** [April 30, 2021, 8:23pm UTC](https://discourse.processing.org/t/p3d-not-working-on-big-siur/29745/8 "2021-04-30T20:23:08Z")

</div>

cool, thanks for the response. as long as it works!

---

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [May 1, 2021, 12:47am UTC](https://discourse.processing.org/t/p3d-not-working-on-big-siur/29745/9 "2021-05-01T00:47:06Z")

</div>

i am sorry i think you are using windows

---

<div class="post-metadata">

**Author:** ![jackeddielove](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@jackeddielove](https://discourse.processing.org/u/jackeddielove)\
**Post date:** [May 1, 2021, 1:44am UTC](https://discourse.processing.org/t/p3d-not-working-on-big-siur/29745/10 "2021-05-01T01:44:21Z")

</div>

No problem! I should have been more specific – and not misspelled ‘Big Sur’ in the title 🙂

Thanks for your responses.

---

<div class="post-metadata">

**Author:** ![RetProf](https://avatars.discourse-cdn.com/v4/letter/r/9fc29f/32.png) [@RetProf](https://discourse.processing.org/u/RetProf)\
**Post date:** [May 4, 2021, 7:54pm UTC](https://discourse.processing.org/t/p3d-not-working-on-big-siur/29745/11 "2021-05-04T19:54:08Z")

</div>

you may want to look at this thread.

> [@Problems with P2D and P3D renderers with new Apple M1 processor](https://discourse.processing.org/t/problems-with-p2d-and-p3d-renderers-with-new-apple-m1-processor/27287):
>
> I have encountered an issue when trying to execute sketches that function and export correctly on an older MacBook Pro when these sketches are attempted to be run on a new MacBook Pro using a new M1 processor. I have tried to use two different versions of Processing. 1) the stable 3.5.4 release (17 Jan 2021) and 2) pre-release 4.0 alpha 3 (17 Jan 2021). Both appear to have similar issues. The sketches fail - i.e. they only open a blank window and the following is displayed in the console: 0 …

---

<div class="post-metadata">

**Author:** ![thesandrobrito](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/thesandrobrito/32/12634_2.png) [@thesandrobrito](https://discourse.processing.org/u/thesandrobrito)\
**Post date:** [May 19, 2021, 10:02pm UTC](https://discourse.processing.org/t/p3d-not-working-on-big-siur/29745/12 "2021-05-19T22:02:42Z")

</div>

Thank you for the frameRate solution. I was going crazy!
