doc:appunti:hardware:raspberrypi_nas_kodi
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
doc:appunti:hardware:raspberrypi_nas_kodi [2022/05/28 17:42] – [RaspiOS 11 Bullseye] niccolo | doc:appunti:hardware:raspberrypi_nas_kodi [2023/06/10 17:05] – [RaspiOS 11 Bullseye] niccolo | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Raspberry Pi NAS: Kodi and multimedia | + | ====== |
This page is about configuring **[[wp> | This page is about configuring **[[wp> | ||
Line 5: | Line 5: | ||
===== RaspiOS 11 Bullseye ===== | ===== RaspiOS 11 Bullseye ===== | ||
- | Default installation on the **Raspberry Pi 4** of the Raspberry Pi OS based on **Debian 11 Bullseye** is rather satisfactory in terms of optimization; | + | Debian 11 Bullseye includes Kodi 19.1 or [[https:// |
If your system has undergone some software upgrades, it is recommended to check the content of **config.txt** for obsolete or wrong settings. This is the default content after a vanilla installation: | If your system has undergone some software upgrades, it is recommended to check the content of **config.txt** for obsolete or wrong settings. This is the default content after a vanilla installation: | ||
Line 26: | Line 26: | ||
The **vc4-kms-v3d** overlay is particularly important. The GPU of the **Pi 4** is a **VideoCore VI** capable of **OpenGL ES 3.2**, this requires a specific driver, different from the one required e.g. by the Raspberry Pi 3, which has a VideoCore IV GPU capable only of OpenGL ES 2.0. The codename of the driver is **VC4** for the old GPU and **V3D** for the newer one. Loading the **vc4-kms-v3d** overlay, the device tree sorts out which exact node is enabled, be it VC4 or VC6. They both get aliased to " | The **vc4-kms-v3d** overlay is particularly important. The GPU of the **Pi 4** is a **VideoCore VI** capable of **OpenGL ES 3.2**, this requires a specific driver, different from the one required e.g. by the Raspberry Pi 3, which has a VideoCore IV GPU capable only of OpenGL ES 2.0. The codename of the driver is **VC4** for the old GPU and **V3D** for the newer one. Loading the **vc4-kms-v3d** overlay, the device tree sorts out which exact node is enabled, be it VC4 or VC6. They both get aliased to " | ||
- | The **legacy KMS driver** developed for the Raspberry up to version 3 does not work with the newer Pi 4, because video hardware | + | The **legacy KMS driver** developed for the Raspberry up to version 3 does not work with the newer Pi 4, because video acceleration support was removed from the hardware (the Pi4 is powerfull enough to do 3D video and OpenGL in software). Operating system before Debian 10 Buster required the now obsolete **vc4-fkms-v3d** overlay on the **Raspberry Pi 4**, i.e. the //Fake Kernel Mode Setting// (a software driver based on the now obsoleted DispmanX Broadcom API), because at that time it was the best option. Now we should go with the Linux standard APIs **vc4-kms-v3d**. |
Another usefull option is **arm_boost=1**, | Another usefull option is **arm_boost=1**, | ||
+ | Check for other unnecessary configuration options in **[[https:// | ||
+ | |||
+ | ==== 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: | ||
+ | |||
+ | < | ||
+ | | ||
+ | Mem: | ||
+ | Swap: | ||
+ | </ | ||
+ | |||
+ | The swap file is **/ | ||
+ | |||
+ | < | ||
+ | systemctl stop dphys-swapfile.service | ||
+ | systemctl disable dphys-swapfile.service | ||
+ | </ | ||
+ | |||
+ | ==== Web References ==== | ||
+ | |||
+ | * **[[https:// | ||
+ | * **[[https:// | ||
* **[[https:// | * **[[https:// | ||
* **[[https:// | * **[[https:// |
doc/appunti/hardware/raspberrypi_nas_kodi.txt · Last modified: 2023/06/10 17:24 by niccolo