[NEW IMAGE] - ARCH + XBMC + MALI

Moderators: odroid, mdrjr

[NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Sun Sep 14, 2014 1:45 am

ALARM-U3-LXDE-XBMC-MALI-0.2

*Kernel 3.8.13.28
*My repo added to /etc/pacman.conf for easy updating/save disk space
*Xorg-server with dsd patch applied (installed from my repo)
*Mesa-libgl and a modified odroid-libgl (odroid-libgl-mali) installed side-by-side (installed from my repo)
*Arch Linux updates as of 18/09/2014
*XBMC 13.2 (with sources, https://github.com/mihailescu2m/xbmc)
*Gstreamer
*FFMPEG 2.3.3 (installed from my repo)
*Libcec - untested (with sources, following this guide http://forum.odroid.com/viewtopic.php?f=52&t=2973)
*LXDE, SLiM, Chromium, Numix icons/themes, Conky and a few other basic apps


I hope you guys enjoy this ! Many thanks to : gripped, mdrjr, memeka, mihailescu2m, oversun, dsd and sctincman@github . Without there work i wouldn't have been able to get this image out !

Download : http://oph.mdrjr.net/hreikin/ Thanks to mdrjr !

Size = 1.9 GB
md5 = 49167470b2dd14e4e247affa8322daef

INSTALL INSTRUCTIONS

Replace sdX in the following instructions with the device name for the SD card as it appears on your computer.

Start fdisk to partition the SD card :

Code: Select all
fdisk /dev/sdX


At the fdisk prompt, create the new partitions :

Type o. This will clear out any partitions on the drive. Type p to list partitions. There should be no partitions left. Type n, then p for primary, 1 for the first partition on the drive, and then press enter twice to accept the default starting and ending sectors. Write the partition table and exit by typing w.

Create and mount the ext4 filesystem :

Code: Select all
mkfs.ext4 /dev/sdX1
mkdir root
mount /dev/sdX1 root


Extract the root filesystem (as root, not via sudo) :

Code: Select all
tar -xvf /path/to/rootfs.tar.gz -C root


Flash the bootloader files :

Code: Select all
cd root/boot
./sd_fusing.sh /dev/sdX
cd ../..


Unmount the partition :

Code: Select all
umount root


Insert the SD card into the board, connect ethernet, and apply 5V power. Default user details are root/root and odroid/odroid.

I have not tested this with my MMC module yet but all you should have to do is these few extra steps to get it working on a MMC :

Follow the above steps to install Arch Linux ARM, and boot the board with the eMMC still attached to micro SD adapter, plugged into the SD slot in the board. Re-flash the bootloader to the protected boot area of the eMMC module :

Code: Select all
cd /boot
./sd_fusing.sh /dev/mmcblk0


Power off the board :

Code: Select all
poweroff


Remove the micro SD adapter, detach the eMMC module, and connect the eMMC module to its connector on the board. Re-apply power to the board.

NEW DEVELOPMENT WORK - ALARMDROID - 25/06/2015

i have been away for a while and im now back, i have started work on an updated image for the U3/2 which is going to be available here very soon:

You can grab a "Release Candidate" from here : http://oph.mdrjr.net/hreikin/ Thanks to mdrjr !

It is called "ALARMDROID-1.0-RC.rootfs.tar.gz" and is still a WIP and there are a few bugs/errors that need fixing ideally. It has lxde/lightdm/chromium/conky/leafpad/xbmc(gotham)/ffmpeg/libcec/numix icons and themes. Installation instructions are available in the README in the repo.

NOTES

    1) user/password =
    Code: Select all
    root/root
    and
    Code: Select all
    odroid/odroid

    2) upon login there is a bug with the mouse, press
    Code: Select all
    CTRL+ALT+F1
    then
    Code: Select all
    CTRL+ALT+F7
    and it should appear

    3) no wifi

    4) libcec is disabled in xbmc to try prevent it crashing on exit, it can be re-enabled in the system settings of xbmc

    5) xbmc crashes on exit still
Last edited by hreikin on Thu Jun 25, 2015 8:42 am, edited 8 times in total.
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby gripped » Sun Sep 14, 2014 9:39 pm

xbmc is only doing software decoding.

You can see by pressing o when a video is playing.
You'll see dc:ff-h264 (or similar depending on the container).

Simple fix though. The kernel is looking for the firmware in a subdir s5p-mfc but the firmware is in /usr/lib/firmware.
Code: Select all
sudo mkdir /usr/lib/firmware/s5p-mfc/
sudo ln -s /usr/lib/firmware/s5p-mfc.fw /usr/lib/firmware/s5p-mfc/s5p-mfc.fw


Once done mfc is doing the decoding.
I'm getting similar dropped frames on 1080p as I did back in may though :(
gripped
 
Posts: 691
Joined: Tue May 21, 2013 11:34 pm
languages_spoken: english
ODROIDs: U2 XU U3 XU3

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Sun Sep 14, 2014 11:03 pm

gripped wrote:
Code: Select all
sudo mkdir /usr/lib/firmware/s5p-mfc/
sudo ln -s /usr/lib/firmware/s5p-mfc.fw /usr/lib/firmware/s5p-mfc/s5p-mfc.fw



