Re: Use kodi 19 from rpm fusion on fedora 34 with raspberry pi 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 23, 2021 at 1:17 PM Felipe Diefenbach
<felipe@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> I tried to use the kernel parameter on boot, but isn't work.

You don't give output of "dmesg | grep -i cma" for the new kernel boot.

> The problem seems to be the same as previous problem.
>
> Maybe i have to try the desktop image instead the minimal image ? There would have some big difference between minimal and desktop image to justify use one or another, instead to use minimal X on minimal image ?
>
> Or maybe would this be a problem with kodi and i need report this in another forum.
>
> Or maybe is another mistake i made.
>
> Please, if I would need to send you more details about setup or system, ask me and i will forward this, if i need to get help in other location, please redirect me to the proper location
>
> thank you anyway.
>
>
> ---- Ativado Seg, 20 set 2021 16:38:31 -0300 Felipe Diefenbach <felipe@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> escreveu ----
>
> I used this:
>
> Fedora-Minimal-34-1.2.armhfp.raw.xz
> https://mirror1.cl.netactuate.com/fedora/releases/34/Spins/armhfp/images/Fedora-Min
>
> before your instructions, i see this in dmesg:
>
> dmesg | grep -i CMA
>
> [    0.000000] Reserved memory: created CMA memory pool at 0x29800000, size 64 MiB
> [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
> [    0.000000] Kernel command line: BOOT_IMAGE=(hd0,msdos2)/vmlinuz-5.13.16-200.fc34.armv7hl root=UUID=9ce87fe4-b0f9-4cb1-9ee9-0e3270f8cc42 ro CMA=256M
> [    0.000000] Memory: 668172K/786432K available (10489K kernel code, 2423K rwdata, 5576K rodata, 2048K init, 557K bss, 52724K reserved, 65536K cma-reserved, 0K highmem)
> [    6.757255]     CMA=256M
> [  126.230817] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
> [  126.277649] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
> [  126.339697] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
> [  126.406259] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
> [  126.562712] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
> [  126.615279] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
> [  126.677529] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
> [  129.748644] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
> [  129.795836] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
> [  129.848677] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
> [  129.904766] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
> [  129.951932] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
>
> And:
>
> [  129.951932] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
> [  129.959162] vc4-drm soc:gpu: [drm]                            V3D:  35728kb BOs (14)
> [  129.967073] vc4-drm soc:gpu: [drm]                     V3D shader:     36kb BOs (9)
> [  129.974906] vc4-drm soc:gpu: [drm]                           dumb:   4116kb BOs (5)
> [  129.982702] vc4-drm soc:gpu: [drm]                         binner:  16384kb BOs (1)
> [  129.990523] vc4-drm soc:gpu: [drm]                total purged BO:    288kb BOs (9)
> [  224.255219] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:74:crtc-3] flip_done timed out
> [  224.255242] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
> [  224.273316] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:74:crtc-3] commit wait timed out
> [  234.495100] [drm:drm_crtc_commit_wait [drm]] *ERROR* flip_done timed out
> [  234.503091] vc4-drm soc:gpu: [drm] *ERROR* Timed out waiting for commit
>
> I will go read the common bugs, but i remember breffly to read this page before.
>
> this is my kodi unit for systemd.
>
>  cat /usr/lib/systemd/system/kodi.service
> [Unit]
> Description = kodi-standalone using xinit
> After = remote-fs.target systemd-user-sessions.service
>
> [Service]
> User = root
> Group = root
> PAMName = login
> Type = simple
> ExecStart = /usr/bin/xinit /usr/bin/dbus-launch /usr/bin/kodi-standalone -- :0 -nolisten tcp
> Restart = on-abort
>
> [Install]
> WantedBy = multi-user.target
>
> I follow this guide to install kodi: https://kodi.wiki/view/Archive:Install_Kodi_on_Fedora_26_using_RPMFusion_packages
>
>
> ---- Ativado Seg, 20 set 2021 15:56:36 -0300 Peter Robinson <pbrobinson@xxxxxxxxx> escreveu ----
>
> > 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@xxxxxxxxx> escreveu ----
> >
> > On Mon, Sep 20, 2021 at 4:40 PM Felipe Diefenbach
> > <felipe@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
> > > To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
> > > 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@xxxxxxxxxxxxxxxxxxxxxxx
> > > Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
> >
> >
> >
>
>
>
>
>
> _______________________________________________
> arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux