User Tools

Site Tools


doc:appunti:hardware:raspberrypi_micromediahub

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
doc:appunti:hardware:raspberrypi_micromediahub [2018/01/01 21:07] – [Starting Kodi at Boot] niccolodoc:appunti:hardware:raspberrypi_micromediahub [2019/11/03 17:32] – [Kodi] niccolo
Line 20: Line 20:
 Kodi will not start automatically at boot, just execute **kodi-standalone** from the command line. Kodi will not start automatically at boot, just execute **kodi-standalone** from the command line.
  
-**NOTICE**: Raspbian includes **Kodi version 17.6** whereas Debian Stretch has Kodi 17.1, so beware of what packages you are installing and respect the right dependencies.+**NOTICE**: Raspbian based on **Debian Stretch 9.11** uses two repositories:
  
 +  * **[[http://raspbian.raspberrypi.org/raspbian/]]** (by file /etc/apt/sources.list)
 +  * **[[http://archive.raspberrypi.org/debian/]]** (by file /etc/apt/sources.list.d/raspi.list)
 +
 +The first repository provides **Kodi 17.1** as per Debian Stretch. The second repository provided **Kodi version 17.6** on December 2017, but it was upgraded to **Kodi version 18** on february 2019. So beware of what packages you are installing, respect the right dependencies and be carefull with upgrades.
 +
 +Our current installation uses these versions:
 +
 +^ kodi                         | 2:17.6-2~stretch  |
 +^ kodi-bin                     | 2:17.6-2~stretch  |
 +^ kodi-eventclients-common     | 2:18.1-1~stretch  |
 +^ kodi-eventclients-kodi-send  | 2:18.1-1~stretch  |
 +^ kodi-peripheral-joystick     | 1.3.4-1~stretch   |
 +^ libkodiplatform17:armhf      | 17.4.0~stretch    |
 +
 +To activate a joypad you have to go through **//Settings//** => //System settings// => //Input// => **//Configure attacched controllers//**.
 ===== Starting Kodi at Boot ===== ===== Starting Kodi at Boot =====
  
Line 103: Line 118:
 To confirm that the video codec is VP8, we installed the **mediainfo** package an run the tool against the video; which actually uses the VP8 codec. The official **[[http://kodi.wiki/view/Raspberry_Pi_FAQ|Kodi Wiki]]** says that VP8 is supported on the Raspberry Pi architecture, so we are searching for the problem somewhere else. To confirm that the video codec is VP8, we installed the **mediainfo** package an run the tool against the video; which actually uses the VP8 codec. The official **[[http://kodi.wiki/view/Raspberry_Pi_FAQ|Kodi Wiki]]** says that VP8 is supported on the Raspberry Pi architecture, so we are searching for the problem somewhere else.
  
-[[https://forum.kodi.tv/showthread.php?tid=204239|This post]] says that VP8 hardware (GPU) decoding is supported only if run from **startx**: //Note that GPU accelerated software codecs (and camera) are only available from start_x.elf. Add start_x=1 to config.txt (or use raspi-config and enable camera)//.+**[[https://forum.kodi.tv/showthread.php?tid=204239|This post]]** says that VP8 hardware (GPU) decoding is supported only if firmware **start_x.elf** is loaded: //Note that GPU accelerated software codecs (and camera) are only available from start_x.elf. Add start_x=1 to config.txt (or use raspi-config and enable camera)//This means that we have to add the following line in **/boot/config.txt** (The required file is already in the ''/boot'' directory): 
 + 
 +<file> 
 +start_x=1 
 +</file>
  
-FIXME: So we have to revise the boot procedure? Need to install xserver.xorg and change the Kodi service?+See also the page **[[https://www.raspberrypi.org/documentation/configuration/config-txt/boot.md|Boot options in config.txt]]**. We have also **gpu_mem=128** in the same config file.
 ===== Starting Kodi only if USB hard disk is present ===== ===== Starting Kodi only if USB hard disk is present =====
  
doc/appunti/hardware/raspberrypi_micromediahub.txt · Last modified: 2020/09/28 18:45 by niccolo