thankyou ! i havent tried fixing the permissions issue yet, might give it a try after some food
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby gripped » Sun Sep 14, 2014 11:34 pm

Code: Select all
sudo chmod 666 /dev/mali

allows xbmc to be run as normal user until reboot.
You need a udev rule to make it permanant
50-mali.rules
Code: Select all
KERNEL=="mali", MODE="0660", GROUP="video"

Arch way is to put it in /usr/lib/udev/rules.d but /etc/udev/rules.d will work

then
Code: Select all
sudo usermod -aG video odroid
gripped
 
Posts: 691
Joined: Tue May 21, 2013 11:34 pm
languages_spoken: english
ODROIDs: U2 XU U3 XU3

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Sun Sep 14, 2014 11:42 pm

thankyou so much, ill start work on perfecting the image for re-release tonight
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby gripped » Mon Sep 15, 2014 12:42 am

It's going to need another rule for CEC to work

Code: Select all
KERNEL=="mali", MODE="0660", GROUP="video"
KERNEL=="CEC", MODE="0660", GROUP="video"


should do it. (haven't tested, watching football)
gripped
 
Posts: 691
Joined: Tue May 21, 2013 11:34 pm
languages_spoken: english
ODROIDs: U2 XU U3 XU3

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby mate-mon » Mon Sep 15, 2014 4:35 am

Nice image!
Can I delete the git folder? Is there any important thing?

Edit: XBMC is very laggy, it's unusuble yet(I hope just yet :) )
mate-mon
 
Posts: 6
Joined: Wed May 14, 2014 2:28 am
languages_spoken: english , hungarian
ODROIDs: ODROID U3

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Mon Sep 15, 2014 4:59 am

gripped wrote:It's going to need another rule for CEC to work

Code: Select all
KERNEL=="mali", MODE="0660", GROUP="video"
KERNEL=="CEC", MODE="0660", GROUP="video"


should do it. (haven't tested, watching football)


Ive been out all day, just put a pizza in then im gonna start new/refined build, let me know if you encounter any other problems !

as for the dropped frames you mentioned earlier, we may have to wait until alarm actually has some packages that just work, the fact odroid-libgl conflicts with mesa-libgl but breaks many many things is a great oversight/worry - things should work without too much hacking, especially considering they are "partners".

if it wasnt for the pull request to try fix odroid-libgl i may not have got this far !

mate-mon wrote:Nice image!
Can I delete the git folder? Is there any important thing?


it is not needed as such but if i make any updates to the package it will be slighlty quicker/easier for you to git pull the repo and rebuild/install the new packages, however i am in the process of acquiring some hosting, so soon you will be able to add a repo to your pacman.conf and install/update from there with no need for the git repo/build process !

mate-mon wrote:XBMC is very laggy, it's unusuble yet(I hope just yet :)


1080p is laggy, lower qualities should play fine

1080p videos can be played with ffmpeg, in a terminal change directory to where your video file is located and run this command :

Code: Select all
ffplay -fs "The Simpsons Movie - 1080p Trailer.mp4"


for a file with the name of
Code: Select all
The Simpsons Movie - 1080p Trailer.mp4


hope this helps ! let me know what errors you run into, i am making a new cleaner/refined build tonight/tomorrow to fix a few of the errors with this first image !
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby memeka » Mon Sep 15, 2014 6:01 am

you are using some old code for XBMC.... u should be using Gotham 13.2 final.
User avatar
memeka
 
Posts: 3889
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby mate-mon » Mon Sep 15, 2014 7:00 am

hreikin wrote:1080p is laggy, lower qualities should play fine

1080p videos can be played with ffmpeg, in a terminal change directory to where your video file is located and run this command :

Code: Select all
ffplay -fs "The Simpsons Movie - 1080p Trailer.mp4"


for a file with the name of
Code: Select all
The Simpsons Movie - 1080p Trailer.mp4


hope this helps ! let me know what errors you run into, i am making a new cleaner/refined build tonight/tomorrow to fix a few of the errors with this first image !

It was also laggy with 720p youtube video, and there was also screen tearing . Ffplay doesn't support subtitles so it's not suitable for me.
mate-mon
 
Posts: 6
Joined: Wed May 14, 2014 2:28 am
languages_spoken: english , hungarian
ODROIDs: ODROID U3

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Mon Sep 15, 2014 7:26 am

i am working on refining this build and fixing the issues as we speak, if you can hold tight for a day or two there will be a new image !

do you have a suggestion for a program other than xbmc that has subtitles ? i will look into it
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby memeka » Mon Sep 15, 2014 7:30 am

Snappy player uses gstreamer so it's hw accelerated and supports subtitles.
User avatar
memeka
 
Posts: 3889
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby gripped » Mon Sep 15, 2014 7:49 am

as for the dropped frames you mentioned earlier, we may have to wait until alarm actually has some packages that just work, the fact odroid-libgl conflicts with mesa-libgl but breaks many many things is a great oversight/worry - things should work without too much hacking, especially considering they are "partners".


Also remember we are talking about a niche within a niche.

Hardkernel work with ALARM mainly to give us a working kernel on Arch IMHO.
ALARM are supporting many many arm devices.
It's not ALARMS priority to give us a perfect XMBC experience on odroid XYZ.
That's down to us.

When I was playing with this in May I built countless xbmc's. Some I'm as sure as I can be were built with the same xbmc configure options and the exact same code revisions as the ubuntu image. But The Ubuntu images's xbmc had perfect 1080p playback in the clips I tested and mine did not. At one point I thought it must be the kernel but I got the same frame drops using the Hardkernel zimage as when I use the ALARM one.

That's when I gave up but I'd love to know what the difference is, or where I went wrong. :D
Last edited by gripped on Mon Sep 15, 2014 9:44 am, edited 2 times in total.
gripped
 
Posts: 691
Joined: Tue May 21, 2013 11:34 pm
languages_spoken: english
ODROIDs: U2 XU U3 XU3

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Mon Sep 15, 2014 8:02 am

gripped wrote:Also remember we are talk about a niche within a niche.

Hardkernel work with ALARM mainly to give us a working kernel on Arch IMHO.
ALARM are supporting many many arm devices.
It's not ALARMS priority to give us a perfect XMBC experience on odroid XYZ.
That's down to us.


you are right, i just see it as pointless providing a package that breaks more things than its worth but like you say its up to the community to fix these issues

gripped wrote:When I was playing with this in May I built countless xbmc's. Some I'm as sure as I can be that some were built with the same xbmc configure options and the exact same code revisions as the ubuntu image. But The Ubuntu image had perfect 1080p playback in the clips I tested and mine did not. At one point I thought it must be the kernel but I got the same frame drops using the Hardkernel zimage as when I use the ALARM one.

That's when I gave up but I'd love to know what the difference is, or where I went wrong. :D


you probably know more than me :D im just happy i got it "working"

memeka wrote:Snappy player uses gstreamer so it's hw accelerated and supports subtitles.


thanks for the tips
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby gripped » Mon Sep 15, 2014 8:13 am

you are right, i just see it as pointless providing a package that breaks more things than its worth but like you say its up to the community to fix these issues


I agree odroid-libgl from Alarm is broken

you probably know more than me :D im just happy i got it "working"

I'm happy you got it working as well ;) Where I can help I will.

But I hope maybe one or two of the code ninja's on here will be curious enough to install Arch and see what is going wrong with xbmc.
gripped
 
Posts: 691
Joined: Tue May 21, 2013 11:34 pm
languages_spoken: english
ODROIDs: U2 XU U3 XU3

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Mon Sep 15, 2014 8:23 am

gripped wrote:I'm happy you got it working as well ;) Where I can help I will.

But I hope maybe one or two of the code ninja's on here will be curious enough to install Arch and see what is going wrong with xbmc.


**nudge** **nudge**

;)

EDIT : I now have a repo set up (thanks to mdrjr) and you can now install/update from the repo and the /home/odroid/git/odroid-arch-packages folder can be removed, to add my repo edit your /etc/pacman.conf and add these 3 lines to the end of the file :

Code: Select all
[odroidu]
SigLevel = Never
Server = http://oph.mdrjr.net/hreikin/repo/


Save and exit, then update pacman :

Code: Select all
sudo pacman -Syu
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Wed Sep 17, 2014 2:27 am

memeka wrote:you are using some old code for XBMC.... u should be using Gotham 13.2 final.


can you offer any help memeka ?

i cloned this repo, with this command to get the 13.2-Gotham tag :

Code: Select all
git clone -b 13.2-Gotham  https://github.com/xbmc/xbmc.git


and git tells me it is using this commit :

Code: Select all
0f3db0516711e05765d297d060563730131c2f92


i run ./bootstrap and then this configure command :

Code: Select all
./configure --enable-codec=mfc --enable-libcec  --enable-x11 --enable-sdl --enable-nfs --enable-xrandr --enable-neon --disable-debug --enable-optimizations --enable-ccache --enable-gles --enable-non-free  --disable-gl --disable-vdpau --disable-vaapi --disable-crystalhd --disable-openmax --disable-rsxs --disable-projectm --disable-fishbmc  --enable-texturepacker --with-cpu=cortex-a9 --host=armv7a-hardfloat-linux-gnueabi


with this in configure.in :

Code: Select all
arm*-*-linux-gnu*|arm*-*-linux-uclibc*)
     ARCH="arm"
     use_arch="arm"
     ffmpeg_target_os=linux
     use_neon=yes
     use_gles=yes
     use_wayland=no
     use_static_ffmpeg=yes
     PYTHON_VERSION="2.7"


