Kodi Community Forum

Full Version: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2016-09-22, 20:18)MikeKL Wrote: [ -> ]Finally captured a Kodi crash log on first boot after installing the latest #0921 build

Kodi Crash log

Hope it provides some clues and helpful
Two Kodi crashes (during pvr refresh?) before a successful start after installing #0922
(Debug on, which was also case for previous #0921 crash log)

Kodi debug crash log 1
Kodi debug crash log 2
(2016-09-21, 23:06)popcornmix Wrote: [ -> ]
(2016-09-21, 23:01)tebor8 Wrote: [ -> ]With these settings, what bitrates work for you without skipping for a 1080p HEVC file?

this file is 10Mb/s and should play fine.
But it's more complicated than just bitrate. With a software decoder, different encoding option may be cheaper or more expensive to decode,
so it's hard to say exactly what will play.

IMHO this works because it is 1920 x 800, not 1920 x 1080. HEVC 1920 x 1080 seems to be impossible without over-clocking.

And with over-clocking you run into heat problems.

What do you think is causing the most heat?
- overclocking / overvoltage sdram
- overclocking gpu / core
- overclocking cpu
- overvoltage
(2016-09-23, 12:49)ElectricPim Wrote: [ -> ]IMHO this works because it is 1920 x 800, not 1920 x 1080. HEVC 1920 x 1080 seems to be impossible without overclocking.

Yes, movies are generally easier than TV shows, as the wider aspect ration means few pixels.
I watch a fair amount of 1920x1080 TV shows successfully in HEVC format, but I am overclocked.
(2016-09-23, 12:57)popcornmix Wrote: [ -> ]
(2016-09-23, 12:49)ElectricPim Wrote: [ -> ]IMHO this works because it is 1920 x 800, not 1920 x 1080. HEVC 1920 x 1080 seems to be impossible without overclocking.
but I am overclocked.

Yes you work very hard indeed. Wink
(2016-09-23, 07:42)MikeKL Wrote: [ -> ]Kodi debug crash log 1
Kodi debug crash log 2

You seem to have lots of errors like:
Code:
06:27:26  20.732979 T:1535734688   ERROR: SQL: [TV29.db] SQL error or missing database

It may be corrupt. Can you try removing it? (e.g. "mv .kodi/userdata/Database/TV29.db .kodi/userdata/Database/TV29.bak").
(2016-09-23, 15:22)popcornmix Wrote: [ -> ]You seem to have lots of errors like:
Code:
06:27:26  20.732979 T:1535734688   ERROR: SQL: [TV29.db] SQL error or missing database

It may be corrupt. Can you try removing it? (e.g. "mv .kodi/userdata/Database/TV29.db .kodi/userdata/Database/TV29.bak").

Could be this: https://github.com/xbmc/xbmc/pull/10507#...t-19146049
(2016-09-23, 15:35)Milhouse Wrote: [ -> ]
(2016-09-23, 15:22)popcornmix Wrote: [ -> ]You seem to have lots of errors like:
Code:
06:27:26  20.732979 T:1535734688   ERROR: SQL: [TV29.db] SQL error or missing database

It may be corrupt. Can you try removing it? (e.g. "mv .kodi/userdata/Database/TV29.db .kodi/userdata/Database/TV29.bak").

Could be this: https://github.com/xbmc/xbmc/pull/10507#...t-19146049
As previously mentioned still currently removing TV29.db at each boot of rpi2 ref this earlier post
(2016-09-23, 16:46)MikeKL Wrote: [ -> ]As previously mentioned still currently removing TV29.db at each boot of rpi2 ref this earlier post

Possible fix coming tonight: 10544 (PR)
Milhouse, popcornmix and others, thanks for your advise/support and never ending effort in forum and behind the scenes to improve kodi and LibreELEC experience.
Thx for Great Works
New LibreELEC.tv Krypton build #0923: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.7.4 #1 Sat Sep 24 03:20:17 BST 2016 armv6l GNU/Linux

# vcgencmd version
Sep 21 2016 13:17:10
Copyright (c) 2012 Broadcom
version 2eaf52cc53435b5ce67253af1487f9a4f9f96e2d (clean) (release)

# lsb_release
LibreELEC (Milhouse) - Version: devel-20160924031915-#0923-g8a3b79d [Build #0923]

# vcdbg log msg 2>&1 | grep DTOK
002387.629: Kernel trailer DTOK property says yes

# Kernel device tree status: Enabled

Based on tip of LibreELEC.tv master (8a3b79d2, changelog) and tip of XBMC master (12b1b128, changelog) with the following modifications: Build Highlights:
  1. PR:760: rework cmake build system and adjust build variables (clean build)
  2. PR:10544: [pvr] attempt to fix crashing and general failure in ChannelExists()
Build Details:
  1. LibreELEC.tv:
    • RBP: include missing libelftoolchain.so (PR:761, 1 commit, 1 file changed)
    • RBP: Bump firmware to version that includes libelftoolchain.so now th… (PR:764, 1 commit, 2 files changed)
  2. XBMC:
    • [osx] - no need for KODI_HOME env in xcode (PR:10531, 2 commits, 2 files changed)
    • [depends] openssl 1.0.2i (PR:10537, 1 commit, 1 file changed)
    • [ios] - added latest ios devices for proper screen scale (PR:10540, 1 commit, 1 file changed)
    • [Estuary][PVR] PVR Info dialog: Add 'Add timer' button. (PR:10536, 2 commits, 5 files changed)
    • OMXPlayer: Fix bug where audio timestamps fail to update (PR:10532, 1 commit, 1 file changed)
    • [osx] - add support for Xcode 8 (PR:10530, 5 commits, 7 files changed)
    • Lang: Refine Allow passthrough vs. enable passthrough (PR:10433, 1 commit, 1 file changed)
    • [cmake] Fix LIRC_DEVICE option (PR:10482, 1 commit, 4 files changed)
    • Mention-Bot: change kodi to Kodi (ff35090f)
    • Fix GetRolesNav passing of all options through from base path (#10485) (fcba1bb7)
  3. pvr.argustv:
    • fix api version and avoid unclean kodi exit (PR:60, 3 commits, 3 files changed)
  4. pvr.nextpvr:
    • Fix: GetBackendName() function returns only the Hostname. (PR:15, 1 commit, 1 file changed)
    • Fix: GetLiveStreamURL() - live stream url does not contain the sub-channel number. (PR:16, 1 commit, 1 file changed)
    • Sync enum representation of char_class_e in struct traits with defini… (PR:42, 1 commit, 1 file changed)
    • Fix Travis CI build on XCode 6.1 and bump version (PR:49, 2 commits, 3 files changed)
    • Fixed, crashing on bad server responses (PR:51, 2 commits, 3 files changed)
  5. pvr.vdr.vnsi:
    • fix addon settings prio and port (PR:90, 2 commits, 3 files changed)
  6. newclock5:
    • Commits no longer in build:
      • MMALRender: Ignore unexpected timestamp difference in framerate calculation (90480840)
      • OMXPlayer: Fix bug where audio timestamps fail to update (be83f214)
  7. kernel 4.7.y:
    • New commits in this build:
      • Correct typos in spi-gpio35-39-overlay.dts (#1651) (22987c57)
      • brcmfmac: Change stop_ap sequence (9184d8df)
  8. Additional commits/pull requests/changes not yet merged upstream:
    • Exclude [env] kodi-999.99-PR10345.patch: closed upstream, no longer required
    • Added: [env] patch: Quick fix for moonlight
    • Added: [env] PR:760: rework cmake build system and adjust build variables
    • Added: [env] PR:763: bcm2835: simplify
    • Added: [pkg] PR:10544: [pvr] attempt to fix crashing and general failure in ChannelExists()
There seem to be a bug in recent builds - no way to disable Samba. It stays always enabled.
(2016-09-24, 05:20)smp1 Wrote: [ -> ]There seem to be a bug in recent builds - no way to disable Samba. It stays always enabled.

Yes, will try and fix that for the next build.
@MikeKL can you confirm if #0923 solves the PVR crashing issue?

@BigNoid, @smp1: Can you test #0923 with your game controllers, and confirm there are no crashes when a controller is connected? Also worth trying "kill -SIGSEGV $(pidof kodi.bin)" and uploading the crashlog to check that it is now sane.
(2016-09-24, 08:18)Milhouse Wrote: [ -> ]@MikeKL can you confirm if #0923 solves the PVR crashing issue?

@Milhouse, No PVR Crash after instal + boot of #0923

Kodi debug log

Presume should continue to remove TV29.db at Pi Reboots and switch on debug before Installation of future nightly builds etc?