LinuxMCE Forums
May 25, 2013, 02:10:19 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Orbiter on Framebuffer  (Read 1919 times)
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« on: July 10, 2009, 09:49:12 am »

After a bit of work, I was able to get Orbiter to successfully come up and be usable on the Linux framebuffer.

I started from the SDL renderer, and systematically massaged away the X11 code, while also removing mysql dependency, and statically linking in DCE, SerializeClass, PlutoUtils.

The result is here:

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

and to prove a small academic point, the same bin, running under X:

http://www.youtube.com/watch?v=UfF2yXF-zkc

Enjoy,
-Thom
Logged
hari
Administrator
LinuxMCE God
*****
Posts: 2413



View Profile WWW
« Reply #1 on: July 10, 2009, 11:12:13 am »

awesome tschak!! Wow!! Great work!
Logged

rock your home - http://www.agocontrol.com home automation
Emiku
Regular Poster
**
Posts: 28


View Profile
« Reply #2 on: July 10, 2009, 12:04:02 pm »

Hi,

So is this a 'POC' or to make the orbiter more lightweight on "small" devices, small arm boards etc etc..?

- Emiku
Logged
totallymaxed
LinuxMCE God
****
Posts: 4310


View Profile WWW
« Reply #3 on: July 10, 2009, 12:13:37 pm »

Hi,

So is this a 'POC' or to make the orbiter more lightweight on "small" devices, small arm boards etc etc..?

- Emiku

Thom's asleep now... but I think its safe to say because of Thom's hard work you should see some developments in the 'small Arm' boards area pretty soon ;-)

Andrew
Logged

Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Dianemo S Now Shipping on Ubuntu 12.04LTS
Build your system on the latest Ubuntu OS Release!

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk
darrenmason
Addicted
*
Posts: 529


View Profile
« Reply #4 on: July 10, 2009, 12:42:08 pm »

Fantastic work Thom - Opens up a lot of interesting possibilities.

Was it a hard port? I remember reading some of the directfb doco thinking that it seemed to be a reasonable fit for the way Orbiter was written.

Removing the mysqlclient dependancy is big win as well. Have you tried to run it on the webDT? Be interesting to see if the response is improved (not that it is bad)

Should make a native port to Chumby and similar devices a distinct possibility.

Thanks for your efforts

Darren
Logged
massabuntu
Veteran
***
Posts: 97



View Profile
« Reply #5 on: July 14, 2009, 06:57:22 pm »

I have a BeagleBoard to test iT! Cheesy
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #6 on: July 14, 2009, 07:27:54 pm »

Darrenmason: Orbiter did not use mysql at all except as part of a sql2cpp call when the Users page of the Wizard was displayed. Since the Wizard is not being used at all in the non-OSD orbiters, I could remove this code from compilation, and therefore remove the library linkage.

No it wasn't a hard port, basically, it was scissoring around the X specific calls in the existing SDL renderer and OrbiterLinux subclass with #ifdefs. I still need to write replacement code for the progress window and the prompt dialogs.

massabuntu: should you wish to build it, you can get the code, and use Makefile_DirectFB to build it.

-Thom
Logged
massabuntu
Veteran
***
Posts: 97



View Profile
« Reply #7 on: July 14, 2009, 11:20:13 pm »

Thom, let me understand.

You made the port on FB, but the os running under should be a media director or could be a simple linux?

Because i could, on a fisrt step install the X11 anyway on the BeagleBoard, and when this works, move everything on FB.

If i get it, you have cut off all the dependencies in addiction to port it on the framebuffer. So i could run it on every distro =) Hope i get it well Tongue
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #8 on: July 15, 2009, 12:17:53 am »

*hmm* no.

This is just the Orbiter.

It's intended to run on lightweight touch screen based devices to provide an orbiter panel. If you know what you're doing, you can extend it to be a full media director, but that's not what I intended.

-Thom
Logged
massabuntu
Veteran
***
Posts: 97



View Profile
« Reply #9 on: July 15, 2009, 08:26:37 am »

*hmm* no.

This is just the Orbiter.

It's intended to run on lightweight touch screen based devices to provide an orbiter panel. If you know what you're doing, you can extend it to be a full media director, but that's not what I intended.

-Thom

This is what i meant,
1) Port "only" the Obriter on ARM devices with x11
2) Port "ony" the  Orbiter on ARM devices on FB
3) Port a complete Media Director an a ARM Cortex v8 with OpenGLES and DSP like the BeagleBoard (this is gonna take muuuuccchhh time i think, and a lot of skill) maybe a device with PoE.... just dreaming. Tongue

Anyway, let get it started, where i found the code to begin cross-compiling?

 
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #10 on: July 15, 2009, 08:59:59 am »

same place as everything else:

http://svn.linuxmce.org/svn/branches/LinuxMCE-0810/

Read the wiki page "Building LinuxMCE 8.10"

-Thom
Logged
serra82
First post!

Posts: 1


View Profile
« Reply #11 on: August 13, 2009, 01:30:13 pm »

massabuntu: should you wish to build it, you can get the code, and use Makefile_DirectFB to build it.

I can't find Makefile_DirectFB, Was in Orbiter directory?
thank you
Logged
los93sol
Guru
****
Posts: 396


View Profile
« Reply #12 on: August 13, 2009, 03:57:49 pm »

I'll pony up a donation for extending this to a whole media director.  Smiley  Anybody else wanna toss into the pot?  I'll start with $50
Logged
massabuntu
Veteran
***
Posts: 97



View Profile
« Reply #13 on: August 14, 2009, 11:19:50 am »

Guy's let's get started porting only the Orbiter, then we could work on MediaDirector.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!