User Tools

Site Tools


doc:appunti:hardware:raspberrypi_3

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
doc:appunti:hardware:raspberrypi_3 [2024/03/21 23:37] niccolodoc:appunti:hardware:raspberrypi_3 [2024/03/22 07:12] niccolo
Line 1: Line 1:
 ====== Kodi on the Raspberry Pi 3 and CMA problems ====== ====== 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.9I 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.+I installed **Kodi 19.4** on the **Raspberry Pi 3 Model B Plus Rev 1.3**, running the **Raspberry Pi OS** based on **Debian 11.9**. Unfortunately I experienced some weird crashes of the Kodi program: sometimes the Kodi process suddendly restart while I'm browsing a folder with about 200 video items.
  
 The error messages are revealed by the **dmesg** output: The error messages are revealed by the **dmesg** output:
Line 23: Line 23:
 </code> </code>
  
-In **/boot/config.txt** you should confirm that you are loading the **vc4-kms-v3d** overlay, which will use the **VideoCore IV GPU** available on the Raspberry Pi 3.+In **/boot/config.txt** you should confirm that you are loading the **vc4-kms-v3d** overlay, which is the module dedicated to GPU management, the **VideoCore IV GPU** available on the Raspberry Pi 3:
  
 <code> <code>
Line 34: Line 34:
  
 <file> <file>
-# Default cma reserved memory is 256 Mb, use 480 instead. +# Default cma reserved memory is 256 Mb, use 512 instead. 
-dtoverlay=cma,cma-size=503316480+dtoverlay=cma,cma-size=536870912
 </file> </file>
  
Line 41: Line 41:
  
 <file> <file>
-gpu_mem=128+gpu_mem=92
 </file> </file>
  
Line 50: Line 50:
 <code> <code>
 ./bcmstat.sh Dd5 ./bcmstat.sh Dd5
- 
 </code> </code>
  
Line 56: Line 55:
  
 <code> <code>
-[    0.000000] Reserved memory: created CMA memory pool at 0x10c00000, size 480 MiB +[    0.000000] Reserved memory: created CMA memory pool at 0x0ec00000, size 512 MiB 
-[    0.000000] Memory: 398320K/917504K available (10240K kernel code, 1452K rwdata, +[    0.000000] Memory: 402028K/954368K available (10240K kernel code, 1452K rwdata, 
-               2900K rodata, 1024K init, 613K bss, 27664K reserved, 491520K cma-reserved)+               2900K rodata, 1024K init, 613K bss, 28052K reserved, 524288K cma-reserved)
 </code> </code>
  
Line 65: Line 64:
 <code> <code>
                total        used        free      shared  buff/cache   available                total        used        free      shared  buff/cache   available
-Mem:          890864      286280      287876        2836      316708      546816+Mem:          927340      321760      319708        2836      285872      548032
 Swap:         524284                524284 Swap:         524284                524284
 </code> </code>
  
-About **280 Mb of free memory** should suffice for normal operations.+About **300 Mb of free memory** should suffice for normal operations.
  
doc/appunti/hardware/raspberrypi_3.txt · Last modified: 2024/03/22 07:13 by niccolo