# \[SOLVED\] P2D/P3D sketches won't start on fresh Ubuntu 18.04 installation

**URL:** <https://discourse.processing.org/t/solved-p2d-p3d-sketches-wont-start-on-fresh-ubuntu-18-04-installation/3568>\
**Category:** Processing\
**Created:** [September 16, 2018, 8:57am UTC](https://discourse.processing.org/t/solved-p2d-p3d-sketches-wont-start-on-fresh-ubuntu-18-04-installation/3568 "2018-09-16T08:57:57Z")\
**Posts on this page:** 14\
**Page:** 2

<div class="post-metadata">

**Author:** ![Architector\_4](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/architector_4/32/813_2.png) [@Architector\_4](https://discourse.processing.org/u/Architector_4)\
**Post date:** [September 16, 2018, 1:30pm UTC](https://discourse.processing.org/t/solved-p2d-p3d-sketches-wont-start-on-fresh-ubuntu-18-04-installation/3568/21 "2018-09-16T13:30:00Z")

</div>

Can’t find a Processing 3.3.6 Linux 64bit installer anywhere. Do you happen to have a copy of it?

---

<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:** [September 16, 2018, 1:33pm UTC](https://discourse.processing.org/t/solved-p2d-p3d-sketches-wont-start-on-fresh-ubuntu-18-04-installation/3568/22 "2018-09-16T13:33:07Z")

</div>

> **[processing/processing](https://github.com/processing/processing/releases/tag/processing-0263-3.3.6)**
>
> Source code for the Processing Core and Development Environment (PDE) - processing/processing

---

<div class="post-metadata">

**Author:** ![Architector\_4](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/architector_4/32/813_2.png) [@Architector\_4](https://discourse.processing.org/u/Architector_4)\
**Post date:** [September 16, 2018, 1:38pm UTC](https://discourse.processing.org/t/solved-p2d-p3d-sketches-wont-start-on-fresh-ubuntu-18-04-installation/3568/23 "2018-09-16T13:38:22Z")

</div>

It works! Using Processing 3.3.6 works, while 3.4 doesn’t.  
I guess I have that same problem as the one mentioned in that thread you linked here. And, since developers people guys are already aware of this, I guess I shouldn’t do anything else, besides using this older version and checking out future releases if they work or not.

Thanks!

---

<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:** [September 16, 2018, 1:42pm UTC](https://discourse.processing.org/t/solved-p2d-p3d-sketches-wont-start-on-fresh-ubuntu-18-04-installation/3568/24 "2018-09-16T13:42:44Z")

</div>

I would add a comment on that issue with details of your setup. Glad it works!

---

<div class="post-metadata">

**Author:** ![monkstone](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/monkstone/32/64_2.png) [@monkstone](https://discourse.processing.org/u/monkstone)\
**Post date:** [September 16, 2018, 3:19pm UTC](https://discourse.processing.org/t/solved-p2d-p3d-sketches-wont-start-on-fresh-ubuntu-18-04-installation/3568/25 "2018-09-16T15:19:27Z")

</div>

```bash
tux@tux-PC-2163 ~ $ glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
    GLX_ARB_context_flush_cont

```

What you want to see is `direct rendering: Yes`, the other stuff tells you about the `opengl` capabilities of your card.

---

<div class="post-metadata">

**Author:** ![Architector\_4](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/architector_4/32/813_2.png) [@Architector\_4](https://discourse.processing.org/u/Architector_4)\
**Post date:** [September 16, 2018, 4:12pm UTC](https://discourse.processing.org/t/solved-p2d-p3d-sketches-wont-start-on-fresh-ubuntu-18-04-installation/3568/26 "2018-09-16T16:12:53Z")

</div>

Yes, it does say “yes” there. And other stuff seems… Fine?  
Should I post the whole output here? (especially considering that the issue is pretty much solved for me and I feel like continuing this topic is pointless)

---

<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:** [September 16, 2018, 4:36pm UTC](https://discourse.processing.org/t/solved-p2d-p3d-sketches-wont-start-on-fresh-ubuntu-18-04-installation/3568/27 "2018-09-16T16:36:10Z")

</div>

You could add the output of your glxinfo to the GitHub issue. There is one there already. Might help narrowing down the problem. The direct rendering line is not relevant to this issue, but the rest might be.

---

<div class="post-metadata">

**Author:** ![Architector\_4](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/architector_4/32/813_2.png) [@Architector\_4](https://discourse.processing.org/u/Architector_4)\
**Post date:** [September 16, 2018, 4:37pm UTC](https://discourse.processing.org/t/solved-p2d-p3d-sketches-wont-start-on-fresh-ubuntu-18-04-installation/3568/28 "2018-09-16T16:37:06Z")

</div>

Oh, allright. I guess it could help(not in scrolling the page, that is :D).

Edit: Posted a pastebin link to it there. Nevermind about scrolling :D.

---

<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:** [September 16, 2018, 5:20pm UTC](https://discourse.processing.org/t/solved-p2d-p3d-sketches-wont-start-on-fresh-ubuntu-18-04-installation/3568/29 "2018-09-16T17:20:54Z")

</div>

👍 Getting bugs fixed is a two way thing! 😄

---

<div class="post-metadata">

**Author:** ![gohai](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gohai/32/25_2.png) [@gohai](https://discourse.processing.org/u/gohai)\
**Post date:** [September 16, 2018, 10:09pm UTC](https://discourse.processing.org/t/solved-p2d-p3d-sketches-wont-start-on-fresh-ubuntu-18-04-installation/3568/30 "2018-09-16T22:09:16Z")

</div>

@neilcsmith I just send a PR to revert the JOGL change. Thanks for digging.

---

<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:** [September 18, 2018, 9:56am UTC](https://discourse.processing.org/t/solved-p2d-p3d-sketches-wont-start-on-fresh-ubuntu-18-04-installation/3568/31 "2018-09-18T09:56:32Z")

</div>

@gohai - now downloading 3.3.6 to check mine wasn’t one of the AMD GPU systems it fixed! 😆

I see the JOGL bugzilla is down again! Where are things at with LWJGL these days from a Processing perspective?

---

<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:** [September 18, 2018, 10:07am UTC](https://discourse.processing.org/t/solved-p2d-p3d-sketches-wont-start-on-fresh-ubuntu-18-04-installation/3568/32 "2018-09-18T10:07:11Z")

</div>

@gohai aaarghh! So, bit of help digging, and broken my own system. 🙄

---

<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:** [September 18, 2018, 11:40am UTC](https://discourse.processing.org/t/solved-p2d-p3d-sketches-wont-start-on-fresh-ubuntu-18-04-installation/3568/33 "2018-09-18T11:40:37Z")

</div>

@Architector_4 given that the proposed fix (reversion) now breaks my system, can I ask if you could possibly try the following code in Processing 3.4 on your system and see if it works? The lack of bc profiles in your first error message is intriguing me.

```auto
void settings() {
  System.setProperty("jogl.disable.openglcore", "true");
  size(100, 100, P3D);
}

void setup() {
  PGraphicsOpenGL pg = (PGraphicsOpenGL)g;
  println(PGraphicsOpenGL.OPENGL_VENDOR);
  println(PGraphicsOpenGL.OPENGL_RENDERER);
  println(PGraphicsOpenGL.OPENGL_VERSION);
  println(PGraphicsOpenGL.GLSL_VERSION);
}

void draw() {
  ellipse(width/2,height/2,width,height);
}

```

---

<div class="post-metadata">

**Author:** ![Architector\_4](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/architector_4/32/813_2.png) [@Architector\_4](https://discourse.processing.org/u/Architector_4)\
**Post date:** [September 18, 2018, 3:08pm UTC](https://discourse.processing.org/t/solved-p2d-p3d-sketches-wont-start-on-fresh-ubuntu-18-04-installation/3568/34 "2018-09-18T15:08:39Z")

</div>

It works on my machine in 3.4! I get a boring window with a 100x100 circle in it!

It also prints this:

```auto
X.Org
AMD MULLINS (DRM 3.23.0, 4.15.0-34-generic, LLVM 8.0.0)
4.5 (Compatibility Profile) Mesa 18.3.0-devel - padoka PPA
4.50

```

I’ll still stick to 3.3.6 myself though until next version or some fix comes out.

[Previous page](https://discourse.processing.org/t/solved-p2d-p3d-sketches-wont-start-on-fresh-ubuntu-18-04-installation/3568.md?page=1)
