doc:appunti:hardware:raspberrypi_3
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:hardware:raspberrypi_3 [2024/03/21 22:25] – niccolo | doc:appunti:hardware:raspberrypi_3 [2024/03/22 06:13] (current) – niccolo | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Kodi on the Raspberry Pi 3 ====== | + | ====== Kodi on the Raspberry Pi 3 and CMA problems |
- | Running | + | I installed |
The error messages are revealed by the **dmesg** output: | The error messages are revealed by the **dmesg** output: | ||
Line 23: | Line 23: | ||
</ | </ | ||
- | In **/ | + | In **/ |
< | < | ||
Line 34: | Line 34: | ||
< | < | ||
- | # Default cma reserved memory is 256 Mb, use 480 instead. | + | # Default cma reserved memory is 256 Mb, use 512 instead. |
- | dtoverlay=cma, | + | dtoverlay=cma, |
</ | </ | ||
Line 41: | Line 41: | ||
< | < | ||
- | gpu_mem=128 | + | gpu_mem=92 |
</ | </ | ||
- | 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. | + | With 92 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: | ||
< | < | ||
- | [ 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: | + | [ 0.000000] Memory: |
- | 2900K rodata, 1024K init, 613K bss, 27664K | + | 2900K rodata, 1024K init, 613K bss, 28052K |
</ | </ | ||
Line 58: | Line 64: | ||
< | < | ||
| | ||
- | Mem: | + | Mem: |
Swap: | Swap: | ||
</ | </ | ||
- | 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.1711059909.txt.gz · Last modified: 2024/03/21 22:25 by niccolo