openbricks / XBMC

261 views
Skip to first unread message

Sebastian Gabbert

unread,
Jun 3, 2011, 2:17:08 PM6/3/11
to panda...@googlegroups.com
Hi,

I'd like to try XBMC on pandaboard and read on the list to use
openbricks for that.
After three days of trying to build openbricks I just wanted to ask if
anyone had build it successfull, yet? Cause I wasn't able...

I had multiple compile problems in the openbricks and openbricks-next
repository. My Hostsystem is an ubuntu 11.04.

I'm thankfull for any kind of advice or report of (not) successfull
builds ;)

Thanks

orbarron

unread,
Jun 3, 2011, 2:33:12 PM6/3/11
to pandaboard
Hey Sabastian,

I suggest you ping some members on the geexbox irc channel.

~orbarron

On Jun 3, 1:17 pm, Sebastian Gabbert <huehnerh...@googlemail.com>
wrote:

Benjamin Zores

unread,
Jun 3, 2011, 2:44:21 PM6/3/11
to panda...@googlegroups.com

No troubles for me with -next branch.
What's your issue ?

>
> Thanks

Sebastian Gabbert

unread,
Jun 4, 2011, 1:16:11 PM6/4/11
to panda...@googlegroups.com
Hi,

I would call them casual build errors, but the amount of them drives me
crazy. At the moment I wrestle with an error caused by "not finding
cursor.dat", I suppose it's cause it looks for directfb-1.4.11 but
installs/compiles 1.4.13... grep is running.

But I had issues installing the tiwifi and bluetooth,too. Caused by some
missing header files. I simply "solved" it by disabling the package in
the configuration... I only was concerned that it isn't possible to
compile a running version, yet.

Thanks for giving me hope ;)

Benjamin Zores

unread,
Jun 4, 2011, 2:27:53 PM6/4/11
to panda...@googlegroups.com

On 4 juin 2011, at 19:16, Sebastian Gabbert <huehn...@googlemail.com> wrote:

> Hi,
>

> I would call them casual build errors, but the amount of them drives me
> crazy. At the moment I wrestle with an error caused by "not finding
> cursor.dat", I suppose it's cause it looks for directfb-1.4.11 but
> installs/compiles 1.4.13... grep is running.
>

Will check this out but you don't need directfb for xbmc on panda.

I'd suggest you ./scripts/loadcfg with geexbox-xbmc-panda config to have everything needed selected for you.

Ben

Sebastian Gabbert

unread,
Jun 5, 2011, 7:20:05 PM6/5/11
to panda...@googlegroups.com
Hi again,

thanks for that hint with loadcfg ;) After resetting everything to 0 and
start with that script I was able to build a running version!

But now I want to user IVA, too. I added Ducati/IVA, libVA and the
VA-Api for xbmc and called make again. It build several new packages,
but didn't rebuild xbmc. I have no hardware accerlation, yet.

How can I force openbricks to rebuild the package? I really do not
understand the script-folder and the documentation isn't that helpful.
(Is hardware video accerlation possible using openbricks???)

Thanks
Sebastian

Benjamin Zores

unread,
Jun 6, 2011, 1:23:06 AM6/6/11
to panda...@googlegroups.com

On 6 juin 2011, at 01:20, Sebastian Gabbert <huehn...@googlemail.com> wrote:

> Hi again,
>
> thanks for that hint with loadcfg ;) After resetting everything to 0 and
> start with that script I was able to build a running version!
>
> But now I want to user IVA, too. I added Ducati/IVA, libVA and the
> VA-Api for xbmc and called make again. It build several new packages,
> but didn't rebuild xbmc. I have no hardware accerlation, yet.

In menuconfig, you'll also need to enable the required use flags in xbmc package. Though xbmc arm hw acceleration won't use libva at all.

>
> How can I force openbricks to rebuild the package? I really do not
> understand the script-folder and the documentation isn't that helpful.

Scripts are usually handled automatically and not meant to be called by end user.


> (Is hardware video accerlation possible using openbricks???)

It is with gstreamer, which xbmc doesn't uses _yet_. I know that rob however is working on that.

So right now it's an xbmc issue, not openbricks one.

Ben

Rob Clark

unread,
Jun 6, 2011, 10:19:52 AM6/6/11
to panda...@googlegroups.com
On Mon, Jun 6, 2011 at 12:23 AM, Benjamin Zores
<benjami...@gmail.com> wrote:
>> (Is hardware video accerlation possible using openbricks???)
>
> It is with gstreamer, which xbmc doesn't uses _yet_. I know that rob however is working on that.

or rather will as soon as I get a free moment..

the basic issue (and maybe someone out there who knows GL/XBMC better)
with the patches for GStreamer support in XBMC is that they are
relying on a sw color conversion after the decoder. (Don't remember
if it was to RGB or I420..)

This would never work w/ gst-openmax, but should at least function w/
gst-ducati (at least if you have my patch to make ffmpegcolorspace
understand rowstride). But would be slow because decoded buffers are
uncached normally.

Now if there was a way to get XMBC to understand NV12, possibly via a
shader, that would be better. If it could use IMG texture streaming
extension, it would be even better (ie. no issue for 1080p/30). But
I'm not an expert on the XBMC side of things..

BR,
-R

Vladimir Pantelic

unread,
Jun 6, 2011, 10:37:27 AM6/6/11
to panda...@googlegroups.com
Rob Clark wrote:
> On Mon, Jun 6, 2011 at 12:23 AM, Benjamin Zores
> <benjami...@gmail.com> wrote:
>>> (Is hardware video accerlation possible using openbricks???)
>>
>> It is with gstreamer, which xbmc doesn't uses _yet_. I know that rob however is working on that.
>
> or rather will as soon as I get a free moment..
>
> the basic issue (and maybe someone out there who knows GL/XBMC better)
> with the patches for GStreamer support in XBMC is that they are
> relying on a sw color conversion after the decoder. (Don't remember
> if it was to RGB or I420..)
>
> This would never work w/ gst-openmax, but should at least function w/
> gst-ducati (at least if you have my patch to make ffmpegcolorspace
> understand rowstride). But would be slow because decoded buffers are
> uncached normally.

can't ffmpegcolorspace just die, instead of beating on it constantly?

you really want to use the IVAHD to do 1080P full HD and then do
color conversion with unoptimized C code?


> Now if there was a way to get XMBC to understand NV12, possibly via a
> shader, that would be better. If it could use IMG texture streaming
> extension, it would be even better (ie. no issue for 1080p/30). But
> I'm not an expert on the XBMC side of things..

XBMC learned to use omap3 V4L2 overlays in the GSOC project we did for
the beagle, I see no reason why that couldn't be done for panda as
well....

Sebastian Gabbert

unread,
Jun 6, 2011, 10:56:11 AM6/6/11
to panda...@googlegroups.com
Thanks again for the answer...

I am realy confused and helpless using openbricks and pandaboard. For
both it is hard to get the right information or better the right
buzzwords to google after them. Second thing: Is this the right mailing
list for questions regarding openbricks? On openbricks.org I only found
the devel-mailinglist and I am not able to do serious development ;)

As far as I understand: Atm I need to use gstreamer with Ducatisupport
to get hardware accerlation? In terms of openbricks, i need to use
enna-mediacenter. I switched the options in make menuconfig and compiled
again. After copying xbmc starts still. So I deleted everything on the
sd and the binary-directory with the flat-fs. And "make" again. Now
nothing starts and I simply get the prompt. There are no error messages
at all. Any hints?

Thanks
Sebastian

Rob Clark

unread,
Jun 6, 2011, 11:07:18 AM6/6/11
to panda...@googlegroups.com
On Mon, Jun 6, 2011 at 9:37 AM, Vladimir Pantelic <vlad...@gmail.com> wrote:
> Rob Clark wrote:
>>
>> On Mon, Jun 6, 2011 at 12:23 AM, Benjamin Zores
>> <benjami...@gmail.com>  wrote:
>>>>
>>>>  (Is hardware video accerlation possible using openbricks???)
>>>
>>>  It is with gstreamer, which xbmc doesn't uses _yet_. I know that rob
>>> however is working on that.
>>
>> or rather will as soon as I get a free moment..
>>
>> the basic issue (and maybe someone out there who knows GL/XBMC better)
>> with the patches for GStreamer support in XBMC is that they are
>> relying on a sw color conversion after the decoder.  (Don't remember
>> if it was to RGB or I420..)
>>
>> This would never work w/ gst-openmax, but should at least function w/
>> gst-ducati (at least if you have my patch to make ffmpegcolorspace
>> understand rowstride).  But would be slow because decoded buffers are
>> uncached normally.
>
> can't ffmpegcolorspace just die, instead of beating on it constantly?

yes please :-)

> you really want to use the IVAHD to do 1080P full HD and then do
> color conversion with unoptimized C code?

well, even NEON would suck for uncached buffer..

There is a newish gst element, autovideoconvert, which can autoplug
platform specific hw accelerated elements. And there are a couple hw
blocks in OMAP4 which could be useful for a color convert. All that
is needed is a "little" bit of software ;-)


>
>> Now if there was a way to get XMBC to understand NV12, possibly via a
>> shader, that would be better.  If it could use IMG texture streaming
>> extension, it would be even better (ie. no issue for 1080p/30).  But
>> I'm not an expert on the XBMC side of things..
>
> XBMC learned to use omap3 V4L2 overlays in the GSOC project we did for
> the beagle, I see no reason why that couldn't be done for panda as
> well....
>

overlays would for sure be the optimal thing currently, if this
support already exists somewhere

BR,
-R

Benjamin Zores

unread,
Jun 6, 2011, 11:19:17 AM6/6/11
to panda...@googlegroups.com
On Mon, Jun 6, 2011 at 4:56 PM, Sebastian Gabbert
<huehn...@googlemail.com> wrote:
> Thanks again for the answer...
>
> I am realy confused and helpless using openbricks and pandaboard. For
> both it is hard to get the right information or better the right
> buzzwords to google after them. Second thing: Is this the right mailing
> list for questions regarding openbricks? On openbricks.org I only found
> the devel-mailinglist and I am not able to do serious development ;)

Openbricks dev-list is better suited for build issues.

>
> As far as I understand: Atm I need to use gstreamer with Ducatisupport
> to get hardware accerlation? In terms of openbricks, i need to use
> enna-mediacenter. I switched the options in make menuconfig and compiled
> again. After copying xbmc starts still. So I deleted everything on the
> sd and the binary-directory with the flat-fs. And "make" again. Now
> nothing starts and I simply get the prompt. There are no error messages
> at all. Any hints?

You'll have to enable enna (with gstreamer support) and disable xbmc for that.

mag...@googlemail.com

unread,
Jun 6, 2011, 7:31:43 PM6/6/11
to pandaboard
Hello!

I suggest to jump to the xmbc thread for ARM boards (see link below).
There are currently some issues with the video driver as well as sdl
plus the required code seems to be scattered around different places.
Still I think this is best way to get started, as several other user
also have the Pandaboard.

Here is the thread....
BMC Community Forum --> Development --> XBMC Feature Suggestions -->
[LINUX] XBMC for Linux port to ARM architecture CPU and SoC chips?
http://forum.xbmc.org/showthread.php?t=35139&page=50

If you start around page 40+ the more important details should show up.
Reply all
Reply to author
Forward
0 new messages