Kodi Community Forum
v19 LibreELEC Testbuilds for x86_64 (Kodi 19.0) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: v19 LibreELEC Testbuilds for x86_64 (Kodi 19.0) (/showthread.php?tid=343069)



RE: LibreELEC Testbuilds for x86_64 (Kodi 19.0) - auser1989 - 2019-05-23

(2019-05-22, 22:25)asavah Wrote:
(2019-05-22, 21:31)Milhouse Wrote:
(2019-05-22, 05:03)Milhouse Wrote: I reloaded latest build - #0520, retried again with a small file - same problem.   ( problem file - http://ix.io/1JD3 )  ( crash log - http://ix.io/1JCX  ).

I can confirm that your test file does NOT crash Kodi with a Skylake NUC (HEVC VAAPI enabled, latest #0521 test build), so this issue may be AMD 2400G specific. The file when played on my NUC appears the same as with VLC on Windows - just a few frames of video are visible, along with some audio, but no crash.    
I can confirm that sample crashes my 2400G box, it's not LE and I'm using mesa 19.1.0-rc3 , looks like amdgpu/mesa bug
bash:

May 22 23:21:18 msib450ig kodi.bin[656]: amdgpu: Failed to allocate a buffer:
May 22 23:21:18 msib450ig kodi.bin[656]: amdgpu:    size      : 3221278720 bytes
May 22 23:21:18 msib450ig kodi.bin[656]: amdgpu:    alignment : 4096 bytes
May 22 23:21:18 msib450ig kodi.bin[656]: amdgpu:    domains   : 4
May 22 23:21:18 msib450ig kernel: VideoPlayer[874]: segfault at 80 ip 00007f140037c4fd sp 00007f135e7fac50 error 4 in radeonsi_dri.so[7f14001ee000+767000]
 

Thanks for checking with the sample.

I'm going to revert to earlier builds and see if this problem still occurs.
Proposed builds to check, oldest first:

#0501, 01-May-2019: Generic -- Release post (config/functions: add C++ compiler and linker flags to meson.conf; fixed: Resume bookmark would clear on player start failure)

#0321, 21-Mar-2019: Generic -- Release post (Fixed RTL8723BS detecting bluetooth devices; xf86-video-amd/intel: updates 19.0.1/6afed33; [Music]Show artist disambiguation text when picking which one to scrape; fix waiting for window close animation blocking JSON requests after SetFullScreen)

#0312, 12-Mar-2019: Generic -- Release post (New 5.0.1 kernel, hopefully improved AMD GPU support; latest AMD GPU firmware 18.50; samba: update to samba-4.9.5; fix live video seek issues with curl)

#0208, 09-Feb-2019: Generic -- Release post (Updated amdgpu, vega20 and Intel Bluetooth firmwares; add date to the log records)

#1214, 15-Dec-2018: Generic -- Release post (Update AMD CPU microcode, Vega 10/Vega 12 firmware to 18.50 release; tvheadend42: fix missing libgnutls.so.30)

If you'd like any more, happy to try them.  I'll report back in a while :-)


RE: LibreELEC Testbuilds for x86_64 (Kodi 19.0) - auser1989 - 2019-05-23

(2019-05-23, 07:36)auser1989 Wrote: Proposed builds to check, oldest first:

#0501, 01-May-2019: Generic -- Release post (config/functions: add C++ compiler and linker flags to meson.conf; fixed: Resume bookmark would clear on player start failure)
#0321, 21-Mar-2019: Generic -- Release post (Fixed RTL8723BS detecting bluetooth devices; xf86-video-amd/intel: updates 19.0.1/6afed33; [Music]Show artist disambiguation text when picking which one to scrape; fix waiting for window close animation blocking JSON requests after SetFullScreen)
#0312, 12-Mar-2019: Generic -- Release post (New 5.0.1 kernel, hopefully improved AMD GPU support; latest AMD GPU firmware 18.50; samba: update to samba-4.9.5; fix live video seek issues with curl)
#0208, 09-Feb-2019: Generic -- Release post (Updated amdgpu, vega20 and Intel Bluetooth firmwares; add date to the log records)
#1214, 15-Dec-2018: Generic -- Release post (Update AMD CPU microcode, Vega 10/Vega 12 firmware to 18.50 release; tvheadend42: fix missing libgnutls.so.30)
  

