OpenGL ES libraries and SGX acceleration on Overo Fire

View: New views
17 Messages — Rating Filter:   Alert me  

OpenGL ES libraries and SGX acceleration on Overo Fire

by Elvis Dowson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
        I've heard that people have issues with obtaining access to the  
required libraries to work with the TI OMAP 3430 SGX accelerator.

Does the same thing apply for the Overo Fire, i.e. if I buy an Overo  
Fire, can I start developing OpenGL applications and run them using  
the hardware acceleration of the OMAP 3430 SGX ?

Best regards,

Elvis

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: OpenGL ES libraries and SGX acceleration on Overo Fire

by sakoman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Apr 18, 2009 at 1:41 AM, Elvis Dowson <elvis.dowson@...> wrote:
> Hi,
>        I've heard that people have issues with obtaining access to the
> required libraries to work with the TI OMAP 3430 SGX accelerator.
>
> Does the same thing apply for the Overo Fire, i.e. if I buy an Overo
> Fire, can I start developing OpenGL applications and run them using
> the hardware acceleration of the OMAP 3430 SGX ?

As usual with open source, the documentation is in the source code :-)

>From recipes/powervr/libgles-omap3.inc:

# some hints to get you going. as this isnt a totally "open" library, you need
# to do some work. follow the steps below.
#
# 1. if you don't already have a ti account get one here. it's free:
#  http://www.ti.com/hdr_my_ti
# 2. fetch the gl-es bin from here:
#  https://www-a.ti.com/downloads/sds_support/targetcontent/dvsdk/oslinux_dvsdk/v3_00_3530/OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin
# (replace version in .bin file as appropriate)
# 3. put the OMAP35x_*.bin file in libgles-omap3/
#  mv OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin ./libgles-omap3/
# 4. make it executable:
#  chmod a+x ./libgles-omap3/OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin
#
# voila!

Version 7 of the SDK is available, so substitute 7 for 6 in the above
instructions.

Steve

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: OpenGL ES libraries and SGX acceleration on Overo Fire

by Elvis Dowson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks a lot Steve!! I really appreciate this!! :-)

I'll place to get an Overo Fire shortly, to try this out.

Elvis

On Apr 18, 2009, at 5:28 PM, Steve Sakoman wrote:

> On Sat, Apr 18, 2009 at 1:41 AM, Elvis Dowson <elvis.dowson@...>  
> wrote:
>> Hi,
>>        I've heard that people have issues with obtaining access to  
>> the
>> required libraries to work with the TI OMAP 3430 SGX accelerator.
>>
>> Does the same thing apply for the Overo Fire, i.e. if I buy an Overo
>> Fire, can I start developing OpenGL applications and run them using
>> the hardware acceleration of the OMAP 3430 SGX ?
>
> As usual with open source, the documentation is in the source code :-)
>
>> From recipes/powervr/libgles-omap3.inc:
>
> # some hints to get you going. as this isnt a totally "open"  
> library, you need
> # to do some work. follow the steps below.
> #
> # 1. if you don't already have a ti account get one here. it's free:
> #  http://www.ti.com/hdr_my_ti
> # 2. fetch the gl-es bin from here:
> #  https://www-a.ti.com/downloads/sds_support/targetcontent/dvsdk/oslinux_dvsdk/v3_00_3530/OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin
> # (replace version in .bin file as appropriate)
> # 3. put the OMAP35x_*.bin file in libgles-omap3/
> #  mv OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin ./libgles-omap3/
> # 4. make it executable:
> #  chmod a+x ./libgles-omap3/
> OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin
> #
> # voila!
>
> Version 7 of the SDK is available, so substitute 7 for 6 in the above
> instructions.
>
> Steve
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: OpenGL ES libraries and SGX acceleration on Overo Fire

by nrg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

g'day steve

i tried downloading the SDK Version 7 file as suggested (using the following link):

https://www-a.ti.com/downloads/sds_support/targetcontent/dvsdk/oslinux_dvsdk/v3_00_3530/OMAP35x_Graphics_SDK_setuplinux_3_00_00_07.bin

(ie changing the '6' to a '7')
i receive an error message "The page cannot be found" (HTTP 404 - File Not Found)

i was able to download the Version 6 file without difficulties.

regardz
guy

sakoman wrote:
>From recipes/powervr/libgles-omap3.inc:

# some hints to get you going. as this isnt a totally "open" library, you need
# to do some work. follow the steps below.
#
# 1. if you don't already have a ti account get one here. it's free:
#  http://www.ti.com/hdr_my_ti
# 2. fetch the gl-es bin from here:
#  https://www-a.ti.com/downloads/sds_support/targetcontent/dvsdk/oslinux_dvsdk/v3_00_3530/OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin
# (replace version in .bin file as appropriate)
# 3. put the OMAP35x_*.bin file in libgles-omap3/
#  mv OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin ./libgles-omap3/
# 4. make it executable:
#  chmod a+x ./libgles-omap3/OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin
#
# voila!

Version 7 of the SDK is available, so substitute 7 for 6 in the above
instructions.

Steve

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: OpenGL ES libraries and SGX acceleration on Overo Fire

by Koen Kooi-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 18-04-09 16:39, nrg wrote:

>
> g'day steve
>
> i tried downloading the SDK Version 7 file as suggested (using the following
> link):
>
> https://www-a.ti.com/downloads/sds_support/targetcontent/dvsdk/oslinux_dvsdk/v3_00_3530/OMAP35x_Graphics_SDK_setuplinux_3_00_00_07.bin
>
> (ie changing the '6' to a '7')
> i receive an error message "The page cannot be found" (HTTP 404 - File Not
> Found)
>
> i was able to download the Version 6 file without difficulties.
>
> regardz
> guy
>
>
> sakoman wrote:
>>
>>
>> > From recipes/powervr/libgles-omap3.inc:
>>
>> # some hints to get you going. as this isnt a totally "open" library, you
>> need
>> # to do some work. follow the steps below.
>> #
>> # 1. if you don't already have a ti account get one here. it's free:
>> #  http://www.ti.com/hdr_my_ti
>> # 2. fetch the gl-es bin from here:
>> #
>> https://www-a.ti.com/downloads/sds_support/targetcontent/dvsdk/oslinux_dvsdk/v3_00_3530/OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin
>> # (replace version in .bin file as appropriate)
>> # 3. put the OMAP35x_*.bin file in libgles-omap3/
>> #  mv OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin ./libgles-omap3/
>> # 4. make it executable:
>> #  chmod a+x
>> ./libgles-omap3/OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin
>> #
>> # voila!
>>
>> Version 7 of the SDK is available, so substitute 7 for 6 in the above
>> instructions.

According to TI .07 is just .06 with a better license. .08 will come out
Soon(TM).

regards,

Koen


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

How to use OpenGL ES on Overo Earth

by Elvis Dowson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
        How can I use OpenGL ES on the Overo Earth? I have already downloaded  
the TI 35x Grahics SDK. Not sure what to do next.

I am getting errors now relating to the android attempting to call  
some gl functions, like glLightf etc, and I'm not sure if OpenGLES is  
included.

Has anyone tried running any OpenGL ES test app on the Overo?

Best regards,

Elvis

On Apr 18, 2009, at 5:28 PM, Steve Sakoman wrote:

>
>
>> From recipes/powervr/libgles-omap3.inc:
>
> # some hints to get you going. as this isnt a totally "open"  
> library, you need
> # to do some work. follow the steps below.
> #
> # 1. if you don't already have a ti account get one here. it's free:
> #  http://www.ti.com/hdr_my_ti
> # 2. fetch the gl-es bin from here:
> #  https://www-a.ti.com/downloads/sds_support/targetcontent/dvsdk/oslinux_dvsdk/v3_00_3530/OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin
> # (replace version in .bin file as appropriate)
> # 3. put the OMAP35x_*.bin file in libgles-omap3/
> #  mv OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin ./libgles-omap3/
> # 4. make it executable:
> #  chmod a+x ./libgles-omap3/
> OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin
> #
> # voila!


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: OpenGL ES libraries and SGX acceleration on Overo Fire

by Elvis Dowson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Steve,
                        I just got my Overo Fire two days ago, and I'm ready to test it  
out. I've followed the instructions that have been outlined below.

So, all I have to do is just add to the IMAGE_INSTALL +=  section in  
the omap3-console-image.bb file, an entry for libgles-omap3 ?

Best regards,

Elvis

On Apr 18, 2009, at 5:28 PM, Steve Sakoman wrote:

>>
>
> # some hints to get you going. as this isnt a totally "open"  
> library, you need
> # to do some work. follow the steps below.
> #
> # 1. if you don't already have a ti account get one here. it's free:
> #  http://www.ti.com/hdr_my_ti
> # 2. fetch the gl-es bin from here:
> #  https://www-a.ti.com/downloads/sds_support/targetcontent/dvsdk/oslinux_dvsdk/v3_00_3530/OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin
> # (replace version in .bin file as appropriate)
> # 3. put the OMAP35x_*.bin file in libgles-omap3/
> #  mv OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin ./libgles-omap3/
> # 4. make it executable:
> #  chmod a+x ./libgles-omap3/
> OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin
> #
> # voila!


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

built custom image, then lost wlan0

by Brad Shaw :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi:

I just received my verdex board w/ netpro-vx.  Both eth0 and wlan0 worked out of the box, but I built a custom image to enable bridging support in the kernel.

I was able to get the new image onto the Verdex using the ethernet method.  When the new kernel starts, I have eth0 support, but no wlan0 anymore.

Am I missing something simple?  It wasn't apparent that I should enable anything else in the kernel menuconfig.

root@gumstix-custom-verdex:~$ ifup wlan0
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device wlan0 ; No such device.
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; No such device.
SIOCGIFFLAGS: No such device
wlan0     No such device

SIOCSIFADDR: No such device
SIOCSIFNETMASK: No such device
SIOCGIFFLAGS: No such device
route: SIOC[ADD|DEL]RT: No such device

--brad

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: OpenGL ES libraries and SGX acceleration on Overo Fire

by Elvis Dowson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Steve,
                  The way you've integrated the OMAP 35x Graphics SDK into the Overo  
OE setup and installation process is quite impressive!! :-) It's  
really a piece of work!! :-)

Best regards,

Elvis


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: OpenGL ES libraries and SGX acceleration on Overo Fire

by mjabe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,  Steve

     Does this package(OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin)
     contains the OpenGL-ES source code for TI OMAP h/w 3D acceleration?  
     Or just the compiled library.
     Thank you.



sakoman wrote:
On Sat, Apr 18, 2009 at 1:41 AM, Elvis Dowson <elvis.dowson@mac.com> wrote:
> Hi,
>        I've heard that people have issues with obtaining access to the
> required libraries to work with the TI OMAP 3430 SGX accelerator.
>
> Does the same thing apply for the Overo Fire, i.e. if I buy an Overo
> Fire, can I start developing OpenGL applications and run them using
> the hardware acceleration of the OMAP 3430 SGX ?

As usual with open source, the documentation is in the source code :-)

>From recipes/powervr/libgles-omap3.inc:

# some hints to get you going. as this isnt a totally "open" library, you need
# to do some work. follow the steps below.
#
# 1. if you don't already have a ti account get one here. it's free:
#  http://www.ti.com/hdr_my_ti
# 2. fetch the gl-es bin from here:
#  https://www-a.ti.com/downloads/sds_support/targetcontent/dvsdk/oslinux_dvsdk/v3_00_3530/OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin
# (replace version in .bin file as appropriate)
# 3. put the OMAP35x_*.bin file in libgles-omap3/
#  mv OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin ./libgles-omap3/
# 4. make it executable:
#  chmod a+x ./libgles-omap3/OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin
#
# voila!

Version 7 of the SDK is available, so substitute 7 for 6 in the above
instructions.

Steve

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: OpenGL ES libraries and SGX acceleration on Overo Fire

by jsarao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Elvis/Steve:
* I'm trying to compile OpenGL ES support for the OVERO WATER.
* I've downloaded the OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin from TI and places it in the
~/overo-oe/org.openembedded.dev/recipes/powervr-drivers/libgles-omap3 directory
* I've changed it to be executable (chmod a+x OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin)
* I then run: bitbake libgles-omap3
* I get the following errors:

<code>
ERROR: Error in executing: /home/myname/overo-oe/org.openembedded.dev/recipes/powervr-drivers/libgles-omap3_3.00.00.06.bb
ERROR: Exception:<type 'exceptions.TypeError'> Message:coercing to Unicode: need string or buffer, NoneType found
ERROR: Printing the environment of the function
ERROR: 0013:    workdir  = bb.data.expand(workdir, localdata)
ERROR: 0014:    os.chdir(workdir)
ERROR: 0015:
...
</code>

