Skip to contentSkip to conversation

qt embedded enable plugin-gfx-powervr

DISCUSSION Stefano 2 participants 5 messages May 25, 2012 – Jun 5, 2012

lore
Share & tools
lore

Stefano

author
#0 lore raw

I see the latest version of qt embedded does not include the plugin-gfx-powervr. The latest qt4-embedded.inc is configured:

QT_CONFIG_FLAGS += " \
-embedded ${QT_ARCH} \
-qtlibinfix ${QT_LIBINFIX} \
-plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc -plugin-gfx-directfb \
-plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb -qt-mouse-linuxinput \
-qt-kbd-tty \
-DQT_KEYPAD_NAVIGATION \
"

but without -plugin-gfx-powervr. This is because powervr need -DQT_NO_QWS_CURSOR and -DQT_WS_CLIENTBLIT?
I'm trying to modify the recipes to include powervr pluging, i have add -plugin-gfx-powervr -DQT_NO_QWS_CURSOR -DQT_WS_CLIENTBLIT. But this operation need two patches https://github.com/prabindh/qt-configs/tree/master/qt4.8

Somebody know a good solution to get the possibility to compile this plugin? Thank's for your time.

Signature · 15 lines
/Cordiali Saluti/
*Stefano Stucchi
*
*Genesis srl*
Via L. Manara 3/A
25126 Brescia

Tel: (+39) 030 5030499
www.supergenesis.it

Il contenuto di questo messaggio è confidenziale e riservato.
Può contenere informazioni la cui riservatezza è tutelata legalmente.
Ne sono vietati la riproduzione, la diffusione e l'uso.

This message is for the addressee only. It may contain informations protected by law. Reproduction, transmission, or use of this message is prohibited.
#1 lore raw
Quoted 20 lines · Stefano

I see the latest version of qt embedded does not include the plugin-gfx-powervr. The latest qt4-embedded.inc is configured:

QT_CONFIG_FLAGS += " \
-embedded ${QT_ARCH} \
-qtlibinfix ${QT_LIBINFIX} \
-plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc -plugin-gfx-directfb \
-plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb -qt-mouse-linuxinput \
-qt-kbd-tty \
-DQT_KEYPAD_NAVIGATION \
"

but without -plugin-gfx-powervr. This is because powervr need -DQT_NO_QWS_CURSOR and -DQT_WS_CLIENTBLIT?
I'm trying to modify the recipes to include powervr pluging, i have add -plugin-gfx-powervr -DQT_NO_QWS_CURSOR -DQT_WS_CLIENTBLIT. But this operation need two patches
https://github.com/prabindh/qt-configs/tree/master/qt4.8

Quoted 11 lines

Somebody know a good solution to get the possibility to compile this plugin?
Thank's for your time.

Signature · 6 lines
/Cordiali Saluti/
*Stefano Stucchi
*
*Genesis srl*
Via L. Manara 3/A
25126 Brescia

Hi,

are you sure you need the plugin? Koen mostly stated that the powervr plugin doesnt give much improvement.

Bye Henning

author
#2 lore raw

Il 25/05/2012 17.11, Henning Heinold ha scritto:

Quoted 34 lines · Stefano
Quoted 20 lines

I see the latest version of qt embedded does not include the plugin-gfx-powervr. The latest qt4-embedded.inc is configured:

QT_CONFIG_FLAGS += " \
   -embedded ${QT_ARCH} \
   -qtlibinfix ${QT_LIBINFIX} \
   -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc
   -plugin-gfx-directfb \
   -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb -qt-mouse-linuxinput \
   -qt-kbd-tty \
   -DQT_KEYPAD_NAVIGATION \
   "

but without -plugin-gfx-powervr. This is because powervr need -DQT_NO_QWS_CURSOR and -DQT_WS_CLIENTBLIT?
I'm trying to modify the recipes to include powervr pluging, i have add -plugin-gfx-powervr -DQT_NO_QWS_CURSOR -DQT_WS_CLIENTBLIT. But this operation need two patches
https://github.com/prabindh/qt-configs/tree/master/qt4.8