Ok, I've checked each of the builds listed above, with HEVC-VAAPI enabled in each case, using the H.265 HVEC Test 1.mkv (242M) sample file; the problem file - http://ix.io/1JD3; and several other HEVC files created before and after 2nd May.

Consistant results: 
each build played the sample file H.265 HVEC Test 1.mkv (242M) correctly.
each build crashed while trying to play the problem file - http://ix.io/1JD3
each build played the HEVC files created before 2nd May correctly
each build crashed while trying to play HEVC files created after 2nd/3rd May - these are sourced from the same source as the problem file, so it could be something specific in the way that they are generated.

Let me know if you need more info.


RE: LibreELEC Testbuilds for x86_64 (Kodi 19.0) - user2019 - 2019-05-23

Hello,
Unfortunately Skygo no longer works from Build # 0520 until # 0519 runs without problems


RE: LibreELEC Testbuilds for x86_64 (Kodi 19.0) - Milhouse - 2019-05-24

New LibreELEC.tv Matrix build #0523: Generic
(Supercedes previous build)

SHA256 Checksum: ae3a3710e5ab63350799f4e7ac1d20331e78330d154dd9f97f64f6223e808099 (Generic)

text:
# uname -a
Linux NUC 5.1.4 #1 SMP Thu May 23 22:14:13 BST 2019 x86_64 GNU/Linux

# lsb_release
LibreELEC (Milhouse): devel-20190523210235-#0523-g5d5ed9b [Build #0523]

# Kodi version
Kodi (19.0-ALPHA1 Git:3bb5115). Platform: Linux x86 64-bit

Based on tip of LibreELEC.tv master (5d5ed9b, changelog) and tip of XBMC master (3bb5115, changelog) with the following modifications: Build Highlights:
  1. NOTICE: Nvidia users will no longer see the LibreELEC splash image when booting as support for uvesafb.ko is dropped
  2. cleanup initramfs build, drop support for kernel modules in initramfs
  3. buildsystem: add "speed" flag for package building
  4. glibc: raise minimum kernel supported to 4.4.0
  5. curl: update to curl-7.65.0
Build Details:
  1. XBMC:
    • Linux: Propagate sigterm so kodi.sh is easier to use from init systems (PR:16163, 1 commit, 1 file changed)
    • optimized GetAvailableUpdates in AddonManager (PR:16166, 1 commit, 1 file changed)
    • Keymap master (PR:16138, 2 commits, 2 files changed)
    • [cmake] use CMAKE_CXX_STANDARD to set WindowsStore specific C++ standard (PR:16187, 1 commit, 2 files changed)
    • [linux] remove unneeded defines (PR:16174, 2 commits, 2 files changed)
    • [PlaylistPlayer] Resolve plugin paths to fill the item infotag (PR:16158, 1 commit, 1 file changed)
    • Simplify boolean expressions (PR:16085, 1 commit, 8 files changed)
    • Simplify boolean expressions 2 (PR:16100, 1 commit, 6 files changed)
    • [video] Use special sort order when selecting first unwatched (PR:15937, 1 commit, 1 file changed)
    • [cleanup] Remove strings.xml support (PR:16119, 1 commit, 20 files changed)
    • DialogVideoInfo: do not reset the current listitem before play (PR:15764, 1 commit, 1 file changed)
    • fix: SetSortMethod would fail on certain SortMethods (PR:14531, 1 commit, 2 files changed)
    • [cmake][addons] add THIRD_PARTY_PATH definition (PR:16009, 1 commit, 2 files changed)
    • [cmake] remove _LINUX define (PR:16110, 1 commit, 15 files changed)
  2. inputstream.adaptive:
    • [ISM] reorganize ProtectionParser (95b2ca7)
    • [DASH] Use PlayReady WRMHEADER to retrieve DefaultKID (b2a3477)
  3. Additional commits/pull requests/changes not yet merged upstream:
    • Updated: [env] PR:3507 (perma): linux (RPi/Generic/Allwinner): update to linux-5.1.3/5.1.4
    • Added: [env] PR:3523 (perma): cleanup initramfs build, drop support for kernel modules in initramfs
    • Added: [env] PR:3524 (perma): buildsystem: add "speed" flag for package building
    • Added: [env] PR:3527 (perma): glibc: raise minimum kernel supported to 4.4.0
    • Added: [env] PR:3531 (perma): buildsystem: cleanup (addons) and fix (linux)
    • Added: [env] PR:3532 (perma): curl: update to curl-7.65.0