and when i run make -j5 it errors out with :

Code: Select all
CPP     xbmc/addons/PluginSource.o
CPP     xbmc/addons/Repository.o
CPP     xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEBuffer.o
CPP     xbmc/addons/Scraper.o
CPP     xbmc/addons/ScreenSaver.o
In file included from /home/odroid/git/xbmc/xbmc/windowing/WindowingFactory.h:36:0,
                 from OverlayRenderer.cpp:33:
/home/odroid/git/xbmc/xbmc/windowing/X11/WinSystemX11GLES.h:63:3: error: 'SDL_Surface' does not name a type
   SDL_Surface* m_SDLSurface;
   ^
/home/odroid/git/xbmc/Makefile.include:95: recipe for target 'OverlayRenderer.o' failed
make[1]: *** [OverlayRenderer.o] Error 1
Makefile:508: recipe for target 'xbmc/cores/VideoRenderers/VideoRenderer.a' failed
make: *** [xbmc/cores/VideoRenderers/VideoRenderer.a] Error 2
make: *** Waiting for unfinished jobs....
CPP     xbmc/addons/Service.o
CPP     xbmc/cores/AudioEngine/Sinks/AESinkALSA.o
In file included from /home/odroid/git/xbmc/xbmc/windowing/WindowingFactory.h:36:0,
                 from ExternalPlayer.cpp:27:
