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

**URL:** <https://forums.imgtec.com/t/headless-rendering-with-pvr-sgx530-egl-opengl-is-it-supported/2922>\
**Category:** PowerVR Insider\
**Created:** [May 2, 2019, 4:27pm UTC](https://forums.imgtec.com/t/headless-rendering-with-pvr-sgx530-egl-opengl-is-it-supported/2922 "2019-05-02T16:27:39Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![jduchniewicz](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@jduchniewicz](https://forums.imgtec.com/u/jduchniewicz)\
**Post date:** [July 6, 2021, 7:39am UTC](https://forums.imgtec.com/t/headless-rendering-with-pvr-sgx530-egl-opengl-is-it-supported/2922/8 "2021-07-06T07:39:37Z")

</div>

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:

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

```

Triggered by the following code:

```auto
    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.

---

_[View the full topic](https://forums.imgtec.com/t/headless-rendering-with-pvr-sgx530-egl-opengl-is-it-supported/2922)._
