Screen frozen in Linux

edited January 30 in Cyton

Hi, the Open BCI GUI is stuck on the "starting session" screen when running the device and software on a Linux(Ubuntu) OS.
From the terminal:

=================================================

|| INITIALIZING SYSTEM ||

OpenBCI_GUI: Configuring Cyton Channel Count...
Sending config string to board: c
OpenBCI_GUI: Channel count set to 8
"Arial" is not available, so another font will be used. Use PFont.list() to show available fonts.
Unpacking to: /root/.cache/JNA/temp/libonnxruntime_x64.so
Unpacking to: /root/.cache/JNA/temp/libonnxruntime_arm64.so
java.lang.NullPointerException
at java.base/java.util.Objects.requireNonNull(Objects.java:208)
at java.base/java.nio.file.Files.copy(Files.java:3128)
at brainflow.JarHelper.unpack_from_jar(JarHelper.java:31)
at brainflow.MLModel.(MLModel.java:58)
at OpenBCI_GUI$W_Focus.initBrainFlowMetric(OpenBCI_GUI.java:24885)
at OpenBCI_GUI$W_Focus.(OpenBCI_GUI.java:24672)
at OpenBCI_GUI.setupWidgets(OpenBCI_GUI.java:31736)
at OpenBCI_GUI$WidgetManager.(OpenBCI_GUI.java:31826)
at OpenBCI_GUI.initSystem(OpenBCI_GUI.java:849)
at OpenBCI_GUI.systemInitSession(OpenBCI_GUI.java:1117)
at OpenBCI_GUI.draw(OpenBCI_GUI.java:654)
at processing.core.PApplet.handleDraw(PApplet.java:2094)
at processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:840)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:782)
at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:453)
at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
at java.base/java.util.TimerThread.mainLoop(Timer.java:566)
at java.base/java.util.TimerThread.run(Timer.java:516)
file: libonnxruntime_arm64.so is not found in jar file
Unpacking to: /root/.cache/JNA/temp/libMLModule.so
[SUCCESS]: Marker Widget: Listening for markers on 127.0.0.1:12350
InitSettings: Saving Default Settings to file!
SessionSettings: 3 active widgets saved!
[SUCCESS]: Session started!
Unpacking to: /root/.cache/JNA/temp/libDataHandler.so
java.lang.NullPointerException: Cannot invoke "ddf.minim.ugens.Gain.setValue(float)" because "this.this$0.auditoryNfbGains[i]" is null
at OpenBCI_GUI$AuditoryNeurofeedback.update(OpenBCI_GUI.java:2229)
at OpenBCI_GUI$W_Focus.updateFocusState(OpenBCI_GUI.java:24837)
at OpenBCI_GUI$W_Focus.updateFocusWidgetData(OpenBCI_GUI.java:24970)
at OpenBCI_GUI$DataProcessing.process(OpenBCI_GUI.java:9341)
at OpenBCI_GUI.processNewData(OpenBCI_GUI.java:9074)
at OpenBCI_GUI.systemUpdate(OpenBCI_GUI.java:1046)
at OpenBCI_GUI.draw(OpenBCI_GUI.java:649)
at processing.core.PApplet.handleDraw(PApplet.java:2094)
at processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:840)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:782)
at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:453)
at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
at java.base/java.util.TimerThread.mainLoop(Timer.java:566)
at java.base/java.util.TimerThread.run(Timer.java:516)

Comments

  • wjcroftwjcroft Mount Shasta, CA

    Your other recent thread on packet loss questions, indicated that you were running the GUI successfully. What has changed? Can you go back to that configuration? Linux distributions are so variable, that your current OS or hardware configuration (drivers etc), may be activating this bug. Best luck is with Windows or Mac setups.

    Mentioning the GUI developer, Richard @retiutut.

    William

  • Thank you William.
    No worries, Cyton + GUI is working fine on my Windows setup in any case.

Sign In or Register to comment.