• 1
  • 59
  • 60
  • 61(current)
  • 62
  • 63
  • 156
OpenELEC Testbuilds for RaspberryPi Part 3 (Kodi 14.0)
(2014-08-09, 17:49)pogo1975 Wrote: Do you think it is possible for you to make a patch for raspberry to boost center channel on downmix 5.1->2.0. for today rpi behaves differently (i think) than linux build and center channel is "quiter" on raspberry than on linux.

I'm pretty sure the mixing is identical on Pi and other linux platforms. We use the mixing matrices from ffmpeg.
You'll need evidence to convince me we are behaving differently.

It is something that's possible to artifically boost and is on my list of things to do.
(2014-08-09, 18:57)popcornmix Wrote: I'm pretty sure the mixing is identical on Pi and other linux platforms. We use the mixing matrices from ffmpeg.
You'll need evidence to convince me we are behaving differently.

It is something that's possible to artifically boost and is on my list of things to do.

I do not know how i can make evidence for you, i have tested it on several movies on xbmcbuntu nightly from 2014.08.08 and #807b build from this thread.
and levels of center channel in 2.0 configuration is definetly diffrent maybe i'm not an audiofile but this configuration is useless for me for wathing files with multichannel audio.

Maybe you can point me where can i find downmix matrix, in which file is it now i can try to change it and compile for myself.
You could get evidence by finding a channel test file (you get these that cycle a tone or noise burst on each channel) and use a sound level meter (you can get these as Android or iPhone apps).
Play it with xbmc on linux box and xbmc on raspberry pi and report the levels measured.

Also, on the Pi, try playing with omxplayer and dvdplayer. They should use the same matrices but have very different code paths, so it would be interesting if you think omxplayer and dvdplayer behave differently.

Make sure all the audio settings are the same with each test (e.g. voilume on full, amplification on zero, passthrough disabled, number of channels set to 2.0, normalize levels on downmix enabled, stereo upmix disabled).
(2014-08-08, 22:33)SenorLoco Wrote: Got some logs for you. Hopefully these help. I did notice right away that CleanDatabase failed on #0805

#0804 - http://sprunge.us/QRMi
#0805 - http://sprunge.us/BAeM

Let me know if you need anything else.


Yep, from #0805:

Code:
15:28:48 130.156281 T:3059638272  NOTICE: CleanDatabase: Starting videodatabase cleanup ..
15:28:48 130.156555 T:3059638272   DEBUG: CAnnouncementManager - Announcement: OnCleanStarted from xbmc
15:28:48 130.156937 T:3059638272   DEBUG: GOT ANNOUNCEMENT, type: 16, from xbmc, message OnCleanStarted
15:28:48 130.159225 T:3059638272   DEBUG: Mysql Start transaction
15:28:48 130.185150 T:3059638272   DEBUG: DialogProgress::StartModal called
15:28:48 130.185440 T:3059638272   DEBUG: ------ Window Init (DialogProgress.xml) ------
15:28:48 130.185715 T:3059638272    INFO: Loading skin file: DialogProgress.xml, load type: KEEP_IN_MEMORY
15:28:48 130.494720 T:3059638272   DEBUG: SECTION:LoadDLL(libnfs.so.4)
15:28:48 130.500076 T:3059638272   DEBUG: Loading: libnfs.so.4
15:28:49 130.849091 T:3059638272   DEBUG: NFS: Context for 192.168.1.100/home/adam/Media/Tv not open - get a new context.
15:28:49 131.099976 T:3059638272   DEBUG: NFS: Connected to server 192.168.1.100 and export /home/adam/Media/Tv
15:28:49 131.100296 T:3059638272   DEBUG: NFS: chunks: r/w 524288/524288
15:29:01 143.090210 T:3059638272   DEBUG: CleanDatabase: Cleaning files table
15:29:01 143.090561 T:3059638272   DEBUG: Mysql execute: DELETE FROM files WHERE idFile IN (244)
15:29:01 143.125290 T:3059638272   DEBUG: CleanDatabase: Cleaning streamdetails table
15:29:01 143.125595 T:3059638272   DEBUG: Mysql execute: DELETE FROM streamdetails WHERE idFile IN (244)
15:29:01 143.135330 T:3059638272   DEBUG: CleanDatabase: Cleaning bookmark table
15:29:01 143.135635 T:3059638272   DEBUG: Mysql execute: DELETE FROM bookmark WHERE idFile IN (244)
15:29:01 143.139740 T:3059638272   DEBUG: CleanDatabase: Cleaning settings table
15:29:01 143.140091 T:3059638272   DEBUG: Mysql execute: DELETE FROM settings WHERE idFile IN (244)
15:29:01 143.144043 T:3059638272   DEBUG: CleanDatabase: Cleaning stacktimes table
15:29:01 143.144302 T:3059638272   DEBUG: Mysql execute: DELETE FROM stacktimes WHERE idFile IN (244)
15:29:01 143.152908 T:3059638272   DEBUG: CleanDatabase: Cleaning episode table
15:29:01 143.153198 T:3059638272   DEBUG: Mysql execute: DELETE FROM episode WHERE idEpisode IN (244)
15:29:01 143.183716 T:3059638272   DEBUG: CleanDatabase: Cleaning paths that don't exist and have content set...
15:29:02 143.607147 T:3059638272   DEBUG: Mysql execute: DELETE FROM path WHERE idPath IN (45)
15:29:02 143.633835 T:3059638272   DEBUG: Mysql execute: DELETE FROM tvshowlinkpath WHERE NOT EXISTS (SELECT 1 FROM path WHERE path.idPath = tvshowlinkpath.idPath)
15:29:02 143.664871 T:3059638272   DEBUG: CleanDatabase: Cleaning tvshow table
15:29:02 143.665207 T:3059638272   DEBUG: Mysql execute: DELETE FROM tvshow WHERE NOT EXISTS (SELECT 1 FROM tvshowlinkpath WHERE tvshowlinkpath.idShow = tvshow.idShow)
15:29:02 143.700974 T:3059638272   ERROR: SQL: Undefined MySQL error: Code (1442)
                                            Query: DELETE FROM tvshow WHERE NOT EXISTS (SELECT 1 FROM tvshowlinkpath WHERE tvshowlinkpath.idShow = tvshow.idShow)
15:29:02 143.719299 T:3059638272   ERROR: CleanDatabase failed
15:29:02 143.727173 T:3059638272   DEBUG: Mysql rollback transaction
15:29:02 143.727570 T:3059638272   DEBUG: CAnnouncementManager - Announcement: OnCleanFinished from xbmc
15:29:02 143.727844 T:3059638272   DEBUG: GOT ANNOUNCEMENT, type: 16, from xbmc, message OnCleanFinished
So it looks like the clean is failing while deleting the tvshow.

The description for the error code is:
Quote:Error Code: 1442. Can't update table 'tvshowlinkpath' in stored function/trigger because it is already used by statement which invoked this stored function/trigger.

Doesn't look like an easy fix, and another nail in the MySQL coffin. Sad
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.
New OpenELEC Helix build: #0809b
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 3.16.0 #1 PREEMPT Sat Aug 9 20:48:08 BST 2014 armv6l GNU/Linux

# vcgencmd version
Aug  6 2014 17:51:37
Copyright (c) 2012 Broadcom
version 3da89bd3cdef7980b684f48fe60944aff4502f50 (tainted) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20140809214938-r18934-g4e82b86

