[LINUX] Beagle Board ( BeagleBoard with Texas Instrument OMAP3530 ARM SoC ) and XBMC?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
vane.xbmc Offline
Member
Posts: 70
Joined: Feb 2010
Reputation: 0
Location: Spain
Question  [LINUX] Beagle Board ( BeagleBoard with Texas Instrument OMAP3530 ARM SoC ) and XBMC?
Post: #1
Hi all,

I would like to test XBMC on a Beagle Board, I'm following the steps in http://elinux.org/BeagleBoard/GSoC/2010_...umentation, 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.
find quote
vane.xbmc Offline
Member
Posts: 70
Joined: Feb 2010
Reputation: 0
Location: Spain
Post: #2
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_...umentation, 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? Confused

Thanks,

Vanesa.
find quote
Hannes The Hun Offline
Posting Freak
Posts: 1,223
Joined: May 2009
Reputation: 3
Post: #3
I'm not sure but anywhere around here we have an ARM-related thread. maybe there's some help available there.

OpenElec Standalone --> Asus Chromebox 'Panther' --> Onkyo TX-NR709 --> Sharp Aquos LC-46XD1E
Asus Chromebox EZ Script
find quote
vane.xbmc Offline
Member
Posts: 70
Joined: Feb 2010
Reputation: 0
Location: Spain
Post: #4
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.
find quote
topfs2 Offline
Team-XBMC Developer
Posts: 4,010
Joined: Dec 2007
Reputation: 10
Post: #5
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

If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
find quote
vane.xbmc Offline
Member
Posts: 70
Joined: Feb 2010
Reputation: 0
Location: Spain
Post: #6
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_...umentation (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
find quote
topfs2 Offline
Team-XBMC Developer
Posts: 4,010
Joined: Dec 2007
Reputation: 10
Post: #7
If it fails compiling the shader either they are corrupted or your gl drivers are weird.

If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
find quote
delboywebster Offline
Junior Member
Posts: 2
Joined: Jan 2011
Reputation: 0
Question   
Post: #8
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_...umentation, 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
find quote
topfs2 Offline
Team-XBMC Developer
Posts: 4,010
Joined: Dec 2007
Reputation: 10
Post: #9
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.

If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
find quote
nokia001 Offline
Junior Member
Posts: 7
Joined: Jan 2011
Reputation: 0
Post: #10
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::PresentRender()’:
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
find quote
topfs2 Offline
Team-XBMC Developer
Posts: 4,010
Joined: Dec 2007
Reputation: 10
Post: #11
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).

If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
find quote
bobo1on1 Offline
cheapass Team-XBMC Developer
Posts: 2,758
Joined: Dec 2008
Reputation: 22
Post: #12
You should get git master, this seems fixed already.
find quote
nokia001 Offline
Junior Member
Posts: 7
Joined: Jan 2011
Reputation: 0
Post: #13
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
(This post was last modified: 2011-01-20 10:42 by nokia001.)
find quote
topfs2 Offline
Team-XBMC Developer
Posts: 4,010
Joined: Dec 2007
Reputation: 10
Post: #14
read how to post a proper bugreport to provide the necessary information

If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
find quote
delboywebster Offline
Junior Member
Posts: 2
Joined: Jan 2011
Reputation: 0
Post: #15
here's the log :-

root@beagleboard:~/.xbmc/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! dpy:(nil) egl:(nil) 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:
find quote
Post Reply