/home/odroid/git/xbmc/xbmc/windowing/X11/WinSystemX11GLES.h:63:3: error: 'SDL_Surface' does not name a type
   SDL_Surface* m_SDLSurface;
   ^
../../../Makefile.include:95: recipe for target 'ExternalPlayer.o' failed
make[1]: *** [ExternalPlayer.o] Error 1
Makefile:508: recipe for target 'xbmc/cores/ExternalPlayer/ExternalPlayer.a' failed
make: *** [xbmc/cores/ExternalPlayer/ExternalPlayer.a] Error 2
CPP     xbmc/cores/AudioEngine/Sinks/AESinkOSS.o
In file included from /home/odroid/git/xbmc/xbmc/windowing/WindowingFactory.h:36:0,
                 from Engines/ActiveAE/ActiveAE.cpp:31:
/home/odroid/git/xbmc/xbmc/windowing/X11/WinSystemX11GLES.h:63:3: error: 'SDL_Surface' does not name a type
   SDL_Surface* m_SDLSurface;
   ^
/home/odroid/git/xbmc/Makefile.include:95: recipe for target 'Engines/ActiveAE/ActiveAE.o' failed
make[1]: *** [Engines/ActiveAE/ActiveAE.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CPP     xbmc/addons/Skin.o
In file included from /home/odroid/git/xbmc/xbmc/windowing/WindowingFactory.h:36:0,
                 from ScreenSaver.cpp:24:
/home/odroid/git/xbmc/xbmc/windowing/X11/WinSystemX11GLES.h:63:3: error: 'SDL_Surface' does not name a type
   SDL_Surface* m_SDLSurface;
   ^
../../Makefile.include:95: recipe for target 'ScreenSaver.o' failed
make[1]: *** [ScreenSaver.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:508: recipe for target 'xbmc/addons/addons.a' failed
make: *** [xbmc/addons/addons.a] Error 2
Makefile:508: recipe for target 'xbmc/cores/AudioEngine/audioengine.a' failed
make: *** [xbmc/cores/AudioEngine/audioengine.a] Error 2


any suggestions ? its been a long day and i cant figure it out, i have sdl/sdl_mixer/sdl_image installed, any other info can be provided !

when using mihailescu2m repo i dont get any error
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby gripped » Wed Sep 17, 2014 3:32 am

I don't think exynos mfc was added upstream, though I know an attempt was made. Sorry if I'm wrong.

you can bring your xbmc repo, the one you cloned from memeka's repo, up to date with git merge

eg
Code: Select all
git remote add xbmcorig https://github.com/xbmc/xbmc.git
git fetch xbmcorig
git merge xbmcorig/BRANCH_OR_TAG_YOU_WANT_TO_MERGE
git push


Hopefully there will be no conflicts ! (read about it first though before trying)

I think that error is fixed with this patch. I'm pretty sure it's the same one I had.
Code: Select all
-- xbmc/windowing/X11/WinSystemX11GLES.h   2014-09-16 00:15:43.189540075 +0100
+++ xbmc/windowing/X11/WinSystemX11GLES.h.new   2014-09-16 00:13:15.334652679 +0100
@@ -25,6 +25,7 @@
 #include "windowing/WinSystem.h"
 #include <EGL/egl.h>
 #include <X11/Xlib.h>
+#include <SDL/SDL.h>
 #include "rendering/gles/RenderSystemGLES.h"
 #include "utils/GlobalsHandling.h"


But you may also have to add -lSDL. Can be done in various ways but simple is to add
Code: Select all
CFLAGS="${CFLAGS} -lSDL"

to the end of your configure.
gripped
 
Posts: 691
Joined: Tue May 21, 2013 11:34 pm
languages_spoken: english
ODROIDs: U2 XU U3 XU3

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Wed Sep 17, 2014 3:45 am

thanks, ill give it a try and let you know if i have any problems !
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Wed Sep 17, 2014 4:52 am

gripped wrote:I don't think exynos mfc was added upstream, though I know an attempt was made. Sorry if I'm wrong.

you can bring your xbmc repo, the one you cloned from memeka's repo, up to date with git merge

eg
Code: Select all
git remote add xbmcorig https://github.com/xbmc/xbmc.git
git fetch xbmcorig
git merge xbmcorig/BRANCH_OR_TAG_YOU_WANT_TO_MERGE
git push


Hopefully there will be no conflicts ! (read about it first though before trying)

I think that error is fixed with this patch. I'm pretty sure it's the same one I had.
Code: Select all
-- xbmc/windowing/X11/WinSystemX11GLES.h   2014-09-16 00:15:43.189540075 +0100
+++ xbmc/windowing/X11/WinSystemX11GLES.h.new   2014-09-16 00:13:15.334652679 +0100
@@ -25,6 +25,7 @@
 #include "windowing/WinSystem.h"
 #include <EGL/egl.h>
 #include <X11/Xlib.h>
+#include <SDL/SDL.h>
 #include "rendering/gles/RenderSystemGLES.h"
 #include "utils/GlobalsHandling.h"


But you may also have to add -lSDL. Can be done in various ways but simple is to add
Code: Select all
CFLAGS="${CFLAGS} -lSDL"

to the end of your configure.


im having a lot of trouble here, im not sure if i just need to give up for a day or two my brain just isnt functioning
should i clone the mihailescu2m repo and then run :
Code: Select all
git remote add xbmcorig https://github.com/xbmc/xbmc.git
git fetch xbmcorig
git merge xbmcorig/Gotham


EDIT : i managed to merge the repos but now when applying the patch i get an error :
Code: Select all
21:49:55[odroid@ALARM-U3 xbmc]$ git apply gripped.patch
fatal: patch fragment without header at line 5: @@ -25,6 +25,7 @@
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby gripped » Wed Sep 17, 2014 6:14 am

The patch code was just to show the file and and the change. I copied it from larger one of mine.
You can change it manually yourself

But if you merged into the memeka version of xbmc you shouldn't need it ?
You said it compiled before.
gripped
 
Posts: 691
Joined: Tue May 21, 2013 11:34 pm
languages_spoken: english
ODROIDs: U2 XU U3 XU3

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Wed Sep 17, 2014 6:17 am

gripped wrote:The patch code was just to show the file and and the change. I copied it from larger one of mine.
You can change it manually yourself

But if you merged into the memeka version of xbmc you shouldn't need it ?
You said it compiled before.


i see, sorry for the misunderstanding ! my head is fried right now

i cloned memeka and then merged with xbmc, i will try compiling without applying the patch and if that fails go play games instead for a bit !!
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby memeka » Wed Sep 17, 2014 6:36 am

i would suggesting rebasing... that's what i do...
something like:

Code: Select all
git clone git://github.com/xbmc/xbmc.git -b Gotham xbmc
cd xbmc
git remote add memeka git://github.com/mihailescu2m/xbmc
git checkout memeka/Gotham-mfc -b mybranch
git rebase origin/Gotham


then everything when you wanna update, you can do something like:
Code: Select all
git remote update
git rebase origin/Gotham


and that's it...
User avatar
memeka
 
Posts: 3889
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Wed Sep 17, 2014 6:42 am

memeka wrote:i would suggesting rebasing... that's what i do...
something like:

Code: Select all
git clone git://github.com/xbmc/xbmc.git -b Gotham xbmc
cd xbmc
git remote add memeka git://github.com/mihailescu2m/xbmc
git checkout memeka/Gotham-mfc -b mybranch
git rebase origin/Gotham


then everything when you wanna update, you can do something like:
Code: Select all
git remote update
git rebase origin/Gotham


and that's it...


i will be saving that somewhere :P

its gone through configure fine and passed the point it failed at before when running make -j5 so fingers crossed it should complete ! after that i need to try getting snappy player working, it installs but plays nothing so need to look into it

if xbmc compiles then i can upload a devel image to repo if you want to try it out ?
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby memeka » Wed Sep 17, 2014 6:45 am

if xbmc compiles then i can upload a devel image to repo if you want to try it out ?

Sorry, no time to try learning new things. I'm happy with apt-based distros.
User avatar
memeka
 
Posts: 3889
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Wed Sep 17, 2014 6:51 am

memeka wrote:Sorry, no time to try learning new things. I'm happy with apt-based distros.


theres not actually much difference apart from pacman, but i know what you mean

EDIT : XBMC is installed, nfs should be enabled @gripped, and i didnt notice any frame drops/tearing with the simpsons movie 1080p trailer, skipping worked fine but it crashes on exit, ive had to remove plank, i think somethings changed in an update earlier and it no longer shows up but it is running, i may find a replacement dock or i may just leave it out :P
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby gripped » Wed Sep 17, 2014 8:18 am

hreikin wrote:
memeka wrote:i would suggesting rebasing... that's what i do...
something like:

Code: Select all
git clone git://github.com/xbmc/xbmc.git -b Gotham xbmc
cd xbmc
git remote add memeka git://github.com/mihailescu2m/xbmc
git checkout memeka/Gotham-mfc -b mybranch
git rebase origin/Gotham


then everything when you wanna update, you can do something like:
Code: Select all
git remote update
git rebase origin/Gotham


and that's it...


i will be saving that somewhere :P


Me to ;)
gripped
 
Posts: 691
Joined: Tue May 21, 2013 11:34 pm
languages_spoken: english
ODROIDs: U2 XU U3 XU3

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Fri Sep 19, 2014 3:34 am

**UPDATE**

New version available, original post updated with the details.

* Fixes as suggested by gripped
* XBMC sources changed as suggested by memeka
* XBMC permissions fixed so can be run as normal user
* No tearing/framedrops even when skipping. Tested with "The Simpsons Movie - 1080p Trailer.mp4"


I might play with my Vu/SHOW now :)

