Ubuntu - GUI unable to connect to HUB

Trying to get GUI working on Ubuntu VM...
GUI unable to connect to HUB:

tim@ubuntu:~/Documents/OpenBCI_GUI$ sudo ./OpenBCI_GUI
[sudo] password for tim: 
Console Log Started at Local Time: 2020-01-23_20-10-29
Screen Resolution: 1920 X 1440
Welcome to the Processing-based OpenBCI GUI!
For more information, please visit: https://openbci.github.io/Documentation/docs/06Software/01-OpenBCISoftware/GUIDocs
Launching application from local data dir
OpenBCI_GUI: hubStart: OS Detected: Linux
TopNav: Internet Connection Not Available
OpenBCI_GUI::Setup: Is RX mulitcast: false
OpenBCI_GUI::Setup: Has RX joined multicast: false
OpenBCI_GUI::Setup: Copying sample data to Documents/OpenBCI_GUI/Sample_Data
OpenBCI_GUI::Setup: Created \Documents\OpenBCI_GUI\Recordings\
ControlP5 2.2.6 infos, comments, questions at http://www.sojamo.de/libraries/controlP5
The file "/root/Documents/OpenBCI_GUI/Settings/UserPlaybackHistory.json" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
OpenBCI_GUI::Control Panel: Playback history file not found or other error.
OpenBCI_GUI::Setup: Setup is complete!
Instantiating hub object...
[WARN]: Unable to establish link with the OpenBCI Hub, trying again...
[WARN]: Unable to establish link with the OpenBCI Hub, trying again...
[WARN]: Unable to establish link with the OpenBCI Hub, trying again...
[WARN]: Unable to establish link with the OpenBCI Hub, trying again...
[WARN]: Unable to establish link with the OpenBCI Hub, trying again...
[WARN]: Unable to establish link with the OpenBCI Hub, trying again...
[WARN]: Unable to establish link with the OpenBCI Hub, trying again...
[WARN]: Unable to establish link with the OpenBCI Hub, trying again...
[ERROR]: Unable to find or connect to Hub. LIVE functionality will be disabled.