RE: LibreELEC Testbuilds for x86_64 (Kodi 19.0) - Milhouse - 2019-05-24

(2019-05-23, 01:39)rykios Wrote: Quick question: TBS drivers are back in those newer builds, or still WIP?

Sorry still WIP - updates tend to lag new kernels, unfortunately. I'll chase it up.


RE: LibreELEC Testbuilds for x86_64 (Kodi 19.0) - Milhouse - 2019-05-24

(2019-05-23, 19:03)auser1989 Wrote: each build played the HEVC files created before 2nd May correctly
each build crashed while trying to play HEVC files created after 2nd/3rd May - these are sourced from the same source as the problem file, so it could be something specific in the way that they are generated.

Are you in contact with the source - are you able to ask them what changed from 2nd May onwards?

Are you able to upload a complete 2nd May (or later) file that crashes Kodi - the 50KB sample does this already but that's a butchered file and there may be more information in the complete source file.

I'm not sure at the moment who you should contact in order to progress this as there could be several components involved. @fritsch any suggestions?


RE: LibreELEC Testbuilds for x86_64 (Kodi 19.0) - Milhouse - 2019-05-24

(2019-05-23, 21:00)user2019 Wrote: Hello,
Unfortunately Skygo no longer works from Build # 0520 until # 0519 runs without problems

Probably inputstream.adaptive/widevine related - you could post a debug log (wiki) from #0520.

Or contact the SkyGo addon maintainer for support as the third-party addon may require updates.


RE: LibreELEC Testbuilds for x86_64 (Kodi 19.0) - Milhouse - 2019-05-24

New LibreELEC.tv Matrix build #0524: Generic
(Supercedes previous build)

SHA256 Checksum: ddd4bf2205536016b26e68dcb4e281a648273e3da441ecea17b9858e2f9f4321 (Generic)

text:
# uname -a
Linux NUC 5.1.4 #1 SMP Fri May 24 21:04:18 BST 2019 x86_64 GNU/Linux

# lsb_release
LibreELEC (Milhouse): devel-20190524210327-#0524-gda8ec75 [Build #0524]

# Kodi version
Kodi (19.0-ALPHA1 Git:9a3a025). Platform: Linux x86 64-bit

Based on tip of LibreELEC.tv master (da8ec75, changelog) and tip of XBMC master (9a3a025, changelog) with the following modifications: Build Highlights:
  1. changed: Improve handling of internet filesystems (http/https) on LANs
Build Details:
  1. LibreELEC.tv:
    • u-boot-script: add package to compile env scripts for u-boot (PR:3515, 1 commit, 1 file changed)
  2. XBMC:
    • threads: move thread priority defines out of PlatformDefs.h (PR:16175, 1 commit, 2 files changed)
    • [network] remove class NetworkAccessPoint and unused dialog CGUIDialogAccessPoints (PR:16120, 1 commit, 18 files changed)
    • changed: Improve handling of internet filesystems (http/https) on LANs (PR:16070, 2 commits, 2 files changed)
    • AirPlay/AirTunes: don't dynamically open libraries (PR:16167, 2 commits, 15 files changed)
  3. Additional commits/pull requests/changes not yet merged upstream:
    • Updated: [env] PR:3523 (perma): cleanup initramfs build, drop support for kernel modules in initramfs
    • Updated: [env] PR:3531 (perma): buildsystem: cleanup (addons) and fix (linux)



RE: LibreELEC Testbuilds for x86_64 (Kodi 19.0) - Milhouse - 2019-05-25