If you run into any issues let me know !
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby schmulschubiak » Sun Nov 23, 2014 7:17 am

Hej hreikin,.
thanks for your very good work!
I have just two questions:

1. i have installed your image on my odroid u3, but after last pacman update (nov22), xbmc wont start anymore:
Code: Select all
libGL error: MESA-LOADER: malformed or no PCI ID
libGL error: unable to load driver: exynos_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: exynos

is the cause of the error the odroid-libgl problem? i tried to reinstall the odroid-libgl but i ran into known conflictswith mesa-libgl. glmark2-es2 runs smooth without failure.

2. arch arm runs on my emmc module, no problem, but when i try to flash an other image (no matter what image), they wont boot. odroidu3 just boots, if I reflash to your image.
is it because of this installation step?
Code: Select all
./sd_fusing.sh /dev/mmcblk0


thanks for your help!
schmulschubiak
 
Posts: 6
Joined: Sat Apr 05, 2014 12:46 am
languages_spoken: english
ODROIDs: U3

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby gripped » Sun Nov 23, 2014 8:08 am

1. xbmc needs to be rebuilt as one or more libs (libcdio was the latest) have been upgraded but your xbmc is linked against the old version which is no longer there.

At https://github.com/hreikin/odroid-arch-packages you can find xbmc-odroid which will enable you to rebuild the package.
Code: Select all
git clone https://github.com/hreikin/odroid-arch-packages.git
cd odroid-arch-packages/xbmc-odroid
makepkg -As
sudo pacman -U *pkg.*


