Processing / OpenGL over SSH

Discussion in 'UDOO NEO' started by swizzard, Jan 26, 2016.

  1. swizzard

    swizzard New Member

    Joined:
    Jan 26, 2016
    Messages:
    1
    Likes Received:
    0
    I'm trying to run a Processing (3.0.1 for ARMv6hf) sketch on my UDOO Neo from an SSH terminal and having all kinds of problems.

    udooer(~)||$ processing-3.0.1/processing-java --sketch=path/to/sketch --run
    Listening for transport dt_socket at address: 8553
    Could not parse -1 for --display
    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    # SIGSEGV (0xb) at pc=0x62989694, pid=1691, tid=1506255968
    #
    # JRE version: Java(TM) SE Runtime Environment (8.0_51-b07) (build 1.8.0_51-b07)
    # Java VM: Java HotSpot(TM) Client VM (25.51-b07 mixed mode linux-arm )
    # Problematic frame:
    # C [libGL.so.1+0x36694] glGetString+0xc
    #
    # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
    #
    # An error report file with more information is saved as:
    # /home/udooer/hs_err_pid1691.log
    #
    # If you would like to submit a bug report, please visit:
    # http://bugreport.java.com/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    #
    Finished.
    Could not run the sketch (Target VM failed to initialize).
    For more information, read revisions.txt and Help → Troubleshooting.
    Could not run the sketch.​

    udooer(~)||$ glxinfo | head -n 30
    name of display: localhost:10.0
    display: localhost:10 screen: 0
    direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
    server glx vendor string: SGI
    server glx version string: 1.4
    server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_OML_swap_method, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig
    client glx vendor string: Vivante Corp
    client glx version string: 1.4
    client glx extensions:
    GLX_ARB_get_proc_address, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGI_make_current_read
    GLX version: 1.4
    GLX extensions:
    GLX_SGIX_fbconfig
    OpenGL vendor string: Intel Inc.
    OpenGL renderer string: Intel HD Graphics 5000 OpenGL Engine
    OpenGL version string: 1.4 (2.1 INTEL-10.6.33)
    OpenGL extensions:

    udooer(~)||$ java -version
    java version "1.7.0_91"
    OpenJDK Runtime Environment (IcedTea 2.6.3) (7u91-2.6.3-0ubuntu0.14.04.1)
    OpenJDK Zero VM (build 24.91-b01, mixed mode)​

    I've tried installing different JDKs and OpenGL drivers, but I don't really know what I'm doing and haven't figured out the right combo of packages to get this to work. It also could be that I just _can't_ run processing sketches over SSH, which would be obnoxious but non-fatal, since I intend on running the sketch via upstart anyway. Any suggestions? Sorry in advance if this has been thoroughly covered elsewhere.
     

Share This Page