LinuxMCE Forums

General => Developers => Topic started by: tschak909 on July 10, 2009, 10:49:12 am

Title: Orbiter on Framebuffer
Post by: tschak909 on July 10, 2009, 10: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
Title: Re: Orbiter on Framebuffer
Post by: hari on July 10, 2009, 12:12:13 pm
awesome tschak!! Wow!! Great work!
Title: Re: Orbiter on Framebuffer
Post by: Emiku on July 10, 2009, 01: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
Title: Re: Orbiter on Framebuffer
Post by: totallymaxed on July 10, 2009, 01: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
Title: Re: Orbiter on Framebuffer
Post by: darrenmason on July 10, 2009, 01: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
Title: Re: Orbiter on Framebuffer
Post by: massabuntu on July 14, 2009, 07:57:22 pm
I have a BeagleBoard to test iT! :D
Title: Re: Orbiter on Framebuffer
Post by: tschak909 on July 14, 2009, 08: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
Title: Re: Orbiter on Framebuffer
Post by: massabuntu on July 15, 2009, 12:20:13 am
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 :P
Title: Re: Orbiter on Framebuffer
Post by: tschak909 on July 15, 2009, 01: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
Title: Re: Orbiter on Framebuffer
Post by: massabuntu on July 15, 2009, 09: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. :P

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

 
Title: Re: Orbiter on Framebuffer
Post by: tschak909 on July 15, 2009, 09: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
Title: Re: Orbiter on Framebuffer
Post by: serra82 on August 13, 2009, 02: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
Title: Re: Orbiter on Framebuffer
Post by: los93sol on August 13, 2009, 04:57:49 pm
I'll pony up a donation for extending this to a whole media director.  :)  Anybody else wanna toss into the pot?  I'll start with $50
Title: Re: Orbiter on Framebuffer
Post by: massabuntu on August 14, 2009, 12:19:50 pm
Guy's let's get started porting only the Orbiter, then we could work on MediaDirector.