You need to have installed base-devel and git to build it.
gripped
 
Posts: 691
Joined: Tue May 21, 2013 11:34 pm
languages_spoken: english
ODROIDs: U2 XU U3 XU3

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby schmulschubiak » Sun Nov 23, 2014 10:14 pm

gripped wrote:1. xbmc needs to be rebuilt as one or more libs (libcdio was the latest) have been upgraded but your xbmc is linked against the old version which is no longer there.

At https://github.com/hreikin/odroid-arch-packages you can find xbmc-odroid which will enable you to rebuild the package.
Code: Select all
git clone https://github.com/hreikin/odroid-arch-packages.git
cd odroid-arch-packages/xbmc-odroid
makepkg -As
sudo pacman -U *pkg.*


You need to have installed base-devel and git to build it.

In step
Code: Select all
makepkg -As
i allways get something like
Code: Select all
 odroid-libgl and mesa-libgl are in conflict

How can I solve this? I simply tried to change odroid-libgl in dependency check of PKGBUILD to odroid-libgl-mesa and the build process continues until he said
Code: Select all
remote: Repository not found.
fatal: repository 'https://github.com/hreikin/xbmc-odroid.git/' not found
schmulschubiak
 
Posts: 6
Joined: Sat Apr 05, 2014 12:46 am
languages_spoken: english
ODROIDs: U3

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Mon Nov 24, 2014 3:46 pm

schmulschubiak wrote:How can I solve this? I simply tried to change odroid-libgl in dependency check of PKGBUILD to odroid-libgl-mesa and the build process continues until he said
Code: Select all
remote: Repository not found.
fatal: repository 'https://github.com/hreikin/xbmc-odroid.git/' not found


try using this repo to rebuild xbmc, it uses the official xbmc repo and rebases using memekas xbmc repo, you can also find other PKGBUILDS which may be useful to you, however you may need to bump the PKGREL/PKGVER numbers and any md5sums/source links etc

https://github.com/hreikin/odroid-aur

