Headless rendering with PVR SGX530, EGL, OpenGL - is it supported?

Hi Alejandro,

I am using the BBB Rev C. with the Image you proposed. No additional libraries installed and using PVR rendering backend via EGL.

The error is as follows:

PVR:(Error): WSEGL_InitialiseDisplay: Failed to create output [0, ]

Triggered by the following code:

    int ret = 0;
    int major, minor;

    g_helper.gbd_fd = open("/dev/dri/renderD128", O_RDWR);
    if (g_helper.gbd_fd <= 0)
        ERR("Could not open device");

    g_helper.gbm = gbm_create_device(g_helper.gbd_fd);
    if (!g_helper.gbm)
        ERR("Could not create GBM device");

    g_helper.display = eglGetDisplay((EGLNativeDisplayType)g_helper.gbm);
    if (!g_helper.display)
        ERR("Could not create display");

    if (eglInitialize(g_helper.display, &major, &minor) == 0)
        ERR("Could not initialize display");

For now I will try to circumvent the issue by using a headless ghost HDMI, but ideally we would like the users of BBB to be able to utilize bare BBB for GPU usage.