Q: Is this a problem with Python?  (I'm on a clean Ubuntu 9.04 install + additional software needed to build)
Q: Is there some additional modification to the recipe I should do?
Q: Which recipe should be used (I deleted all but 06)?

Much thanks for any assistance.
-Jeremy

Elvis Dowson wrote:
                  The way you've integrated the OMAP 35x Graphics SDK into the Overo  
OE setup and installation process is quite impressive!! :-) It's  
really a piece of work!! :-)

Re: OpenGL ES libraries and SGX acceleration on Overo Fire

by Elvis Dowson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Oct 15, 2009, at 12:18 AM, jsarao wrote:


* I'm trying to compile OpenGL ES support for the OVERO WATER.
* I've downloaded the OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin from TI
and places it in the
~/overo-oe/org.openembedded.dev/recipes/powervr-drivers/libgles-omap3
directory
* I've changed it to be executable (chmod a+x
OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin)

See if uncommenting the following line the in the overo.conf file works

MACHINE_EXTRA_RRECOMMENDS += " omap3-sgx-modules"

Best regards,

Elvis Dowson

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: OpenGL ES libraries and SGX acceleration on Overo Fire

by jsarao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

thanks Elvis.

I manged to get further by:
1. using the 09 version of the bitbake recipe
2. I put the OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin in the 09 sub directory
3. I had to modify the recipe do_install_append (gfx_rel is the output from the binary I get)
4. I then build (bitbake libgles-omap3)

It then output 5 packages (/deploy/glibc/ipk/arm7a/libgles-omap3*)

I'm now trying to move them over to my Overo Water for testing.

Q: Is there anything else I need to enable (in the kernel perhaps) or install in order to run the OpenGL ES test applications?  Or when I install these packages will they install all necessary libraries, etc.?

Thanks a lot for your quick response, Elvis.  You are big help in both the questions you ask and your responses.

-Jeremy  


Elvis Dowson wrote:
>
> * I'm trying to compile OpenGL ES support for the OVERO WATER.
> * I've downloaded the OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin  
> from TI
> and places it in the
> ~/overo-oe/org.openembedded.dev/recipes/powervr-drivers/libgles-omap3
> directory
> * I've changed it to be executable (chmod a+x
> OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin)

See if uncommenting the following line the in the overo.conf file works

        MACHINE_EXTRA_RRECOMMENDS += " omap3-sgx-modules"

Re: OpenGL ES libraries and SGX acceleration on Overo Fire

by Elvis Dowson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Oct 15, 2009, at 1:25 AM, jsarao wrote:

> It then output 5 packages (/deploy/glibc/ipk/arm7a/libgles-omap3*)
>
> I'm now trying to move them over to my Overo Water for testing.
>
> Q: Is there anything else I need to enable (in the kernel perhaps) or
> install in order to run the OpenGL ES test applications?  Or when I  
> install
> these packages will they install all necessary libraries, etc.?

If I recall, I modified my omap3-console-image.bb recipe to include  
the libgles-omap3 package as part of the rootfs. Check the exact name,  
it is present for the beagleboard configuration in the existing omap3-
console-image.bb recipe.

This way, it ends up being copied over to the Overo when you create  
the rootfs.

After that, I think I had to make sure that the OpenGL ES test  
programs had execute permissions (chmod +x ) and it ran fine on the  
Overo Fire + Palo43 LCD display combination.

Best regards,

Elvis


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: OpenGL ES libraries and SGX acceleration on Overo Fire

by jsarao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A quick status update:
I'm still having trouble.
Everything seems to build fine (I modified the conf/machine/overo.conf & recipes/images/omap3-console-image.bb as appropriate).

ERRORS:
root@overo:~/packages# opkg install libgles-omap3_3.00.00.09-r1.3_armv7a.ipk

Installing libgles-omap3 (3.00.00.09-r1.3) to root...
libgles-omap3: unsatisfied recommendation for libgles-omap3-tests
Configuring libgles-omap3
 Adding system startup for /etc/init.d/pvr-init.
