Kodi Community Forum
[LINUX] Beagle Board ( BeagleBoard with Texas Instrument OMAP3530 ARM SoC ) and XBMC? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [LINUX] Beagle Board ( BeagleBoard with Texas Instrument OMAP3530 ARM SoC ) and XBMC? (/showthread.php?tid=81682)

Pages: 1 2


[LINUX] Beagle Board ( BeagleBoard with Texas Instrument OMAP3530 ARM SoC ) and XBMC? - vane.xbmc - 2010-09-22

Hi all,

I would like to test XBMC on a Beagle Board, I'm following the steps in http://elinux.org/BeagleBoard/GSoC/2010_Projects/XBMC#Documentation, but I have one doubt:

I have created an Angstrom distribution with Narcissus tool with dependencies for BeagleBoard/GSoC. I've found that XBMC can be added from the applications list for Angstrom (in Narcissus). Is this application the one created for BeagleBoard/GSoC? In other words, do you install "gsoc-2010-beagleboard" branch if you choose this option?
I select this option and XBMC is using all of the CPU and I only see a black screen.

Just to clarify, I'm using:
HW: Beagle Board C4
Linux distribution: Angstrom created with Narcissus with BeagleBoard/GSoC dependencies.

Thanks and regards.


C++ compiler cannot create executables - vane.xbmc - 2010-09-24

vane.xbmc Wrote:Hi all,

I would like to test XBMC on a Beagle Board, I'm following the steps in http://elinux.org/BeagleBoard/GSoC/2010_Projects/XBMC#Documentation, but I have one doubt:

I have created an Angstrom distribution with Narcissus tool with dependencies for BeagleBoard/GSoC. I've found that XBMC can be added from the applications list for Angstrom (in Narcissus). Is this application the one created for BeagleBoard/GSoC? In other words, do you install "gsoc-2010-beagleboard" branch if you choose this option?
I select this option and XBMC is using all of the CPU and I only see a black screen.

Just to clarify, I'm using:
HW: Beagle Board C4
Linux distribution: Angstrom created with Narcissus with BeagleBoard/GSoC dependencies.

Thanks and regards.

Hi again,

Eventually, I'm trying to compile branch gsoc-2010-beagleboard on Angstrom (native compilation) but I find a configure error:

"C++ compiler cannot create executables"

After an unsuccessful search on google, I decided to ask in this forum.
Do you have any idea about that? Huh

Thanks,

Vanesa.


- Hannes The Hun - 2010-09-24

I'm not sure but anywhere around here we have an ARM-related thread. maybe there's some help available there.


- vane.xbmc - 2010-09-24

Ok, thanks,

the "C++ compiler cannot create executables" error has been solved, I had put some errors on LDFLAGS and CFLAGS and the g++ doesn't recognize the options.

Regards.


- topfs2 - 2010-09-24

vane.xbmc Wrote:I have created an Angstrom distribution with Narcissus tool with dependencies for BeagleBoard/GSoC. I've found that XBMC can be added from the applications list for Angstrom (in Narcissus). Is this application the one created for BeagleBoard/GSoC? In other words, do you install "gsoc-2010-beagleboard" branch if you choose this option?

No, the one in the repository is xbmc based on trunk with a few of the build and gsoc patches, just enough to make it run in Angstrom.

Why you get troubles with black screen I have no clue and without a backtrace and log its impossible to help you Smile


- vane.xbmc - 2010-09-27

Hi, thanks for your anwers,

I finally have compiled sucessfully gsoc-2010-beagleboard branch on beagleboard following the documentation in http://elinux.org/BeagleBoard/GSoC/2010_Projects/XBMC#Documentation (Build Instructions (native) section, I made a 512 MB swap). Beagle with Angstrom built with Narcissus and gsoc 2010 dependencies.

When I try to run it, I find a black screen and the following error on the console:

invalid gui shader 3

This is the xbmc.log: http://pastebin.com/i60BbEVW

Regards,

Vane


- topfs2 - 2010-09-27

If it fails compiling the shader either they are corrupted or your gl drivers are weird.


- delboywebster - 2011-01-13

vane.xbmc Wrote:Hi all,

I would like to test XBMC on a Beagle Board, I'm following the steps in http://elinux.org/BeagleBoard/GSoC/2010_Projects/XBMC#Documentation, but I have one doubt:

I have created an Angstrom distribution with Narcissus tool with dependencies for BeagleBoard/GSoC. I've found that XBMC can be added from the applications list for Angstrom (in Narcissus). Is this application the one created for BeagleBoard/GSoC? In other words, do you install "gsoc-2010-beagleboard" branch if you choose this option?
I select this option and XBMC is using all of the CPU and I only see a black screen.

