Linux XBMC: Frame Buffer usage
#16
I honestly think there are people that are willing to help you, but you need to give more information. "We have cross-compiled XBMC for a Set-top-Box, board with Intel graphics card and Ubuntu running on top of it" really is not cutting it.

For example; Which specific CPU / Intel GPU are we talking about. Which kernel you are using and which GPU drivers are you using. With which parameters did you configured the compile. At which framebuffer device node are you trying to start XBMC, etc etc..

(Besides the fact that you are talking about FB and X11 and Ubuntu. Really if you got Ubuntu running as it should, why FB)
Reply
#17
https://github.com/theuni/xbmc/commit/fe...71e6dfc4fc
Need some help on understanding how can we apply the patch from this?
we trying to run xbmc without X11 enviroment.
Reply
#18
a) download patch
b) apply patch
c) ./bootstrap (making sure that everything points to your arm toolchain)
d) ./configure --enable-directfb --disable-sdl --disable-x11 --disable-<anything else that cause problems>

I'll leave the toolchain details as an exercise for the user since you prefer to obscure your details. They can be non-trivial when cross-compiling.
Reply
#19
What about --enable-opengles ?
Reply
#20
you might want that Smile but I'd use --enable-gles as that is the correct configure flag.
Reply
#21
Should this work on a Raspberry Pi? Man, can't wait for that box to arrive.
Reply
#22
(2012-06-14, 17:08)zAo_OSX Wrote: Should this work on a Raspberry Pi? Man, can't wait for that box to arrive.

Raspberry Pi has it's own branch right now, it has not been merged back to mainline.
Reply
#23
(2012-06-14, 17:05)davilla Wrote: you might want that Smile but I'd use --enable-gles as that is the correct configure flag.

Yeah, that's what I meant Blush
Reply
#24
When i downloaded the patch from https://github.com/xbmc/xbmc/pull/454 " and applied it on to xbmc-11.0.
The patch is failing for Makefile.in

--- Makefile.in
+++ Makefile.in
@@ -283,6 +286,8 @@
$(MAKE) -C xbmc/windowing
xbmc/windowing/egl/windowing_egl.a: force
$(MAKE) -C xbmc/windowing/egl
+xbmc/windowing/dfb/windowing_dfb.a: force
+ $(MAKE) -C xbmc/windowing/dfb
xbmc/windowing/osx/windowing_osx.a: force
$(MAKE) -C xbmc/windowing/osx
xbmc/windowing/X11/windowing_X11.a: force

Which means there , directfb code does not compile, i tried adding the code to build directfb but unable to fix it.
Please someone let me know if somebody has succeeded in getting framebuffer and xbmc working,
Reply
#25
So fix the patch. If you are doing a port of xbmc, then you better know how to fix patches. If not, then best find someone who does. We have asked before for details and none were given, sorry but I don't do black box dev.
Reply
#26
(2012-06-18, 08:02)rashmi Wrote: When i downloaded the patch from https://github.com/xbmc/xbmc/pull/454 " and applied it on to xbmc-11.0.
The patch is failing for Makefile.in

--- Makefile.in
+++ Makefile.in
@@ -283,6 +286,8 @@
$(MAKE) -C xbmc/windowing
xbmc/windowing/egl/windowing_egl.a: force
$(MAKE) -C xbmc/windowing/egl
+xbmc/windowing/dfb/windowing_dfb.a: force
+ $(MAKE) -C xbmc/windowing/dfb
xbmc/windowing/osx/windowing_osx.a: force
$(MAKE) -C xbmc/windowing/osx
xbmc/windowing/X11/windowing_X11.a: force

Which means there , directfb code does not compile, i tried adding the code to build directfb but unable to fix it.
Please someone let me know if somebody has succeeded in getting framebuffer and xbmc working,

You need to examine what has changed in Makefile.in since that patch (A few changes, all make that Makefile.in more human readable, and removes multiple references to each lib), and change the Makefile.in patch to match it.

My Results
Reply
#27
I started compiling XBMC-11.o wiith the patches for frameBuffer from https://github.com/xbmc/xbmc/pull/454 .
But I am getting lot of compilation errors like:

UIInfoManager.cpp:1291: error: g_Windowing was not declared in this scope
GUIInfoManager.cpp:1640: error: g_Windowi was not declared in this scope

./configure --disable-pulse --enable-external-libass --enable-rtmp --enable-vdpau --prefix=/tmp/xbmc --enable-xrandr=no --disable-x11 -disable-firewire --enable-directfb --disable-sql

Reply
#28
(2012-06-19, 11:49)rashmi Wrote: I started compiling XBMC-11.o wiith the patches for frameBuffer from https://github.com/xbmc/xbmc/pull/454 .
But I am getting lot of compilation errors like:

UIInfoManager.cpp:1291: error: g_Windowing was not declared in this scope
GUIInfoManager.cpp:1640: error: g_Windowi was not declared in this scope

./configure --disable-pulse --enable-external-libass --enable-rtmp --enable-vdpau --prefix=/tmp/xbmc --enable-xrandr=no --disable-x11 -disable-firewire --enable-directfb --disable-sql

Why not using theuni's branch instead? https://github.com/theuni/xbmc/tree/dfb



Reply
#29
I dont know why you are giving him instructions when he clearly hasn't been following the instructions already given, ergo...
Code:
--enable-gles --disable-vdpau --disable-vaapi
Reply
#30
HAHAHA, this is getting rich now Smile can't fix a patch, can't follow instructions, can't give any details. Might as well quit trying now, it's useless.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC: Frame Buffer usage 0