The IVI Russellville image also uses the EMGD driver, by the way.

If you are trying to generate your own image from a kickstart, you may need
explicitly remove the libGL package. The libGL package is still referenced
in the package-group patterns in the current 1.2 repos. Since the libGL
package is non-existent, your image creation will fail on it and throw an
error message about not being able to find the package. You can add "-
libGL" to your kickstart in the packages section and that should get you
past the error.

I was able to use the kickstart from
http://repo.meego.com/MeeGo/builds/trunk/1.1.99.0.20110330.3/images/meego-iv
i-ia32-conx/meego-ivi-ia32-conx-1.1.99.0.20110330.3.ks, add the "- libGL"
line, and include qt-mobility and successfully spin an image with it. 

Tracy

p.s. Top-post brought to you by Outlook. Sorry. :| 



-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Matt Roper
Sent: Tuesday, April 05, 2011 9:45 AM
To: O'carroll, David T
Cc: [email protected]
Subject: Re: [MeeGo-dev] Qt with OpenGL (ES)

On Tue, Apr 05, 2011 at 06:36:35AM -0600, [email protected] wrote:
> 
> A package should provides libGLESv2. If the platform (IVI conx)
> doesn't provide OpenGL ES driver, you're using software rendering.
> 

For the IVI conx images, EGL and GLES should be provided by the EMGD
driver in the package emgd-bin:

    [meego@localhost ~]$ rpm -ql emgd-bin | grep GL
    /usr/lib/libEGL.so
    /usr/lib/libEGL.so.1
    /usr/lib/libEGL.so.1.1.15.3226
    /usr/lib/libEMGDOGL.so
    /usr/lib/libEMGDOGL.so.1.1.15.3226
    /usr/lib/libGLES_CM.so
    /usr/lib/libGLES_CM.so.1.1.15.3226
    /usr/lib/libGLESv2.so
    /usr/lib/libGLESv2.so.1.1.15.3226
    /usr/lib/libGLESv2.so.2
    /usr/lib/libemgdPVR2D_DRIWSEGL.so
    /usr/lib/libemgdPVR2D_DRIWSEGL.so.1.1.15.3226

EMGD's implementation of GLES is not based on the Mesa framework, so you
won't see the Mesa EGL and GLES packages installed when EMGD is present.

I'm a little bit confused by this part of David's original email:

> The demo uses qt-mobility which has a dependency on libGL. However,
> libGL is not located in the repo.
...
> That is fine except that the version of Qt that is in the
> repository is not built to use OpenGL ES,

As others have noted, I don't think this should be true for the QT
present in the Meego 1.2-based images.  When I run

    ldd /usr/lib/libQt* | grep libGL | grep -v libGLES

to see if any of the /usr/lib/libQt* libraries have a libGL (not
libGLES) dependency, I don't get any results.  Can you identify which QT
library on your system you're finding to have the libGL dependency?

Thanks.


Matt


-- 
Matt Roper
Intel Corporation
Embedded Media & Graphics Driver Group
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to