Just to clarify, I'm using:
HW: Beagle Board C4
Linux distribution: Angstrom created with Narcissus with BeagleBoard/GSoC dependencies.

Thanks and regards.

What command are you using to launch xbmc ?
I too have a C4 beagleboard and used Narcissus to generate an image with XBMC, but I get a "can't open display" error when running
# xbmc
or
# xbmc --standalone

cheers,
Delboy


- topfs2 - 2011-01-13

delboywebster Wrote:What command are you using to launch xbmc ?
I too have a C4 beagleboard and used Narcissus to generate an image with XBMC, but I get a "can't open display" error when running
# xbmc
or
# xbmc --standalone

cheers,
Delboy

Do you execute it from a running X? Please provide logs.


Beagleboard xm XBMC GLES make error - nokia001 - 2011-01-20

Hi.

Hardware/Software:
Beagleboard XM
Kernel-2.6.37
Debian
gcc4.4
xbmc Revision 35744.

./bootstrap -> ok
./configure --enable-gles --enable-omap-overlay --prefix=/usr --sysconfdir=/etc --cache=config.cache --disable-optical-drive ->ok

make ->Error:

[HTML]make[1]: Leaving directory `/root/xbmc_gsoc/tools/arm/omapdss-toggle'
make -C xbmc
make[1]: Entering directory `/root/xbmc_gsoc/xbmc'
/usr/bin/ccache g++ -MD -c -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2 -mfloat-abi=softfp -mno-apcs-stack-check -Wa,-march=armv7a -mcpu=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad -D_LINUX -D_FILE_DEFINED -D__STDC_CONSTANT_MACROS -DBIN_INSTALL_PATH="\"/usr/lib/xbmc\"" -DINSTALL_PATH="\"/usr/share/xbmc\"" -DHAS_SDL_JOYSTICK -D'SVN_REV="32831"' -D_ARMEL -DHAVE_CONFIG_H -I../ -I. -Ilinux -Icores -I../guilib -Iutils -IFileSystem -I/usr/include/freetype2 -Icores/dvdplayer -Icores/dvdplayer/Codecs/ffmpeg -Ilib/libUPnP/Platinum/Source/Core -Ilib/libUPnP/Platinum/Source/Platinum -Ilib/libUPnP/Platinum/Source/Devices/MediaServer -Ilib/libUPnP/Platinum/Source/Devices/MediaConnect -Ilib/libUPnP/Platinum/Source/Devices/MediaRenderer -Ilib/libUPnP/Neptune/Source/System/Posix -Ilib/libUPnP/Neptune/Source/Core -Ilib/libcdio/libcdio/include -I../lib/jsoncpp/jsoncpp/include -Ilib/cpluff/libcpluff -DDBUS_API_SUBJECT_TO_CHANGE -D_GNU_SOURCE=1 -D_REENTRANT -I/root/xbmc_gsoc -I/usr/include/ -I/usr/include/SDL -I/usr/include/alsa -I/usr/include/dbus-1.0 -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/include/hal -I/usr/include/libpng12 -I/usr/include/lzo -I/usr/include/mysql -I/usr/lib/dbus-1.0/include -I/usr/lib/glib-2.0/include RenderSystemGLES.cpp -o RenderSystemGLES.o
In file included from ../guilib/GraphicContext.h:48,
from RenderSystemGLES.cpp:28:
../guilib/StdString.h: In instantiation of ‘CStdStr<char>’:
../guilib/StdString.h:3933: instantiated from here
../guilib/StdString.h:2028: note: the mangling of ‘va_list’ has changed in GCC 4.4
RenderSystemGLES.cpp: In member function ‘virtual bool CRenderSystemGLES::IsExtSupported(const char*)’:
RenderSystemGLES.cpp:181: warning: comparison with string literal results in unspecified behaviour
RenderSystemGLES.cpp:186: warning: comparison with string literal results in unspecified behaviour
RenderSystemGLES.cpp: In member function ‘virtual bool CRenderSystemGLES:TongueresentRender()’:
RenderSystemGLES.cpp:253: error: call of overloaded ‘abs(int64_t)’ is ambiguous
/usr/include/stdlib.h:766: note: candidates are: int abs(int)
RenderSystemGLES.cpp:209: note: int64_t abs(int64_t)
/usr/include/c++/4.4/cstdlib:170: note: long long int __gnu_cxx::abs(long long int)
/usr/include/c++/4.4/cstdlib:139: note: long int std::abs(long int)
RenderSystemGLES.cpp:253: error: call of overloaded ‘abs(int64_t&)’ is ambiguous
/usr/include/stdlib.h:766: note: candidates are: int abs(int)
RenderSystemGLES.cpp:209: note: int64_t abs(int64_t)
/usr/include/c++/4.4/cstdlib:170: note: long long int __gnu_cxx::abs(long long int)
/usr/include/c++/4.4/cstdlib:139: note: long int std::abs(long int)
RenderSystemGLES.cpp: At global scope:
RenderSystemGLES.cpp:209: warning: ‘int64_t abs(int64_t)’ defined but not used
make[1]: *** [RenderSystemGLES.o] Fehler 1
make[1]: Leaving directory `/root/xbmc_gsoc/xbmc'
make: *** [xbmc/xbmc.a] Fehler 2
[/HTML]

pvr-testing 2 ---> same error.

Please help.
Thanks

Gerd


- topfs2 - 2011-01-20

I have not seen that error, slap a std:: infront of the abs call and see if that fixes it (not sure which of the one its supposed to call).


- bobo1on1 - 2011-01-20

You should get git master, this seems fixed already.


- nokia001 - 2011-01-20

Ok. Thanks for help.

in line 253:
if (m_iVSyncMode && m_iSwapRate != 0)
{
int64_t curr, diff;
curr = CurrentHostCounter();

diff = curr - m_iSwapStamp;
m_iSwapStamp = curr;

if (std::abs(diff - m_iSwapRate) < std::abs(diff))
CLog::Log(LOGDEBUG, "%s - missed requested swap",__FUNCTION__);
}

make --> ok

glx -->ok
TestDemo --> gfx/CommonX11/Demos/ChameleonMan/OGLESChameleonMan --> ok

new error:
DISPLAY=:0.0 /root/xbmc_gsoc/xbmc.bin
sh: lsb_release: not found
sh: lsb_release: not found
libEGL fatal: DRI2: failed to authenticate


- topfs2 - 2011-01-20

read how to post a proper bugreport to provide the necessary information


- delboywebster - 2011-01-21

here's the log :-

[email]root@beagleboard:~/.xbmc[/email]/temp# cat xbmc.log
23:26:03 T:1115662240 M:226213888 NOTICE: -----------------------------------------------------------------------
23:26:03 T:1115662240 M:226017280 NOTICE: Starting XBMC, Platform: Linux (Description: Angstrom GNU/Linux 2010.7-test-20110119 (foo), 2.6.32 armv7l). Built on Oct 6 2010 (SVN:32831)
23:26:03 T:1115662240 M:226017280 NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc
23:26:03 T:1115662240 M:226017280 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/xbmc
23:26:03 T:1115662240 M:226017280 NOTICE: special://masterprofile/ is mapped to: /home/root/.xbmc/userdata
23:26:03 T:1115662240 M:226017280 NOTICE: special://home/ is mapped to: /home/root/.xbmc
23:26:03 T:1115662240 M:226017280 NOTICE: special://temp/ is mapped to: /home/root/.xbmc/temp
23:26:03 T:1115662240 M:226017280 NOTICE: The executable running is: /usr/lib/xbmc/xbmc.bin
23:26:03 T:1115662240 M:226017280 NOTICE: Log File is located: /home/root/.xbmc/temp/xbmc.log
23:26:03 T:1115662240 M:226017280 NOTICE: -----------------------------------------------------------------------
23:26:03 T:1115662240 M:225992704 ERROR: CXRandR::Query - unable to open xrandr xml
23:26:03 T:1115662240 M:225992704 NOTICE: Setup SDL
23:26:03 T:1115662240 M:225996800 ERROR: EGL Error: No Display found! dpySadnil) eglSadnil) init:0
23:26:03 T:1115662240 M:225996800 FATAL: CApplication::Create: Unable to init windowing system
23:26:03 T:1115662240 M:225996800 DEBUG: GUI Shader - Destroying Shader : (nil)

This is what I selected from Narcissus :-
beagleboard
simple
X11
XBMC
Bootloader files

I then extracted the rootfs, uImage to mmc and changed the following environments :-
setenv vram '16M'
setenv dvimode 'hd720 omapfb.vram=0:8M,1:4M,2:4M'


B.T.W.
If I download the http://www.angstrom-distribution.org/demo/beagleboard and opkg install xbmc it kind of works (main menu didn't redraw correctly when scrolling the text or moving the mouse and movie crashed while trying to fast forward). Thought this could be due the gnome bloat, hence the reason to start with a minimal system and work my way upwards - what am I missing (apart from a pandaboard) ?
:confused2: