Building Xbmc/Kodi from Owersun repo

armandob
Posts: 45
Joined: Sat Feb 21, 2015 11:48 pm
languages_spoken: english
ODROIDs: XU4 - XU3 Lite
Location: Italy
Has thanked: 0
Been thanked: 0
Contact:

Building Xbmc/Kodi from Owersun repo

Post by armandob »

Hi all, i trying to build xbmc on my XU3 Lite using https://github.com/Owersun/xbmc repo.

Code: Select all

# ./configure --prefix=/usr

worked fine, builded also ffmpeg xbmc-2.4.6-Helix.

When i launch

Code: Select all

# make

i received this conflict error: http://pastebin.com/VAq8NdAt

please could you help me ?

thanks

nogareth
Posts: 180
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: N2 4GB, Xu3(sold), Xu4(dead)
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by nogareth »

I recently build Kodi from Owersuns repository myself. I'll try to give you some howto to save you days in search for
Issues. I dont know if you ever tried to build Xbmc , but it can be a pain in the a$$ if somethings not right, and a plain ./configure will get you nowhere.
Ok , lets assume you are using the latest official Ubuntu 14.04...

1. Go to the official kodi.tv homepage , and install ALL build dependencies there.
(Just remove the missing packages from your apt-get - command . At least "libcrystalhd-dev libcrystalhd3" will not be found.)

--- http://kodi.wiki/view/HOW-TO:Compile_Ko ... _or_Ubuntu

Install a few more missing packages:

Code: Select all

apt-get install doxygen gnutls-dev libtag1-dev

2. Build yourself a working fullscreen driver like described here :
Not required if you're using the 15.04 Ubuntu or hardkernel fixed 14.04 'till now but install the build-dep anyways.

Code: Select all

apt-get build-dep xserver-xorg-video-armsoc
--- http://forum.odroid.com/viewtopic.php?f=91&t=11095

Code: Select all

git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-armsoc
cd xf86-video-armsoc
git reset --hard ddd97ea

wget -O patch.txt http://pastebin.com/raw.php?i=igibu3i1
patch -p0 < patch.txt

./autogen.sh
./configure --with-drmmode=exynos --prefix=/usr
make -j8
sudo make install

cd ~
3. Get Kodi source ...

Code: Select all

git clone https://github.com/Owersun/xbmc/
4. Now we can start building Kodi ....

Code: Select all

cd xbmc
   ./bootstrap

now you should take nano or vi to make a file that contains the following ./configure command . (you'll possibly will need it often ;) )

Code: Select all

nano build

Code: Select all

CFLAGS="-I/usr/src/xbmc/tools/depends/target/ffmpeg/ffmpeg-install/include -mfloat-abi=hard -mfpu=neon-vfpv4 -ftree-vectorize -mvectorize-with-neon-quad -ffast-math -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" \
CPPFLAGS=$CFLAGS CXXFLAGS=$CPPFLAGS \
./configure --enable-gles --disable-gl --disable-vdpau --disable-vaapi \
            --disable-openmax --disable-libcec --enable-xrandr --disable-rsxs \
            --disable-projectm --disable-nfs --enable-non-free --disable-optical-drive --disable-libbluray \
            --disable-joystick --disable-debug --enable-optimizations --enable-ccache \
            --enable-alsa --disable-mysql --enable-airplay --enable-airtunes \
            --enable-sdl --disable-pulse --enable-x11 --prefix=/usr --enable-samba --enable-codec=mfc
If you are building the latest branch (isengard) you'll have to remove "--enable-sdl --enable-xrandr" from previous code. You can leave it if you checkout Helix releases.

(lets call it ./build from now on and make it executable so we can run it)

Code: Select all

 chmod +x build
    ./build

Code: Select all

make -j8


j8 means "build with 8 cores/tasks" at once which, speeds up things a lot. (That is the best time to open your Xu3-case now, and make sure you have sufficient cooling. This wil heat up your box massively and force your Cpu to throttle when reaching 95°!)

and finally

Code: Select all

make install
But only if you see the message "KODI built successfully"


if building fails you probably need to clean up your source with

Code: Select all

 make clean


and then do

Code: Select all

./build
again ,or you will get stuck. if "make -j8" fails due to a missing samba file , you can just disable Samba by removing "--enable-samba" from your ./configure commandline ,or install the containing lib"WHATEVERITWAS"-dev Package and place it manually where it should be.

If you have some trouble with linking to mali libraries (EGL) try executing this commands once and build again:

Code: Select all

ln -sf /usr/lib/arm-linux-gnueabihf/mali-egl/libmali.so /usr/lib/arm-linux-gnueabihf/libEGL.so.1.4
ln -sf /usr/lib/arm-linux-gnueabihf/libEGL.so.1.4 /usr/lib/arm-linux-gnueabihf/libEGL.so.1.0
ln -sf /usr/lib/arm-linux-gnueabihf/libEGL.so.1.0 /usr/lib/arm-linux-gnueabihf/libEGL.so.1
ln -sf /usr/lib/arm-linux-gnueabihf/libEGL.so.1 /usr/lib/arm-linux-gnueabihf/libEGL.so
ln -sf /usr/lib/arm-linux-gnueabihf/mali-egl/libmali.so /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1.1
ln -sf /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1.1 /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1
ln -sf /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1 /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so
ln -sf /usr/lib/arm-linux-gnueabihf/mali-egl/libmali.so /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0
ln -sf /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0 /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2
ln -sf /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 /usr/lib/arm-linux-gnueabihf/libGLESv2.so

Workarounds (5.6.2015)

If you experience green lines when playing mostly Xvid-Files you need to change to an earlier git commit and rebuild
but when doing this you'll get Kodi 14.1:

Code: Select all

make clean
git checkout fc8d693
./build
make -j8
make install
If you encounter this error here in very shortly after doing "make -j8" :

Code: Select all

CPP     xbmc/cores/ExternalPlayer/ExternalPlayer.o
CPP     xbmc/cores/AudioEngine/Sinks/AESinkNULL.o
In file included from /home/martin/xbmc/xbmc/windowing/X11/WinSystemX11GLES.h:25:0,
                 from /home/martin/xbmc/xbmc/windowing/WindowingFactory.h:33,
                 from ExternalPlayer.cpp:28:
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:76:3: error: ‘Display’ does not name a type
   Display*  GetDisplay() { return m_dpy; }
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:97:3: error: ‘Window’ does not name a type
   Window       m_glWindow, m_mainWindow;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:107:3: error: ‘Display’ does not name a type
   Display*     m_dpy;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:108:3: error: ‘Cursor’ does not name a type
   Cursor       m_invisibleCursor;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:109:3: error: ‘Pixmap’ does not name a type
   Pixmap       m_icon;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:125:25: error: ‘XVisualInfo’ has not been declared
   bool IsSuitableVisual(XVisualInfo *vInfo);
                         ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:126:28: error: ‘Display’ has not been declared
   static int XErrorHandler(Display* dpy, XErrorEvent* error);
                            ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:126:42: error: ‘XErrorEvent’ has not been declared
   static int XErrorHandler(Display* dpy, XErrorEvent* error);
                                          ^
CPP     xbmc/addons/AddonCallbacksGUI.o
CPP     xbmc/cores/AudioEngine/Sinks/AESinkPi.o
CPP     xbmc/addons/AddonCallbacksPVR.o
CPP     xbmc/cdrip/Encoder.o
CPP     lib/libsquish/colourfit.o
CPP     lib/libsquish/colourset.o
CPP     lib/libsquish/maths.o
CPP     xbmc/cores/AudioEngine/AEResampleFactory.o
CPP     xbmc/cdrip/EncoderFFmpeg.o
make[1]: *** [ExternalPlayer.o] Fehler 1
make: *** [xbmc/cores/ExternalPlayer/ExternalPlayer.a] Fehler 2
make: *** Auf noch nicht beendete Prozesse wird gewartet …
CPP     xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.o
You can fix it by applying this little patch from Meveric:
use nano or vi to create a file named patch.diff , and insert this code :

Code: Select all

diff --git a/xbmc/windowing/X11/WinSystemX11.h b/xbmc/windowing/X11/WinSystemX11.h
index d156554..28921dd 100644
--- a/xbmc/windowing/X11/WinSystemX11.h
+++ b/xbmc/windowing/X11/WinSystemX11.h
@@ -31,6 +31,7 @@

 #if defined(HAS_EGL)
 #include <EGL/egl.h>
+#include <X11/Xutil.h>
 #endif

 #include "windowing/WinSystem.h"
then apply the patch to your source by doing :

Code: Select all

git apply patch.diff
after that do a "make clean" and rebuild.
ive encounterted another problem after applying this later in the make process that could be fixed by adding " -fpermissive " to the compiler flags at the beginning of "./build"
Dont know if thats good or not , but it builds fine ,and works after that.


regards, Martin
Last edited by nogareth on Fri Jul 24, 2015 1:22 pm, edited 14 times in total.

User avatar
OverSun
Posts: 1494
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 20 times
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by OverSun »

Very nice guide! Better than I can write myself.

PS. The error you see, topicstarter, is because of ffmpeg decoder includes GL headers. There are no GL on arm's, but seems the headers are included in the distribution for some reason. So you need "--disable-gl" option for the ./configure.

armandob
Posts: 45
Joined: Sat Feb 21, 2015 11:48 pm
languages_spoken: english
ODROIDs: XU4 - XU3 Lite
Location: Italy
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by armandob »

Great :) build ok

