# New computer, sketches don't work? \[Updated and "fix" found\]

**URL:** <https://discourse.processing.org/t/new-computer-sketches-dont-work-updated-and-fix-found/37722>\
**Category:** Processing\
**Created:** [June 26, 2022, 9:00pm UTC](https://discourse.processing.org/t/new-computer-sketches-dont-work-updated-and-fix-found/37722 "2022-06-26T21:00:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![darinb](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/darinb/32/3792_2.png) [@darinb](https://discourse.processing.org/u/darinb)\
**Post date:** [June 26, 2022, 9:00pm UTC](https://discourse.processing.org/t/new-computer-sketches-dont-work-updated-and-fix-found/37722/1 "2022-06-26T21:00:15Z")

</div>

I upgraded to an M1 Mac mini and and coming back to Processing after not using it for a while. I’m running into a problem with all of my sketches in that they will run, in a way, but display only a black screen while doing so.

I also tried some of the standard examples provided in the installation and some run fine, some don’t.

On my sketches I seem to be getting the same basic error message:

```
0 AppKit 0x00007ff80364b6e3 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 352
1 AppKit 0x00007ff803637674 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1288
2 AppKit 0x00007ff803637166 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
3 libnativewindow_macosx.jnilib 0x0000000127d733fe Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
4 ??? 0x000000010d80f4c8 0x0 + 4521522376

```

)

Any thoughts on how I might proceed?

UPDATE: I found 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)

Which has the same problem. The solution is to add frameRate just after size. There appears to be a bug somewhere?

In any event, in the sketches I’ve tested with so far the fix is working…

–Darin