Starting PVR
pvrsrvkm: disagrees about version of symbol clk_set_rate
pvrsrvkm: Unknown symbol clk_set_rate
...
WARNING: Error inserting pvrsrvkm (/lib/modules/2.6.30-omap1/kernel/drivers/gpu/pvr/pvrsrvkm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
omaplfb: Unknown symbol PVRGetDisplayClassJTable 
FATAL: Error inserting omaplfb (/lib/modules/2.6.30-omap1/kernel/drivers/gpu/pvr/omaplfb.ko): Unknown symbol in module, or unknown parameter (see dmesg)
mknod: missing operand after `0'
Try `mknod --help' for more information.
chmod: cannot access `/dev/pvrsrvkm': No such file or directory
Starting SGX fixup forES 2.x


Q: Have you (or Steve if you are reading) encountered these issues?  


Elvis Dowson wrote:
On Oct 15, 2009, at 1:25 AM, jsarao wrote:

> Q: Is there anything else I need to enable (in the kernel perhaps) or
> install in order to run the OpenGL ES test applications?  Or when I  
> install these packages will they install all necessary libraries, etc.?

If I recall, I modified my omap3-console-image.bb recipe to include  
the libgles-omap3 package as part of the rootfs. Check the exact name,  
it is present for the beagleboard configuration in the existing omap3-
console-image.bb recipe.

This way, it ends up being copied over to the Overo when you create  
the rootfs.

After that, I think I had to make sure that the OpenGL ES test  
programs had execute permissions (chmod +x ) and it ran fine on the  
Overo Fire + Palo43 LCD display combination.

Re: OpenGL ES libraries and SGX acceleration on Overo Fire

by jsarao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

FYI:

There are some helpful hints at the BeagleBoard forum (http://code.google.com/p/beagleboard/wiki/HowtoUseSGXunderAngstrom)

At the bottom of the comments is a link to a TI site on where to get a more recent version of the Graphics SDK.
I'm still stuck (even backing up to a Linux Kernel 2.6.29, etc.), so I'm going to try the current openembedded tree with the new SDK (.09).



A quick status update:
I'm still having trouble.
Everything seems to build fine (I modified the conf/machine/overo.conf & recipes/images/omap3-console-image.bb as appropriate).

ERRORS:
root@overo:~/packages# opkg install libgles-omap3_3.00.00.09-r1.3_armv7a.ipk

Installing libgles-omap3 (3.00.00.09-r1.3) to root...
libgles-omap3: unsatisfied recommendation for libgles-omap3-tests
Configuring libgles-omap3
 Adding system startup for /etc/init.d/pvr-init.
Starting PVR
pvrsrvkm: disagrees about version of symbol clk_set_rate
pvrsrvkm: Unknown symbol clk_set_rate
...
WARNING: Error inserting pvrsrvkm (/lib/modules/2.6.30-omap1/kernel/drivers/gpu/pvr/pvrsrvkm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
omaplfb: Unknown symbol PVRGetDisplayClassJTable 
FATAL: Error inserting omaplfb (/lib/modules/2.6.30-omap1/kernel/drivers/gpu/pvr/omaplfb.ko): Unknown symbol in module, or unknown parameter (see dmesg)
mknod: missing operand after `0'
Try `mknod --help' for more information.
chmod: cannot access `/dev/pvrsrvkm': No such file or directory
Starting SGX fixup forES 2.x


Q: Have you (or Steve if you are reading) encountered these issues?  


Elvis Dowson wrote:
On Oct 15, 2009, at 1:25 AM, jsarao wrote:

> Q: Is there anything else I need to enable (in the kernel perhaps) or
> install in order to run the OpenGL ES test applications?  Or when I  
> install these packages will they install all necessary libraries, etc.?

If I recall, I modified my omap3-console-image.bb recipe to include  
the libgles-omap3 package as part of the rootfs. Check the exact name,  
it is present for the beagleboard configuration in the existing omap3-
console-image.bb recipe.

This way, it ends up being copied over to the Overo when you create  
the rootfs.

After that, I think I had to make sure that the OpenGL ES test  
programs had execute permissions (chmod +x ) and it ran fine on the  
Overo Fire + Palo43 LCD display combination.


Re: OpenGL ES libraries and SGX acceleration on Overo Fire

by jsarao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Still cannot run OpenGL ES apps on Overo Water.

SUCCESS:
I run /usr/bin/sgx_blit_test and it draws a bunch of colored box to the DVI output.
This is great and makes me think I'm almost there.

FAILURE:
I run /usr/bin/gl2info and I get:
EGL vendor string: Imagination Technologies
EGL version string: 1.4 build 1.3.13.1832
...
egl error 'EGL_NOT_INITIALIZED' (0x3001)

Does anyone have any suggestions on what I can do diagnose this problem?

Ideally: Does anyone have a complete uImage and Rootfs I can download that has OpenGL ES examples working for the Overo Earth?  Steve Sakoman?

Thanks.
-Jeremy