many thanks

nogareth
Posts: 180
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: N2 4GB, Xu3(sold), Xu4(dead)
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by nogareth »

Well,now that worked even better than I've expected! :)
I didn't think you would succeed that fast!

Do you have green stripes when playing an xvid file ?
I needed to switch to a earlier git commit to get rid of them...

Regards, Martin

armandob
Posts: 45
Joined: Sat Feb 21, 2015 11:48 pm
languages_spoken: english
ODROIDs: XU4 - XU3 Lite
Location: Italy
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by armandob »

nogareth: this night i will try some files and will generate some screenshots to post. Had you green stripes only on xvid or also on mkv/x264 ?

nogareth
Posts: 180
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: N2 4GB, Xu3(sold), Xu4(dead)
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by nogareth »

I've had green lines only when trying to play non hardware-accellerated movies like xvid or Divx.
This problem was already encountered in the initial Xu3-Kodi thread here : http://forum.odroid.com/viewtopic.php?f ... 2&start=50

I needed to rebuild Kodi to fix this with a changed git :

Code: Select all

make clean
git checkout fc8d693
./build
make -j8
make install
Now everything works fine (except CEC, which i dont need, since my tv is dumb as hell ;) )

User avatar
OverSun
Posts: 1494
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 20 times
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by OverSun »

I'll have a look at this finally when I settle down a little at my new place next month.

nogareth
Posts: 180
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: N2 4GB, Xu3(sold), Xu4(dead)
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by nogareth »

Hi, Oversun!


First, many thanks in your efforts , making kodi usable on xu3!
Checking those remaining issues would be great,I am looking forward to set up my xu3 completely new when the new image with r5pX drivers got released.
So, good luck while moving to your new place . In Germany we have a saying : three times moved is (for your belongings) like once burned down ! ;)

Regards, Martin

armandob
Posts: 45
Joined: Sat Feb 21, 2015 11:48 pm
languages_spoken: english
ODROIDs: XU4 - XU3 Lite
Location: Italy
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by armandob »

nogareth: yes, also i had green stripes only on divx/xvid. i rebuilding kodi as you wrote :)

However i saw that XU3 Lite is very reactive :) i setting up my media box with minidlna (server dlna), transmission-daemon (client torrent) and kodi.

armandob
Posts: 45
Joined: Sat Feb 21, 2015 11:48 pm
languages_spoken: english
ODROIDs: XU4 - XU3 Lite
Location: Italy
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by armandob »

i noticed that when i launch an internet stream, kodi wait some seconds before start video, i suppose to manage buffer. i founded some optimizations:

Code: Select all

<advancedsettings>
      <network>
        <buffermode>1</buffermode> <!-- Comment: Default is 1 -->
        <cachemembuffersize>52428800</cachemembuffersize> <!-- Comment: Default is 20971520 bytes or 20 MB -->
        <readbufferfactor>2.0</readbufferfactor> <!-- Comment: Default is 1.0 -->
        <curlclienttimeout>45</curlclienttimeout>
      </network>
</advancedsettings>
but i don't know if it could speed up start of video. This night i will try

nogareth
Posts: 180
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: N2 4GB, Xu3(sold), Xu4(dead)
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by nogareth »

I guess the delay you encounter is normal.
Buffering 20 MB before launching takes some time depending on your isp - speed.
you can try and change the buffer size and see what happens. But a smaller buffer always raises the risk of a buffer underrun, and stop for rebuffering.

armandob
Posts: 45
Joined: Sat Feb 21, 2015 11:48 pm
languages_spoken: english
ODROIDs: XU4 - XU3 Lite
Location: Italy
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by armandob »

Today i tryed checkout fc8d693 and no more divx/xvid green stripes :)
but i saw that there is some instability because when i exit from xbmc and return into openbox session, i have black screen with only mouse.
It happens also sometimes when i waiting for stream buffering (round circle wait...) and i press X to stop.

nogareth
Posts: 180
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: N2 4GB, Xu3(sold), Xu4(dead)
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by nogareth »

the blackscreen is some driver related issue.
if you get black screen when exiting a fullscreen app, try changing to console CTRL+Alt+F1 and then back to X with Alt+F7 .

armandob
Posts: 45
Joined: Sat Feb 21, 2015 11:48 pm
languages_spoken: english
ODROIDs: XU4 - XU3 Lite
Location: Italy
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by armandob »

yes, it worked yesterday :)

armandob
Posts: 45
Joined: Sat Feb 21, 2015 11:48 pm
languages_spoken: english
ODROIDs: XU4 - XU3 Lite
Location: Italy
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by armandob »

Hi all,
i confirm you that kodi and also isengard have a bug on some tipes of streams flow (this is my problem using iptv with some internet streams)
http://trac.kodi.tv/ticket/15918

i tryed Gotham 13.2 yesterday on my Mageia x86_64 and problem isn't present :)
i would like to try to build gotham Owersun branch for XU3, do you know if this branch have patches for XU3 as helix ?

bye

nogareth
Posts: 180
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: N2 4GB, Xu3(sold), Xu4(dead)
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by nogareth »

I really don't know if Gotham will fix any of your issue, or how to build it correctly. (Oversun wrote somewhere that building xbmc for xu3 is somehow more complicated than kodi)
Have you tried the default xbmc that comes pre-installed? This is a Gotham build so you can simply try if it works better or not.

Regards, Martin

armandob
Posts: 45
Joined: Sat Feb 21, 2015 11:48 pm
languages_spoken: english
ODROIDs: XU4 - XU3 Lite
Location: Italy
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by armandob »

i performed full build of kodi and pvr.iptvsimple addons
http://forum.kodi.tv/showthread.php?tid ... pid2008899

i hope that on new addon will be fixed stream header issue

armandob
Posts: 45
Joined: Sat Feb 21, 2015 11:48 pm
languages_spoken: english
ODROIDs: XU4 - XU3 Lite
Location: Italy
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by armandob »

problem of kodi fixed using this steps:
http://forum.kodi.tv/showthread.php?tid ... pid2012620

i tryed also to apply patch to Owersun repo with success but i will test it next days

armandob
Posts: 45
Joined: Sat Feb 21, 2015 11:48 pm
languages_spoken: english
ODROIDs: XU4 - XU3 Lite
Location: Italy
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by armandob »

today i tryed to build kodi from Owersun repo on new ubuntu 15.04 image but on make i receive
EGLNativeTypeAmlogic.cpp:31:30: fatal error: EGL/fbdev_window.h: No such file or directory

i followed the same steps on ubuntu 14 (without only xf86-video-armsoc)

nogareth
Posts: 180
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: N2 4GB, Xu3(sold), Xu4(dead)
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by nogareth »

Yep, same for me, but when taking a closer look at the 15.04 image, why build KODI 14.1 yourself ,when now 14.2 comes preinstalled.
But what ive seen until now , the new image is more unstable than the 14.04 release for now. mostly the whole desktop crashes when exiting KODI, no chance to recover with Strg+ALt+FX,
and when trying "glmark-es2 --fullsceen" exiting killed the whole os. needed to unplug power....
So i think i am gonna stay a little longer on my 14.04 until 15.04 gets a little more stable. maybe Owersun also updates its KODI git to 14.2 or 15.x meanwhile, so re-building for own purposes is possible again.

User avatar
OverSun
Posts: 1494
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 20 times
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by OverSun »

The git is already at 14.2 for a long time.
You just checking it at the commit that was done before the 14.2 was merged.
I'll definitely have a look at this the time I FIND A PLACE TO LIVE IN MUNICH! It's just crazy in that city - you cannot find a flat to rent, no way ever. It was easier to find a job there then to find a place to live.
I'll sooner get used to live in a hotel and assemble the lab with odroids to test there then find something I can rent...