Based on tip of OpenELEC master (4e82b86, changelog) and tip of XBMC master (94bc482, changelog) with the following modifications:
  • Includes newclock3 patches
  • Excludes the OpenELEC fernetmenta patches due to conflicts with newclock3
  • Excludes the OpenELEC linux-01-RPi_support patch in favour of sourcing these and possibly more recent patches directly from kernel branch rpi-3.16.y
  • Excludes the OpenELEC xbmc-001-newclock3 patch in favour of sourcing these and possibly more recent patches directly from newclock3 branch
  • Default setting for "Show RSS Feed" changed to disabled
  • Disabled "Total Duration" in Confluence (see build #0221 for details)
  • Includes latest libnfs master
  • Includes latest libcec master
  • Includes libcec double-key suppression.
  • Includes libcec CEC Standby Fix.
  • Increase scan interval of PeripBusCEC from 5000 to 60000, reducing CPU loading by about 2% (1GHz Pi) every 5 seconds (even when CEC is "disabled")
  • Includes CONFIG_COREDUMP=y to allow creation of coredumps
Build Highlights:
  1. newclock3-based build.
  2. JSON database update optimisations.
Build Details:
  1. OpenELEC:
    • use hdparm to set speedcontrol. (PR:3406, 1 commit, 4 files changed)
    • cmake: update to cmake-3.0.1
  2. XBMC:
    • Use an edit control in the keyboard dialog (PR:5008, 9 commits, 6 files changed)
    • [confluence] Change keyboard label to edit control, see #5008 (PR:5169, 1 commit, 1 file changed)
    • Finer grained updates of video database (PR:5170, 4 commits, 5 files changed)
    • [addons] swap the section/setting control ID ranges (PR:5059, 1 commit, 1 file changed)
    • Removecrystalhd (PR:5105, 2 commits, 31 files changed)
    • Show singles in the Year nodes in music db (PR:5138, 1 commit, 1 file changed)
    • Multi episode scanner tests (PR:5139, 2 commits, 2 files changed)
    • [confluence] Fixed Live TV mode labels for channeldown, stop, bookmarks, record (PR:4941, 1 commit, 1 file changed)
    • fix Stopwatch test
    • [touched] update git rev
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.
Experimental newclock4 build uploaded: #0809c

Same as build #0809b, but with newclock4 patches in place of newclock3. See here for details.

newclock4 additions since previous build #0807b:
  • [omxrenderer] Use mmal stereo regions
  • [omxcodec] Correctly use width/height and crop.width/crop.height
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.
(2014-08-09, 21:51)Milhouse Wrote: Doesn't look like an easy fix, and another nail in the MySQL coffin. Sad

Yikes...that doesn't sounds good. I hope that's not the case. Are there any other good ways to share library/watched status between multiple devices?
(2014-08-10, 00:43)SenorLoco Wrote: Yikes...that doesn't sounds good. I hope that's not the case. Are there any other good ways to share library/watched status between multiple devices?

It looks like a fix should be possible, by iterating over the items to be removed (as is already done for movies and episodes and in fact pretty much all of the other tables, but for some reason not for tvshows and tvshowlinkpath), so MySQL may have just dodged another bullet. Smile

Trakt.tv is the other way to share watched statuses, although I've never used it myself. From a quick read, I think Trakt.tv is designed to work best with local libraries, so you'll be back to scanning for updates on each of your clients, although the clients should have synced watched statuses as long as they all have the same media metadata etc. Personally, I'd stick with MySQL as long as you can... Smile
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.
(2014-08-09, 12:15)popcornmix Wrote:
(2014-08-09, 07:49)Huuh Wrote: Will the newclock4 patches in the future allow vdpau sharpness to be adjusted, like it can be with newclock3?

I'd not seen much evidence of sharpness being used.
Any other users setting sharpness to a non-default value?
Out of interest what sharpness setting do you prefer?

I left it at around .07. It was a pretty subtle difference, so if it's hard to reimplement, it's no big loss.
(2014-08-10, 04:20)Milhouse Wrote: It looks like a fix should be possible, by iterating over the items to be removed (as is already done for movies and episodes and in fact pretty much all of the other tables, but for some reason not for tvshows and tvshowlinkpath), so MySQL may have just dodged another bullet. Smile

Trakt.tv is the other way to share watched statuses, although I've never used it myself. From a quick read, I think Trakt.tv is designed to work best with local libraries, so you'll be back to scanning for updates on each of your clients, although the clients should have synced watched statuses as long as they all have the same media metadata etc. Personally, I'd stick with MySQL as long as you can... Smile

Good to hear. I wasn't looking forward to finding a new solution. Thanks again!
New OpenELEC Helix build: #0810
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 3.16.0 #1 PREEMPT Sun Aug 10 21:03:15 BST 2014 armv6l GNU/Linux

# vcgencmd version
Aug  6 2014 17:51:37
Copyright (c) 2012 Broadcom
version 3da89bd3cdef7980b684f48fe60944aff4502f50 (tainted) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20140810210202-r18944-gf49048a

Based on tip of OpenELEC master (f49048a, changelog) and tip of XBMC master (08cc0a7, changelog) with the following modifications:
  • Includes newclock3 patches
  • Excludes the OpenELEC fernetmenta patches due to conflicts with newclock3
  • Excludes the OpenELEC linux-01-RPi_support patch in favour of sourcing these and possibly more recent patches directly from kernel branch rpi-3.16.y
  • Excludes the OpenELEC xbmc-001-newclock3 patch in favour of sourcing these and possibly more recent patches directly from newclock3 branch
  • Default setting for "Show RSS Feed" changed to disabled
  • Disabled "Total Duration" in Confluence (see build #0221 for details)
  • Includes latest libnfs master
  • Includes latest libcec master
  • Includes libcec double-key suppression.
  • Includes libcec CEC Standby Fix.
  • Increase scan interval of PeripBusCEC from 5000 to 60000, reducing CPU loading by about 2% (1GHz Pi) every 5 seconds (even when CEC is "disabled")
  • Includes CONFIG_COREDUMP=y to allow creation of coredumps
Build Highlights:
  1. newclock3-based build.
  2. Browsing into archives (zip, rar etc.) is now disabled by default as this is often very slow and can also lead to out-of-memory situations. Can be re-enabled in Settings -> Appearance -> File lists -> Support browsing into archives. How many users are using archives?
  3. When commencing playback, a 1280x720 black jpg is loaded into GPU memory, the purpose of which is relevant only when video is being played in the background (window mode). Not loading this texture saves about 100ms at video startup, and reduces GPU memory usage by 4MB. The only downside is that the skin background is visible while video is in the background, when before it would have been blacked out. This change affects only Confluence. How many users are watching videos in background mode?
Build Details:
  1. OpenELEC:
    • repository.unofficial.addon.pro: show project/arch
  2. XBMC:
    • get cue track when load m3u playlist (PR:5065, 1 commit, 1 file changed)
    • Teletext layout improvements (PR:5179, 4 commits, 3 files changed)
    • Fixes and code update for CPUInfo (PR:5143, 2 commits, 1 file changed)
    • [Fix] Browse into UDF image files. (PR:5167, 1 commit, 1 file changed)
    • Pass preferred subtitle language to subtitle services (PR:4458, 1 commit, 1 file changed)
    • [libs] Remove superfluous freetype version/project from the tree. (PR:5187, 1 commit, 665 files changed)
    • [android] Add 5.1 PCM playback support (PR:5082, 1 commit, 5 files changed)
    • [python] adds disc music info label
  3. newclock3:
    • filesystem: Make support of browsing into archives optional
    • confluence: Remove media-overlay.jpg for when video is backgrounded
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.
Have you problems with newclock4 and subtitles? Try skip backward/forward during playback.

Thanks
(2014-08-11, 08:54)slack3r Wrote: Have you problems with newclock4 and subtitles? Try skip backward/forward during playback.
Same with newclock3. Sometimes subs do not work. Skip Forward fixes it most of the time.
Lately my TV turns itself on even though I turned this behaviour off in the CEC-Settings.
This happens mostly when I am not at home or at night, so it's a little difficult to provide a debug-log.
Image
(2014-08-11, 15:55)mikeb93 Wrote: Lately my TV turns itself on even though I turned this behaviour off in the CEC-Settings.
This happens mostly when I am not at home or at night, so it's a little difficult to provide a debug-log.

Can you narrow down a build when this started happening, does it happen with stock 4.0.7?
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
  • 59
  • 60
  • 61(current)
  • 62
  • 63
  • 156

Logout Mark Read Team Forum Stats Members Help
OpenELEC Testbuilds for RaspberryPi Part 3 (Kodi 14.0)8