OGRE3D running on beagleboard with powervr drivers

Hi,

http://www.youtube.com/watch?v=LDtUE5PIhV0

regards,

Koen

WOW!! prepare to be deluged in email requests on how to get all of
that running =)
(And yes, I am one of those folks, but I'll still send you the direct email )

Doug Emes

The actual process is quite simple:

opkg install ogre-egl-samples

But, and here's the snag: you need the .06 version of the SGX SDK from TI, which isn't 'freely' available yet.

regards,

Koen

Hi Koen,

I'm interested in getting Ogre up and running on my beagleboard.
Could you explain the steps involed (i.e. which dist are you using
etc....).

Thanks,
Jay

Hi Koen,

I'm interested in getting Ogre up and running on my beagleboard.
Could you explain the steps involed

Download the 06 SDK, build the .ipk using openembedded.

(i.e. which dist are you using
etc....).

As the youtube clip says: angstrom.

http://code.google.com/p/beagleboard/wiki/HowtoUseSGXunderAngstrom

Thanks,

I will attempt to install OE. I had problems a while back when I
tried it. It appears that TI has a new release since you started this
effort. Have you tried their new OMAP35x Graphics SDK yet?

Thanks,

I will attempt to install OE. I had problems a while back when I
tried it. It appears that TI has a new release since you started this
effort. Have you tried their new OMAP35x Graphics SDK yet?

You should note that one of the steps in [1] is to install that
updated SDK. :slight_smile:

[1] Google Code Archive - Long-term storage for Google Code Project Hosting.

I am going to try to keep this working as Ogre is updated.

I don't have a Beagleboard yet but will be building the package to get
it ready. I'll also be building Ogre outside of OE to test with an
OpenGL ES emulator on Linux.

I am also planning to try to port over some of the optional bits like
CEGUI and OIS.

David.

Hi Koen,

I think I'm almost there. I'm still kinda of new to OE. Below are
the steps I've currently been able to do.

1. Create a console-image following the instructions on

http://elinux.org/BeagleBoardAndOpenEmbeddedGit

instead of creating an image on the SD card, I extracted the console-
image-beagleboard.tar image onto my local file system and created an
entry in my /etc/exports.

I did run into some problems with trying to get my Kernel to NFS mount
the root filesystem. Apparently, IP-CONFIG tries to bring up the
network before the USB subsystem can detect the USB Ethernet device.
It took me awhile to figure out the problem and how to fix it under
OE. My fix works, but I haven't figure out how to really integrate
that fix into the OE/Bitbake process (save this for another thread).

2. Continued the instructions on

http://code.google.com/p/beagleboard/wiki/HowtoUseSGXunderAngstrom

I was able to install the OpenGL ES drivers and run the gles1test1 and
some of my own OpenGL ES code:)

3. Install Ogre3D

I did the following:

# opkg install ogre-egl-samples

I think it installed, but I'm not sure how to bring up any of the
examples. Looking at your video, it also appears that you have X11 up
and running too. How do I get to the point of being able to run the
samples in

/usr/share/ogre3d/samples/Common/bin

Thanks again,
Jay

You need to remove the sections that the applications complain about and after that the demos will run.

regards,

Koen

Hi Koen,

I think I'm missing something here. I tried SkeletalAnimation and I
didn't see a think. I also tried a few other examples with the same
result. The text below is the output of SkeletalAnimaiton. Did I
miss a step? Note, I don't have X11 running, as the instructions
didn't mention anything about how to get it up and running. Do I need
X11 for these demos? If so, which bitbake bb or opkg do I need to
install. ogre-egl-samples installed without a hitch. Help.........

Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
FreeImage version: 3.11.0
This program uses FreeImage, a free, open source image library
supporting all co
mmon bitmap formats. See http://freeimage.sourceforge.net for details
Supported formats:
bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,
pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,
g3,sgi,exr,j2k,j2c,jp2
DDS codec registering
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
plugins.cfg not found, automatic plugin loading disabled.
*-*-* OGRE Initialising
*-*-* Version 1.7.1 (Cthugha)
Creating resource group Bootstrap
Added resource location '../../../Media/packs/OgreCore.zip' of type
'Zip' to res
ource group 'Bootstrap'
Added resource location '../../../Media' of type 'FileSystem' to
resource group
'General'
Added resource location '../../../Media/fonts' of type 'FileSystem' to
resource
group 'General'
Added resource location '../../../Media/materials/programs' of type
'FileSystem'
to resource group 'General'
Added resource location '../../../Media/materials/scripts' of type
'FileSystem'
to resource group 'General'
Added resource location '../../../Media/materials/textures' of type
'FileSystem'
to resource group 'General'
Added resource location '../../../Media/models' of type 'FileSystem'
to resource
group 'General'
Added resource location '../../../Media/overlays' of type 'FileSystem'
to resour
ce group 'General'
Added resource location '../../../Media/particle' of type 'FileSystem'
to resour
ce group 'General'
Added resource location '../../../Media/gui' of type 'FileSystem' to
resource gr
oup 'General'
Added resource location '../../../Media/DeferredShadingMedia' of type
'FileSyste
m' to resource group 'General'
Added resource location '../../../Media/PCZAppMedia' of type
'FileSystem' to res
ource group 'General'
Added resource location '../../../Media/packs/cubemap.zip' of type
'Zip' to reso
urce group 'General'
Added resource location '../../../Media/packs/cubemapsJS.zip' of type
'Zip' to r
esource group 'General'
Added resource location '../../../Media/packs/dragon.zip' of type
'Zip' to resou
rce group 'General'
Added resource location '../../../Media/packs/fresneldemo.zip' of type
'Zip' to
resource group 'General'
Added resource location '../../../Media/packs/ogretestmap.zip' of type
'Zip' to
resource group 'General'
Added resource location '../../../Media/packs/skybox.zip' of type
'Zip' to resou
rce group 'General'
*-*-* OGRE Shutdown
Unregistering ResourceManager for type Compositor
Unregistering ResourceManager for type Font
Unregistering ResourceManager for type Skeleton
Unregistering ResourceManager for type Mesh
Unregistering ResourceManager for type HighLevelGpuProgram
Unregistering ResourceManager for type Material

I'm having similar problems. I noticed if you run any of the demos
under X a dialog box pops up from Ogre3D titled 'OGRE Engine Setup'.
There are no visible options in the Renderer options: section of the
dialog. All you can do is hit OK or Cancel. Selecting OK yields an
exception in the console:

'OGRE EXCEPTION(1:InvalidStateException): Cannot initialize - no
render system has been selected'

I suspect running the demos outside of X fail to run because of this
missing configuration. Perhaps there is a hardcoded version of this
config that needs to be created?