SimpleGLScreen issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SimpleGLScreen issue

Jump to solution
883 Views
otemeshen
Contributor II

Running hellogl_es2 on imx53 board:

./hellogl_es2 -display simplegl:rgb16 -qws

I am getting the following issue:

SimpleGLScreen: could not create the full-screen window

SimpleGLScreen: may need to modify defaultRootWindowHandle()

simplegl: driver cannot connect

Aborted

The current implementation of simplegl assumes that the native window id is zero. Has this changed?  Has anyone observed this behavior?

Labels (1)
Tags (2)
0 Kudos
1 Solution
632 Views
otemeshen
Contributor II

Solved:

It looks like I needed the

MX53_LINUX_1109_BSP_PATCH

Patch based on L2.6.35_11_09_ER_SOURCE, to provide: GPU driver update.

View solution in original post

0 Kudos
2 Replies
632 Views
otemeshen
Contributor II

Application note: AN3994 says the native window id should be the file descriptor returned from open("/dev/fb0").  But this has not worked on my platform.

eglCreateWindowSurface

                            (context->display(), context->config(),

                             open("/dev/fb0", O_RDWR, NULL), props.properties());

0 Kudos
633 Views
otemeshen
Contributor II

Solved:

It looks like I needed the

MX53_LINUX_1109_BSP_PATCH

Patch based on L2.6.35_11_09_ER_SOURCE, to provide: GPU driver update.

0 Kudos