Forum

Full Version: Kodi crashes HD Tv channel switch
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Software
XBian version: XBian 1.0 (knockout), kernel: Linux ARM 32-bit version 4.4.6+
XBMC/Kodi version: 16.1-RC2 Git:2016-04-04-49239fb
Overclock settings: none

Hardware
Device type and model (e.g. Raspberry Pi Model A/B 256/512 MB, CuBox-i i4Pro, ...): Raspberry Pi 3
Power supply rating: 5,1 V 2,5 A
SD card size and make/type: Samsung Pro 32GB, Class 10
Network (Ethernet or wireless): Gbit LAN
Connected devices (TV, USB, network storage, ...): Sony Bravia 32", Full HD, HDMI
MPEG license: enabled

Dear xbian forum,

when I switch Hd tv channel, then Kodi crashes and reboots. This happened to me also with the 15.2 Isengard version on the Rpi 2. Still trying to get this setup running, but I think the raspberry is to weak to stream Hd channels without problems. A new Rpi 3 doesn't help to solve this problem.

Dvbc signal comes from an Fritz DVBC receiver over Gbit LAN into Pi and PVR is IPTV simple client.
When I test newest Kodi Jarvis on my Macbook, there are no crashes.

Any idea? Thanks for some advice!

My start log:

Terminal

