Kodi 18 - LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)

  Thread Rating:
  • 6 Vote(s) - 4.83 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Milhouse Offline
Team-Kodi Member
Posts: 12,912
Joined: Jan 2011
Reputation: 645
Post: #1561
(2017-04-26 03:13)Kougami Wrote:  After updating from #0418x to #0425, there is some problem with playback/free gpumem. Playing the testfile 4-5x and the free gpumem going down until Kodi is crashing.

bcmstat (#0425): https://pastebin.com/VFURdG9c
bcmstat (#0418x): https://pastebin.com/bNCyzuqi

testfile (~7mb): https://mega.nz/#!MuIUHLhC!Cwn93H22cK1UG...X49vhuHd2s (from Fune wo Amu)

Someone else the problem ?

I'm not seeing that behaviour here with #0425 and your sample.mp4 (played from SD card).

Can you test #0425 with a clean .kodi. How are you accessing your sample, local SD, smb:// or nfs://? What skin are you using?

The following is from an RPi3, with total_mem=1024 and gpu_mem=320 (same as yours), stock Estuary, 1080p/high colour depth artwork, playing your sample file from SD card:
[Image: d3QNNPl.png]
Based on the above, what I see is that at the beginning of playback the GPU allocates 20.9MB of RAM (column "Delta GPU B"), of which 13.6MB is freed 4 seconds later, then at the end of playback 12.5MB is freed before another 5.2MB is allocated for use by the GUI. Once the 5.2MB is allocated at the end of playback the accumulated RAM usage by the GPU since the beginning of bcmstat.sh monitoring is 0 (zero) as shown in the column "Accum GPU B", meaning no memory leakage.

This is playing the sample file 6 times - accumulated GPU memory is always 0 at the end of each playback (the end of the 3rd play overlaps with the start of the 4th):
[Image: llx9q8M.png]

As I can't see any obvious GPU memory leakage, there must be some other difference between your system and mine.

Please test a "clean" .kodi installation as that's more or less what mine is. If you're using a third party skin maybe that is causing memory to leak by triggering some behaviour I'll never see with stock Estuary.

Also, can you identify the specific build when this problem first starts, as there's a week of builds between #0418x and #0425.

Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
find quote
Kougami Offline
Junior Member
Posts: 28
Joined: Nov 2015
Reputation: 0
Post: #1562
Seems "Adjust display refresh rate: Always" cause the very low free gpumem.

Playing my testfile 4x with disabled "Adjust display refresh rate":
bcmstat: https://pastebin.com/Km8syTLS


Playing my testfile 4x with always "Adjust display refresh rate":
bcmstat: https://pastebin.com/DWqiq6RC
log: http://sprunge.us/DAaF
find quote
MidKnight Offline
Senior Member
Posts: 262
Joined: Jun 2004
Reputation: 1
Post: #1563
which was the latest build with multi rar support before it was dropped?
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,912
Joined: Jan 2011
Reputation: 645
Post: #1564
(2017-04-26 20:47)MidKnight Wrote:  which was the latest build with multi rar support before it was dropped?

#0408 - native rar support dropped in #0409.

Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
find quote
pyrodex Offline
Fan
Posts: 345
Joined: Jan 2011
Reputation: 2
Post: #1565
Still seeing an issue even with the latest build I saw introduced a few days ago. When Kodi is running for a period of time playing files fine it seems to stall playing a file from either the beginning or a resume. If I reboot the box it is fine and plays the file without issues. Just now I got a crash trying to reproduce and have provided the data as needed:

Crashlog: http://sprunge.us/RVXb
Kodi log:http://sprunge.us/XbWM

HTPC(s): All running LibreELEC
  • RPI3 x2
  • RPI2 x2
NAS: Ubuntu LTS | 32TB on Areca 1880 | NFS/CIFS
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,912
Joined: Jan 2011
Reputation: 645
Post: #1566
(2017-04-26 11:19)Kougami Wrote:  Seems "Adjust display refresh rate: Always" cause the very low free gpumem.

Playing my testfile 4x with disabled "Adjust display refresh rate":
bcmstat: https://pastebin.com/Km8syTLS


Playing my testfile 4x with always "Adjust display refresh rate":
bcmstat: https://pastebin.com/DWqiq6RC
log: http://sprunge.us/DAaF
Thanks, this has been reproduced and a fix should be in tonight's build (which should be available in an hour or two from now).

Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,912
Joined: Jan 2011
Reputation: 645
Post: #1567
New LibreELEC.tv Leia build #0426: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.10.12 #1 Wed Apr 26 22:39:30 BST 2017 armv6l GNU/Linux

# vcgencmd version
Apr 26 2017 15:14:15
Copyright (c) 2012 Broadcom
version 6822f9cdc85ea9996beda9797ff548bba5244fe7 (clean) (release)

# lsb_release
LibreELEC (Milhouse) - Version: devel-20170426223826-#0426-gd39db0d [Build #0426]

# Kodi version
(18.0-ALPHA1 Git:91a9066). Platform: Linux ARM 32-bit

Based on tip of LibreELEC.tv master (d39db0db, changelog) and tip of XBMC master (749c61e0, changelog) with the following modifications: Build Highlights:
  1. New firmware (net booting failover, [pi0], max_usb_current)
  2. EGL Windowing update (should fix memory leak reported by @Kougami)
Build Details:
  1. Firmware (Apr 26):
    • bootcode: Fix failover from SD to net booting See: link See: link
    • firmware: ldconfig: Zero W is a [pi0]. See: link
    • firmware: mailbox: Add property that fills in a VC_IMAGE_T header for given format and dimensions
    • firmware: Make vchiq_test functional test more interesting. See: link
    • firmware: di_adv: Fix regression with non-qpu deinterlace and opaque images. See: link
    • firmware: bootcode: Set max_usb_current pin for B+ and Pi2. See: link
    • firmware: arm_loader: Restore /axi/vc_mem/reg DT property. See: link
  2. XBMC:
    • [cmake][windows] keep _ITERATOR_DEBUG_LEVEL=0 only for win32 (PR:12009, 1 commit, 1 file changed)
    • [PVR] Search window improvements and fixes (PR:12001, 2 commits, 4 files changed)
  3. pvr.iptvsimple:
    • Remove not used part (PR:118, 1 commit, 1 file changed)
  4. newclock5:
    • New commits in this build:
      • add rpi to windowing (3591a0e0)
      • remove rpi from egl (03493e7f)
      • windowing/android: append CMakeLists.txt (9eba6806)
      • add android to windowing (1538c7cd)
      • add WinSystemAndroidGLESContext.h to WindowingFactory.h (6dfa9d7f)
      • remove windowing/egl for android (5c1c4f4e)
      • remove android from egl/CMakeLists.txt (1ebf1787)
      • XBMCApp.cpp: change egl to android (06c1b13c)
      • add imx to windowing (34613b82)
      • add WINDOW_SYSTEM_IMX to WinSystem.h (1141e1a8)
      • add WinSystemImxGLESContext.h to WindowingFactory.h (1dd93c3f)
      • remove windowing/egl (ac71e685)
      • remove windowing/egl from subdirs.txt (b017c2eb)
      • xbmc/windowing: add imx subdir (3e0ed031)
      • fix VideoSyncIMX (a9f20cea)
      • fixup! add rpi to windowing (e4396178)
      • fixup! add amlogic to windowing (55af37b4)
      • fixup! add imx to windowing (5fc56308)
      • DVDDemuxFFmpeg: Increase lifespan of probe_buffer (ffee0111)
    • Updated commits in this build:
    • Commits no longer in build:

Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
find quote
MidKnight Offline
Senior Member
Posts: 262
Joined: Jun 2004
Reputation: 1
Post: #1568
(2017-04-26 21:34)Milhouse Wrote:  
(2017-04-26 20:47)MidKnight Wrote:  which was the latest build with multi rar support before it was dropped?

#0408 - native rar support dropped in #0409.

thanks Milhouse, Why was it pulled, its been with xbmc since the early xbox days?, do you know if multi rar support is going to come back?
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,912
Joined: Jan 2011
Reputation: 645
Post: #1569
(2017-04-27 01:18)MidKnight Wrote:  
(2017-04-26 21:34)Milhouse Wrote:  
(2017-04-26 20:47)MidKnight Wrote:  which was the latest build with multi rar support before it was dropped?

#0408 - native rar support dropped in #0409.

thanks Milhouse, Why was it pulled, its been with xbmc since the early xbox days?, do you know if multi rar support is going to come back?

As per the title of PR11912 included in #0408, it's cleaning up (ie. removing) native functionality that can instead be provided by addons.

Since #0412 I've been including the vfs.rar addon - disabled by default - which in theory should allow you to access rar content, however it doesn't seem to work as far as I can tell.

As of build #0424, sftp is now in the same boat as rar - native support removed, replaced by the vfs.sftp addon (included in the build, disabled). I've no idea if it works or not, as I'm unable to test it.

Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
find quote
MidKnight Offline
Senior Member
Posts: 262
Joined: Jun 2004
Reputation: 1
Post: #1570
(2017-04-27 01:49)Milhouse Wrote:  
(2017-04-27 01:18)MidKnight Wrote:  
(2017-04-26 21:34)Milhouse Wrote:  #0408 - native rar support dropped in #0409.

thanks Milhouse, Why was it pulled, its been with xbmc since the early xbox days?, do you know if multi rar support is going to come back?

As per the title of PR11912 included in #0408, it's cleaning up (ie. removing) native functionality that can instead be provided by addons.

Since #0412 I've been including the vfs.rar addon - disabled by default - which in theory should allow you to access rar content, however it doesn't seem to work as far as I can tell.

As of build #0424, sftp is now in the same boat as rar - native support removed, replaced by the vfs.sftp addon (included in the build, disabled). I've no idea if it works or not, as I'm unable to test it.

fingers X'd its back and fully functional soon..
find quote
MidKnight Offline
Senior Member
Posts: 262
Joined: Jun 2004
Reputation: 1
Post: #1571
where can I find this vfs.rar addon anyway?
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,912
Joined: Jan 2011
Reputation: 645
Post: #1572
(2017-04-27 02:03)MidKnight Wrote:  where can I find this vfs.rar addon anyway?

Addons > Addons browser > My add-ons > Virtual filesystems > RAR archive support

Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
find quote
MidKnight Offline
Senior Member
Posts: 262
Joined: Jun 2004
Reputation: 1
Post: #1573
(2017-04-27 02:28)Milhouse Wrote:  
(2017-04-27 02:03)MidKnight Wrote:  where can I find this vfs.rar addon anyway?

Addons > Addons browser > My add-ons > Virtual filesystems > RAR archive support

thanks.. for what ive picked up, seems it supports a single rar archive, just not multi parts
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,912
Joined: Jan 2011
Reputation: 645
Post: #1574
I created two folders with test RAR files (based on an old Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.avi sample I had lying around):

\singlepart\Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.rar

and

\multipart\Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.part1.rar
\multipart\Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.part2.rar
\multipart\Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.part3.rar
\multipart\Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.part4.rar
\multipart\Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.part5.rar

With #0408, when navigating to either folder (via Video > Files) Kodi lists a single file in each folder (\singlepart\Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.rar, and \multipart\Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.part1.rar), which can both be played (after unpacking).

However with later builds, these files are no longer playable. No RAR support, obviously.

So I enabled vfs.rar, and now both folders appear empty - no RAR files are listed at all, so the add-on doesn't work for me.

I've mentioned it to spiff, and tried to contact @seo but got no reply.

Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
(This post was last modified: 2017-04-27 03:10 by Milhouse.)
find quote
MidKnight Offline
Senior Member
Posts: 262
Joined: Jun 2004
Reputation: 1
Post: #1575
(2017-04-27 03:01)Milhouse Wrote:  I created two folders with test RAR files (based on an old Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.avi sample I had lying around):

\singlepart\Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.rar

and

\multipart\Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.part1.rar
\multipart\Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.part2.rar
\multipart\Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.part3.rar
\multipart\Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.part4.rar
\multipart\Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.part5.rar

With #0408, when navigating to either folder (via Video > Files) Kodi lists a single file in each folder (\singlepart\Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.rar, and \multipart\Psych.S05E12.Dual.Spires.HDTV.XviD-FQM.part1.rar), which can both be played (after unpacking).

However with later builds, these files are no longer playable. No RAR support, obviously.

So I enabled vfs.rar, and now both folders appear empty - no RAR files are listed at all, so the doesn't work for me.

I've mentioned it to spiff, and tried to contact @seo but got no reply.

i just tried it myself, and theres some that play, while others don't, so just seems pretty buggy atm, but hopefully they get it sorted out soon
find quote
Post Reply