Hello!
I want to run hellogl_es Qt/Embedded example with powervr gfxdriver.
What I've done:
1) built qt4-embedded-gles;
2) booted rootfs with omapfb.mode=dvi:1024x768M-16@60;
3) kernel drivers seems to work (powervr demo apps generally work);
4) ./hellogl_es -qws -display powervr results in:
root@beagleboard:~# ./hellogl_es -qws -display powervr
Could not create the temporary EGL surface
QEglContext::createSurface(): Unable to create EGL surface, error = 0x300b
Could not re-create the temporary EGL surface
0x300b is EGL_BAD_NATIVE_WINDOW error for Khronos GLES.
The corresponding code for the error is in
src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.cpp:
surface = eglCreateWindowSurface
(dpy, config, (EGLNativeWindowType)(-1), NULL);
if (surface == EGL_NO_SURFACE)
qWarning("Could not create the temporary EGL surface");
When I run Qt/E GLES program, I see qt widgets and other, but there is
only green box instead of QGLWidget.
Any suggestions?
Are you using a revC or revB board, and is your QT built against gles1 or gles2?
regards,
Koen
Hello!
I want to run hellogl_es Qt/Embedded example with powervr gfxdriver.
What I've done:
1) built qt4-embedded-gles;
2) booted rootfs with omapfb.mode=dvi:1024x768M-16@60;
3) kernel drivers seems to work (powervr demo apps generally work);
4) ./hellogl_es -qws -display powervr results in:
root@beagleboard:~# ./hellogl_es -qws -display powervr
Could not create the temporary EGL surface
QEglContext::createSurface(): Unable to create EGL surface, error = 0x300b
Could not re-create the temporary EGL surface
0x300b is EGL_BAD_NATIVE_WINDOW error for Khronos GLES.
The corresponding code for the error is in
src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglscreen.cpp:
surface = eglCreateWindowSurface
(dpy, config, (EGLNativeWindowType)(-1), NULL);
if (surface == EGL_NO_SURFACE)
qWarning("Could not create the temporary EGL surface");
When I run Qt/E GLES program, I see qt widgets and other, but there is
only green box instead of QGLWidget.
Any suggestions?
Are you using a revC or revB board, and is your QT built against gles1 or
gles2?
I have revC board, and my qt4-embedded-gles recipe for OpenEmbedded is
built with:
QT_CONFIG_FLAGS += "-D QT_NO_QWS_CURSOR -D QT_QWS_CLIENTBLIT -depths
16,24,32 -opengl es1 -plugin-gfx-powervr -nomake demos -nomake
examples"
(some demos and examples seems to be unbuildable for gles qt).