21:32:58 2264.491211 T:1954373632 NOTICE: special://profile/ is mapped to: special://masterprofile/
21:32:58 2264.491211 T:1954373632 NOTICE: -----------------------------------------------------------------------
21:32:58 2264.491211 T:1954373632 NOTICE: Starting Kodi (16.1-RC2 Git:2016-04-04-49239fb). Platform: Linux ARM (Thumb) 32-bit
21:32:58 2264.491455 T:1954373632 NOTICE: Using Debug Kodi x32 build (version for Raspberry Pi)
21:32:58 2264.491455 T:1954373632 NOTICE: Kodi compiled Apr 4 2016 by GCC 4.9.2 for Linux ARM (Thumb) 32-bit version 4.1.7 (262407)
21:32:58 2264.491699 T:1954373632 NOTICE: Running on XBian 1.0 (knockout), kernel: Linux ARM 32-bit version 4.4.6+
21:32:58 2264.491699 T:1954373632 NOTICE: FFmpeg statically linked, version: 2.8.6-kodi-2.8.6-Jarvis-16.0
21:32:58 2264.491699 T:1954373632 NOTICE: Host CPU: ARMv7 Processor rev 4 (v7l), 4 cores available
21:32:58 2264.491699 T:1954373632 NOTICE: ARM Features: Neon enabled
21:32:58 2264.491943 T:1954373632 NOTICE: special://xbmc/ is mapped to: /usr/local/share/kodi
21:32:58 2264.491943 T:1954373632 NOTICE: special://xbmcbin/ is mapped to: /usr/local/lib/kodi
21:32:58 2264.491943 T:1954373632 NOTICE: special://masterprofile/ is mapped to: /home/xbian/.kodi/userdata
21:32:58 2264.491943 T:1954373632 NOTICE: special://home/ is mapped to: /home/xbian/.kodi
21:32:58 2264.492188 T:1954373632 NOTICE: special://temp/ is mapped to: /home/xbian/.kodi/temp
21:32:58 2264.492188 T:1954373632 NOTICE: The executable running is: /usr/local/lib/kodi/kodi.bin
21:32:58 2264.492188 T:1954373632 NOTICE: Local hostname: xbian
21:32:58 2264.492432 T:1954373632 NOTICE: Log File is located: /home/xbian/.kodi/temp/kodi.log
21:32:58 2264.492432 T:1954373632 NOTICE: -----------------------------------------------------------------------
21:32:58 2264.504883 T:1954373632 INFO: Selected UPower as PowerSyscall
21:32:58 2264.530029 T:1954373632 DEBUG: DeviceKit.Power: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.DeviceKit.Disks was not provided by any .service files
21:32:58 2264.530273 T:1954373632 INFO: Selected Logind/UPower as PowerSyscall
21:32:58 2264.538818 T:1954373632 DEBUG: LogindUPowerSyscall - inhibit lock taken, fd 14
21:32:58 2264.542236 T:1954373632 INFO: Selected UPower as PowerSyscall
21:32:58 2264.545166 T:1954373632 DEBUG: LogindUPowerSyscall - delay lock released
21:32:58 2264.545410 T:1954373632 NOTICE: load settings...
21:32:58 2264.578857 T:1954373632 DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/settings.xml
21:32:58 2264.598389 T:1954373632 DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/rbp.xml
21:32:58 2264.599854 T:1954373632 DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/rbp2.xml
21:32:58 2264.601318 T:1944056752 DEBUG: Thread FDEventMonitor start, auto delete: false
21:32:58 2264.609375 T:1954373632 INFO: CAESinkALSA - Unable to open device "default" for playback (error: No such file or directory)
21:32:58 2264.621094 T:1954373632 NOTICE: Found 1 Lists of Devices
21:32:58 2264.621094 T:1954373632 NOTICE: Enumerated PI devices:
21:32:58 2264.621338 T:1954373632 NOTICE: Device 1
21:32:58 2264.621582 T:1954373632 NOTICE: m_deviceName : HDMI
21:32:58 2264.621582 T:1954373632 NOTICE: m_displayName : HDMI
21:32:58 2264.621582 T:1954373632 NOTICE: m_displayNameExtra:
21:32:58 2264.621582 T:1954373632 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
21:32:58 2264.621826 T:1954373632 NOTICE: m_channels : FL,FR
21:32:58 2264.621826 T:1954373632 NOTICE: m_sampleRates : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
21:32:58 2264.621826 T:1954373632 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,A​E_FMT_S32NEP,AE_FMT_S16NEP,AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3
21:32:58 2264.621826 T:1954373632 NOTICE: Device 2
21:32:58 2264.622070 T:1954373632 NOTICE: m_deviceName : Analogue
21:32:58 2264.622070 T:1954373632 NOTICE: m_displayName : Analogue
21:32:58 2264.622070 T:1954373632 NOTICE: m_displayNameExtra:
21:32:58 2264.622314 T:1954373632 NOTICE: m_deviceType : AE_DEVTYPE_PCM
21:32:58 2264.622314 T:1954373632 NOTICE: m_channels : FL,FR
21:32:58 2264.622314 T:1954373632 NOTICE: m_sampleRates : 48000
21:32:58 2264.622314 T:1954373632 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP​
21:32:58 2264.622314 T:1954373632 NOTICE: Device 3
21:32:58 2264.622559 T:1954373632 NOTICE: m_deviceName : Both
21:32:58 2264.622559 T:1954373632 NOTICE: m_displayName : HDMI and Analogue
21:32:58 2264.622559 T:1954373632 NOTICE: m_displayNameExtra:
21:32:58 2264.622559 T:1954373632 NOTICE: m_deviceType : AE_DEVTYPE_PCM
21:32:58 2264.622803 T:1954373632 NOTICE: m_channels : FL,FR
21:32:58 2264.622803 T:1954373632 NOTICE: m_sampleRates : 48000
21:32:58 2264.622803 T:1954373632 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP​
21:32:58 2264.637939 T:1954373632 NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
21:32:58 2264.638184 T:1954373632 NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
<?xml version="1.0" encoding="UTF-8" ?>
<advancedsettings>
<video>
<defaultplayer>dvdplayer</defaultplayer>
<defaultdvdplayer>dvdplayer</defaultdvdplayer>
</video>
</advancedsettings>
21:32:58 2264.640137 T:1954373632 NOTICE: Loaded settings file from special://profile/advancedsettings.xml
21:32:58 2264.640381 T:1954373632 NOTICE: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
<network>
<buffermode>1</buffermode>
<cachemembuffersize>157286400</cachemembuffersize>
<readbufferfactor>5</readbufferfactor>
</network>
<pvr>
<minvideocachelevel>30</minvideocachelevel>
<minaudiocachelevel>30</minaudiocachelevel>
</pvr>
<samba>
<clienttimeout>10</clienttimeout>
</samba>
<fanartres>720</fanartres>
<imageres>540</imageres>
<libass>
<styleoverrides>
<style name="Shadow" value="0" />
<style name="Blur" value="0" />
<style name="BorderStyle" value="0" />
</styleoverrides>
</libass>
<lookandfeel>
<webserver>false</webserver>
</lookandfeel>
</advancedsettings>
21:32:58 2264.641602 T:1954373632 NOTICE: Default DVD Player: dvdplayer
21:32:58 2264.641602 T:1954373632 NOTICE: Default Video Player: dvdplayer
21:32:58 2264.641602 T:1954373632 NOTICE: Default Audio Player: paplayer

