RBP2 Kodi 17

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

RBP2 Kodi 17

Postby psylox » Thu Feb 09, 2017 8:30 am

Hi,

From the recent update of Kodi to version 17.x I can no longer play video using dvdplayer with mmal.
Downgrading to Kodi 16 solves the issue.

With Kodi 17, after I launching it in a terminal, then trying to watch any video, the board starts loading a lot (more than 30) and I can read the following message in the terminal:
$this->bbcode_second_pass_code('', 'usrvcsm: [vcsm_malloc_cache]: [1066] [mmal_vc_port buffer]: NULL size or invalid device!
usrvcsm: [vcsm_vc_hdl_from_hdl]: [1066]: invalid device or handle!
usrvcsm: [vcsm_lock]: [1066]: 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]: [1066] [CGPUMEM]: NULL size or invalid device!
usrvcsm: [vcsm_vc_hdl_from_hdl]: [1066]: invalid device or handle!
usrvcsm: [vcsm_lock]: [1066]: invalid device or invalid handle!
')

As it works with Kodi 16, I don't think it is related to the system configuration (or is it?). Could it be in the building process of the package (kodi-rbp and kodi-rbp-git do not work)? or is it Kodi related?

Cheers
psylox
 
Posts: 1
Joined: Thu Feb 09, 2017 8:19 am

Re: RBP2 Kodi 17

Postby tiagoboldt » Sun Feb 12, 2017 11:37 pm

Same here. After upgrading to kodi17, I started to get those errors. Maybe some unclosed bug in kodi 17?
tiagoboldt
 
Posts: 19
Joined: Wed Feb 10, 2016 11:14 am

Re: RBP2 Kodi 17

Postby graysky » Mon Feb 13, 2017 9:10 pm

I don't have a DVD player to test. Not sure where to begin to debug it... have you posted to the kodi RPi forums?

