Only the stuff I have written above, starting with a 15.10 (!) Lubuntu running on a chromebox _NOT_ the outdated kodibuntu:
a) add wsnipex ppa for vaapi
Code:
sudo apt-add-repository ppa:wsnipex/vaapi
sudo apt-get update
sudo apt-get install i965-va-driver
sudo apt-get dist-upgrade
a2) Install official kodi
Code:
sudo apt-add-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install kodi kodi-bin
b) Append to /etc/security/limits.conf as advertized. Remember kodi is the username running kodi - not the kodi executable - if your user is heinz change kodi to heinz :-)
c) Install udevil
Code:
sudo apt-get install udevil
d) Modify ~/.config/openbox/autostart to look like:
Code:
# change me to match your HDMI out
xrandr -display :0 --output HDMI1 --set "Broadcast RGB" "Full"
devmon &
# This is a hack so PA can stay installed - if it causes trouble remove PA (sudo apt-get remove --purge pulseaudio libasound2-plugins)
AE_SINK=ALSA /usr/bin/kodi --standalone
When you exit kodi, this will bring you back to openbox Desktop.
If you want my EGL version installed - you need a bit more handwork - but everything easily doable - just go with the normal PPA and when colors / performance is going on your nerves ask me howto build the EGL version.
Issues:
Tearing in chrome when running lovefilm / amazon prime?
Create /etc/X11/xorg.conf with the following content:
Code:
Section "Device"
Identifier "Device0"
Driver "intel"
VendorName "INTEL Corporation"
Option "TearFree" "true"
EndSection
Yes - TearFree (!). The implementation was heavily changed by Chris Wilson to not harm OpenGL applications that are using Flip in fullscreen.
Quote:11:50 < ickle> if the client does a fullscreen flip by itself, TearFree tries
very hard to get out of the way
If you are a Braswell user reading this. You need at least kernel 4.3.0 - which is not needed for the chromebox.
I am brave an I want to build fritsch's EGL version myself
Install team-kodi build dependencies ppa and the nightly ppa to get my build correctly installed:
Code:
# don't forget the -s for the nightly
sudo apt-add-repository -s ppa:team-xbmc/xbmc-nightly
sudo apt-add-repository ppa:team-xbmc/xbmc-ppa-build-depends
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get build-dep kodi
Now - we clone my fork, configure and build it:
Code:
wget https://github.com/fritsch/xbmc/archive/egl-isengard.zip
unzip egl-isengard.zip
cd xbmc-egl-isengard
./bootstrap ; ./configure --enable-vaapi --disable-vdpau --enable-optimizations --disable-debug
# wait until configuration is done
# now build kodi - we use 4 threads to do so - hopefully the box survives it :-)
make -j4
# if everything is finished correctly - we install it
sudo make install
Now everything left to do is, change the above autostart file to start /usr/local/bin/kodi instead of /usr/bin/kodi
Now PVR Addons after the working (!) and succesful (!) build
Code:
mkdir ~/kodi-addons
cd ~/kodi-addons
Install platform and kodi-platform and pvr.vdr.vnsi
Code:
cd ~/kodi-addons
git clone https://github.com/xbmc/kodi-platform.git
cd kodi-platform
# we also build master branch
# don't forget the "." behind the next command
cmake .
make
sudo make install
# Pulse-Eight platform for binary addons is next
git clone https://github.com/Pulse-Eight/platform.git
cd platform
# we build master here
cmake .
make
sudo make install
# and finally pvr vdr vnsi
git clone https://github.com/kodi-pvr/pvr.vdr.vnsi.git
cd
git checkout Isengard
cmake .
make
sudo make install
If you now feel to ask what about hts or mythtv - then this howto is _not_ made for you and you should use OpenELEC.