doc:appunti:hardware:raspberrypi_3
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:appunti:hardware:raspberrypi_3 [2024/03/21 22:07] – niccolo | doc:appunti:hardware:raspberrypi_3 [2024/03/21 22:37] – niccolo | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Kodi on the Raspberry Pi 3 ====== | + | ====== Kodi on the Raspberry Pi 3 and CMA problems |
Running **Kodi 19.4** on the **Raspberry Pi 3 Model B Plus Rev 1.3** with **Raspberry Pi OS** based on Debian 11.9, I experienced some weird crashes of the Kodi interface: sometimes the Kodi process suddendly restart while I'm browsing a folder with about 200 video items. | Running **Kodi 19.4** on the **Raspberry Pi 3 Model B Plus Rev 1.3** with **Raspberry Pi OS** based on Debian 11.9, I experienced some weird crashes of the Kodi interface: sometimes the Kodi process suddendly restart while I'm browsing a folder with about 200 video items. | ||
Line 6: | Line 6: | ||
< | < | ||
+ | [ 628.433140] cma: cma_alloc: linux,cma: alloc failed, req-size: 338 pages, ret: -12 | ||
+ | [ 628.433195] bcm2835-codec bcm2835-codec: | ||
+ | ... | ||
[ 848.225919] [drm: | [ 848.225919] [drm: | ||
[ 848.226063] vc4-drm soc:gpu: [drm] V3D: 210408kb BOs (1132) | [ 848.226063] vc4-drm soc:gpu: [drm] V3D: 210408kb BOs (1132) | ||
Line 40: | Line 43: | ||
gpu_mem=128 | gpu_mem=128 | ||
</ | </ | ||
+ | |||
+ | With 128 Mb of GPU memory I'm still able to play 1920x1080 videos without issues. Many features of the VideoCore IV GPU use the CMA reserved memory, not this GPU reserver one. | ||
+ | |||
+ | You can check how many GPU memory is used during Kodi normal operation, just launch the {{.raspberrypi: | ||
+ | |||
+ | < | ||
+ | ./ | ||
+ | |||
+ | </ | ||
At next reboot I verified that the new setting is in place, checking the **dmesg** output: | At next reboot I verified that the new setting is in place, checking the **dmesg** output: |
doc/appunti/hardware/raspberrypi_3.txt · Last modified: 2024/03/22 06:13 by niccolo