# Message "Could not parse -1 for --display"

**URL:** <https://discourse.processing.org/t/message-could-not-parse-1-for-display/8025>\
**Category:** Processing for Pi\
**Created:** [February 1, 2019, 5:14pm UTC](https://discourse.processing.org/t/message-could-not-parse-1-for-display/8025 "2019-02-01T17:14:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![beckerc](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/beckerc/32/3511_2.png) [@beckerc](https://discourse.processing.org/u/beckerc)\
**Post date:** [February 1, 2019, 5:14pm UTC](https://discourse.processing.org/t/message-could-not-parse-1-for-display/8025/1 "2019-02-01T17:14:40Z")

</div>

From the simplest code (drawing a line) to my most complex projects, I am getting the console message “Could not parse -1 for --display” when I run a sketch. Sketches run fine but I am curious what this refers to. This occurs whether I have set the size of the sketch or not. I am running 3.5.2 on a Raspberry Pi that is up to date.

This is more than curiosity though. I had to troubleshoot a project and this message was throwing me off. It turned out to be unrelated to the mistake I had made. But I am still curious and would appreciate any insight into this message. (I don’t remember seeing it before and searching online turned up very little.) I’m also finishing prep for Processing Community Day tomorrow and don’t want any surprises.

Thanks,  
Christopher

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [February 2, 2019, 2:45am UTC](https://discourse.processing.org/t/message-could-not-parse-1-for-display/8025/2 "2019-02-02T02:45:20Z")

</div>

i work same environment  
( RPI 3B+ / RASPBIAN / Processing 3.5.2 )  
but i currently not use full / fake KMS  
and never see that ?error?  
i do see when using P3D renderer

```auto
EGLDisplayUtil.EGLDisplays: Shutdown (open: 1)
EGLDisplayUtil: Open EGL Display Connections: 1
EGLDisplayUtil: Open[0]: 0x1: EGLDisplayRef[0x1: refCnt 2]

```

so could you give a example code where you get that msg and  
be more specific about the RPI settings?

---

<div class="post-metadata">

**Author:** ![beckerc](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/beckerc/32/3511_2.png) [@beckerc](https://discourse.processing.org/u/beckerc)\
**Post date:** [February 4, 2019, 8:18pm UTC](https://discourse.processing.org/t/message-could-not-parse-1-for-display/8025/3 "2019-02-04T20:18:06Z")

</div>

This unusual message seems to be fixed in the latest download 3.5.3. From the list of revisions in the latest code ([https://raw.githubusercontent.com/processing/processing/master/build/shared/revisions.txt](https://raw.githubusercontent.com/processing/processing/master/build/shared/revisions.txt)):

- Get rid of errant ‘Could not parse -1 for display’ message.

Christopher