Quoted 11 lines

Somebody know a good solution to get the possibility to compile this plugin?
Thank's for your time.

Signature · 6 lines
/Cordiali Saluti/
*Stefano Stucchi
*
*Genesis srl*
Via L. Manara 3/A
25126 Brescia

Hi,

Quoted 10 lines

are you sure you need the plugin? Koen mostly stated that the powervr plugin doesnt give much improvement.

Bye Henning

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

I'm using beagleboard... and i'm read i need powervr to improve performance of opengl. But i can't test if is true or not because i can't build the plugin :)

Signature · 15 lines
/Cordiali Saluti/
*Stefano Stucchi
*
*Genesis srl*
Via L. Manara 3/A
25126 Brescia

Tel: (+39) 030 5030499
www.supergenesis.it

Il contenuto di questo messaggio è confidenziale e riservato.
Può contenere informazioni la cui riservatezza è tutelata legalmente.
Ne sono vietati la riproduzione, la diffusione e l'uso.

This message is for the addressee only. It may contain informations protected by law. Reproduction, transmission, or use of this message is prohibited.
author
#3 lore raw

Ok, now i'm trying to build the plugin-gfx-powervr but i need a little help with editing the recipes.

For my test i'm editing the qt4.inc with this lines:

QT_GLFLAGS ?= "-opengl es2 -depths 16,24,32 -plugin-gfx-powervr"

and i add at the end of line of QT_CONFIG_FLAGS
"-DQT_NO_QWS_CURSOR \
-DQT_WS_CLIENTLIT"

so i start the building with:
MACHINE=beagleboard ./oebb.sh bitbake qt4-embedded

But the build blocks on this error:
pvrqwswegl.c:42:30: fatal error: GLES/eglplatform.h: No such file or directory

So i apply these patches from https://github.com/prabindh/qt-configs/tree/master/qt4.8 and build is finish correclty. Problem #1 i see the rm_work delete the folder of qt library but i need that for cross-compile with qt-creator my program. I see the new library is installed in /tmp.../sysroot/beagleboard/usr/lib so i copy and paste on my sdcard in the same position. And i run qdemo -qws -display powervr and i get:

Problem #2
QLibraryPrivate::loadPlugin failed on "/usr/lib/qtopia/plugins/gfxdrivers/libqgfxpvregl.so" : "Cannot load library /usr/lib/qtopia/plugins/gfxdrivers/libqgfxpvregl.so: (/usr/lib/qtopia/plugins/gfxdrivers/libqgfxpvregl.so: undefined symbol: _ZNK16QWSWindowSurface12directRegionEv)" "Cannot load library /usr/lib/qtopia/plugins/gfxdrivers/libqgfxpvregl.so: (/usr/lib/qtopia/plugins/gfxdrivers/libqgfxpvregl.so: undefined symbol: _ZNK16QWSWindowSurface12directRegionEv)" could not load

Anybody have some info to solve the problem?
Thank's

#4 lore raw
Quoted 11 lines · Stefano

Problem #2
QLibraryPrivate::loadPlugin failed on "/usr/lib/qtopia/plugins/gfxdrivers/libqgfxpvregl.so" : "Cannot load library /usr/lib/qtopia/plugins/gfxdrivers/libqgfxpvregl.so:
(/usr/lib/qtopia/plugins/gfxdrivers/libqgfxpvregl.so: undefined
symbol: _ZNK16QWSWindowSurface12directRegionEv)"
"Cannot load library /usr/lib/qtopia/plugins/gfxdrivers/libqgfxpvregl.so:
(/usr/lib/qtopia/plugins/gfxdrivers/libqgfxpvregl.so: undefined
symbol: _ZNK16QWSWindowSurface12directRegionEv)" could not load

Quoted 2 lines

Anybody have some info to solve the problem?
Thank's

Hm looks like libqgfxpvregl.so needs more some so-libs depends, find out in which lib the Symbol is e.g. objdump or readelf and tweak the linker line for libqgfxpvregl.

Bye Henning