Difference between revisions of "Jetson/Kodi (XBMC)"

From eLinux.org
Jump to: navigation, search
(Added building pvr from source)
(PVR Clients)
Line 56: Line 56:
  
 
If you dont have git, install it (you also wont have other stuff):
 
If you dont have git, install it (you also wont have other stuff):
  sudo apt-get install git autoconf libtool build-essentials
+
  sudo apt-get install git autoconf libtool build-essential
  
 
Now clone the pvr add-on's:
 
Now clone the pvr add-on's:

Revision as of 10:51, 20 December 2014

Kodi (XBMC) for Jetson TK1

Current status: Full acceleration with GLES/EGL and OMX on X.Org.

Performance Tips

It seems Kodi uses all cores that are online when Kodi starts so I recommend maximizing CPU performance before starting XBMC: http://elinux.org/Jetson/Performance#Maximizing_CPU_performance

With 4k/UltraHD/2160p TV you need to set the maximum GPU frequency as well.

Add those commands to a script and run the script from /etc/rc.local if you want them to be run automatically on every boot. It seems that something may change the governor later, so you may run the script with sudo again just before starting the XBMC.

Playback Quality Tips

Use Kodi Audio configuration under system settings to enable HDMI audio.

For jitter free video playback I recommend allowing Kodi to to adjust TV refresh rate always. For that you need to enable the Expert Settings and enable "Adjust display refresh rate to match video". For instructions, see: http://wiki.xbmc.org/index.php?title=Settings/Videos

With limited testing I suggest selecting Audio Clock as the A/V sync method.

Installation

If you have old non-PPA version installed, remove it first and delete all old Kodi settings (be sure to take a backup, if you have made any special settings):

sudo apt-get remove xbmc xbmc-bin
rm -rf $HOME/.xbmc

If you have not yet enabled universe, enable it now:

sudo apt-add-repository universe

Add PPA for the Kodi, update and install Kodi:

sudo add-apt-repository ppa:kulve/xbmc-jetson-tk1
sudo apt-get update
sudo apt-get install kodi

If you want to include PVR support then you will need to install the correct PVR add-on. Run the following to find which add-on's are available:

(sudo) apt-cache search xbmc-pvr

Then install the one relevant using:

sudo apt-get install <package>

PVR Clients

If the above easy steps don't work or you just want the latest then you can get them here.

If you dont have git, install it (you also wont have other stuff):

sudo apt-get install git autoconf libtool build-essential

Now clone the pvr add-on's:

git clone https://github.com/opdenkamp/xbmc-pvr-addons.git

Jump to the newly created dir:

cd  xbmc-pvr-addons/

Now following the instructions on the wiki:

./bootstrap
./configure --prefix=/usr/share/kodi/
make install

The easiest way is to create a zip and install from zip:

./configure
make zip