Weekly Linux 5.2-rc1 build #0524x: Generic

Changes:
text:

xf86-video-nvidia 430.14
Known issues:
text:

No dvb-latest or crazycat drivers
Temporary bluez build hack
RT2X00 wireless broken - panics



RE: LibreELEC Testbuilds for x86_64 (Kodi 19.0) - auser1989 - 2019-05-26

(2019-05-24, 02:24)Milhouse Wrote:
(2019-05-23, 19:03)auser1989 Wrote: each build played the HEVC files created before 2nd May correctly
each build crashed while trying to play HEVC files created after 2nd/3rd May - these are sourced from the same source as the problem file, so it could be something specific in the way that they are generated.

Are you in contact with the source - are you able to ask them what changed from 2nd May onwards?
I'm not in contact with the source, the files are usenet downloads, mainly from one posting group.  Looking at the files, before and after the 2nd/3rd May, the main difference appears to be that the earleir files had an audio stream encoded using codec MPEG AAC Audio (mp4a), whilst the more recent, problem files, used A/52 B Audio (aka E-AC3) (eac3) - according to VLC's codec info panel.
So, I think that the 2nd/3rd May date is when the posting group switched to producing 720p & 1080p HEVC with AC3 5.1 sound.

I tried playing some files from before 2nd May (from Feb 2019) that were encoded similarly to the recent problem file(s), from different sources, and they, too, failed to play in the same way, crashing Kodi. 
To my inexperienced eye, it seems that the problem is closely related to the handling of AC3/E-AC3 audio in HEVC encoded files.

from post 2nd May problem file:
Codec: A/52 B Audio (aka E-AC3) (eac3)
Language: English
Type: Audio
Channels: 3F2M/LFE
Sample rate: 48000 Hz
Bits per sample: 32

from Feb 2019 problem file :
Codec: A52 Audio (aka AC3) (a52 )
Type: Audio
Channels: 3F2M/LFE
Sample rate: 48000 Hz
Bits per sample: 32

AAC 5.1 and DTS 5.1 both play OK, from pre-2nd May files :
Codec: MPEG AAC Audio (mp4a)
Channels: 3F2R/LFE
AAC extension: SBR

Codec: DTS Audio (dts )
Channels: 3F2M/LFE

Unfortunately, I don't know enough about encoding/audio/mkv internals to investigate further without doing some serious research.


RE: LibreELEC Testbuilds for x86_64 (Kodi 19.0) - wizardknight - 2019-05-28

@Milhouse 
I just gave your latest nightly a try, and I would like to report that I can reproduce an issue I discovered (and is confirmed by two other users on Kodi 18) where entering and exiting Movies or TV from the home screen results in all viewed items being displayed if an SQL server is used.
You can see more details in the thread I started here.

On the upside the rtl8812au wifi driver seems much more stable, and doesn't drop out after being connected for a few min.


RE: LibreELEC Testbuilds for x86_64 (Kodi 19.0) - wizardknight - 2019-05-28

(2019-05-28, 05:41)wizardknight Wrote: @Milhouse 
I just gave your latest nightly a try, and I would like to report that I can reproduce an issue I discovered (and is confirmed by two other users on Kodi 18) where entering and exiting Movies or TV from the home screen results in all viewed items being displayed if an SQL server is used.
You can see more details in the thread I started here.

On the upside the rtl8812au wifi driver seems much more stable, and doesn't drop out after being connected for a few min.
Here is a log from your nightly reproducing the issue.
http://ix.io/1KfP
Let me know if you have questions, or something you would like me to try.


RE: LibreELEC Testbuilds for x86_64 (Kodi 19.0) - Milhouse - 2019-05-28

(2019-05-28, 05:46)wizardknight Wrote: Let me know if you have questions, or something you would like me to try.

I can't reproduce the issue, and the problem doesn't seem to be specific to these test builds so I suggest you continue the conversation in your thread - if/when a fix is suggested let me know and I can try including it for you.

One thing you could do is try to determine when this issue started, assuming it's a coding issue rather than something specific to your MySQL installation - once that test build is known then it might give a clue as to what change is causing the issue. There should be 365 of these test builds online (a mixture of recent Kodi 19 builds from this thread and the rest from the Kodi 18 test thread).


