# P3D crashes on start

**URL:** <https://discourse.processing.org/t/p3d-crashes-on-start/2169>\
**Category:** Processing\
**Created:** [July 28, 2018, 8:03pm UTC](https://discourse.processing.org/t/p3d-crashes-on-start/2169 "2018-07-28T20:03:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![madbrine](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/madbrine/32/7271_2.png) [@madbrine](https://discourse.processing.org/u/madbrine)\
**Post date:** [July 28, 2018, 8:03pm UTC](https://discourse.processing.org/t/p3d-crashes-on-start/2169/1 "2018-07-28T20:03:44Z")

</div>

I’m trying to work on a project… I ran `size(854,480,P3D)` and it crashed while loading. Then I took off the P3D and it ran fine… Errors:

```auto
Nativewindow X11 IOError: Display 0x7fc0f80f3cb0 (:0): Resource temporarily unavailable
Nativewindow X11 IOError: Display 0x7fc0f80f3cb0 (:0): Resource temporarily unavailable
FATAL ERROR in native method: Nativewindow X11 IOError: Display 0x7fc0f80f3cb0 (:0): Resource temporarily unavailable
	at jogamp.newt.driver.x11.WindowDriver.CreateWindow0(Native Method)
	at jogamp.newt.driver.x11.WindowDriver.CreateWindow(WindowDriver.java:438)
	at jogamp.newt.driver.x11.WindowDriver.createNativeImpl(WindowDriver.java:128)
	at jogamp.newt.WindowImpl.createNative(WindowImpl.java:751)
	at jogamp.newt.WindowImpl.setVisibleActionImpl(WindowImpl.java:1248)
	at jogamp.newt.WindowImpl$VisibleAction.run(WindowImpl.java:1318)
	at jogamp.newt.DisplayImpl.runOnEDTIfAvail(DisplayImpl.java:450)
	at jogamp.newt.WindowImpl.runOnEDTIfAvail(WindowImpl.java:2782)
	at jogamp.newt.WindowImpl.setVisible(WindowImpl.java:1330)
	at jogamp.newt.WindowImpl.setVisible(WindowImpl.java:1335)
	at com.jogamp.newt.opengl.GLWindow.setVisible(GLWindow.java:578)
	at processing.opengl.PSurfaceJOGL$4.run(PSurfaceJOGL.java:441)
	at com.jogamp.common.util.RunnableTask.run(RunnableTask.java:127)
	at jogamp.newt.DefaultEDTUtil$NEDT.run(DefaultEDTUtil.java:375)
Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help → Troubleshooting.

```

EDIT: It only crashes the second time I run it after starting processing.

---

<div class="post-metadata">

**Author:** ![neilcsmith](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/neilcsmith/32/144_2.png) [@neilcsmith](https://discourse.processing.org/u/neilcsmith)\
**Post date:** [July 28, 2018, 9:58pm UTC](https://discourse.processing.org/t/p3d-crashes-on-start/2169/2 "2018-07-28T21:58:27Z")

</div>

Which OS? Is Wayland involved?

---

<div class="post-metadata">

**Author:** ![madbrine](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/madbrine/32/7271_2.png) [@madbrine](https://discourse.processing.org/u/madbrine)\
**Post date:** [July 28, 2018, 11:25pm UTC](https://discourse.processing.org/t/p3d-crashes-on-start/2169/3 "2018-07-28T23:25:36Z")

</div>

I’m using Ubuntu 18.04 LTS, 64-bit

---

<div class="post-metadata">

**Author:** ![dandotdot](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@dandotdot](https://discourse.processing.org/u/dandotdot)\
**Post date:** [April 15, 2020, 10:41am UTC](https://discourse.processing.org/t/p3d-crashes-on-start/2169/4 "2020-04-15T10:41:28Z")

</div>

@madbrine, did you ever solve this? I’m having the same issue on the same Ubuntu system.