i am not at home so cant help much as i dont have my odroid :( i stopped using arch on my odroid for a while but may pick it up again soon
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby schmulschubiak » Sat Nov 29, 2014 6:15 am

Ok I'll answer myself ;)
schmulschubiak wrote:2. arch arm runs on my emmc module, no problem, but when i try to flash an other image (no matter what image), they wont boot. odroidu3 just boots, if I reflash to your image.
is it because of this installation step?
Code: Select all
./sd_fusing.sh /dev/mmcblk0


The sd_fusing writes in the hidden partition i think, thats why i could'nt boot other images.
So i just repaired the emmc with this solution viewtopic.php?f=53&t=969
schmulschubiak
 
Posts: 6
Joined: Sat Apr 05, 2014 12:46 am
languages_spoken: english
ODROIDs: U3

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby jkl555 » Tue Dec 02, 2014 5:06 am

I am going to try the image this weekend. I am going to hook up my U3 to a receiver which can decode TrueHD audo. I am wondering if the option to pass through TrueHD is visible on the menu ?

Thanks.
jkl555
 
Posts: 18
Joined: Wed Sep 03, 2014 3:28 am
languages_spoken: english
ODROIDs: U3

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Sun Jun 14, 2015 11:23 am

NEW DEVELOPMENT WORK - ALARMDROID

i have been away for a while and im now back, i have started work on an updated image for the U3/2 which is going to be available here very soon:

Download : http://oph.mdrjr.net/hreikin/ Thanks to mdrjr !

It is still a WIP and very rough around the edges and is named "ALARMDROIDDEVEL.rootfs.tar.gz". It has lxde/lightdm/chromium/conky/leafpad at the minute and no wifi as far as i am aware but if anyone wants to give it a try while i try to get a few things finished and Kodi compiled then feel free

NOTES

    1) user/password =
    Code: Select all
    root/root
    and
    Code: Select all
    odroid/odroid

    2) upon login there is a bug with the mouse, press
    Code: Select all
    CTRL+ALT+F1
    then
    Code: Select all
    CTRL+ALT+F7
    and it should appear

    3) no wifi
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby abayoumy » Thu Jun 18, 2015 5:12 pm

hreikin wrote:NEW DEVELOPMENT WORK - ALARMDROID

i have been away for a while and im now back, i have started work on an updated image for the U3/2 which is going to be available here very soon:

Download : http://oph.mdrjr.net/hreikin/ Thanks to mdrjr !

It is still a WIP and very rough around the edges and is named "ALARMDROIDDEVEL.rootfs.tar.gz". It has lxde/lightdm/chromium/conky/leafpad at the minute and no wifi as far as i am aware but if anyone wants to give it a try while i try to get a few things finished and Kodi compiled then feel free

NOTES

    1) user/password =
    Code: Select all
    root/root
    and
    Code: Select all
    odroid/odroid

    2) upon login there is a bug with the mouse, press
    Code: Select all
    CTRL+ALT+F1
    then
    Code: Select all
    CTRL+ALT+F7
    and it should appear

    3) no wifi



Good news
keep going
abayoumy
 
Posts: 133
Joined: Thu Nov 14, 2013 2:21 pm
languages_spoken: english
ODROIDs: U2 , C1 & XU3 Lite

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby abayoumy » Fri Jun 19, 2015 5:25 pm

any news for KODI in development ver ?
abayoumy
 
Posts: 133
Joined: Thu Nov 14, 2013 2:21 pm
languages_spoken: english
ODROIDs: U2 , C1 & XU3 Lite

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Sat Jun 20, 2015 1:06 pm

abayoumy wrote:any news for KODI in development ver ?


my 1TB HDD died on me last night with a I/O error, in the process screwing with my SSD so it couldnt boot or be saved either, long story short i had to format/reinstall and lose everything on my SSD and im 1 TB HDD down :D once iv recovered from this i will carry on with development of xbmc/kodi on ALARM for U3

i will probable try gotham first but i was having problems with the odroid-libgl/other packages in the repo last time i was testing/working so im not very hopeful of being successful :D either way ill keep trying !
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby abayoumy » Sat Jun 20, 2015 6:15 pm

Can you give me PKGBUILD for kodi?
I will try it
abayoumy
 
Posts: 133
Joined: Thu Nov 14, 2013 2:21 pm
languages_spoken: english
ODROIDs: U2 , C1 & XU3 Lite

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Sat Jun 20, 2015 9:35 pm

User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Thu Jun 25, 2015 4:45 am

i have xbmc (gotham 13.2) running and successfully playing the simpsons trailer, it hangs on exit tho even with cec disabled (as suggested here: viewtopic.php?f=77&t=4759#p83413) any ideas anyone ?

im hoping to finish the image before bed but if not i may release an RC for people to test and hopefully help me iron out some bugs, i will update this post with a link for the RC if i do

EDIT

You can grab a "Release Candidate" from here real soon : http://oph.mdrjr.net/hreikin/

It is called "ALARMDROID-1.0-RC.rootfs.tar.gz" and is still a WIP and there are a few bugs/errors that need fixing ideally. It has lxde/lightdm/chromium/conky/leafpad/xbmc(gotham)/ffmpeg/libcec/numix icons and themes. Installation instructions are available in the README in the repo.

NOTES

    1) user/password =
    Code: Select all
    root/root
    and
    Code: Select all
    odroid/odroid

    2) fixed - upon login there is a bug with the mouse, press
    Code: Select all
    CTRL+ALT+F1
    then
    Code: Select all
    CTRL+ALT+F7
    and it should appear

    3) no wifi

    4) libcec is disabled in xbmc to try prevent it crashing on exit, it can be re-enabled in the system settings of xbmc

    5) xbmc crashes on exit still
Last edited by hreikin on Sun Jun 28, 2015 4:34 pm, edited 2 times in total.
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby abayoumy » Sat Jun 27, 2015 5:30 pm

good work :)

HDMI signal lost after some time if not active

I hope if u can include kodi 14.2
abayoumy
 
Posts: 133
Joined: Thu Nov 14, 2013 2:21 pm
languages_spoken: english
ODROIDs: U2 , C1 & XU3 Lite

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Sat Jun 27, 2015 6:17 pm