Log, when Kodi crashes (switching channel from ARD HD to ZDF HD):

Terminal

21:32:55 2261.492188 T:1780360112 DEBUG: CDVDPlayer::OMXDoProcessing M:21.367910-0.000000 (A:26.356677 V:24.859611) PEF:000 S:1.00 A:4.99 V:3.49/T:0.20 (A:01 V:01) A:0% V:34% (4.73,6.07)
21:32:55 2261.503174 T:1771971504 INFO: Audio: dts:26388678 pts:26388678 size:1792 (s:1 f:0 d:0 l:0) s:1000 0/0 late:18809,48000
21:32:55 2261.504150 T:1771971504 INFO: Audio: dts:26420678 pts:26420678 size:1792 (s:1 f:0 d:0 l:0) s:1000 0/0 late:18757,48000
21:32:55 2261.504395 T:1788748720 INFO: Video: dts:24899611 pts:24899611 size:7896 (s:1 f:0 d:0 l:0) s:1000 0/0 late:0
21:32:55 2261.504639 T:1771971504 INFO: Audio: dts:26452678 pts:26452678 size:1792 (s:1 f:0 d:0 l:0) s:1000 0/0 late:18733,48000
21:32:55 2261.504639 T:1788748720 INFO: Video: dts:24919611 pts:24939611 size:6460 (s:1 f:0 d:0 l:0) s:1000 0/0 late:0
21:32:55 2261.505127 T:1788748720 INFO: Video: dts:24939611 pts:24959611 size:113047 (s:1 f:0 d:0 l:0) s:1000 0/0 late:0
21:32:55 2261.505371 T:1771971504 INFO: Audio: dts:26484678 pts:26484678 size:1792 (s:1 f:0 d:0 l:0) s:1000 0/0 late:18705,48000
21:32:55 2261.526123 T:1788748720 INFO: Video: dts:24959611 pts:24979611 size:6274 (s:1 f:0 d:0 l:0) s:1000 0/0 late:0
21:32:55 2261.537354 T:1780360112 DEBUG: CDVDPlayer::OMXDoProcessing M:21.412272-0.000000 (A:26.484677 V:24.959611) PEF:000 S:1.00 A:5.07 V:3.55/T:0.20 (A:01 V:01) A:0% V:34% (4.85,6.07)
21:32:55 2261.556641 T:1788748720 INFO: Video: dts:24979611 pts:25119611 size:43785 (s:1 f:0 d:0 l:0) s:1000 0/0 late:0
21:32:55 2261.557129 T:1788748720 INFO: Video: dts:24999611 pts:25059611 size:17858 (s:1 f:0 d:0 l:0) s:1000 0/0 late:0
21:32:55 2261.557617 T:1788748720 INFO: Video: dts:25019611 pts:25019611 size:5229 (s:1 f:0 d:0 l:0) s:1000 0/0 late:0
21:32:55 2261.557861 T:1788748720 INFO: Video: dts:25039611 pts:25039611 size:5341 (s:1 f:0 d:0 l:0) s:1000 0/0 late:0
21:32:55 2261.575684 T:1780360112 DEBUG: CDVDPlayer::OMXDoProcessing M:21.450525-0.000000 (A:26.484677 V:25.019611) PEF:000 S:1.00 A:5.03 V:3.57/T:0.20 (A:01 V:01) A:0% V:34% (4.81,6.07)
21:32:55 2261.605225 T:1780360112 DEBUG: CDVDPlayer::OMXDoProcessing M:21.478913-0.000000 (A:26.484677 V:25.019611) PEF:000 S:1.00 A:5.01 V:3.54/T:0.20 (A:01 V:01) A:0% V:34% (4.78,6.07)
21:32:55 2261.631348 T:1771971504 INFO: Audio: dts:26516678 pts:26516678 size:1792 (s:1 f:0 d:0 l:0) s:1000 0/0 late:18875,48000
21:32:55 2261.631348 T:1780360112 DEBUG: CDVDPlayer::OMXDoProcessing M:21.505020-0.000000 (A:26.484677 V:25.019611) PEF:000 S:1.00 A:4.98 V:3.51/T:0.20 (A:01 V:01) A:0% V:35% (4.76,6.07)
21:32:55 2261.631836 T:1771971504 INFO: Audio: dts:26548678 pts:26548678 size:1792 (s:1 f:0 d:0 l:0) s:1000 0/0 late:18843,48000
21:32:55 2261.632812 T:1771971504 INFO: Audio: dts:26580678 pts:26580678 size:1792 (s:1 f:0 d:0 l:0) s:1000 0/0 late:18793,48000
21:32:55 2261.633545 T:1771971504 INFO: Audio: dts:26612678 pts:26612678 size:1792 (s:1 f:0 d:0 l:0) s:1000 0/0 late:18763,48000
21:32:55 2261.657715 T:1780360112 DEBUG: CDVDPlayer::OMXDoProcessing M:21.531226-0.000000 (A:26.612677 V:25.019611) PEF:000 S:1.00 A:5.08 V:3.49/T:0.20 (A:01 V:01) A:0% V:35% (4.89,6.07)
21:32:55 2261.658447 T:1788748720 INFO: Video: dts:25059611 pts:25079611 size:85481 (s:1 f:0 d:0 l:0) s:1000 0/0 late:0
21:32:55 2261.659180 T:1788748720 INFO: Video: dts:25079611 pts:25099611 size:5186 (s:1 f:0 d:0 l:0) s:1000 0/0 late:0
21:32:55 2261.670166 T:1788748720 INFO: Video: dts:25099611 pts:25239611 size:86695 (s:1 f:0 d:0 l:0) s:1000 0/0 late:0
21:32:55 2261.670898 T:1788748720 INFO: Video: dts:25119611 pts:25199611 size:16349 (s:1 f:0 d:0 l:0) s:1000 0/0 late:0
21:32:55 2261.671387 T:1788748720 INFO: Video: dts:25139611 pts:25139611 size:5913 (s:1 f:0 d:0 l:0) s:1000 0/0 late:0
21:32:55 2261.671631 T:1788748720 INFO: Video: dts:25159611 pts:25159611 size:6515 (s:1 f:0 d:0 l:0) s:1000 0/0 late:0
21:32:55 2261.672119 T:1788748720 INFO: Video: dts:25179611 pts:25179611 size:6192 (s:1 f:0 d:0 l:0) s:1000 0/0 late:0
21:32:55 2261.672363 T:1788748720 INFO: Video: dts:25199611 pts:25219611 size:4217 (s:1 f:0 d:0 l:0) s:1000 0/0 late:0
21:32:55 2261.672852 T:1788748720 INFO: Video: dts:25219611 pts:25359611 size:96425 (s:1 f:0 d:0 l:0) s:1000 0/0 late:0
21:32:55 2261.687744 T:1780360112 DEBUG: CDVDPlayer::OMXDoProcessing M:21.561681-0.000000 (A:26.612677 V:25.219611) PEF:000 S:1.00 A:5.05 V:3.66/T:0.20 (A:01 V:01) A:0% V:33% (4.86,6.07)
21:32:55 2261.723877 T:1788748720 INFO: Video: dts:25239611 pts:25319611 size:15968 (s:1 f:0 d:0 l:0) s:1000 0/0 late:0
21:32:55 2261.724365 T:1788748720 INFO: Video: dts:25259611 pts:25259611 size:89517 (s:1 f:0 d:0 l:0) s:1000 0/0 late:0
21:32:55 2261.737549 T:1780360112 DEBUG: CDVDPlayer::OMXDoProcessing M:21.610141-0.000000 (A:26.612677 V:25.319611) PEF:000 S:1.00 A:5.00 V:3.71/T:0.20 (A:01 V:01) A:0% V:33% (4.81,6.07)
21:32:55 2261.758545 T:1771971504 INFO: Audio: dts:26644678 pts:26644678 size:1792 (s:1 f:0 d:0 l:0) s:1000 0/0 late:18969,48000
21:32:55 2261.758789 T:1780360112 DEBUG: CDVDPlayer::OMXDoProcessing M:21.631127-0.000000 (A:26.612677 V:25.319611) PEF:000 S:1.00 A:4.98 V:3.69/T:0.20 (A:01 V:01) A:0% V:33% (4.79,6.07)
21:32:55 2261.759033 T:1771971504 DEBUG: COMXPlayerAudio - CDVDMsg::GENERAL_FLUSH
21:32:55 2261.764648 T:1788748720 DEBUG: COMXPlayerVideo - CDVDMsg::GENERAL_FLUSH
21:32:55 2261.773682 T:1788748720 DEBUG: COMXPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
21:32:55 2261.773926 T:1771971504 DEBUG: COMXPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
21:32:55 2261.773926 T:1780360112 DEBUG: CDVDPlayer::SetCaching - caching state 3
21:32:55 2261.773926 T:1780360112 DEBUG: OMXClock::OMXSetSpeed(0.000) pause_resume:1
21:32:55 2261.774170 T:1771971504 DEBUG: COMXPlayerAudio - CDVDMsg::PLAYER_SETSPEED 0
21:32:55 2261.774170 T:1771971504 DEBUG: COMXPlayerAudio - CDVDMsg::PLAYER_STARTED 0
21:32:55 2261.774170 T:1788748720 DEBUG: COMXPlayerVideo - CDVDMsg::PLAYER_SETSPEED 0
21:32:55 2261.774414 T:1788748720 DEBUG: COMXPlayerVideo - CDVDMsg::PLAYER_STARTED 0
21:32:55 2261.774414 T:1780360112 DEBUG: OMXClock::OMXSetSpeed(1.000) pause_resume:1
21:32:55 2261.774658 T:1780360112 DEBUG: OMXClock::OMXFlush
21:32:55 2261.775146 T:1780360112 DEBUG: OMXClock::OMXStop
21:32:55 2261.775391 T:1780360112 DEBUG: OMXClock::OMXMediaTime set config OMX_IndexConfigTimeCurrentAudioReference = 0.00
21:32:55 2261.830322 T:1494995888 DEBUG: Thread JobWorker start, auto delete: true
21:32:55 2261.830322 T:1780360112 DEBUG: CDVDInputStreamPVRManager::Close - stream closed
21:32:55 2261.830566 T:1494995888 DEBUG: DoWork - Saving file state for video item pvr://channels/tv/Alle Kanäle/pvr.iptvsimple_2010422236.pvr
21:32:55 2261.864258 T:1780360112 DEBUG: PVRFile - Open - playback has started on filename pvr://channels/tv/Alle Kanäle/pvr.iptvsimple_2010422236.pvr
21:32:55 2261.865234 T:1780360112 DEBUG: CDVDInputStreamPVRManager::Open - stream opened: rtsp://192.168.178.2:554/?freq=658&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=1&pids=0,16,17,18,20,6100,6110,6120,6121,6123,6122,6130,6131,6132,6170
Not sure if this is an HD channel issue.

Usually I don't use direct channel switch because AFAIR sometimes Kodi crashes when doing this. So I'm always stopping channel and then switch to next channel. This always works for me (having this behavior for years with all of my Kod clients, IMO this is a general design issue of Kodi, but I can live with that)
The small Rpi has to less performance?

I forgot to add my video settings: 1280 x 720p
Kodi GUI:720p

It is really a bit painful to hear the audio stuttering and screaming, plus the video glitches and ghostly green faces sometimes. You know: bad WAF!! Wink

I use the channel switch in the list view, too.
But the next channel shows up in about 6-8sec. Sometimes also with video errors.

In my Macbook Quad 2,2GHz with Kodi Jarvis everything is fine, but also 3sec to switch channel.
Runs really smooth!
The symptoms seem similar to playing HEVC content (Although not the reboot).

Try running "top" from ssh whilst watching something, and see what the CPU and Memory usage is.

Or install "nmon" an easier to follow performance monitor.
(13th Apr, 2016 12:57 AM)IriDium Wrote: [ -> ]The symptoms seem similar to playing HEVC content (Although not the reboot).
Similar to what?

Ok, I will check via SSH.
Thanx
Reference URL's