Our package builds with:
$this->bbcode_second_pass_code('', 'install prefix /scratch-nfs/PKGBUILDs/alarm/kodi-rbp-git/src/kodi-build/build
source path /scratch-nfs/PKGBUILDs/alarm/kodi-rbp-git/src/kodi-build/build/ffmpeg/src/ffmpeg
C compiler gcc
C library glibc
ARCH arm (armv7-a)
version string suffix "kodi-3.1.6-Krypton"
big-endian no
runtime cpu detection yes
ARMv5TE enabled yes
ARMv6 enabled yes
ARMv6T2 enabled yes
VFP enabled yes
NEON enabled yes
THUMB enabled no
debug symbols yes
strip symbols yes
optimize for size no
optimizations yes
static yes
shared no
postprocessing support yes
new filter support yes
network support yes
threading support pthreads
safe bitstream reader yes
SDL support no
opencl enabled no
JNI support no
texi2html enabled no
perl enabled yes
pod2man enabled yes
makeinfo enabled yes
makeinfo supports HTML yes

Enabled programs:

External libraries:
bzlib iconv libxcb_shape libxcb_xfixes xlib
gnutls libxcb libxcb_shm lzma zlib

External libraries providing hardware acceleration:
vaapi

Libraries:
avcodec avfilter avutil swresample swscale
avdevice avformat postproc

Enabled decoders:
aac avrn fic mp3adufloat pictor
aac_fixed avrp flac mp3float pjs
aac_latm avs flashsv mp3on4 png
aasc avui flashsv2 mp3on4float ppm
ac3 ayuv flic mpc7 prores
ac3_fixed bethsoftvid flv mpc8 prores_lgpl
adpcm_4xm bfi fourxm mpeg1video ptx
adpcm_adx bink fraps mpeg2video qcelp
adpcm_afc binkaudio_dct frwu mpeg4 qdm2
adpcm_aica binkaudio_rdft g2m mpegvideo qdraw
adpcm_ct bintext g723_1 mpl2 qpeg
adpcm_dtk bmp g729 msa1 qtrle
adpcm_ea bmv_audio gif msmpeg4v1 r10k
adpcm_ea_maxis_xa bmv_video gsm msmpeg4v2 r210
adpcm_ea_r1 brender_pix gsm_ms msmpeg4v3 ra_144
adpcm_ea_r2 c93 h261 msrle ra_288
adpcm_ea_r3 cavs h263 mss1 ralf
adpcm_ea_xas ccaption h263i mss2 rawvideo
adpcm_g722 cdgraphics h263p msvideo1 realtext
adpcm_g726 cdxl h264 mszh rl2
adpcm_g726le cfhd hap mts2 roq
adpcm_ima_amv cinepak hevc mvc1 roq_dpcm
adpcm_ima_apc cljr hnm4_video mvc2 rpza
adpcm_ima_dat4 cllc hq_hqa mxpeg rscc
adpcm_ima_dk3 comfortnoise hqx nellymoser rv10
adpcm_ima_dk4 cook huffyuv nuv rv20
adpcm_ima_ea_eacs cpia iac on2avc rv30
adpcm_ima_ea_sead cscd idcin opus rv40
adpcm_ima_iss cyuv idf paf_audio s302m
adpcm_ima_oki dca iff_ilbm paf_video sami
adpcm_ima_qt dds imc pam sanm
adpcm_ima_rad dfa indeo2 pbm screenpresso
adpcm_ima_smjpeg dirac indeo3 pcm_alaw sdx2_dpcm
adpcm_ima_wav dnxhd indeo4 pcm_bluray sgi
adpcm_ima_ws dpx indeo5 pcm_dvd sgirle
adpcm_ms dsd_lsbf interplay_acm pcm_f32be sheervideo
adpcm_mtaf dsd_lsbf_planar interplay_dpcm pcm_f32le shorten
adpcm_psx dsd_msbf interplay_video pcm_f64be sipr
adpcm_sbpro_2 dsd_msbf_planar jacosub pcm_f64le smackaud
adpcm_sbpro_3 dsicinaudio jpeg2000 pcm_lxf smacker
adpcm_sbpro_4 dsicinvideo jpegls pcm_mulaw smc
adpcm_swf dss_sp jv pcm_s16be smvjpeg
adpcm_thp dst kgv1 pcm_s16be_planar snow
adpcm_thp_le dvaudio kmvc pcm_s16le sol_dpcm
adpcm_vima dvbsub lagarith pcm_s16le_planar sonic
adpcm_xa dvdsub loco pcm_s24be sp5x
adpcm_yamaha dvvideo m101 pcm_s24daud srt
aic dxa mace3 pcm_s24le ssa
alac dxtory mace6 pcm_s24le_planar stl
alias_pix dxv magicyuv pcm_s32be subrip
als eac3 mdec pcm_s32le subviewer
amrnb eacmv metasound pcm_s32le_planar subviewer1
amrwb eamad microdvd pcm_s8 sunrast
amv eatgq mimic pcm_s8_planar svq1
anm eatgv mjpeg pcm_u16be svq3
ansi eatqi mjpegb pcm_u16le tak
ape eightbps mlp pcm_u24be targa
apng eightsvx_exp mmvideo pcm_u24le targa_y216
***** eightsvx_fib motionpixels pcm_u32be tdsc
asv1 escape124 movtext pcm_u32le text
asv2 escape130 mp1 pcm_u8 theora
atrac1 evrc mp1float pcm_zork thp
atrac3 exr mp2 pcx tiertexseqvideo
atrac3p ffv1 mp2float pgm tiff
aura ffvhuff mp3 pgmyuv tmv
aura2 ffwavesynth mp3adu pgssub truehd
truemotion1 v408 vp6a wmavoice xl
truemotion2 v410 vp6f wmv1 xma1
truemotion2rt vb vp7 wmv2 xma2
truespeech vble vp8 wmv3 xsub
tscc vc1 vp9 wmv3image xwd
tscc2 vc1image vplayer wnv1 y41p
tta vcr1 vqa ws_snd1 ylc
twinvq vmdaudio wavpack xan_dpcm yop
txd vmdvideo webp xan_wc3 yuv4
ulti vmnc webvtt xan_wc4 zero12v
utvideo vorbis wmalossless xbin zerocodec
v210 vp3 wmapro xbm zlib
v210x vp5 wmav1 xface zmbv
v308 vp6 wmav2

Enabled encoders:
a64multi dpx mpeg4 pcm_u24le sunrast
a64multi5 dvbsub msmpeg4v2 pcm_u32be svq1
aac dvdsub msmpeg4v3 pcm_u32le targa
ac3 dvvideo msvideo1 pcm_u8 text
ac3_fixed eac3 nellymoser pcx tiff
adpcm_adx ffv1 pam pgm tta
adpcm_g722 ffvhuff pbm pgmyuv utvideo
adpcm_g726 flac pcm_alaw png v210
adpcm_ima_qt flashsv pcm_f32be ppm v308
adpcm_ima_wav flashsv2 pcm_f32le prores v408
adpcm_ms flv pcm_f64be prores_aw v410
adpcm_swf g723_1 pcm_f64le prores_ks vc2
adpcm_yamaha gif pcm_mulaw qtrle vorbis
alac h261 pcm_s16be r10k wavpack
alias_pix h263 pcm_s16be_planar r210 webvtt
amv h263p pcm_s16le ra_144 wmav1
apng h264_vaapi pcm_s16le_planar rawvideo wmav2
***** hevc_vaapi pcm_s24be roq wmv1
asv1 huffyuv pcm_s24daud roq_dpcm wmv2
asv2 jpeg2000 pcm_s24le rv10 wrapped_avframe
avrp jpegls pcm_s24le_planar rv20 xbm
avui ljpeg pcm_s32be s302m xface
ayuv mjpeg pcm_s32le sgi xsub
bmp mjpeg_vaapi pcm_s32le_planar snow xwd
cinepak movtext pcm_s8 sonic y41p
cljr mp2 pcm_s8_planar sonic_ls yuv4
comfortnoise mp2fixed pcm_u16be srt zlib
dca mpeg1video pcm_u16le ssa zmbv
dnxhd mpeg2video pcm_u24be subrip

Enabled hwaccels:
h263_vaapi hevc_vaapi mpeg4_vaapi vp9_vaapi wmv3_vaapi
h264_vaapi mpeg2_vaapi vc1_vaapi

Enabled parsers:
aac dirac g729 mpeg4video rv40
aac_latm dnxhd gsm mpegaudio tak
ac3 dpx h261 mpegvideo vc1
adx dvaudio h263 opus vorbis
bmp dvbsub h264 png vp3
cavsvideo dvd_nav hevc pnm vp8
cook dvdsub mjpeg rv30 vp9
dca flac mlp

Enabled demuxers:
aa dtshd image_png_pipe nsv smjpeg
aac dv image_ppm_pipe nut smush
ac3 dvbsub image_qdraw_pipe nuv sol
acm dvbtxt image_sgi_pipe ogg sox
act dxa image_sunrast_pipe oma spdif
adf ea image_tiff_pipe paf srt
adp ea_cdata image_webp_pipe pcm_alaw stl
ads eac3 ingenient pcm_f32be str
adx epaf ipmovie pcm_f32le subviewer
aea ffm ircam pcm_f64be subviewer1
afc ffmetadata iss pcm_f64le sup
aiff filmstrip iv8 pcm_mulaw svag
aix flac ivf pcm_s16be swf
amr flic ivr pcm_s16le tak
anm flv jacosub pcm_s24be tedcaptions
apc fourxm jv pcm_s24le thp
ape frm live_flv pcm_s32be threedostr
apng fsb lmlm4 pcm_s32le tiertexseq
aqtitle g722 loas pcm_s8 tmv
asf g723_1 lrc pcm_u16be truehd
asf_o g729 lvf pcm_u16le tta
***** genh lxf pcm_u24be tty
ast gif m4v pcm_u24le txd
au gsm matroska pcm_u32be v210
avi gxf mgsts pcm_u32le v210x
avr h261 microdvd pcm_u8 vag
avs h263 mjpeg pjs vc1
bethsoftvid h264 mlp pmp vc1t
bfi hevc mlv pva vivo
bfstm hls mm pvf vmd
bink hnm mmf qcp vobsub
bintext ico mov r3d voc
bit idcin mp3 rawvideo vpk
bmv idf mpc realtext vplayer
boa iff mpc8 redspark vqf
brstm ilbc mpegps rl2 w64
c93 image2 mpegts rm wav
caf image2_alias_pix mpegtsraw roq wc3
cavsvideo image2_brender_pix mpegvideo rpl webm_dash_manifest
cdg image2pipe mpjpeg rsd webvtt
cdxl image_bmp_pipe mpl2 rso wsaud
cine image_dds_pipe mpsub rtp wsd
concat image_dpx_pipe msf rtsp wsvqa
data image_exr_pipe msnwc_tcp sami wtv
daud image_j2k_pipe mtaf sap wv
dcstr image_jpeg_pipe mtv sbg wve
dfa image_jpegls_pipe musx sdp xa
dirac image_pam_pipe mv sdr2 xbin
dnxhd image_pbm_pipe mvi segafilm xmv
dsf image_pcx_pipe mxf shorten xvag
dsicin image_pgm_pipe mxg siff xwma
dss image_pgmyuv_pipe nc sln yop
dts image_pictor_pipe nistsphere smacker yuv4mpegpipe

Enabled muxers:
a64 flac matroska opus sap
ac3 flv matroska_audio pcm_alaw segment
adts framecrc md5 pcm_f32be singlejpeg
adx framehash microdvd pcm_f32le smjpeg
aiff framemd5 mjpeg pcm_f64be smoothstreaming
amr g722 mkvtimestamp_v2 pcm_f64le sox
apng g723_1 mlp pcm_mulaw spdif
asf gif mmf pcm_s16be spx
asf_stream gsm mov pcm_s16le srt
***** gxf mp2 pcm_s24be stream_segment
ast h261 mp3 pcm_s24le swf
au h263 mp4 pcm_s32be tee
avi h264 mpeg1system pcm_s32le tg2
avm2 hash mpeg1vcd pcm_s8 tgp
bit hds mpeg1video pcm_u16be truehd
caf hevc mpeg2dvd pcm_u16le uncodedframecrc
cavsvideo hls mpeg2svcd pcm_u24be vc1
crc ico mpeg2video pcm_u24le vc1t
dash ilbc mpeg2vob pcm_u32be voc
data image2 mpegts pcm_u32le w64
daud image2pipe mpjpeg pcm_u8 wav
dirac ipod mxf psp webm
dnxhd ircam mxf_d10 rawvideo webm_chunk
dts ismv mxf_opatom rm webm_dash_manifest
dv ivf null roq webp
eac3 jacosub nut rso webvtt
f4v latm oga rtp wtv
ffm lrc ogg rtp_mpegts wv
ffmetadata m4v oma rtsp yuv4mpegpipe
filmstrip

Enabled protocols:
async file https rtmp subfile
cache ftp icecast rtmps tcp
concat gopher md5 rtmpt tls_gnutls
crypto hls mmsh rtmpts udp
data http mmst rtp udplite
ffrtmphttp httpproxy pipe srtp unix

Enabled filters:
abench bandreject equalizer metadata showpalette
acompressor bass erosion movie showspectrum
acrossfade bbox extractplanes mpdecimate showspectrumpic
adelay bench extrastereo mptestsrc showvolume
adrawgraph biquad fade negate showwaves
aecho blackdetect fftfilt nnedi showwavespic
aemphasis blackframe field noformat shuffleframes
aeval blend fieldhint noise shuffleplanes
aevalsrc boxblur fieldmatch null sidechaincompress
afade bwdif fieldorder nullsink sidechaingate
afftfilt cellauto find_rect nullsrc signalstats
aformat channelmap firequalizer overlay silencedetect
agate channelsplit flanger owdenoise silenceremove
ahistogram chorus format pad sine
ainterleave chromakey fps palettegen smartblur
alimiter ciescope framepack paletteuse smptebars
allpass codecview framerate pan smptehdbars
allrgb color framestep perms spectrumsynth
allyuv colorbalance fspp perspective split
aloop colorchannelmixer geq phase spp
alphaextract colorkey gradfun pixdesctest ssim
alphamerge colorlevels haldclut pp stereo3d
amerge colormatrix haldclutsrc pp7 stereotools
ametadata colorspace hdcd psnr stereowiden
amix compand hflip pullup streamselect
amovie compensationdelay highpass qp super2xsai
anequalizer concat histeq random swaprect
anoisesrc convolution histogram readvitc swapuv
anull copy hqdn3d realtime tblend
anullsink cover_rect hqx remap telecine
anullsrc crop hstack removegrain testsrc
apad cropdetect hue removelogo testsrc2
aperms curves hwdownload repeatfields thumbnail
aphasemeter datascope hwupload replaygain tile
aphaser dcshift idet reverse tinterlace
apulsator dctdnoiz il rgbtestsrc transpose
arealtime deband inflate rotate treble
aresample decimate interlace sab tremolo
areverse deflate interleave scale trim
aselect dejudder join scale2ref unsharp
asendcmd delogo kerndeint scale_vaapi uspp
asetnsamples deshake lenscorrection select vectorscope
asetpts detelecine life selectivecolor vflip
asetrate dilation loop sendcmd vibrato
asettb displace lowpass separatefields vignette
ashowinfo drawbox lut setdar volume
asplit drawgraph lut3d setfield volumedetect
astats drawgrid lutrgb setpts vstack
astreamselect dynaudnorm lutyuv setsar w3fdif
atadenoise earwax mandelbrot settb waveform
atempo ebur128 maskedmerge showcqt xbr
atrim edgedetect mcdeint showfreqs yadif
avectorscope elbg mergeplanes showinfo zoompan
bandpass eq

Enabled bsfs:
aac_adtstoasc h264_mp4toannexb mjpeg2jpeg mp3_header_decompress remove_extradata
chomp hevc_mp4toannexb mjpega_dump_header mpeg4_unpack_bframes text2movsub
dca_core imx_dump_header mov2textsub noise vp9_superframe
dump_extradata

Enabled indevs:

Enabled outdevs:

License: GPL version 2 or later
Creating config.mak, config.h, and doc/config.texi...
')
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: RBP2 Kodi 17

Postby tiagoboldt » Tue Feb 14, 2017 8:11 pm

I do not have a DVD player either. The issue is happening without one. Internet is not being helpful. Is there any way to get this info to the package maintainer?
tiagoboldt
 
Posts: 19
Joined: Wed Feb 10, 2016 11:14 am

Re: RBP2 Kodi 17

Postby tiagoboldt » Tue Feb 14, 2017 8:26 pm

Solved it. Removed the following two options from my /boot/config.txt, rebooted and it worked.
dtparam=audio=on
hdmi_drive=2
tiagoboldt
 
Posts: 19
Joined: Wed Feb 10, 2016 11:14 am

Re: RBP2 Kodi 17

Postby graysky » Tue Feb 14, 2017 8:36 pm

OK, so nothing is wrong with the package... that was my concern.
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: RBP2 Kodi 17

Postby tiagoboldt » Wed Feb 15, 2017 1:06 am

Well, given the default rpi config, no. But I do not think those configs are enough reason to make kodi crash. Moreover since that did not happen in kodi 16, which I've used with those configs in place. While removing them fixes the issue, I guess it would be important if we could understand why they make kodi 17 crash and fix it in the package (or probably upstream).
tiagoboldt
 
Posts: 19
Joined: Wed Feb 10, 2016 11:14 am

Re: RBP2 Kodi 17

Postby goingarm » Sat Mar 11, 2017 12:44 am

Hey guys, I get the same error messages with clean Kodi 17 when trying to play videos. Kodi 16 downgrade and no problems.
The fix that is mentioned here did not help!
I commented out everything in my /boot/config.txt except for gpumem=128, but it did not help!

What could I try next?
goingarm
 
Posts: 11
Joined: Wed Feb 03, 2016 3:56 am

Re: RBP2 Kodi 17

Postby graysky » Sat Mar 11, 2017 9:51 am

graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 5 guests