Monday, September 20, 2021

[fedora-arm] Re: Use kodi 19 from rpm fusion on fedora 34 with raspberry pi 2 (

> cat /etc/redhat-release
> Fedora release 34 (Thirty Four)

Did you download a specific desktop image?

> [ 0.000000] Memory: 668172K/786432K available (10489K kernel code, 2423K rwdata, 5576K rodata, 2048K init, 557K bss, 52724K reserved, 65536K cma-reserved, 0K highmem)

That tells me you're running with the default of 64Mb of CMA so
depending on your DE with kodi I'm not surprised.

> cat /boot/efi/config.txt | grep 256
> #cma_hwm=256
> gpu_mem=256
>
> I tryed with mixing of parameters but have no sucess

It will need to be a kernel command line:
grubby --update-kernel /boot/vmlinuz-$(uname -r) --args="CMA=256M"

There's details in the Fedora common bugs:
https://fedoraproject.org/wiki/Common_F34_bugs#Desktop_images_may_require_CMA_allocation_for_graphical_display


>
> ---- Ativado Seg, 20 set 2021 14:06:10 -0300 Peter Robinson <pbrobinson@gmail.com> escreveu ----
>
> On Mon, Sep 20, 2021 at 4:40 PM Felipe Diefenbach
> <felipe@conexaoinfraestrutura.inf.br> wrote:
> >
> > I have recently migrate from OSMC (debian like SO) to fedora 34 in the rasberry pi 2 (armhf), but when I try to use kodi from rpm fusion a get this error.
>
> You don't mention which image you're using as your base.
>
> You probably need to increase the CMA allocation on the kernel command line.
>
> Running "dmesg | grep -i CMA" will likely give you the information you need.
>
> Also note the rpi media offload stuff isn't yet upstream so won't work
> to do HW accelerated video decode.
>
> Peter
>
> > [ 305.423847] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
> > [ 305.431015] vc4-drm soc:gpu: [drm] V3D: 27556kb BOs (10)
> > [ 305.438839] vc4-drm soc:gpu: [drm] V3D shader: 24kb BOs (6)
> > [ 305.446602] vc4-drm soc:gpu: [drm] dumb: 4116kb BOs (5)
> > [ 305.454337] vc4-drm soc:gpu: [drm] binner: 16384kb BOs (1)
> > [ 305.462075] vc4-drm soc:gpu: [drm] total purged BO: 260kb BOs (2)
> > [ 305.494522] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
> > [ 305.501868] vc4-drm soc:gpu: [drm] V3D: 27556kb BOs (10)
> > [ 305.509713] vc4-drm soc:gpu: [drm] V3D shader: 24kb BOs (6)
> > [ 305.517498] vc4-drm soc:gpu: [drm] dumb: 4116kb BOs (5)
> > [ 305.525284] vc4-drm soc:gpu: [drm] binner: 16384kb BOs (1)
> > [ 305.533149] vc4-drm soc:gpu: [drm] total purged BO: 260kb BOs (2)
> > [ 305.578081] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
> > [ 305.585266] vc4-drm soc:gpu: [drm] V3D: 27568kb BOs (13)
> > [ 305.593099] vc4-drm soc:gpu: [drm] V3D shader: 24kb BOs (6)
> > [ 305.600850] vc4-drm soc:gpu: [drm] dumb: 4116kb BOs (5)
> > [ 305.608583] vc4-drm soc:gpu: [drm] binner: 16384kb BOs (1)
> > [ 305.616587] vc4-drm soc:gpu: [drm] total purged BO: 264kb BOs (3)
> > [ 305.646201] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
> > [ 305.653393] vc4-drm soc:gpu: [drm] V3D: 27564kb BOs (12)
> > [ 305.661389] vc4-drm soc:gpu: [drm] V3D shader: 24kb BOs (6)
> > [ 305.669165] vc4-drm soc:gpu: [drm] dumb: 4116kb BOs (5)
> > [ 305.677026] vc4-drm soc:gpu: [drm] binner: 16384kb BOs (1)
> > [ 305.684835] vc4-drm soc:gpu: [drm] total purged BO: 264kb BOs (3)
> >
> >
> > I tryed getting some information on this issue from Google but stuck in nothing very usefull.
> > So, could someone help me ?
> >
> > Architecture: armv7l
> > Byte Order: Little Endian
> > CPU(s): 4
> > On-line CPU(s) list: 0-3
> > Thread(s) per core: 1
> > Core(s) per socket: 4
> > Socket(s): 1
> > Vendor ID: ARM
> > Model: 5
> > Model name: Cortex-A7
> > Stepping: r0p5
> > CPU max MHz: 900.0000
> > CPU min MHz: 600.0000
> > BogoMIPS: 38.40
> > Flags: half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
> >
> > [root@krisiun ~]# cat /proc/meminfo
> > MemTotal: 751516 kB
> > MemFree: 169628 kB
> > MemAvailable: 624916 kB
> > Buffers: 19580 kB
> > Cached: 430532 kB
> > SwapCached: 32 kB
> > Active: 126604 kB
> > Inactive: 382212 kB
> > Active(anon): 860 kB
> > Inactive(anon): 58644 kB
> > Active(file): 125744 kB
> > Inactive(file): 323568 kB
> > Unevictable: 0 kB
> > Mlocked: 0 kB
> > HighTotal: 0 kB
> > HighFree: 0 kB
> > LowTotal: 751516 kB
> > LowFree: 169628 kB
> > SwapTotal: 750588 kB
> > SwapFree: 749820 kB
> > Dirty: 20 kB
> > Writeback: 0 kB
> > AnonPages: 58672 kB
> > Mapped: 96696 kB
> > Shmem: 800 kB
> > KReclaimable: 20184 kB
> > Slab: 46528 kB
> > SReclaimable: 20184 kB
> > SUnreclaim: 26344 kB
> > KernelStack: 1384 kB
> > PageTables: 3320 kB
> > NFS_Unstable: 0 kB
> > Bounce: 0 kB
> > WritebackTmp: 0 kB
> > CommitLimit: 1126344 kB
> > Committed_AS: 372256 kB
> > VmallocTotal: 245760 kB
> > VmallocUsed: 9908 kB
> > VmallocChunk: 0 kB
> > Percpu: 1040 kB
> > CmaTotal: 65536 kB
> > CmaFree: 57984 kB
> >
> >
> > _______________________________________________
> > arm mailing list -- arm@lists.fedoraproject.org
> > To unsubscribe send an email to arm-leave@lists.fedoraproject.org
> > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives: https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org
> > Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
>
>
>
_______________________________________________
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

No comments:

Post a Comment