OpenBCI_GUI on linux

Hi, I have just received my Ganglion OpenBCI, but I am having troubles running the OpenBCI_GUI.

I have arch linux, and I have tried with/without Processing 3.3 (and also older versions). The application crashes on starting, with an blank/empty window.

It should be note that I don have yet the USB BLE dongle, it is on the way, but this shouldn make this crash I guess.

Running from the terminal, this is the error message:

Launching application from local data dir

OpenBCI_GUI: hubStart: OS Detected: Linux

Welcome to the Processing-based OpenBCI GUI!

Last update: January 2017

For more information about how to work with this code base, please visit: http://docs.openbci.com/

RunnableTask.run(): A caught exception occured on thread main-Display-.x11_:0-1-EDT-1: RunnableTask[enqueued true[executed false, flushed false], tTotal 0 ms, tExec 0 ms, tQueue 0 ms, attachment null, throwable java.lang.RuntimeException: Waited 5000ms for: <6ca7d
6ff, 7efcaa0e>[count 2, qsz 1, owner <main-FPSAWTAnimator#00-Timer0>] - <main-Display-.x11_:0-1-EDT-1>]

java.lang.RuntimeException: Waited 5000ms for: <6ca7d6ff, 7efcaa0e>[count 2, qsz 1, owner <main-FPSAWTAnimator#00-Timer0>] - <main-Display-.x11_:0-1-EDT-1>

       at jogamp.common.util.locks.RecursiveLockImpl01Unfairish.lock(RecursiveLockImpl01Unfairish.java:198)

       at jogamp.newt.WindowImpl$ResizableAction.run(WindowImpl.java:2118)

       at jogamp.newt.DisplayImpl.runOnEDTIfAvail(DisplayImpl.java:450)

       at jogamp.newt.WindowImpl.runOnEDTIfAvail(WindowImpl.java:2782)

       at jogamp.newt.WindowImpl.setResizable(WindowImpl.java:2154)

       at com.jogamp.newt.opengl.GLWindow.setResizable(GLWindow.java:370)

       at processing.opengl.PSurfaceJOGL$5.run(PSurfaceJOGL.java:505)

       at com.jogamp.common.util.RunnableTask.run(RunnableTask.java:127)

       at jogamp.newt.DefaultEDTUtil$NEDT.run(DefaultEDTUtil.java:375)

java.lang.RuntimeException: Waited 5000ms for: <6ca7d6ff, 7efcaa0e>[count 2, qsz 0, owner <main-FPSAWTAnimator#00-Timer0>] - <main-FPSAWTAnimator#00-Timer0-FPSAWTAnimator#00-Timer1>

       at processing.opengl.PSurfaceJOGL$2.run(PSurfaceJOGL.java:467)

       at java.lang.Thread.run(Thread.java:745)

DefaultEDT.run(): Caught exception occured on thread main-Display-.x11_:0-1-EDT-1: RunnableTask[enqueued false[executed true, flushed false], tTotal 5002 ms, tExec 5002 ms, tQueue 0 ms, attachment null, throwable java.lang.RuntimeException: Waited 5000ms for: <6ca
7d6ff, 7efcaa0e>[count 2, qsz 1, owner <main-FPSAWTAnimator#00-Timer0>] - <main-Display-.x11_:0-1-EDT-1>]

java.lang.RuntimeException: Waited 5000ms for: <6ca7d6ff, 7efcaa0e>[count 2, qsz 1, owner <main-FPSAWTAnimator#00-Timer0>] - <main-Display-.x11_:0-1-EDT-1>

       at jogamp.common.util.locks.RecursiveLockImpl01Unfairish.lock(RecursiveLockImpl01Unfairish.java:198)

       at jogamp.newt.WindowImpl$ResizableAction.run(WindowImpl.java:2118)

       at jogamp.newt.DisplayImpl.runOnEDTIfAvail(DisplayImpl.java:450)

       at jogamp.newt.WindowImpl.runOnEDTIfAvail(WindowImpl.java:2782)

       at jogamp.newt.WindowImpl.setResizable(WindowImpl.java:2154)

       at com.jogamp.newt.opengl.GLWindow.setResizable(GLWindow.java:370)

       at processing.opengl.PSurfaceJOGL$5.run(PSurfaceJOGL.java:505)

       at com.jogamp.common.util.RunnableTask.run(RunnableTask.java:127)

       at jogamp.newt.DefaultEDTUtil$NEDT.run(DefaultEDTUtil.java:375)

Graphics & GUI Library: ControlP5 2.2.6 infos, comments, questions at http://www.sojamo.de/libraries/controlP5

OpenBCI_GUI.pde: attempting to open serial/COM port for data output = /dev/tty.usbmodem1411

OpenBCI_GUI.pde: could not open /dev/tty.usbmodem1411

attempting to load images for presentation...

DONE loading images!


Has anyone idea how to install OpenBCI_GUI in Arch linux?

Thanks

Comments

  • edited March 2017
    I recently encountered an error that might be simlar while trying to move my project to a new machine (suse not arch linux).
    RunnableTask.run(): A caught exception occured on thread main-Display-.x11_:0-1-EDT-1: RunnableTask[enqueued true[executed false, flushed false], tTotal 1 ms, tExec 0 ms, tQueue 1 ms, attachment null, throwable java.lang.RuntimeException: Waited 5000ms for: <57f7b9d6, 70c8e5de>[count 2, qsz 1, owner <main-FPSAWTAnimator#00-Timer0>] - <main-Display-.x11_:0-1-EDT-1>]
    java.lang.RuntimeException: Waited 5000ms for: <57f7b9d6, 70c8e5de>[count 2, qsz 1, owner <main-FPSAWTAnimator#00-Timer0>] - <main-Display-.x11_:0-1-EDT-1>
            at jogamp.common.util.locks.RecursiveLockImpl01Unfairish.lock(RecursiveLockImpl01Unfairish.java:198)
            at jogamp.newt.WindowImpl$ResizableAction.run(WindowImpl.java:2118)
            at jogamp.newt.DisplayImpl.runOnEDTIfAvail(DisplayImpl.java:450)
            at jogamp.newt.WindowImpl.runOnEDTIfAvail(WindowImpl.java:2782)
            at jogamp.newt.WindowImpl.setResizable(WindowImpl.java:2154)
            at com.jogamp.newt.opengl.GLWindow.setResizable(GLWindow.java:370)
            at processing.opengl.PSurfaceJOGL$5.run(PSurfaceJOGL.java:505)
            at com.jogamp.common.util.RunnableTask.run(RunnableTask.java:127)
            at jogamp.newt.DefaultEDTUtil$NEDT.run(DefaultEDTUtil.java:375)
    DefaultEDT.run(): Caught exception occured on thread main-Display-.x11_:0-1-EDT-1: RunnableTask[enqueued false[executed true, flushed false], tTotal 5004 ms, tExec 5003 ms, tQueue 1 ms, attachment null, throwable java.lang.RuntimeException: Waited 5000ms for: <57f7b9d6, 70c8e5de>[count 2, qsz 1, owner <main-FPSAWTAnimator#00-Timer0>] - <main-Display-.x11_:0-1-EDT-1>]
    java.lang.RuntimeException: Waited 5000ms for: <57f7b9d6, 70c8e5de>[count 2, qsz 1, owner <main-FPSAWTAnimator#00-Timer0>] - <main-Display-.x11_:0-1-EDT-1>
            at jogamp.common.util.locks.RecursiveLockImpl01Unfairish.lock(RecursiveLockImpl01Unfairish.java:198)
            at jogamp.newt.WindowImpl$ResizableAction.run(WindowImpl.java:2118)
            at jogamp.newt.DisplayImpl.runOnEDTIfAvail(DisplayImpl.java:450)
            at jogamp.newt.WindowImpl.runOnEDTIfAvail(WindowImpl.java:2782)
            at jogamp.newt.WindowImpl.setResizable(WindowImpl.java:2154)
            at com.jogamp.newt.opengl.GLWindow.setResizable(GLWindow.java:370)
            at processing.opengl.PSurfaceJOGL$5.run(PSurfaceJOGL.java:505)
            at com.jogamp.common.util.RunnableTask.run(RunnableTask.java:127)
            at jogamp.newt.DefaultEDTUtil$NEDT.run(DefaultEDTUtil.java:375)
    java.lang.RuntimeException: Waited 5000ms for: <57f7b9d6, 70c8e5de>[count 2, qsz 0, owner <main-FPSAWTAnimator#00-Timer0>] - <main-FPSAWTAnimator#00-Timer0-FPSAWTAnimator#00-Timer1>
            at processing.opengl.PSurfaceJOGL$2.run(PSurfaceJOGL.java:467)
            at java.lang.Thread.run(Thread.java:745)
    On the first glace _ I didn't analyze this in detail yet - it did look to me like a GL timeout thing. Since the initial GUI initialization is pretty slow on pretty much every machine I've tried so far, I can't even rule out that it work differently on different hardware with the software (again it's a timeout). This hypothesis is supported by the fact, that this only happened to me on computers without external graphic card. Is that similar to your hw setting?
    In any way I doubt that this app crashes, it's just missing all buttons, making it unusable.

    But I don't know enough about processing to draw conclusions. Anyone else encountered similar issues?
Sign In or Register to comment.