Hi guys,
Can I build and run Ogre3D for Linux/Ubuntu/Linaro on an ARM powered device similar to Raspberry Pi with OpenGLES 2.0 ?
I do have X but of course EGL without X would be nice too.
I have built Ogre3D for desktop Ubuntu with OpenGL but this is now a different target.
Any suggestions - is this possible?
Linux EGL+GLES on ARM-powered device
- Herb
- Orc
- Posts: 412
- Joined: Thu Jun 04, 2009 3:21 am
- Location: Kalamazoo,MI
- x 38
Re: Linux EGL+GLES on ARM-powered device
Yes, it's possible. I've had ogre running on a Freescale I.MX53 QSB dev kit (cortex a8 ARM chip). I used a Linaro build of Ubuntu I had on running on the dev board and compiled ogre right on the board. So, it was running in X. The trouble is the opengles render system has calls to grab a x11 window, so you would need to modify the render system code to do it without X.
-
- Gnoblar
- Posts: 8
- Joined: Thu May 12, 2011 3:30 pm
Re: Linux EGL+GLES on ARM-powered device
Thanks very much.
So with X11, it is only a matter of having the deps and the toolchain.
Is there any special tricks involved or would it build out of box?
So with X11, it is only a matter of having the deps and the toolchain.
Is there any special tricks involved or would it build out of box?
- Herb
- Orc
- Posts: 412
- Joined: Thu Jun 04, 2009 3:21 am
- Location: Kalamazoo,MI
- x 38
Re: Linux EGL+GLES on ARM-powered device
I can't remember now if I did any modification to get it to build....I don't think so.... It's handy to run ccmake (which you can get via apt-get install cmake-curses-gui) to toggle your build settings. You'll want to turn off a bunch of stuff and enable the GLES1 and / or GLES2 render systems.
-
- Gnoblar
- Posts: 8
- Joined: Thu May 12, 2011 3:30 pm
Re: Linux EGL+GLES on ARM-powered device
Great thanks.
I wish there was a blog about it. I might endup writing one myself!
I wish there was a blog about it. I might endup writing one myself!
-
- Gnoblar
- Posts: 8
- Joined: Thu May 12, 2011 3:30 pm
Re: Linux EGL+GLES on ARM-powered device
Finally managd to run it.
The hardware uses a good GPU (it is an iMX6 chipset).
But the renderings are super slow - like 0.5 FPS!
Is it because Ogre3D uses mesa drivers that are not hardware accelerated?
The hardware uses a good GPU (it is an iMX6 chipset).
But the renderings are super slow - like 0.5 FPS!
Is it because Ogre3D uses mesa drivers that are not hardware accelerated?