User Tools

Site Tools


doc:appunti:hardware:raspberrypi_nas_kodi

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
Next revisionBoth sides next revision
doc:appunti:hardware:raspberrypi_nas_kodi [2022/05/28 18:20] – [RaspiOS 11 Bullseye] niccolodoc:appunti:hardware:raspberrypi_nas_kodi [2023/06/10 16:49] – [Raspberry Pi NAS: Kodi and multimedia] niccolo
Line 1: Line 1:
-====== Raspberry Pi NAS: Kodi and multimedia ======+====== Kodi on a Raspberry Pi NAS ======
  
 This page is about configuring **[[wp>Kodi_(software)|Kodi]]** on a Raspberry Pi installed with RaspiOS, to be used as NAS and mediacenter. See the main index at **[[raspberrypi_nas]]**. This page is about configuring **[[wp>Kodi_(software)|Kodi]]** on a Raspberry Pi installed with RaspiOS, to be used as NAS and mediacenter. See the main index at **[[raspberrypi_nas]]**.
Line 32: Line 32:
 Check for other unnecessary configuration options in **[[https://www.raspberrypi.com/documentation/computers/config_txt.html|/boot/config.txt]]**, like **start_x=1** needed on the Pi 3 to play VP6, VP8, Theora and alike encoded files. Kernel options added into **/boot/cmdline.txt** may be obsolete too, e.g. the **elevator=deadline** was suggested as an alternative to the //cfq// scheduler when minimizing I/O latency is more important than maximizing I/O throughput, but it does not exist in recent Linux kernels in Bullseye. Check for other unnecessary configuration options in **[[https://www.raspberrypi.com/documentation/computers/config_txt.html|/boot/config.txt]]**, like **start_x=1** needed on the Pi 3 to play VP6, VP8, Theora and alike encoded files. Kernel options added into **/boot/cmdline.txt** may be obsolete too, e.g. the **elevator=deadline** was suggested as an alternative to the //cfq// scheduler when minimizing I/O latency is more important than maximizing I/O throughput, but it does not exist in recent Linux kernels in Bullseye.
  
 +==== Swap file ====
 +
 +The default RaspiOS installation will enable a swap file to support system memory. Using the **free** command you can see that a 100 Mb swap file was enabled:
 +
 +<code>
 +               total        used        free      shared  buff/cache   available
 +Mem:         3931052      274392       55828      105748     3600832     3397328
 +Swap:         102396      102396           0
 +</code>
 +
 +The swap file is **/var/swap** and unfortunately it is on the very slow **SD card**. Having 4 Gb of RAM it is preferable to disable the swap file at all, just using the systemd **dphys-swapfile** service:
 +
 +<code>
 +systemctl stop dphys-swapfile.service
 +systemctl disable dphys-swapfile.service
 +</code>
 +
 +==== Web References ====
 +
 +  * **[[https://forums.raspberrypi.com/viewtopic.php?t=323303|Kodi on Bullseye RPiOS]]**
 +  * **[[https://forums.raspberrypi.com/viewtopic.php?f=66&t=251645|Kodi on Raspberry Pi OS / Raspbian Buster]]** (not Bullseye!)
   * **[[https://forums.raspberrypi.com/viewtopic.php?t=255478|Full KMS vs Fake KMS vs Legacy driver]]**   * **[[https://forums.raspberrypi.com/viewtopic.php?t=255478|Full KMS vs Fake KMS vs Legacy driver]]**
   * **[[https://forums.raspberrypi.com/viewtopic.php?t=325836|arm_boost]]**   * **[[https://forums.raspberrypi.com/viewtopic.php?t=325836|arm_boost]]**
   * **[[https://www.raspberrypi.com/news/bullseye-bonus-1-8ghz-raspberry-pi-4/|Bullseye bonus: 1.8GHz Raspberry Pi 4]]**   * **[[https://www.raspberrypi.com/news/bullseye-bonus-1-8ghz-raspberry-pi-4/|Bullseye bonus: 1.8GHz Raspberry Pi 4]]**
-  * **[[https://forums.raspberrypi.com/viewtopic.php?f=66&t=251645|Kodi on Raspberry Pi OS / Raspbian Buster]]** (not Bullseye!) 
- 
  
 ===== RaspiOS 10 Buster ===== ===== RaspiOS 10 Buster =====
doc/appunti/hardware/raspberrypi_nas_kodi.txt · Last modified: 2023/06/10 17:24 by niccolo