nogareth
Posts: 180
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: N2 4GB, Xu3(sold), Xu4(dead)
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by nogareth »

:D good luck !

I live about 150km from Munich, and know this city. Finding a flat that is not small like a nutshell or too expensive to rent can be a really annoying job!

User avatar
OverSun
Posts: 1494
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 20 times
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by OverSun »

Ok guys, I've tested the sample video which was playing badly, and pushed the workaround.
You can checkout the git to the latest commit and test.

nogareth
Posts: 180
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: N2 4GB, Xu3(sold), Xu4(dead)
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by nogareth »

@oversun

I tried to rebuild kodi after the last commit , and now it always fails pretty early with this error here , no matter if i try on 14.04. or 15.04 . Before i build with the 14.04 and my (your adapted ;) )./configure command successfully.

Code: Select all

root@brick:~/xbmc# make -j8
CPP     xbmc/cores/DllLoader/exports/util/EmuFileWrapper.o
CPP     xbmc/cores/DllLoader/exports/emu_dummy.o
CPP     xbmc/cores/DllLoader/exports/emu_kernel32.o
CPP     xbmc/cores/DllLoader/coff.o
CPP     xbmc/cores/DllLoader/exports/emu_msvcrt.o
CPP     xbmc/cores/DllLoader/dll.o
CPP     xbmc/cores/DllLoader/DllLoader.o
CPP     xbmc/cores/DllLoader/DllLoaderContainer.o
CPP     xbmc/cores/DllLoader/dll_tracker.o
CPP     lib/SlingboxLib/SlingboxLib.o
AR      xbmc/cores/DllLoader/exports/util/exports_utils.a
CC      lib/libRTV/crypt.o
CC      lib/libXDAAP/daap.o
SlingboxLib.cpp: In member function ‘bool CSlingbox::Connect(bool, const char*)’:
SlingboxLib.cpp:174:5: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
     "Pragma: Sling-Connection-Type=Control, Session-Id=0\r\n\r\n";
     ^
AR      lib/SlingboxLib/SlingboxLib.a
CC      lib/libXDAAP/debug.o
CC      lib/libXDAAP/dmap_generics.o
CPP     xbmc/cores/DllLoader/dll_tracker_file.o
CC      lib/libRTV/guideclient.o
CPP     lib/libRTV/GuideParser.o
CC      lib/libRTV/httpclient.o
CC      lib/libXDAAP/global.o
CC      lib/libXDAAP/httpClient.o
AR      xbmc/cores/DllLoader/exports/exports.a
CC      lib/libXDAAP/ioloop.o
CC      lib/libXDAAP/libXDAAP.o
ioloop.c: In function ‘fd_event_signal’:
ioloop.c:120:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
     write(event->pipe[1], buf, 1);
     ^
httpClient.c: In function ‘HTTP_Client_Get_ToFile’:
httpClient.c:842:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
         write(filed, contentFromHeaders, contentLenFromHeaders);
         ^
httpClient.c:894:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
         write(filed, readbuffer, ret);
         ^