Comments

  • retiututretiutut Louisiana, USA
    edited January 2020

    This means the Hub is not running, and it tried to connect 9-10 times.

  • Hi retuitut.
    Thanks for your reply.
    Do you have any suggestions as to how to get it running?
    As you can see, I ran the OpenBCI_GUI under sudo which is the extent of the getting started guide for Linux.
    Cheers.

  • retiututretiutut Louisiana, USA

    Run it without sudo.

  • Hi retuitut.
    Tried without sudo... exactly the same results... which surprised me... I expected less than that.
    I hadn't bothered trying that earlier since, in my experience with linux, most hardware accessing applications need sudo.

    This is stock/vanilla 19.04 desktop ubuntu VM built directly from the distribution iso for the sole purpose of testing/using OpenBCI.
    So, there are no other installs... in fact, nothing was done between installing OS and downloading the Linux version of OpenBCI.

    This is using current release, version 4.1.7, Nov 2019.


    I did also try v4.0.4 (there is no linux64 built for v5.0.0 as yet, so I tried backwards... just to see...
    Looks like it's using an old graphics library thats not available... pops up a blank window and halts...

    im@ubuntu:~/Documents/application.linux64$ sudo ./OpenBCI_GUI
    [sudo] password for tim: 
    Screen Resolution: 1920 X 1440
    java.lang.RuntimeException: Profile GL3bc is not available on X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x7f5c7802c290, owner true, ResourceToolkitLock[obj 0x1d386aad, isOwner true, <1907fdd2, 5c056096>[count 1, qsz 0, owner <main-FPSAWTAnimator#00-Timer0>]]], but: [GLProfile[GLES1/GLES1.hw], GLProfile[GLES2/GLES2.hw], GLProfile[GL2ES1/GLES1.hw], GLProfile[GL2ES2/GL3.hw], GLProfile[GL3/GL3.hw], GLProfile[GL3/GL3.hw], GLProfile[GL2GL3/GL3.hw]]
        at processing.opengl.PSurfaceJOGL$2.run(PSurfaceJOGL.java:410)
        at java.lang.Thread.run(Thread.java:748)
    

    For what it's worth, although not directly related to this problem (I believe)...
    The dongle seems to be recognised fine and is ready to go... once we get the hub up and running.
    I have confirmed that the FTDI VCP Drivers are in the OS install base and the dongle is identified at ttyUSB0.
    See below:

    tim@ubuntu:~/Documents/OpenBCI_GUI$ dmesg | grep FTDI
    [ 1152.828988] usb 2-2.2: Manufacturer: FTDI
    [ 1153.159622] usbserial: USB Serial support registered for FTDI USB Serial Device
    [ 1153.162130] ftdi_sio 2-2.2:1.0: FTDI USB Serial Device converter detected
    [ 1153.182442] usb 2-2.2: FTDI USB Serial Device converter now attached to ttyUSB0
    [ 3968.757930] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
    [ 4019.565420] usb 2-2.2: Manufacturer: FTDI
    [ 4019.576351] ftdi_sio 2-2.2:1.0: FTDI USB Serial Device converter detected
    [ 4019.588340] usb 2-2.2: FTDI USB Serial Device converter now attached to ttyUSB0
    [ 4102.486962] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
    [ 4278.443600] usb 2-2.2: Manufacturer: FTDI
    [ 4278.454064] ftdi_sio 2-2.2:1.0: FTDI USB Serial Device converter detected
    [ 4278.462827] usb 2-2.2: FTDI USB Serial Device converter now attached to ttyUSB0
    tim@ubuntu:~/Documents/OpenBCI_GUI$ ls /dev
    agpgart        cpu_dma_latency  fuse       loop0         mem                 ptmx    sg2       tty1   tty2   tty3   tty4   tty5   tty6       ttyS10  ttyS20  ttyS30   uinput   vcsa1  vcsu5
    autofs         cuse             gpiochip0  loop1         memory_bandwidth    pts     shm       tty10  tty20  tty30  tty40  tty50  tty60      ttyS11  ttyS21  ttyS31   urandom  vcsa2  vcsu6
    block          disk             hidraw0    loop2         midi                random  snapshot  tty11  tty21  tty31  tty41  tty51  tty61      ttyS12  ttyS22  ttyS4    userio   vcsa3  vfio
    bsg            dmmidi           hpet       loop3         mqueue              rfkill  snd       tty12  tty22  tty32  tty42  tty52  tty62      ttyS13  ttyS23  ttyS5    vcs      vcsa4  vga_arbiter
    btrfs-control  dri              hugepages  loop4         net                 rtc     sr0       tty13  tty23  tty33  tty43  tty53  tty63      ttyS14  ttyS24  ttyS6    vcs1     vcsa5  vhci
    bus            dvd              hwrng      loop5         network_latency     rtc0    sr1       tty14  tty24  tty34  tty44  tty54  tty7       ttyS15  ttyS25  ttyS7    vcs2     vcsa6  vhost-net
    cdrom          ecryptfs         initctl    loop6         network_throughput  sda     stderr    tty15  tty25  tty35  tty45  tty55  tty8       ttyS16  ttyS26  ttyS8    vcs3     vcsu   vhost-vsock
    cdrw           fb0              input      loop7         null                sda1    stdin     tty16  tty26  tty36  tty46  tty56  tty9       ttyS17  ttyS27  ttyS9    vcs4     vcsu1  vmci
    char           fd               kmsg       loop-control  port                serial  stdout    tty17  tty27  tty37  tty47  tty57  ttyprintk  ttyS18  ttyS28  ttyUSB0  vcs5     vcsu2  vsock
    console        fd0              lightnvm   mapper        ppp                 sg0     tty       tty18  tty28  tty38  tty48  tty58  ttyS0      ttyS19  ttyS29  udmabuf  vcs6     vcsu3  zero
    core           full             log        mcelog        psaux               sg1     tty0      tty19  tty29  tty39  tty49  tty59  ttyS1      ttyS2   ttyS3   uhid     vcsa     vcsu4
    tim@ubuntu:~/Documents/OpenBCI_GUI$ 
    
    
Sign In or Register to comment.