Solved No video playpack [mmal error]
#1
Hi,
I own a raspberrypi 2. I've running gentoo linux wir kodi 16.1 on it. All is working fine.
Now I have updatet to kodi 17.0 and the vieo playback ist not working anymore.

When I install kodi with external ffmpeg-3.2.3 I becom this error on commandline when I will play a h264 video:
Code:
usrvcsm: [vcsm_malloc_cache]: [29926] [mmal_vc_port buffer]: NULL size
or invalid device!
usrvcsm: [vcsm_vc_hdl_from_hdl]: [29926]: invalid device or handle!
usrvcsm: [vcsm_lock]: [29926]: invalid device or invalid handle!
mmal: mmal_vc_shm_alloc: could not allocate 1048576 bytes of shared
memory (handle 0)
mmal: mmal_vc_port_payload_alloc: vc.ril.video_decode:in:0(MVC ): failed
to allocate 1048576 bytes of shared memory
mmal: mmal_pool_initialise_buffer_headers: failed to allocate payload
0/2
usrvcsm: [vcsm_malloc_cache]: [29926] [CGPUMEM]: NULL size or invalid
device!
kodi.bin:
/var/tmp/portage/media-tv/kodi-17.0/work/xbmc-17.0-Krypton/xbmc/linux/RBP.cpp:332:
CGPUMEM::CGPUMEM(unsigned int, bool): Assertion `m_vcsm_handle' failed.
/usr/bin/kodi: Zeile 172: 29926 Abgebrochen            
"$LIBDIR/${bin_name}/${bin_name}.bin" $SAVED_ARGS
Crash report available at /root/kodi_crashlog-20170217_211956.log

When I would play a DVD-ISO i get the following:
Code:
usrvcsm: [vcsm_malloc_cache]: [30317] [CGPUMEM]: NULL size or invalid device!
kodi.bin: /var/tmp/portage/media-tv/kodi-17.0/work/xbmc-17.0-Krypton/xbmc/linux/RBP.cpp:332: CGPUMEM::CGPUMEM(unsigned
int, bool): Assertion `m_vcsm_handle' failed.
/usr/bin/kodi: Zeile 172: 30317 Abgebrochen             "$LIBDIR/${bin_name}/${bin_name}.bin" $SAVED_ARGS
Crash report available at /root/kodi_crashlog-20170217_212219.log

Here is the DEBUG-crashlog (h264): https://bpaste.net/show/4593d7784361
Here is the DEBUG-crashlog (DVD-ISO): https://bpaste.net/show/526b6d1b2a5a


After this I have installed kodi with internal ffmpeg (-DENABLE_INTERNAL_FFMPEG=ON).

Commandline by playing h264:
Code:
mmal: mmal_component_create_core: could not find component 'vc.ril.video_decode'
/usr/bin/kodi: Zeile 172: 18058 Speicherzugriffsfehler  "$LIBDIR/${bin_name}/${bin_name}.bin" $SAVED_ARGS
Crash report available at /root/kodi_crashlog-20170219_081001.log

Commandline by playing DVD-ISO:
Code:
mmal: mmal_component_create_core: could not find component 'vc.ril.video_decode'
/usr/bin/kodi: Zeile 172: 19218 Speicherzugriffsfehler  "$LIBDIR/${bin_name}/${bin_name}.bin" $SAVED_ARGS
Crash report available at /root/kodi_crashlog-20170219_081116.log

Here is the DEBUG-crashlog (h264): https://bpaste.net/show/393f891ec53d
Here is the DEBUG-crashlog (DVD-ISO): https://bpaste.net/show/e8855ea91892


Here some systeminfos:
Installed rraspberrypi-userland version: =media-libs/raspberrypi-userland-0_pre20170210

Code:
System uname: Linux-4.4.31-raspberrypi-v7+-armv7l-ARMv7_Processor_rev_5_-v7l-with-gentoo-2.3
KiB Mem:      688208 total,     83716 free
KiB Swap:    2096124 total,   2096124 free
Timestamp of repository gentoo: Sun, 19 Feb 2017 01:15:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 armv7a-hardfloat-linux-gnueabi [enabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.6.3::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo

I hope you can help me.
dsiggi
Reply
#2
don't use external ffmpeg. 3.2 is not supported yet.
Reply
#3
(2017-02-19, 11:08)wsnipex Wrote: don't use external ffmpeg. 3.2 is not supported yet.

Hi,
I downgraded to ffmpeg-3.1.7 but I have the same problem.
Also I can't play any video with the integraded ffmpeg.

dsiggi
Reply
#4
Sounds like a permissions issue. See http://forum.kodi.tv/showthread.php?tid=306091
Reply
#5
(2017-02-19, 21:59)popcornmix Wrote: Sounds like a permissions issue. See http://forum.kodi.tv/showthread.php?tid=306091

Hello,
the right are right:
Code:
kodi local.d # ls -l /dev/vcio /dev/vcsm /dev/vchiq
crw-rw---- 1 root video 248, 0  1. Jan 1970  /dev/vchiq
crw-rw---- 1 root video 249, 0  1. Jan 1970  /dev/vcio
crw-rw---- 1 root video 246, 0  1. Jan 1970  /dev/vcsm

My normal user is in the video group. But the test I did as user root.

By the way:
When I activate "Allow hardware acceleeration - OMXPlayer" I can watch h264-videos.
Reply
#6
Hi,
I've got it to work. Cool

I have to use external ffmpeg (I use 3.1.7).

I had compiled it every time with "--enable-mmal" but now I have also added "--enalbe-omx-rpi" and now it works.
Reply

Logout Mark Read Team Forum Stats Members Help
No video playpack [mmal error]0