Hi, All
We followed “OMAP35x Graphics SDK Getting Started Guide” to get
PowerVR works on beagle board.
We started loading powerVR modules successfully,
Target #/etc/init.d/rc.pvr start
And we could run any of its demo examples, like eglinfo,
sgx_blit_test, sgx_flip_test, ovg_unit_test
Target $ ./gles1test1 –t
Target $ ./gles2test1 –t
Target $ ./ovg_unit_test –t
so we builded qt with arguments as below, in order to use PowerVR feature of Qt:
-plugin-gfx-powervr
-opengl es1
The PowerVR driver also needs to be told which WSEGL library to use.
This is done by creating/modifying /etc/powervr.ini:
[default]
WindowSystem=libpvrQWSWSEGL.so
When we start a Qt/Embedded application, we modify the QWS_DISPLAY
environment variable to use the "powervr" driver instead of "LinuxFb".
QWS_DISPLAY=”powervr:size=480x640:depth=32”
To test the OpenGL ES integration, we use the hellogl_es example in Qt
and run it on the device, and we got the errors pasted following.
Target:/opt/qte4.5.1/examples/opengl/hellogl_es# ./hellogl_es -qws
Could not create the temporary E<4>: OSCpuVToPageList: get_user_pages
failed (-14), trying something else<4>: OSCpuVToPageList:
get_user_pages failed (-14), trying something elseGL surface
QEglContext::createSurface(): Unable to create EGL surface, error = 0x3001
Could not re-create the temporary EGL surface
blit_16(): Image format 0 not supported!
I want to know how to solve this problem? What is the error about?
Any help is highly appreciated!
Thanks