RE: LibreELEC Testbuilds for x86_64 (Kodi 19.0) - Milhouse - 2019-05-28

New LibreELEC.tv Matrix build #0528: Generic
(Supercedes previous build)

SHA256 Checksum: 77bf0c7a0a6c6a8ecb6489f77ce3afb1abbb5d04a2007bf106010e681dbfb665 (Generic)

text:
# uname -a
Linux NUC 5.1.5 #1 SMP Tue May 28 21:03:56 BST 2019 x86_64 GNU/Linux

# lsb_release
LibreELEC (Milhouse): devel-20190528210312-#0528-g43871d0 [Build #0528]

# Kodi version
Kodi (19.0-ALPHA1 Git:5d798ac). Platform: Linux x86 64-bit

Based on tip of LibreELEC.tv master (43871d0, changelog) and tip of XBMC master (5d798ac, changelog) with the following modifications: Build Highlights:
  1. New 5.1.5 kernel
  2. [addons] remove cpluff
  3. Refactor of CFileCache
Build Details:
  1. LibreELEC.tv:
    • Remove unused GPU driver packages (PR:3535, 3 commits, 3 files changed)
    • ffmpeg: shift to using gnutls (PR:3414, 6 commits, 7 files changed)
    • curl: update to curl-7.65.0 (PR:3532, 1 commit, 1 file changed)
    • mesa: update to mesa-19.0.5 (PR:3530, 1 commit, 1 file changed)
  2. XBMC:
    • [fix] ColorManager initialization and lcms2 usage (PR:16195, 2 commits, 2 files changed)
    • [posix] relocate common platform/linux files to platform/posix (PR:16113, 7 commits, 107 files changed)
    • Remove redundant smart pointer get() (PR:16094, 2 commits, 3 files changed)
    • [fix] use correct include path for fribidi.h (PR:16198, 1 commit, 2 files changed)
    • Refactor of CFileCache (PR:16172, 3 commits, 2 files changed)
    • [interfaces] Fix crash on Kodi exit caused by double freed AsyncCallbackMessage (PR:16178, 1 commit, 1 file changed)
    • [Estuary] (Info)Wall fixes (PR:16189, 1 commit, 2 files changed)
    • Ask CMake to write compile_commands.json (PR:16199, 1 commit, 1 file changed)
    • Fix getting wrong "thumb" art URL from scraper results (PR:16207, 1 commit, 2 files changed)
    • fixed: DVD playback from http(s) sources (fixes #15694) (PR:16197, 1 commit, 1 file changed)
    • [network] prefer interface with gateway (PR:14965, 1 commit, 1 file changed)
    • update clang-format (PR:15977, 1 commit, 1 file changed)
    • Remove CDatabase::InTransaction (2dcf8b1)
  3. inputstream.adaptive:
    • Fix SegFault on SegmentURL handling (PR:256, 2 commits, 2 files changed)
    • [Android] sync session message parser (4700d30)
  4. pvr.zattoo:
    • Fix loading xmltv data (PR:49, 1 commit, 8 files changed)
    • Merge remote-tracking branch 'origin/Leia' into Matrix (e794e5a)
  5. Additional commits/pull requests/changes not yet merged upstream:
    • Updated: [env] compare (perma): kodi19: next
    • Updated: [env] PR:3507 (perma): linux (RPi/Generic/Allwinner): update to linux-5.1.5
    • Updated: [env] PR:3531 (perma): buildsystem: cleanup (addons) and fix (linux)
    • Added: [env] PR:3534 (perma): amremote/atvclient: cleanup
    • Added: [pkg] PR:14908 (perma): [addons] remove cpluff



RE: LibreELEC Testbuilds for x86_64 (Kodi 19.0) - Milhouse - 2019-05-29

Weekly Linux 5.2-rc2 build #0528x: Generic

Changes:
text:

xf86-video-nvidia 430.14
Known issues:
text:

No dvb-latest or crazycat drivers
Temporary bluez build hack
RT2X00 wireless broken - panics