CC      lib/libXDAAP/threadpool.o
CC      lib/libRTV/httpfsclient.o
CPP     xbmc/cores/DllLoader/dll_tracker_library.o
CPP     xbmc/cores/DllLoader/dll_util.o
libXDAAP.c: In function ‘DAAP_ClientHost_AsyncGetAudioFile’:
libXDAAP.c:1677:33: warning: passing argument 1 of ‘CP_ThreadPool_QueueWorkItem’ from incompatible pointer type
     CP_ThreadPool_QueueWorkItem(pCHThis->parent->tp, AsyncGetFile,
                                 ^
In file included from libXDAAP.c:62:0:
threadpool.h:48:6: note: expected ‘struct CP_SThreadPool *’ but argument is of type ‘struct CP_SThreadPool *’
 void CP_ThreadPool_QueueWorkItem(CP_SThreadPool *pTPThis,
      ^
libXDAAP.c: In function ‘DAAP_ClientHost_AsyncWaitUpdate’:
libXDAAP.c:1832:37: warning: passing argument 1 of ‘CP_ThreadPool_QueueWorkItem’ from incompatible pointer type
         CP_ThreadPool_QueueWorkItem(pCHThis->parent->tp, update_watch_runloop,
                                     ^
In file included from libXDAAP.c:62:0:
threadpool.h:48:6: note: expected ‘struct CP_SThreadPool *’ but argument is of type ‘struct CP_SThreadPool *’
 void CP_ThreadPool_QueueWorkItem(CP_SThreadPool *pTPThis,
      ^
libXDAAP.c:1845:33: warning: passing argument 1 of ‘CP_ThreadPool_QueueWorkItem’ from incompatible pointer type
     CP_ThreadPool_QueueWorkItem(pCHThis->parent->tp, AsyncWaitUpdate,
                                 ^
In file included from libXDAAP.c:62:0:
threadpool.h:48:6: note: expected ‘struct CP_SThreadPool *’ but argument is of type ‘struct CP_SThreadPool *’
 void CP_ThreadPool_QueueWorkItem(CP_SThreadPool *pTPThis,
      ^
CC      lib/libhts/htsmsg.o
CC      lib/libhts/htsmsg_binary.o
CC      lib/libhts/htsbuf.o
CC      lib/libhts/htsstr.o
dll_util.cpp: In function ‘uintptr_t create_dummy_function(const char*, const char*)’:
dll_util.cpp:75:12: warning: converting to non-pointer type ‘uintptr_t {aka unsigned int}’ from NULL [-Wconversion-null]
     return NULL;
            ^
CPP     xbmc/cores/DllLoader/LibraryLoader.o
CPP     xbmc/cores/DllLoader/SoLoader.o
CC      lib/libRTV/interface.o
CC      xbmc/cores/DllLoader/mmap_anon.o
CC      lib/libXDAAP/Authentication/hasher.o
CC      lib/libXDAAP/Authentication/md5.o
CC      lib/libhts/net_posix.o
CC      xbmc/cores/DllLoader/ldt_keeper.o
CC      lib/libhts/sha1.o
AR      lib/libXDAAP/libxdaap.a
CC      lib/libRTV/md5.o
AR      xbmc/cores/DllLoader/dllloader.a
CC      lib/libRTV/netclient.o
CC      lib/libRTV/rtv.o
CPP     lib/libsquish/alpha.o
CPP     xbmc/addons/Addon.o
CPP     xbmc/addons/AddonCallbacks.o
CPP     xbmc/addons/AddonCallbacksAddon.o
CC      lib/libRTV/sleep.o
CPP     xbmc/addons/AddonCallbacksCodec.o
AR      lib/libhts/libhts.a
CPP     xbmc/cdrip/CDDARipJob.o
CPP     lib/libsquish/clusterfit.o
CPP     xbmc/cdrip/CDDARipper.o
CPP     lib/libsquish/colourblock.o
AR      lib/libRTV/librtv.a
CPP     xbmc/cores/AudioEngine/AEFactory.o
CPP     xbmc/cores/AudioEngine/AESinkFactory.o
CPP     xbmc/cores/ExternalPlayer/ExternalPlayer.o
CPP     xbmc/cores/AudioEngine/Sinks/AESinkNULL.o
In file included from /home/martin/xbmc/xbmc/windowing/X11/WinSystemX11GLES.h:25:0,
                 from /home/martin/xbmc/xbmc/windowing/WindowingFactory.h:33,
                 from ExternalPlayer.cpp:28:
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:76:3: error: ‘Display’ does not name a type
   Display*  GetDisplay() { return m_dpy; }
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:97:3: error: ‘Window’ does not name a type
   Window       m_glWindow, m_mainWindow;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:107:3: error: ‘Display’ does not name a type
   Display*     m_dpy;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:108:3: error: ‘Cursor’ does not name a type
   Cursor       m_invisibleCursor;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:109:3: error: ‘Pixmap’ does not name a type
   Pixmap       m_icon;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:125:25: error: ‘XVisualInfo’ has not been declared
   bool IsSuitableVisual(XVisualInfo *vInfo);
                         ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:126:28: error: ‘Display’ has not been declared
   static int XErrorHandler(Display* dpy, XErrorEvent* error);
                            ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:126:42: error: ‘XErrorEvent’ has not been declared
   static int XErrorHandler(Display* dpy, XErrorEvent* error);
                                          ^
CPP     xbmc/addons/AddonCallbacksGUI.o
CPP     xbmc/cores/AudioEngine/Sinks/AESinkPi.o
CPP     xbmc/addons/AddonCallbacksPVR.o
CPP     xbmc/cdrip/Encoder.o
CPP     lib/libsquish/colourfit.o
CPP     lib/libsquish/colourset.o
CPP     lib/libsquish/maths.o
CPP     xbmc/cores/AudioEngine/AEResampleFactory.o
CPP     xbmc/cdrip/EncoderFFmpeg.o
make[1]: *** [ExternalPlayer.o] Fehler 1
make: *** [xbmc/cores/ExternalPlayer/ExternalPlayer.a] Fehler 2
make: *** Auf noch nicht beendete Prozesse wird gewartet …
CPP     xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.o
CPP     xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESink.o
AR      xbmc/cdrip/cdrip.a
CPP     xbmc/addons/AddonDatabase.o
CPP     lib/libsquish/rangefit.o
CPP     lib/libsquish/singlecolourfit.o
CPP     lib/libsquish/squish.o
CPP     xbmc/addons/AddonInstaller.o
Engines/ActiveAE/ActiveAESink.cpp: In member function ‘void ActiveAE::CActiveAESink::EnumerateSinkList(bool)’:
Engines/ActiveAE/ActiveAESink.cpp:578:67: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::vector<AESinkInfo>::size_type {aka unsigned int}’ [-Wformat=]
   CLog::Log(LOGNOTICE, "Found %lu Lists of Devices", m_sinkInfoList.size());
                                                                   ^
CPP     xbmc/addons/AddonManager.o
CPP     xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEStream.o
CPP     xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESound.o
CPP     xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEResampleFFMPEG.o
In file included from /home/martin/xbmc/xbmc/windowing/X11/WinSystemX11GLES.h:25:0,
                 from /home/martin/xbmc/xbmc/windowing/WindowingFactory.h:33,
                 from Engines/ActiveAE/ActiveAE.cpp:32:
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:76:3: error: ‘Display’ does not name a type
   Display*  GetDisplay() { return m_dpy; }
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:97:3: error: ‘Window’ does not name a type
   Window       m_glWindow, m_mainWindow;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:107:3: error: ‘Display’ does not name a type
   Display*     m_dpy;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:108:3: error: ‘Cursor’ does not name a type
   Cursor       m_invisibleCursor;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:109:3: error: ‘Pixmap’ does not name a type
   Pixmap       m_icon;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:125:25: error: ‘XVisualInfo’ has not been declared
   bool IsSuitableVisual(XVisualInfo *vInfo);
                         ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:126:28: error: ‘Display’ has not been declared
   static int XErrorHandler(Display* dpy, XErrorEvent* error);
                            ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:126:42: error: ‘XErrorEvent’ has not been declared
   static int XErrorHandler(Display* dpy, XErrorEvent* error);
                                          ^
Engines/ActiveAE/ActiveAE.cpp: In member function ‘void ActiveAE::CActiveAE::StateMachine(int, Actor::Protocol*, Actor::Message*)’:
Engines/ActiveAE/ActiveAE.cpp:461:120: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘std::queue<long int>::size_type {aka unsigned int}’ [-Wformat=]
             CLog::Log(LOGWARNING,"CActiveAE - received %ld device change events within one second", m_extLastDeviceChange.size());
                                                                                                                        ^
CPP     xbmc/addons/AddonStatusHandler.o
CPP     xbmc/addons/AddonVersion.o
CPP     xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEResamplePi.o
make[1]: *** [Engines/ActiveAE/ActiveAE.o] Fehler 1
make[1]: *** Auf noch nicht beendete Prozesse wird gewartet …
CPP     xbmc/addons/AudioEncoder.o
CPP     xbmc/addons/GUIDialogAddonInfo.o
CPP     xbmc/addons/GUIDialogAddonSettings.o
CPP     xbmc/addons/GUIViewStateAddonBrowser.o
CPP     xbmc/addons/GUIWindowAddonBrowser.o
CPP     xbmc/addons/PluginSource.o
make: *** [xbmc/cores/AudioEngine/audioengine.a] Fehler 2
AR      lib/libsquish/libsquish.a
CPP     xbmc/addons/Repository.o
CPP     xbmc/addons/Scraper.o
CPP     xbmc/addons/ScreenSaver.o
CPP     xbmc/addons/Service.o
CPP     xbmc/addons/Skin.o
In file included from /home/martin/xbmc/xbmc/windowing/X11/WinSystemX11GLES.h:25:0,
                 from /home/martin/xbmc/xbmc/windowing/WindowingFactory.h:33,
                 from ScreenSaver.cpp:25:
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:76:3: error: ‘Display’ does not name a type
   Display*  GetDisplay() { return m_dpy; }
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:97:3: error: ‘Window’ does not name a type
   Window       m_glWindow, m_mainWindow;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:107:3: error: ‘Display’ does not name a type
   Display*     m_dpy;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:108:3: error: ‘Cursor’ does not name a type
   Cursor       m_invisibleCursor;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:109:3: error: ‘Pixmap’ does not name a type
   Pixmap       m_icon;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:125:25: error: ‘XVisualInfo’ has not been declared
   bool IsSuitableVisual(XVisualInfo *vInfo);
                         ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:126:28: error: ‘Display’ has not been declared
   static int XErrorHandler(Display* dpy, XErrorEvent* error);
                            ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:126:42: error: ‘XErrorEvent’ has not been declared
   static int XErrorHandler(Display* dpy, XErrorEvent* error);
                                          ^
make[1]: *** [ScreenSaver.o] Fehler 1
make[1]: *** Auf noch nicht beendete Prozesse wird gewartet …
CPP     xbmc/addons/Visualisation.o
In file included from /home/martin/xbmc/xbmc/windowing/X11/WinSystemX11GLES.h:25:0,
                 from /home/martin/xbmc/xbmc/windowing/WindowingFactory.h:33,
                 from Visualisation.cpp:31:
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:76:3: error: ‘Display’ does not name a type
   Display*  GetDisplay() { return m_dpy; }
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:97:3: error: ‘Window’ does not name a type
   Window       m_glWindow, m_mainWindow;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:107:3: error: ‘Display’ does not name a type
   Display*     m_dpy;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:108:3: error: ‘Cursor’ does not name a type
   Cursor       m_invisibleCursor;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:109:3: error: ‘Pixmap’ does not name a type
   Pixmap       m_icon;
   ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:125:25: error: ‘XVisualInfo’ has not been declared
   bool IsSuitableVisual(XVisualInfo *vInfo);
                         ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:126:28: error: ‘Display’ has not been declared
   static int XErrorHandler(Display* dpy, XErrorEvent* error);
                            ^
/home/martin/xbmc/xbmc/windowing/X11/WinSystemX11.h:126:42: error: ‘XErrorEvent’ has not been declared
   static int XErrorHandler(Display* dpy, XErrorEvent* error);
                                          ^
make[1]: *** [Visualisation.o] Fehler 1
make: *** [xbmc/addons/addons.a] Fehler 2
root@brick:~/xbmc# 
this is my ./configure command

Code: Select all

CFLAGS="-I/usr/src/xbmc/tools/depends/target/ffmpeg/ffmpeg-install/include -mfloat-abi=hard -mfpu=neon-vfpv4 -ftree-vectorize -mvectorize-with-neon-quad -ffast-math -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" \
CPPFLAGS=$CFLAGS CXXFLAGS=$CPPFLAGS \
./configure --enable-gles --disable-gl --disable-vdpau --disable-vaapi \
            --disable-openmax --disable-libcec --enable-xrandr --disable-rsxs \
            --disable-projectm --disable-nfs --enable-non-free --disable-optical-drive --disable-libbluray \
            --disable-joystick --disable-debug --enable-optimizations --enable-ccache \
            --enable-alsa --disable-mysql --enable-airplay --enable-airtunes \
            --enable-sdl --disable-pulse --enable-x11 --prefix=/usr --enable-samba --enable-codec=mfc
any ideas?

thanks in advance, Martin

User avatar
meveric
Posts: 12183
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 100 times
Been thanked: 697 times
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by meveric »

@nogareth
This is how i solved that issue. It works perfectly fine for me.

Code: Select all

diff --git a/xbmc/windowing/X11/WinSystemX11.h b/xbmc/windowing/X11/WinSystemX11.h
index d156554..28921dd 100644
--- a/xbmc/windowing/X11/WinSystemX11.h
+++ b/xbmc/windowing/X11/WinSystemX11.h
@@ -31,6 +31,7 @@

 #if defined(HAS_EGL)
 #include <EGL/egl.h>
+#include <X11/Xutil.h>
 #endif

 #include "windowing/WinSystem.h"
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

nogareth
Posts: 180
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: N2 4GB, Xu3(sold), Xu4(dead)
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by nogareth »

thanks,

ill give it a try when I'm at home !

Regards, Martin

armandob
Posts: 45
Joined: Sat Feb 21, 2015 11:48 pm
languages_spoken: english
ODROIDs: XU4 - XU3 Lite
Location: Italy
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by armandob »

Hi all,
i tryed to build kodi on 15.04 using Owersun head, but after make install with success, when i launch kodi i saw only a black screen.
after i tryed also to apply xf86-video-armsoc patch but result is the same

User avatar
OverSun
Posts: 1494
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 20 times
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by OverSun »

what is in the log?

nogareth
Posts: 180
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: N2 4GB, Xu3(sold), Xu4(dead)
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by nogareth »

@ meveric

thanks for your help , your patch made me build kodi successfully again , but only if i add "-fpermissive" to compiler flags . else i end up with this error here:

Code: Select all

CPP     xbmc/linux/DBusMessage.o
CPP     xbmc/linux/DBusReserve.o
WinSystemX11.cpp: In member function âbool CWinSystemX11::RefreshGlxContext(bool)â:
WinSystemX11.cpp:717:88: error: invalid conversion from âWindow {aka long unsigned int}â to âEGLNativeWindowType {aka fbdev_window*}â [-fpermissive]
       m_eglSurface = eglCreateWindowSurface(m_eglDisplay, eglConfig, m_glWindow, NULL);
                                                                                        ^
In file included from WinSystemX11.h:33:0,
                 from WinSystemX11.cpp:25:
/usr/include/EGL/egl.h:126:13: note: initializing argument 3 of âvoid* eglCreateWindowSurface(EGLDisplay, EGLConfig, EGLNativeWindowType, const EGLint*)â
 EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list);
             ^
WinSystemX11.cpp: In member function âbool CWinSystemX11::SetWindow(int, int, bool, const string&)â:
WinSystemX11.cpp:1151:86: error: invalid conversion from âWindow {aka long unsigned int}â to âEGLNativeWindowType {aka fbdev_window*}â [-fpermissive]
     m_eglSurface = eglCreateWindowSurface(m_eglDisplay, eglConfig, m_glWindow, NULL);
                                                                                      ^
In file included from WinSystemX11.h:33:0,
                 from WinSystemX11.cpp:25:
/usr/include/EGL/egl.h:126:13: note: initializing argument 3 of âvoid* eglCreateWindowSurface(EGLDisplay, EGLConfig, EGLNativeWindowType, const EGLint*)â
 EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list);
             ^
make[1]: *** [WinSystemX11.o] Fehler 1
make: *** [xbmc/windowing/X11/windowing_X11.a] Fehler 2
make: *** Auf noch nicht beendete Prozesse wird gewartet â¦
The build with -fpermissive is working fine but brings me a huge load of warnings while doing ./configure and make.
what am I missing now?

User avatar
meveric
Posts: 12183
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 100 times
Been thanked: 697 times
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by meveric »

actually nothing.. just build it with -fpermissive and it should work fine.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

nogareth
Posts: 180
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: N2 4GB, Xu3(sold), Xu4(dead)
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by nogareth »

@ armandob,

We're you able to fix your black screen issue?
I recently updated my tutorial in this thread to make it more accurate and rebuild on 15.04 to test if it's working . Same problem with black screen now for me, while the identically build is running on 14.04

Regards, Martin

armandob
Posts: 45
Joined: Sat Feb 21, 2015 11:48 pm
languages_spoken: english
ODROIDs: XU4 - XU3 Lite
Location: Italy
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by armandob »

Hi Martin,
i will try to rebuild on 15.04 in this week, i hope that HK help us to fix few remaining issues to finally use this board to the best.
i will restart from dd of 15.04 img to have clean environment.

regards, Armando

Digioso
Posts: 26
Joined: Tue May 26, 2015 11:50 pm
languages_spoken: english, german
ODROIDs: Odroid U3
Location: Germany
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by Digioso »

I managed to build Kodi 14.2 with the guide from nogareth. Thanks a lot for the good guide!
Unfortunately it cores very often (sometimes plays a video for a couple of seconds, sometimes crashes immediately) and all videos I tried so far (including the Big Buck Bunny video) have the green lines at the bottom. If the "fix" is to downgrade to 14.1 ... well... in that case I'll stay with the 14.2 Beta that comes preinstalled with the 14.04 Image.
My idea was to upgrade to a final 14.2 release to well... have a non-beta version. :)

Here's one of the crash logs. Kodi crashed right after opening the Big Buck Bunny video. My pre-installed Kodi 14.2 Beta plays this without any problems.

Code: Select all

############## Kodi CRASH LOG ###############

################ SYSTEM INFO ################
 Date: Migg Jun 17 19:15:27 CEST 2015
 Kodi Options: 
 Arch: armv7l
 Kernel: Linux 3.8.13.30 #1 SMP PREEMPT Wed Mar 4 17:26:56 BRT 2015
 Release: Ubuntu 14.04.2 LTS, Trusty Tahr
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====>  Core file: /root/xbmc/core (2015-06-17 19:15:27.526881037 +0200)
        =========================================
[New LWP 22821]
[New LWP 22822]
[New LWP 22795]
[New LWP 22800]
[New LWP 22808]
[New LWP 22811]
[New LWP 22806]
[New LWP 22796]
[New LWP 22810]
[New LWP 22807]
[New LWP 22803]
[New LWP 22797]
[New LWP 22809]
[New LWP 22820]
[New LWP 22790]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `/usr/lib/kodi/kodi.bin'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00817158 in fast_memcpy ()

Thread 15 (Thread 0xb5325000 (LWP 22790)):
#0  0xb618e3f0 in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0xb5f1a130 in ?? () from /usr/lib/arm-linux-gnueabihf/libxcb.so.1
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 14 (Thread 0xb24bf420 (LWP 22820)):
#0  0xb6175960 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1  0xb6192fc8 in usleep (useconds=10000) at ../sysdeps/unix/sysv/linux/usleep.c:32
#2  0x00f584ba in CThread::Sleep(unsigned int) ()
#3  0x00dc6206 in CDVDPlayer::Process() ()
#4  0x00f58198 in CThread::Action() ()
#5  0x00f58666 in CThread::staticThread(void*) ()
#6  0xb6e5cfbc in start_thread (arg=0xb24bf420) at pthread_create.c:314
#7  0xb619720c in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 13 (Thread 0xaa806420 (LWP 22809)):
#0  0xb6192972 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00770336 in SOCKETS::CSocketListener::Listen(int) ()
#2  0x00766e00 in EVENTSERVER::CEventServer::Run() ()
#3  0x00767232 in EVENTSERVER::CEventServer::Process() ()
#4  0x00f58198 in CThread::Action() ()
#5  0x00f58666 in CThread::staticThread(void*) ()
#6  0xb6e5cfbc in start_thread (arg=0xaa806420) at pthread_create.c:314
#7  0xb619720c in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 12 (Thread 0xb45ff420 (LWP 22797)):
#0  0xb618e3f0 in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0xb52bf21e in ?? () from /usr/lib/arm-linux-gnueabihf/libpulse.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 11 (Thread 0xb332d420 (LWP 22803)):
#0  0xb61922b4 in ioctl () at ../sysdeps/unix/syscall-template.S:81
#1  0xb6d9cae4 in mali_driver_ioctl () from /usr/lib/libGLESv2.so
#2  0xb6d9ce52 in arch_worker_thread () from /usr/lib/libGLESv2.so
#3  0xb6e5cfbc in start_thread (arg=0xb332d420) at pthread_create.c:314
#4  0xb619720c in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 10 (Thread 0xab806420 (LWP 22807)):
#0  0xb618e3f0 in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0xb6f0e5fa in ?? () from /usr/lib/arm-linux-gnueabihf/libavahi-common.so.3
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0xaa006420 (LWP 22810)):
#0  0xb6192972 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00771b48 in JSONRPC::CTCPServer::Process() ()
#2  0x00f58198 in CThread::Action() ()
#3  0x00f58666 in CThread::staticThread(void*) ()
#4  0xb6e5cfbc in start_thread (arg=0xaa006420) at pthread_create.c:314
#5  0xb619720c in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 8 (Thread 0xb4fab420 (LWP 22796)):
#0  __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
#1  0xb6e60296 in __pthread_cond_wait (cond=0xb4600468, mutex=0xb460a148) at pthread_cond_wait.c:178
#2  0xb52bf670 in pa_threaded_mainloop_wait () from /usr/lib/arm-linux-gnueabihf/libpulse.so.0
#3  0xb6f70c86 in pulse_wait_operation () from /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_pcm_pulse.so
#4  0xb6f6ff20 in ?? () from /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_pcm_pulse.so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0xac006420 (LWP 22806)):
#0  __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
#1  0xb6e6044c in __pthread_cond_timedwait (cond=<optimized out>, mutex=0x13b4838 <CJobManager::GetInstance()::sJobManager+320>, abstime=0xac005d70) at pthread_cond_timedwait.c:199
#2  0x007bcd92 in CJobManager::GetNextJob(CJobWorker const*) ()
#3  0x007bcfbe in CJobWorker::Process() ()
#4  0x00f58198 in CThread::Action() ()
#5  0x00f58666 in CThread::staticThread(void*) ()
#6  0xb6e5cfbc in start_thread (arg=0xac006420) at pthread_create.c:314
#7  0xb619720c in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0xa9806420 (LWP 22811)):
#0  __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
#1  0xb6e6044c in __pthread_cond_timedwait (cond=<optimized out>, mutex=0x13b4838 <CJobManager::GetInstance()::sJobManager+320>, abstime=0xa9805d70) at pthread_cond_timedwait.c:199
#2  0x007bcd92 in CJobManager::GetNextJob(CJobWorker const*) ()
#3  0x007bcfbe in CJobWorker::Process() ()
#4  0x00f58198 in CThread::Action() ()
#5  0x00f58666 in CThread::staticThread(void*) ()
#6  0xb6e5cfbc in start_thread (arg=0xa9806420) at pthread_create.c:314
#7  0xb619720c in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0xab006420 (LWP 22808)):
#0  __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
#1  0xb6e6044c in __pthread_cond_timedwait (cond=<optimized out>, mutex=0x13b4838 <CJobManager::GetInstance()::sJobManager+320>, abstime=0xab005d70) at pthread_cond_timedwait.c:199
#2  0x007bcd92 in CJobManager::GetNextJob(CJobWorker const*) ()
#3  0x007bcfbe in CJobWorker::Process() ()
#4  0x00f58198 in CThread::Action() ()
#5  0x00f58666 in CThread::staticThread(void*) ()
#6  0xb6e5cfbc in start_thread (arg=0xab006420) at pthread_create.c:314
#7  0xb619720c in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0xb3bff420 (LWP 22800)):
#0  0xb618e3f0 in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00ea4b2c in PERIPHERALS::CPeripheralBusUSB::WaitForUpdate() ()
#2  0x00ea4bb0 in PERIPHERALS::CPeripheralBusUSB::Process() ()
#3  0x00f58198 in CThread::Action() ()
#4  0x00f58666 in CThread::staticThread(void*) ()
#5  0xb6e5cfbc in start_thread (arg=0xb3bff420) at pthread_create.c:314
#6  0xb619720c in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0xb11aa420 (LWP 22795)):
#0  __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
#1  0xb6e6044c in __pthread_cond_timedwait (cond=<optimized out>, mutex=0xb082d670, abstime=0xb11a9118) at pthread_cond_timedwait.c:199
#2  0x008163dc in Actor::Protocol::SendOutMessageSync(int, Actor::Message**, int, void*, int) ()
#3  0x00467414 in ActiveAE::CActiveAE::InitSink() ()
#4  0x00468df8 in ActiveAE::CActiveAE::Configure(AEAudioFormat*) ()
#5  0x0046ace8 in ActiveAE::CActiveAE::StateMachine(int, Actor::Protocol*, Actor::Message*) ()
#6  0x0046b3b8 in ActiveAE::CActiveAE::Process() ()
#7  0x00f58198 in CThread::Action() ()
#8  0x00f58666 in CThread::staticThread(void*) ()
#9  0xb6e5cfbc in start_thread (arg=0xb11aa420) at pthread_create.c:314
#10 0xb619720c in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0xa75ff420 (LWP 22822)):
#0  __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
#1  0xb6e6044c in __pthread_cond_timedwait (cond=<optimized out>, mutex=0xb082d180, abstime=0xa75febe8) at pthread_cond_timedwait.c:199
#2  0x00472834 in ActiveAE::CActiveAEStream::AddData(unsigned char* const*, unsigned int, unsigned int, double) ()
#3  0x00dda852 in CDVDAudio::AddPackets(stDVDAudioFrame const&) ()
#4  0x00dcc57c in CDVDPlayerAudio::OutputPacket(stDVDAudioFrame&) ()
#5  0x00dcd8a4 in CDVDPlayerAudio::Process() ()
#6  0x00f58198 in CThread::Action() ()
#7  0x00f58666 in CThread::staticThread(void*) ()
#8  0xb6e5cfbc in start_thread (arg=0xa75ff420) at pthread_create.c:314
#9  0xb619720c in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0xa9006420 (LWP 22821)):
#0  0x00817158 in fast_memcpy ()
#1  0x00dde036 in CDVDCodecUtils::CopyPicture(YV12Image*, DVDVideoPicture*) ()
#2  0x0048760c in CXBMCRenderManager::AddVideoPicture(DVDVideoPicture&) ()
#3  0x00dd3236 in CDVDPlayerVideo::OutputPicture(DVDVideoPicture const*, double) ()
#4  0x00dd3a6c in CDVDPlayerVideo::Process() ()
#5  0x00f58198 in CThread::Action() ()
#6  0x00f58666 in CThread::staticThread(void*) ()
#7  0xb6e5cfbc in start_thread (arg=0xa9006420) at pthread_create.c:314
#8  0xb619720c in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
############# END STACK TRACE ###############

################# LOG FILE ##################

19:14:35 T:3039973376  NOTICE: special://profile/ is mapped to: special://masterprofile/
19:14:35 T:3039973376  NOTICE: -----------------------------------------------------------------------
19:14:35 T:3039973376  NOTICE: Starting Kodi (14.2 Git:2015-06-16-608b64c-dirty). Platform: Linux ARM (Thumb) 32-bit
19:14:35 T:3039973376  NOTICE: Using Release Kodi x32 build
19:14:35 T:3039973376  NOTICE: Kodi compiled Jun 16 2015 by GCC 4.8.2 for Linux ARM (Thumb) 32-bit version 3.13.11 (199947)
19:14:35 T:3039973376  NOTICE: Running on Ubuntu 14.04.2 LTS, kernel: Linux ARM 32-bit version 3.8.13.30
19:14:35 T:3039973376  NOTICE: FFmpeg statically linked, version: Gotham_alpha6-8289-g608b64c-xbmc-2.4.6-Helix
19:14:35 T:3039973376  NOTICE: Host CPU: ARMv7 Processor rev 0 (v7l), 4 cores available
19:14:35 T:3039973376  NOTICE: ARM Features: Neon enabled
19:14:35 T:3039973376  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
19:14:35 T:3039973376  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
19:14:35 T:3039973376  NOTICE: special://masterprofile/ is mapped to: /root/.kodi/userdata
19:14:35 T:3039973376  NOTICE: special://home/ is mapped to: /root/.kodi
19:14:35 T:3039973376  NOTICE: special://temp/ is mapped to: /root/.kodi/temp
19:14:35 T:3039973376  NOTICE: The executable running is: /usr/lib/kodi/kodi.bin
19:14:35 T:3039973376  NOTICE: Local hostname: DigiBot
19:14:35 T:3039973376  NOTICE: Log File is located: /root/.kodi/temp/kodi.log
19:14:35 T:3039973376  NOTICE: -----------------------------------------------------------------------
19:14:35 T:3039973376  NOTICE: load settings...
19:14:35 T:3039973376 WARNING: CSettingInt: unknown options filler "audiocdactions" of "audiocds.autoaction"
19:14:35 T:3039973376  NOTICE: Found 1 Lists of Devices
19:14:35 T:3039973376  NOTICE: Enumerated ALSA devices:
19:14:35 T:3039973376  NOTICE:     Device 1
19:14:35 T:3039973376  NOTICE:         m_deviceName      : default
19:14:35 T:3039973376  NOTICE:         m_displayName     : Playback/recording through the PulseAudio sound server
19:14:35 T:3039973376  NOTICE:         m_displayNameExtra:
19:14:35 T:3039973376  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
19:14:35 T:3039973376  NOTICE:         m_channels        : FL,FR,BL,BR,FC,LFE,SL,SR,UNKNOWN1,UNKNOWN2,UNKNOWN3,UNKNOWN4,UNKNOWN5,UNKNOWN6,UNKNOWN7,UNKNOWN8
19:14:35 T:3039973376  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
19:14:35 T:3039973376  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8
19:14:35 T:3039973376  NOTICE:     Device 2
19:14:35 T:3039973376  NOTICE:         m_deviceName      : pulse
19:14:35 T:3039973376  NOTICE:         m_displayName     : PulseAudio Sound Server
19:14:35 T:3039973376  NOTICE:         m_displayNameExtra:
19:14:35 T:3039973376  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
19:14:35 T:3039973376  NOTICE:         m_channels        : FL,FR,BL,BR,FC,LFE,SL,SR,UNKNOWN1,UNKNOWN2,UNKNOWN3,UNKNOWN4,UNKNOWN5,UNKNOWN6,UNKNOWN7,UNKNOWN8
19:14:35 T:3039973376  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
19:14:35 T:3039973376  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8
19:14:35 T:3039973376  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
19:14:35 T:3039973376  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
19:14:35 T:3039973376  NOTICE: Default DVD Player: dvdplayer
19:14:35 T:3039973376  NOTICE: Default Video Player: dvdplayer
19:14:35 T:3039973376  NOTICE: Default Audio Player: paplayer
19:14:35 T:3039973376  NOTICE: Disabled debug logging due to GUI setting. Level 0.
19:14:35 T:3039973376  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
19:14:35 T:3039973376  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
19:14:35 T:3039973376  NOTICE: Loaded playercorefactory configuration
19:14:35 T:3039973376  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
19:14:35 T:3039973376  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
19:14:35 T:2971313184  NOTICE: Thread ActiveAE start, auto delete: false
19:14:35 T:3036328992  NOTICE: Thread AESink start, auto delete: false
19:14:35 T:3039973376  NOTICE: Running database version Addons16
19:14:35 T:3039973376  NOTICE: ADDONS: Using repository repository.xbmc.org
19:14:35 T:3015701536  NOTICE: Thread PeripBusUSBUdev start, auto delete: false
19:14:35 T:3039973376  NOTICE: Checking resolution 15
19:14:35 T:3039973376  NOTICE: Using visual 0xf3
19:14:35 T:3039973376  NOTICE: GL_VENDOR = ARM
19:14:35 T:3039973376  NOTICE: GL_RENDERER = Mali-400 MP
19:14:35 T:3039973376  NOTICE: GL_VERSION = OpenGL ES 2.0
19:14:35 T:3039973376  NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.00
19:14:35 T:3039973376  NOTICE: GL_EXTENSIONS = GL_OES_texture_npot GL_OES_vertex_array_object GL_OES_compressed_ETC1_RGB8_texture GL_EXT_compressed_ETC1_RGB8_sub_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_OES_vertex_half_float GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map GL_KHR_debug GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_OES_mapbuffer
19:14:35 T:3039973376  NOTICE: Running database version Addons16
19:14:35 T:3039973376  NOTICE: Running database version ViewModes6
19:14:35 T:3039973376  NOTICE: Running database version Textures13
19:14:35 T:3039973376  NOTICE: Running database version MyMusic48
19:14:35 T:3039973376  NOTICE: Running database version MyVideos90
19:14:35 T:3039973376  NOTICE: Running database version TV26
19:14:35 T:3039973376  NOTICE: Running database version Epg8
19:14:36 T:3039973376 WARNING: JSONRPC: Could not parse type "PVR.Details.Channel"
19:14:36 T:3039973376 WARNING: JSONRPC: Could not parse type "PVR.Details.ChannelGroup.Extended"
19:14:36 T:3039973376 WARNING: JSONRPC: Could not parse type "GUI.Property.Value"
19:14:36 T:3039973376 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
19:14:36 T:2991322144  NOTICE: Thread LanguageInvoker start, auto delete: false
19:14:36 T:3039973376  NOTICE: initialize done
19:14:36 T:3039973376  NOTICE: Running the application...
19:14:36 T:2991322144  NOTICE: -->Python Interpreter Initialized<--
19:14:36 T:2885706784  NOTICE: Thread JobWorker start, auto delete: true
19:14:36 T:3039973376  NOTICE: starting zeroconf publishing
19:14:36 T:3039973376  NOTICE: ES: Starting event server
19:14:36 T:2868929568  NOTICE: Thread JobWorker start, auto delete: true
19:14:36 T:2860540960  NOTICE: Thread EventServer start, auto delete: false
19:14:36 T:2860540960  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
19:14:36 T:2860540960  NOTICE: UDP: Listening on port 9777
19:14:36 T:2852152352  NOTICE: Thread TCPServer start, auto delete: false
19:14:36 T:2843763744  NOTICE: Thread JobWorker start, auto delete: true
19:14:36 T:3027895328  NOTICE: Thread RSSReader start, auto delete: false
19:14:42 T:2991322144  NOTICE: Thread BackgroundLoader start, auto delete: false
19:15:26 T:3039973376  NOTICE: Previous line repeats 3 times.
19:15:26 T:3039973376  NOTICE: DVDPlayer: Opening: /home/odroid/Videos/big_buck_bunny_480p_h264.mov
19:15:26 T:3039973376 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:15:26 T:2991322144  NOTICE: Thread DVDPlayer start, auto delete: false
19:15:26 T:2991322144  NOTICE: Creating InputStream
19:15:26 T:2991322144  NOTICE: Creating Demuxer
19:15:26 T:2991322144  NOTICE: Opening stream: 0 source: 256
19:15:26 T:2991322144  NOTICE: Creating video codec with codec id: 28
19:15:26 T:2991322144  NOTICE: CDVDVideoCodecMFC::Open - MFC Setup succesfull (848x480, linesize 864, format 0x32314d59), start streaming
19:15:26 T:2991322144  NOTICE: Creating video thread
19:15:26 T:2991322144  NOTICE: Opening stream: 2 source: 256
19:15:26 T:2835375136  NOTICE: Thread DVDPlayerVideo start, auto delete: false
19:15:26 T:2991322144  NOTICE: Finding audio codec for: 86018
19:15:26 T:2835375136  NOTICE: running thread: video_thread
19:15:27 T:2991322144  NOTICE: Creating audio thread
19:15:27 T:2808083488  NOTICE: Thread DVDPlayerAudio start, auto delete: false
19:15:27 T:2808083488  NOTICE: running thread: CDVDPlayerAudio::Process()
19:15:27 T:2808083488  NOTICE: Creating audio stream (codec id: 86018, channels: 6, sample rate: 48000, no pass-through)
19:15:27 T:2835375136  NOTICE:  fps: 24.000000, pwidth: 848, pheight: 480, dwidth: 848, dheight: 480
19:15:27 T:2835375136  NOTICE: Display resolution DESKTOP : 1920x1080@ 24.00 - Full Screen (16)
19:15:27 T:3039973376  NOTICE: Using GL_TEXTURE_2D
19:15:27 T:3039973376  NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
19:15:27 T:3039973376  NOTICE: GL: NPOT texture support detected


############### END LOG FILE ################

############ END Kodi CRASH LOG #############
Leg dich nie mit einem BAOD an, oder du bist selber dran.

Das Leben ist grausam.
Wenn es mal nicht grausam ist, ist es grausamer.

Image

User avatar
OverSun
Posts: 1494
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 20 times
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by OverSun »

something is off in mfc for you. what is the board you are using and what is mfc firmware? dmesg tail would be useful as well

Digioso
Posts: 26
Joined: Tue May 26, 2015 11:50 pm
languages_spoken: english, german
ODROIDs: Odroid U3
Location: Germany
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by Digioso »

Thanks for the fast answer. :)

I'm using an Odroid U3.

Dmesg (right after Kodi crash) & Firmware:

Code: Select all

root@DigiBot:~# dmesg|tail
[225431.457623] ieee80211 phy0: rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for entry 5 in queue 0
[225431.592623] ieee80211 phy0: rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for entry 7 in queue 0
[225431.712626] ieee80211 phy0: rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for entry 8 in queue 0
[225431.847624] ieee80211 phy0: rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for entry 10 in queue 0
[225432.012636] ieee80211 phy0: rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for entry 14 in queue 0
[225432.012674] ieee80211 phy0: rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for entry 14 in queue 0
[225432.177626] ieee80211 phy0: rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for entry 2 in queue 0
[225432.327618] ieee80211 phy0: rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for entry 5 in queue 0
[225432.462623] ieee80211 phy0: rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for entry 7 in queue 0
[225432.627622] ieee80211 phy0: rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for entry 11 in queue 0
root@DigiBot:~# dmesg > dmesg.txt
root@DigiBot:~# ls -lart /lib/firmware/*mfc*
-rw-r--r-- 1 root root 306312 Feb 11  2014 /lib/firmware/s5p-mfc-v6.fw
-rw-r--r-- 1 root root 352652 Feb 11  2014 /lib/firmware/s5p-mfc.fw

/lib/firmware/s5p-mfc:
total 1744
-rw-r--r--  1 root root 360576 Mai 13 16:33 s5p-mfc-v8.fw
-rw-r--r--  1 root root 382724 Mai 13 16:33 s5p-mfc-v7.fw
-rw-r--r--  1 root root 343756 Mai 13 16:33 s5p-mfc-v6-v2.fw
-rw-r--r--  1 root root 306312 Mai 13 16:33 s5p-mfc-v6.fw
-rw-r--r--  1 root root 352652 Mai 13 16:33 s5p-mfc.fw
drwxr-xr-x  2  625  625   4096 Mai 20 08:10 .
drwxr-xr-x 67 root root  20480 Mai 20 08:10 ..
root@DigiBot:~#
Attachments
dmesg.txt
(93.87 KiB) Downloaded 152 times
Leg dich nie mit einem BAOD an, oder du bist selber dran.

Das Leben ist grausam.
Wenn es mal nicht grausam ist, ist es grausamer.

Image

User avatar
OverSun
Posts: 1494
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 20 times
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by OverSun »

I need to test few things, give me couple of days

Digioso
Posts: 26
Joined: Tue May 26, 2015 11:50 pm
languages_spoken: english, german
ODROIDs: Odroid U3
Location: Germany
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by Digioso »

Thank you. :)
Leg dich nie mit einem BAOD an, oder du bist selber dran.

Das Leben ist grausam.
Wenn es mal nicht grausam ist, ist es grausamer.

Image

User avatar
OverSun
Posts: 1494
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 20 times
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by OverSun »

Ok, I've found the problem, pull and compile.

Digioso
Posts: 26
Joined: Tue May 26, 2015 11:50 pm
languages_spoken: english, german
ODROIDs: Odroid U3
Location: Germany
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by Digioso »

Thanks a lot. :)
I compiled it and so far it's working fine. No crashes and no green lines either. ^^
Leg dich nie mit einem BAOD an, oder du bist selber dran.

Das Leben ist grausam.
Wenn es mal nicht grausam ist, ist es grausamer.

Image

abayoumy
Posts: 133
Joined: Thu Nov 14, 2013 2:21 pm
languages_spoken: english
ODROIDs: U2 , C1 & XU3 Lite
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by abayoumy »

:) thank you it's compiled without error on ubuntu 14.04
i will test some files formats

update -------------

last git got green line and glitches
git fc8d693 kodi 4.1 rc1 got some small glitches

User avatar
OverSun
Posts: 1494
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 20 times
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by OverSun »

Give here a link to the video that has green lines on the last commit.

abayoumy
Posts: 133
Joined: Thu Nov 14, 2013 2:21 pm
languages_spoken: english
ODROIDs: U2 , C1 & XU3 Lite
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by abayoumy »

OverSun wrote:Give here a link to the video that has green lines on the last commit.
http://www.yify-torrent.org/movie/30882 ... rrent.html

Code: Select all

Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 1.44 GiB
Duration                                 : 1h 33mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 2 201 Kbps
Encoded date                             : UTC 2015-07-05 15:17:31
Tagged date                              : UTC 2015-07-05 15:17:31

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1h 33mn
Bit rate                                 : 2 105 Kbps
Maximum bit rate                         : 15.6 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.042
Stream size                              : 1.38 GiB (96%)
Writing library                          : x264 core 123 r2189 35cf912
Encoding settings                        : cabac=1 / ref=4 / deblock=1:-1:-1 / a                                                                                        nalyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / m                                                                                        e_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_                                                                                        pskip=0 / chroma_qp_offset=-3 / threads=48 / sliced_threads=0 / nr=0 / decimate=                                                                                        1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid                                                                                        =2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyi                                                                                        nt=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2p                                                                                        ass / mbtree=1 / bitrate=2105 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 /                                                                                         qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=31250 / vbv_bufsize=31250 / n                                                                                        al_hrd=none / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2015-07-05 15:17:31
Tagged date                              : UTC 2015-07-05 15:17:43
Color primaries                          : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 1h 33mn
Bit rate mode                            : Variable
Bit rate                                 : 93.6 Kbps
Maximum bit rate                         : 105 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 62.8 MiB (4%)
Language                                 : English
Also i will try on ubuntu 15

User avatar
OverSun
Posts: 1494
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 20 times
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by OverSun »

The link you gave doesn't correspond to the info you pasted (at minimum the video at the link is 720p and the info is from 1080p video).
The video at the link plays just fine on the latest commit.

abayoumy
Posts: 133
Joined: Thu Nov 14, 2013 2:21 pm
languages_spoken: english
ODROIDs: U2 , C1 & XU3 Lite
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by abayoumy »


User avatar
OverSun
Posts: 1494
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 20 times
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by OverSun »

The movie on the link plays perfectly fine on the last commit.
By the way I assume we are talking about U2 as I see in your profile what you has?

abayoumy
Posts: 133
Joined: Thu Nov 14, 2013 2:21 pm
languages_spoken: english
ODROIDs: U2 , C1 & XU3 Lite
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by abayoumy »

I'm now working In xu3
Just received 3 days back
This result I have in ubunth 14
I'm now build on 15 and will update you

abayoumy
Posts: 133
Joined: Thu Nov 14, 2013 2:21 pm
languages_spoken: english
ODROIDs: U2 , C1 & XU3 Lite
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by abayoumy »

on ubunut 15.04 got this error after make

Code: Select all

Ymload.cpp:471:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      pSongType = mstrdup("YM-T1");
                                 ^
Ymload.cpp:481:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     pSongPlayer = mstrdup("Universal Tracker");
                                              ^
Ymload.cpp:485:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     setLastError("Unknow YM format !");
                                      ^
Ymload.cpp: In member function 'ymbool CYmMusic::checkCompilerTypes()':
Ymload.cpp:501:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  setLastError("Basic types size are not correct (check ymTypes.h)");
                                                                   ^
Ymload.cpp:520:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  setLastError("");
                 ^
Ymload.cpp: In member function 'ymbool CYmMusic::load(const char*)':
Ymload.cpp:539:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    setLastError("File not Found");
                                 ^
Ymload.cpp:550:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    setLastError("MALLOC Error");
                               ^
Ymload.cpp:561:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    setLastError("File is corrupted.");
                                     ^
Ymload.cpp: In member function 'ymbool CYmMusic::loadMemory(void*, ymu32)':
Ymload.cpp:609:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    setLastError("MALLOC Error");
                               ^
/usr/bin/ccache g++ -D_LINUX -fPIC -O2 -I/usr/src/xbmc/tools/depends/target/ffmpeg/ffmpeg-install/include -mfloat-abi=hard -mfpu=neon-vfpv4 -ftree-vectorize -mvectorize-with-neon-quad -ffast-math -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG=1 -mno-apcs-stack-check -mfpu=neon -mvectorize-with-neon-quad  -shared -o /opt/xbmc/system/players/paplayer/stsoundlibrary-arm.so Depacker.o digidrum.o LZH/lzhxlib.o XBMCYM.o Ym2149Ex.o Ymload.o YmMusic.o YmUserInterface.o       -Wl,--unresolved-symbols=ignore-all \
        `cat /opt/xbmc/xbmc/cores/DllLoader/exports/wrapper.def` /opt/xbmc/xbmc/cores/DllLoader/exports/wrapper.o
make[1]: Leaving directory '/opt/xbmc/lib/stsound/StSoundLibrary'

User avatar
OverSun
Posts: 1494
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 20 times
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by OverSun »

The fix for green lines I've pushed yesterday, everything else is not related to MFC.

abayoumy
Posts: 133
Joined: Thu Nov 14, 2013 2:21 pm
languages_spoken: english
ODROIDs: U2 , C1 & XU3 Lite
Has thanked: 0
Been thanked: 0
Contact:

Re: Building Xbmc/Kodi from Owersun repo

Post by abayoumy »

on ubuntu 15.04 successfully build last git and fc8d693

but both got me black screen !!!

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 1 guest