abayoumy wrote:good work :)

HDMI signal lost after some time if not active

I hope if u can include kodi 14.2


thanks for the feedback, i will fix the hdmi signal issue, has the mouse issue been fixed for you ? does it show without having to CTRL+ALT+F1/F7 ?

i will try kodi 14.2 tonight if i get the time and probably include both in the final rootfs/image
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby abayoumy » Sun Jun 28, 2015 10:33 am

thank you
mouse issue resolved

i don't know what i have , My u2 is suddenly power off :( , It's not hdmi signal issue
abayoumy
 
Posts: 133
Joined: Thu Nov 14, 2013 2:21 pm
languages_spoken: english
ODROIDs: U2 , C1 & XU3 Lite

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Sun Jun 28, 2015 4:43 pm

abayoumy wrote:thank you
mouse issue resolved

i don't know what i have , My u2 is suddenly power off :( , It's not hdmi signal issue


thanks, im not sure why your U2 may be powering off, you may want to ask in IRC or search the forum/start a thread as i am unable to re-create the issue on my U3
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby abayoumy » Thu Jul 02, 2015 10:32 am

Hi
Any news about kodi 14.2?
abayoumy
 
Posts: 133
Joined: Thu Nov 14, 2013 2:21 pm
languages_spoken: english
ODROIDs: U2 , C1 & XU3 Lite

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Thu Jul 02, 2015 3:53 pm

hi

i have been a little busy with work lately and unable to do any work on kodi 14.2 yet, i should hopefully get some time this weekend to try and compile it, if not i will just release a polished version of my RC until i manage to successfully compile kodi 14.2

have you found any other issues with the RC so far ?
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby abayoumy » Fri Jul 03, 2015 5:49 am

No
It's fine with me
I auto start xbmc and install mediabrowser(emby) and all working fine

Thx
abayoumy
 
Posts: 133
Joined: Thu Nov 14, 2013 2:21 pm
languages_spoken: english
ODROIDs: U2 , C1 & XU3 Lite

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby Moricio78 » Wed Aug 12, 2015 7:10 pm

Just perfect thank you very much hreikin
I had already benefited from your work with the previous version (without XBMC).

With this new version I have some questions:

In the u-boot sequence (see below), I have error messages.
- Bad crc
- 2 files not found
Is this normal? (if possible, how to fix?)

Have you planned to make an image with a newer kernel?
Increasingly device does not work on 3.8.

Is it normal that XBMC does not work via x11vnc? (I have no screen)
Just black full screen.

Conky is not lua and cairo binding.
Have you planned to change it?

Again thank you, I look forward to your future distribution.

Code: Select all
U-Boot 2015.04-1 (Jun 07 2015 - 19:55:08) Arch Linux ARM

CPU:    Exynos4412@1000MHz
Model: Odroid based on Exynos4412
DRAM:  2 GiB
Board PMIC init
MMC:   EXYNOS DWMMC: 0, SAMSUNG SDHCI: 1
*** Warning - bad CRC, using default environment

Net:   No ethernet found.
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 5 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
       scanning usb for ethernet devices...
Error: sms0 address not set.
Warning: failed to set MAC address
1 Ethernet Device(s) found
switch to partitions #0, OK
mmc0(part 0) is current device
mmc found on device 0
Checking for: /boot/uEnv.txt ...
794 bytes read in 13 ms (59.6 KiB/s)
Loaded environment from /boot/uEnv.txt
Checking if uenvcmd is set ...
2865320 bytes read in 294 ms (9.3 MiB/s)
loading /boot/dtbs/exynos4412-odroidu3.dtb ...
** File not found /boot/dtbs/exynos4412-odroidu3.dtb **
** File not found /boot/initramfs-linux.img **
Kernel image @ 0x40007fc0 [ 0x000000 - 0x2bb8a8 ]

Starting kernel ...
Moricio78
 
Posts: 24
Joined: Wed Oct 22, 2014 11:43 pm
Location: France, Pays de Loire
languages_spoken: french
ODROIDs: U3

Re: [NEW IMAGE] - ARCH + XBMC + MALI

Unread postby hreikin » Wed Aug 12, 2015 8:22 pm

hi @Moricio78 im glad you like my work and have found some use for it, i will try to answer your questions as best as i can but i probably wont be much help until the weekend when i can get time to do some research/work

1) i have no idea until i do some research but a quick google suggests that the "bad CRC" is normal behaviour for linux on an SD card, however im not sure about the missing files

2) i generally dont plan things :D i may try a new image with a newer kernel but i am not promising anything yet !

3) it isnt something i have ever tried, i would have to test it myself before i can say yes or no

4) there is no plan to change it yet but if its something that people would like it is definitely something i will consider in the future !

i know it isnt amazingly useful but i hope it helps a little
User avatar
hreikin
 
Posts: 69
Joined: Sun May 04, 2014 5:00 pm
Location: UK
languages_spoken: English
ODROIDs: ODROID'S - U3/SHOW/UPS/VU

Next

Return to Other OS

Who is online

Users browsing this forum: No registered users and 1 guest