•   
  • 1
  • 17
  • 18
  • 19(current)
  • 20
  • 21
  • 146
  •   
  Thread Closed
OpenELEC Testbuilds for RaspberryPi (Kodi 17.0)
Retry with tonight's build please ... there was a patch that could affect that ... from the log one sees not much ... just ffmpeg skipping bytes away for > 10 seconds. Next time if it hangs - please wait 180 seconds and then post the log again please.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
New OpenELEC K* build #1221: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.4.0-rc6 #1 Mon Dec 21 22:41:06 GMT 2015 armv6l GNU/Linux

# vcgencmd version
Dec  8 2015 14:44:44
Copyright (c) 2012 Broadcom
version e591b5eb05e2cdb1b5ae25512b27d33127d7bee9 (clean) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20151221224014-#1221-ge7c2584 [Build #1221]

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

# Kernel device tree status: Enabled

Based on tip of OpenELEC master (e7c2584e, changelog) and tip of XBMC master (3163da30, changelog) with the following modifications: Build Highlights:
  1. New 4.4-rc6 kernel (clean build)
  2. Fall back to arm jpeg encode/decode when gpu is busy
    Quote:This change should allow RPi2 to use spare ARM cores to decode artwork when the GPU is busy, potentially resulting in a snappier GUI. No effect on RPi1.

    On RPi2, two jpeg jobs can be sent to the GPU and with this change, if a third jpeg is to be decoded before the first has completed it will be handled on ARM. Up to 4 images can now be decoded in parallel on ARM, while the GPU handles 2 more.
  3. Tonight's build appears to have made DVD menus worse - popcornmix is aware of this
    Quote:There is a fix to a specific bug that seems to have caused a regression. FernetMenta can reproduce so hopefully will be fixed soon.
  4. Fix for decoding of MythTV images without any file extension
Build Details:
  1. OpenELEC:
    • [RFC] Stop being stingy with System partition size (PR:4510, 1 commit, 1 file changed)
    • Alsa updates (PR:4509, 7 commits, 5 files changed)
    • pulseaudio: remove automatic loading of udev module (PR:4513, 1 commit, 1 file changed)
    • Package updates (PR:4512, 5 commits, 7 files changed)
  2. XBMC:
    • Remove some long-presses and some notes cleanup (PR:8565, 1 commit, 1 file changed)
    • Select previously selected values in userratings selectdialogs (PR:8634, 1 commit, 3 files changed)
    • Add missing numeric input for PVR (PR:8337, 1 commit, 1 file changed)
    • [udevprovider] handle 'change' events only for optical drives (PR:8600, 1 commit, 1 file changed)
  3. newclock5:
    • New commits in this build:
      • [mmalrender] Force a SetVideoRect after a reconfigure (9b570492)
      • VideoPlayer: fix busy loop in audio if stream is stalled (c4799912)
      • VideoPlayer: do not wait for msg queue to get drained on close, if stream players are no in sync (454d2b22)
      • VideoPlayer: fix dvd menues (75bc7cbd)
      • [omximage] Fall back to arm jpeg encode/decode when gpu is busy (d4845ee4)
    • Commits no longer in build:
      • VideoPlayer: no discontinuities when being in a menu (c9f861dd)
  4. kernel 4.4.y:
    • Commits no longer in build:
      • pinctrl-bcm2835: bcm2835_gpio_direction_output must set the value (b0dca0a2)
      • [PATCH] dmaengine: bcm2835-dma: Convert to use DMA pool (5be60548)
      • squash: Fixup bcm2835-camera for changes in kernel 4.4 api (76ee4b7e)
  5. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] PR:4514: Linux 4.4 fixups
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.
Thumbnails for extension-less files are working great! Thanks guys!
(2015-12-22, 01:09)fritsch Wrote: Retry with tonight's build please ... there was a patch that could affect that ... from the log one sees not much ... just ffmpeg skipping bytes away for > 10 seconds. Next time if it hangs - please wait 180 seconds and then post the log again please.


No change in the lock-up behavior on the #1221 build. Here's the log with a little over 2 min in the lockup state. kodi.old.log: http://xbmclogs.com/ppir1yhxo

It hung as soon as I tried to move to a different album while playing a horrible little tune from Hillbilly Christmas. After the track completed, I remained hung until I cycled the power.

Bill
@bill_orange: It would help enormously if you could identify the build when this started. I've tried to reproduce but can't, so it's something specific to your setup, or you're doing something you haven't mentioned - perhaps list the exact steps to reproduce, from power on to hang.

Tail end of my log after switching tracks (this must have been about the 8th track I'd switched to):
Code:
02:49:36 14429.236328 T:1825567648   DEBUG: Thread PAPlayer start, auto delete: false
02:49:36 14429.236328 T:1825567648   DEBUG: PAPlayer::Process - Playback started
02:49:36 14429.236328 T:1825567648   DEBUG: OnPlayBackStarted: play state was 1, starting 0
02:49:36 14429.257812 T:1965187072   DEBUG: CGUIInfoManager::SetCurrentSong(musicdb://albums/1433/6433.mp3?albumid=1433)
02:49:36 14429.280273 T:1965187072   DEBUG: SELECT albumview.*,albumartistview.*   FROM albumview   LEFT JOIN albumartistview ON albumview.idAlbum = albumartistview.idAlbum   WHERE albumview.idAlbum = 1433   ORDER BY albumartistview.iOrder
02:49:36 14429.282227 T:1965187072   DEBUG: Loading additional tag info for file nfs://192.168.0.3/mnt/share/data/Music/MP3/The Who/A Quick One/01 - Run Run Run.mp3
02:49:36 14429.285156 T:1965187072   DEBUG: CNFSFile::Open - opened mnt/share/data/Music/MP3/The Who/A Quick One/01 - Run Run Run.mp3
02:49:36 14429.481445 T:1965187072   DEBUG: CNFSFile::Close closing file mnt/share/data/Music/MP3/The Who/A Quick One/01 - Run Run Run.mp3
02:49:36 14429.482422 T:1965187072   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
02:49:36 14429.482422 T:1965187072   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
02:49:36 14429.483398 T:1428157344   DEBUG: DoWork - Saving file state for audio item musicdb://albums/1410/6039.mp3?albumid=1410
02:50:06 14459.484375 T:1528820640   DEBUG: Thread JobWorker 1528820640 terminating (autodelete)
02:50:06 14459.484375 T:1503654816   DEBUG: Thread JobWorker 1503654816 terminating (autodelete)
02:50:06 14459.485352 T:1428157344   DEBUG: Thread JobWorker 1428157344 terminating (autodelete)

One thing I don't have - which you have - are the extra unrecognised ID3 tags - from your log:
Code:
17:15:59  64.025856 T:1964658688   DEBUG: Loading additional tag info for file /var/media/music backup/Music/Unknown Artist/Hillbilly Holiday/09 Santa Looked a lot like Daddy Hillbilly Holiday Hillbilly Holiday Bluegrass 128kbps.mp3
17:15:59  64.029892 T:1964658688   DEBUG: unrecognized ID3 frame detected: PRIV
17:15:59  64.030128 T:1964658688   DEBUG: unrecognized ID3 frame detected: TCOM
17:15:59  64.030296 T:1964658688   DEBUG: unrecognized ID3 frame detected: TPUB
17:15:59  64.030922 T:1964658688   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
17:15:59  64.031319 T:1964658688   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
17:15:59  64.031601 T:1964658688   DEBUG: UPnP: Building didl for object 'musicdb://albums/4071/51285.mp3?albumid=4071'
17:16:00  64.644562 T:1486574496    INFO: ffmpeg[589B53A0]: [mp3] overread, skip -4 enddists: -3 -3
17:16:00  64.822922 T:1486574496    INFO: ffmpeg[589B53A0]: [mp3] overread, skip -4 enddists: -2 -2

Perhaps if you uploaded a zip file with maybe half a dozen sample tracks - could it be the way these files have been ripped which is causing a problem for an updated OpenELEC package (that's a total guess, btw). The taglib package last updated in build #1102, is #1101 any better?
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.
(2015-12-22, 04:44)Milhouse Wrote: @bill_orange: It would help enormously if you could identify the build when this started. I've tried to reproduce but can't, so it's something specific to your setup, or you're doing something you haven't mentioned - perhaps list the exact steps to reproduce, from power on to hang.

Tail end of my log after switching tracks (this must have been about the 8th track I'd switched to):
Code:
02:49:36 14429.236328 T:1825567648   DEBUG: Thread PAPlayer start, auto delete: false
02:49:36 14429.236328 T:1825567648   DEBUG: PAPlayer::Process - Playback started
02:49:36 14429.236328 T:1825567648   DEBUG: OnPlayBackStarted: play state was 1, starting 0
02:49:36 14429.257812 T:1965187072   DEBUG: CGUIInfoManager::SetCurrentSong(musicdb://albums/1433/6433.mp3?albumid=1433)
02:49:36 14429.280273 T:1965187072   DEBUG: SELECT albumview.*,albumartistview.*   FROM albumview   LEFT JOIN albumartistview ON albumview.idAlbum = albumartistview.idAlbum   WHERE albumview.idAlbum = 1433   ORDER BY albumartistview.iOrder
02:49:36 14429.282227 T:1965187072   DEBUG: Loading additional tag info for file nfs://192.168.0.3/mnt/share/data/Music/MP3/The Who/A Quick One/01 - Run Run Run.mp3
02:49:36 14429.285156 T:1965187072   DEBUG: CNFSFile::Open - opened mnt/share/data/Music/MP3/The Who/A Quick One/01 - Run Run Run.mp3
02:49:36 14429.481445 T:1965187072   DEBUG: CNFSFile::Close closing file mnt/share/data/Music/MP3/The Who/A Quick One/01 - Run Run Run.mp3
02:49:36 14429.482422 T:1965187072   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
02:49:36 14429.482422 T:1965187072   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
02:49:36 14429.483398 T:1428157344   DEBUG: DoWork - Saving file state for audio item musicdb://albums/1410/6039.mp3?albumid=1410
02:50:06 14459.484375 T:1528820640   DEBUG: Thread JobWorker 1528820640 terminating (autodelete)
02:50:06 14459.484375 T:1503654816   DEBUG: Thread JobWorker 1503654816 terminating (autodelete)
02:50:06 14459.485352 T:1428157344   DEBUG: Thread JobWorker 1428157344 terminating (autodelete)

One thing I don't have - which you have - are the extra unrecognised ID3 tags - from your log:
Code:
17:15:59  64.025856 T:1964658688   DEBUG: Loading additional tag info for file /var/media/music backup/Music/Unknown Artist/Hillbilly Holiday/09 Santa Looked a lot like Daddy Hillbilly Holiday Hillbilly Holiday Bluegrass 128kbps.mp3
17:15:59  64.029892 T:1964658688   DEBUG: unrecognized ID3 frame detected: PRIV
17:15:59  64.030128 T:1964658688   DEBUG: unrecognized ID3 frame detected: TCOM
17:15:59  64.030296 T:1964658688   DEBUG: unrecognized ID3 frame detected: TPUB
17:15:59  64.030922 T:1964658688   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
17:15:59  64.031319 T:1964658688   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
17:15:59  64.031601 T:1964658688   DEBUG: UPnP: Building didl for object 'musicdb://albums/4071/51285.mp3?albumid=4071'
17:16:00  64.644562 T:1486574496    INFO: ffmpeg[589B53A0]: [mp3] overread, skip -4 enddists: -3 -3
17:16:00  64.822922 T:1486574496    INFO: ffmpeg[589B53A0]: [mp3] overread, skip -4 enddists: -2 -2

Perhaps if you uploaded a zip file with maybe half a dozen sample tracks - could it be the way these files have been ripped which is causing a problem for an updated OpenELEC package (that's a total guess, btw). The taglib package last updated in build #1102, is #1101 any better?


I will try to triangulate on the build. It may take me a while. Scanning in the library with the scraper on takes about 4 hours. I will put a zip file together. Maybe I will inflict Hillbilly Christmas on you.
Are you able to reproduce this problem when playing songs/albums from the Music > Files list (ie. not the library)? That would mean you don't have to scan them in.
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.
(2015-12-22, 06:11)Milhouse Wrote: Are you able to reproduce this problem when playing songs/albums from the Music > Files list (ie. not the library)? That would mean you don't have to scan them in.

Good idea. I will try it tomorrow. Right now I have tested build #1201 and it was okay.
(2015-12-22, 03:24)zaphod24 Wrote: Thumbnails for extension-less files are working great! Thanks guys!

The root cause (mythv) is still not fixed - it works currently as we do deep parsing but in an optimized way (comparing three header bytes), but this should not be needed if myth would supply mime types.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
(2015-12-21, 23:32)popcornmix Wrote:
(2015-12-21, 21:50)polo_joe Wrote: I'm still having artifacts when watching hd livetv channels with advanced deinterlace. Even if I watch 720p channels there are artifacts.
Any news on this front?

I did add some settings you could try tweaking so see if they help. Use this firmware:
https://dl.dropboxusercontent.com/u/3669...re_arb.zip

(Use start_x.elf and fixup_x.dat and replace your OpenELEC start.elf/fixup.dat).

This has a new command you can run from ssh. It allows setting the priority of different blocks on the Pi.
Code:
$ vcgencmd arbiter
usage: arbiter [ status | algorithm <arbiter> <credit|priority|hybrid|delayed> | set <block> <priority> ]
$ vcgencmd arbiter status
SYSTEM_UNCACHED: alg:hybrid
      SYSTEM_L2: alg:hybrid
     SYSTEM_SRC: alg:hybrid
    SYSTEM_PERI: alg:credit
     SYSTEM_DMA: alg:credit
   VPU_UNCACHED: alg:hybrid
         VPU_L2: alg:hybrid
            CAM: alg:credit
    HVS: pri:12 panic:15
    V3D: pri: 0 panic: 0
   H264: pri: 8 panic: 0
   JPEG: pri: 0 panic: 0
   TRAN: pri: 2 panic: 3
    ISP: pri: 4 panic: 0
    USB: pri:13 panic: 0
ARM_UC: pri:10 panic: 0
ARM_L2: pri: 5 panic: 0
ARM_PER: pri: 8 panic: 0

I think the first test is to make HVS low priority and see if that helps.
Code:
vcgencmd arbiter set hvs 0 0

You might also want to set the ARM to be high priority
Code:
vcgencmd arbiter set arm_uc 15 15
vcgencmd arbiter set arm_l2 15 15
vcgencmd arbiter set arm_per 15 15

Or low priority
Code:
vcgencmd arbiter set arm_uc 0 0
vcgencmd arbiter set arm_l2 0 0
vcgencmd arbiter set arm_per 0 0

USB can't be changed when running, so you can't change that.
V3D should have an effect, but we have experimented with that before.

this setting works best for me
http://sprunge.us/fJVa

but still some rare artifacts

hvs 0 0 and or arm 0 0 are even worse
(2015-12-22, 09:29)fritsch Wrote:
(2015-12-22, 03:24)zaphod24 Wrote: Thumbnails for extension-less files are working great! Thanks guys!

The root cause (mythv) is still not fixed - it works currently as we do deep parsing but in an optimized way (comparing three header bytes), but this should not be needed if myth would supply mime types.

Yeah, maybe janbar will change the mythtv plugin to provide file extensions at some point. I'm just glad it works with mythtv.
Has some one VDR backend running?
(2015-12-22, 07:01)bill_orange Wrote:
(2015-12-22, 06:11)Milhouse Wrote: Are you able to reproduce this problem when playing songs/albums from the Music > Files list (ie. not the library)? That would mean you don't have to scan them in.

Good idea. I will try it tomorrow. Right now I have tested build #1201 and it was okay.


Okay....progress. Build 1207 does not have the problem and build 1208 and subsequent locks up. The sequence of events to get a lock up is:

start with clean music library
attach large music drive
scan into library with scraper on
go to Music >> Album >> pick an album >> play a track >> play another track >> try to go to another album - mouse hangs over the two periods at the top of the list
and all other interaction also stops until power is cycled.

Here are some sample tracks: https://onedrive.live.com/redir?resid=F1...file%2czip
(2015-12-22, 23:25)bill_orange Wrote: Okay....progress. Build 1207 does not have the problem and build 1208 and subsequent locks up. The sequence of events to get a lock up is:

If it was #1208, then PR8497 and the pulse audio changes look like the only music related changes.
New OpenELEC K* build #1222: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.4.0-rc6 #1 Tue Dec 22 21:24:33 GMT 2015 armv6l GNU/Linux

# vcgencmd version
Dec  8 2015 14:44:44
Copyright (c) 2012 Broadcom
version e591b5eb05e2cdb1b5ae25512b27d33127d7bee9 (clean) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20151222212341-#1222-gf4076b8 [Build #1222]

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

# Kernel device tree status: Enabled

Based on tip of OpenELEC master (f4076b80, changelog) and tip of XBMC master (a1df5b5c, changelog) with the following modifications: Build Highlights:
  1. FFmpeg: Include workaround for latest Handbrake MP3 issue
  2. Include OpenELEC Settings Addon options for Bluetooth Audio behaviour
  3. Fix DVD Menus
Build Details:
  1. OpenELEC:
    • Linux 4.4 fixups (PR:4514, 5 commits, 35 files changed)
  2. XBMC:
    • [keymaps] remote.xml: virtualkeyboard: back now maps to 'back', not 'backspace' anymore (PR:8636, 1 commit, 1 file changed)
    • FFmpeg: Bump to 2.8.4-Jarvis-rc1 (PR:8627, 1 commit, 1 file changed)
    • [PVR] Fix: Abort of active recordings must be possible even if associated timer is read-only (PR:8641, 1 commit, 1 file changed)
    • VAAPI: Use VP9 acceleration (PR:8624, 1 commit, 1 file changed)
    • Add android API PT + FLOAT (PR:8632, 7 commits, 12 files changed)
  3. pvr.hts:
    • Fix cancel recording for timers created by autorec or timerec. (PR:151, 2 commits, 2 files changed)
  4. service.openelec.settings/ (OpenELEC):
    • New commits in this build:
      • bluetooth: add option to play/pause kodi on device connect/disconnect (0e43374a)
  5. newclock5:
    • New commits in this build:
      • VideoPlayer: fix dvd menus (551b0c90)
      • squash: allow sync adjustment with passthrough and pll adjust (f69bf6c1)
    • Commits no longer in build:
  6. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [pkg] 249bf32e: avformat/mov: Update handbrake_version threshold for full mp3 parsing (ffmpeg)
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.
  •   
  • 1
  • 17
  • 18
  • 19(current)
  • 20
  • 21
  • 146
  •   
  Thread Closed
 
Thread Rating:
  • 6 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
OpenELEC Testbuilds for RaspberryPi (Kodi 17.0)56
This forum uses Lukasz Tkacz MyBB addons.