• 1
  • 137
  • 138
  • 139(current)
  • 140
  • 141
  • 156
OpenELEC Testbuilds for RaspberryPi Part 3 (Kodi 14.0)
(2014-11-21, 13:15)popcornmix Wrote: Latest build should fix composite display with dvdplayer.
Thanks for the quick fix, it's working fine again!

Out of curiosity: which commit/change fixes this? Couldn't find any hints about that in the build details :)

so long,

Hias
(2014-11-21, 14:24)HiassofT Wrote: Out of curiosity: which commit/change fixes this? Couldn't find any hints about that in the build details Smile

When rebasing the newclock4 branch, I'll often squash commits to keep the number of patches manageable.
This commit changed in the update,
but Milhouse's scripts don't notice that change.

I'll try to add changes as "squash: fix for composite output when using dvdplayer" for one day, and then then remove it the next day. That way the changes will show up in the release notes.
I've upgraded to beta2 and beta3 and both have problem playing LiveTV (TVH server on separate machine) with subtitles stream enabled (while subtitles disabled - everything is OK). I'm using RPi with OpenElec 4.95.3 with pvr.hts. Log shows as if I'm pressing pause/resume (which I'm not) and screen stops for a second or so and continues... Here are few lines from log:
22:35:02 16432.677734 T:2581591104 DEBUG: CDVDPlayer::OMXDoProcessing Pause 1.51,0.06 (A:01 V:10) EOF:0 FULL:0 T:0.40
22:35:02 16432.677734 T:2581591104 DEBUG: OMXClock::OMXSetSpeed(0.00) pause_resume:1
22:35:02 16432.755859 T:2581591104 DEBUG: CDVDPlayer::OMXDoProcessing Resume 1.51,0.56 (A:01 V:01) EOF:0 FULL:0 T:0.40
22:35:02 16432.757812 T:2581591104 DEBUG: OMXClock::OMXSetSpeed(1.00) pause_resume:1
22:35:16 16447.328125 T:2581591104 DEBUG: CDVDPlayer::OMXDoProcessing Pause 1.53,0.04 (A:01 V:10) EOF:0 FULL:0 T:0.80
22:35:17 16447.330078 T:2581591104 DEBUG: OMXClock::OMXSetSpeed(0.00) pause_resume:1
22:35:17 16447.458984 T:2581591104 DEBUG: CDVDPlayer::OMXDoProcessing Resume 1.65,0.88 (A:01 V:01) EOF:0 FULL:0 T:0.80
22:35:17 16447.458984 T:2581591104 DEBUG: OMXClock::OMXSetSpeed(1.00) pause_resume:1
22:35:19 16449.675781 T:2581591104 DEBUG: CDVDPlayer::OMXDoProcessing Pause 1.68,0.08 (A:01 V:10) EOF:0 FULL:0 T:1.60
22:35:19 16449.675781 T:2581591104 DEBUG: OMXClock::OMXSetSpeed(0.00) pause_resume:1
22:35:19 16449.863281 T:2581591104 DEBUG: CDVDPlayer::OMXDoProcessing Resume 1.87,1.78 (A:01 V:01) EOF:0 FULL:0 T:1.60
22:35:19 16449.863281 T:2581591104 DEBUG: OMXClock::OMXSetSpeed(1.00) pause_resume:1
22:35:24 16454.371094 T:2581591104 DEBUG: CDVDPlayer::OMXDoProcessing Pause 1.84,0.06 (A:01 V:10) EOF:0 FULL:0 T:3.20
New OpenELEC Helix build: #1121
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 3.17.3 #1 PREEMPT Fri Nov 21 21:57:54 GMT 2014 armv6l GNU/Linux

# vcgencmd version
Nov 13 2014 17:21:14
Copyright (c) 2012 Broadcom
version 4b43a6c1fb32bd23b26f999eef78312d71df9b7a (clean) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20141121215643-r19674-g80686ec [Build #1121]

Based on tip of OpenELEC master (80686ecd, changelog) and tip of XBMC master (37107640, changelog) with the following modifications:
  • Includes newclock4 patches
  • Excludes the OpenELEC fernetmenta patches due to conflicts with newclock4
  • Excludes the OpenELEC linux-01-RPi_support patch in favour of sourcing these and possibly more recent patches directly from kernel branch rpi-3.17.y
  • Excludes the OpenELEC xbmc-001-newclock4 patch in favour of sourcing these and possibly more recent patches directly from newclock4 branch
  • Default setting for "Show RSS Feed" changed to disabled (new installs only) [patch details]
  • Disabled "Total Duration" in Confluence (see build #0221 for details)
  • Adapted service.openelec.settings to take advantage of PR:5217 [patch details]
  • Includes latest libnfs master (4a58e614)
  • Includes latest libcec master (70e1b5de)
  • Includes latest xbmc-pvr-addons master (06842b90)
  • Includes latest xbmc-addon-xvdr master (328fa653)
  • Includes CONFIG_COREDUMP=y to allow creation of coredumps (see here)
  • Includes additional ffmpeg codecs/muxers enabled for testing/benchmarking purposes (see patch)
  • Includes commits from libcec-2.2.0 (popcornmix)
  • Includes PR:387: [pvr.mythtv] Release v1.9.26 (Helix) (kodi.pvr.addons)
  • Includes PR:5573: webserver: improved caching control (see discussion)
  • Includes PR:5713: Fix "Current fanart" not being shown in DialogVideoInfo.
  • Includes PR:5747: [database] - add setting for hiding watched movies/episodes in recently added lists
  • Includes PR:5752: [jsonrpc] Allow retrieving empty TV shows via VideoLibrary.GetTVShows.
  • Includes PR:5771: [Keyboard Layouts] Add Polish QWERTY
Build Highlights:
  1. Update double-cache commits
  2. Optimise CFile copy() to avoid internal buffer
  3. Several GL-related fixes added to newclock4
Build Details:
  1. OpenELEC:
    • kodi: remove not more needed patches (42d902a5)
    • OpenELEC-settings: update to OpenELEC-settings-0.5.4 (378efe17)
    • bluez: update to bluez-5.25 (0b7bd5b3)
    • nss-mdns: change sourceurl to our own mirror (80686ecd)
  2. XBMC:
    • [jenkins] - refactor jenkins scripts to centralise the decision for (PR:5770, 1 commit, 28 files changed)
    • [AE/CA] - fix regression introduced in the enumeration refactor - handle "hackintosh" audio devices with "digital" in the name as digital devices (PR:5766, 2 commits, 3 files changed)
    • SysInfo: show CPU frequency as "XXXX MHz" instead of "XXXX,00MHz" (PR:5774, 1 commit, 1 file changed)
  3. newclock4:
    • New commits in this build:
      • dvdplayer: call UpdateClockMaster in regular intervals, state of videorefclock may change (45fe0c32)
      • fixed: Calling WaitForData with a large minimum could cause it to block the max. timeout (9b8ac580)
      • fixed: Typo in variable name (8ca3eb71)
      • changed: Don't reset average rate on cache switch as it doesn't work properly with heavy seeking (c9e14d04)
      • fixed: quell printf format warnings (844fb13c)
      • copy: support chunked reads so that CFile internal buffer is eliminated (0ae32838)
      • gl: avoid grabbing viewport on each render (70e181f0)
      • GL: switch to CPU based matrix caculations to match GLES (a5be946d)
      • GL(ES): Simplify matrix stack handling (d3df6a4f)
      • fixup! GL(ES): Simplify matrix stack handling (b32b1879)
      • squash: Fixup build after glGet (cc6eb942)
    • Commits no longer in build:
      • fixed: Calling WaitForData with full cache caused it to always block the max. of 5 seconds (a14b2558)
      • [dvdplayer] Fix for video ref clock not being enabled when requested (4441290e)
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-11-15, 16:13)Milhouse Wrote: Just try mounting your cifs share at the command line, what error do you see?

I always received a "Permission denied". For some reasons I need now to add "sec=ntlmv2" to the mount command:
Code:
mount -t cifs -o username=theuser,password=mypass,rw,sec=ntlmv2 //192.168.1.1/Movies /storage/videos
So in case there will be another user trying to mount a folder from a USB device connected to a Fritz Box (www.avm.de), you maybe gonna need that.
regards
New OpenELEC Helix build: #1122b
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 3.17.4 #1 PREEMPT Sat Nov 22 23:10:51 GMT 2014 armv6l GNU/Linux

# vcgencmd version
Nov 22 2014 12:47:53
Copyright (c) 2012 Broadcom
version 28c7ef8a70e164318828a2f232a6454bea7e7712 (clean) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20141122230939-r19686-g16a5a30 [Build #1122b]

Based on tip of OpenELEC master (16a5a30e, changelog) and tip of XBMC master (9f35a93b, changelog) with the following modifications:
  • Includes newclock4 patches
  • Excludes the OpenELEC fernetmenta patches due to conflicts with newclock4
  • Excludes the OpenELEC linux-01-RPi_support patch in favour of sourcing these and possibly more recent patches directly from kernel branch rpi-3.17.y
  • Excludes the OpenELEC xbmc-001-newclock4 patch in favour of sourcing these and possibly more recent patches directly from newclock4 branch
  • Default setting for "Show RSS Feed" changed to disabled (new installs only) [patch details]
  • Disabled "Total Duration" in Confluence (see build #0221 for details)
  • Adapted service.openelec.settings to take advantage of PR:5217 [patch details]
  • Includes latest libnfs master (4a58e614)
  • Includes latest libcec master (70e1b5de)
  • Includes latest xbmc-pvr-addons master (06842b90)
  • Includes latest xbmc-addon-xvdr master (328fa653)
  • Includes CONFIG_COREDUMP=y to allow creation of coredumps (see here)
  • Includes additional ffmpeg codecs/muxers enabled for testing/benchmarking purposes (see patch)
  • Includes commits from libcec-2.2.0 (popcornmix)
  • Includes PR:387: [pvr.mythtv] Release v1.9.26 (Helix) (kodi.pvr.addons)
  • Includes PR:388: [filmon] Fix harmless -Wformat-security warning (kodi.pvr.addons)
  • Includes PR:5573: webserver: improved caching control (see discussion)
  • Includes PR:5713: Fix "Current fanart" not being shown in DialogVideoInfo.
  • Includes PR:5747: [database] - add setting for hiding watched movies/episodes in recently added lists
  • Includes PR:5752: [jsonrpc] Allow retrieving empty TV shows via VideoLibrary.GetTVShows.
  • Includes PR:5771: [Keyboard Layouts] Add Polish QWERTY
Build Highlights:
  1. New firmware
    popcornmix Wrote:I've pushed a firmware update that improves (hopefully) the omxplayer framerate synching.
    Previously we would control the render vs vsync time for exact and double framerates (e.g. 24fps on 24Hz or 30fps on 60Hz) but not for 2.5 times framerate (24fps on 60Hz).
    With the update we handle the 2.5 times case.

    It's subtle, but I think it makes 24fps on 60Hz look a bit smoother (e.g. with panning). Obviously not as good as using a true 24Hz display.
  2. New 3.17.4 kernel
Build Details:
  1. Firmware (Nov 22):
    • firmware: Avoid enabling 25MHz ethernet clock on model A+. See: link
    • firmware: Restructure of hdmi pll adjustment code. Add support for locking to 3:2 cadence (24fps on 60Hz)
  2. OpenELEC:
    • imx6: Add coherent_pool=1M to boot options - fixes some dvb cards (PR:3636, 1 commit, 1 file changed)
    • linux: Bump to 3.17.4 (PR:3635, 2 commits, 37 files changed)
    • v4l-utils: update to v4l-utils-1.6.2 (bf25cab3)
    • projects/imx6/linux: add coherent_pool to kernel config (9d87a664)
    • Mesa: update to Mesa-10.3.4 (859d835f)
    • projects/imx6/patches/linux: add upstream patches (a082ecb2)
    • projects/imx6/kodi: use default DR setup (16a5a30e)
  3. XBMC:
    • [depends] ffmpeg: define make threads if number of cpu cores detection f... (PR:5757, 1 commit, 1 file changed)
    • fixed compilation error with undefined ARRAY_SIZE (PR:5760, 1 commit, 1 file changed)
    • dvdplayer: fix race in UpdateClockMaster (PR:5772, 1 commit, 1 file changed)
    • [omxplayer] Fix for out of sync after trickplay (PR:5782, 1 commit, 1 file changed)
    • [omxplayer] Fix for EAC3 passthrough (PR:5783, 2 commits, 3 files changed)
    • Samba fixes (PR:5767, 2 commits, 2 files changed)
    • Vda fixes (PR:5703, 13 commits, 8 files changed)
    • [linux] systemd-coredumpctl was renamed to coredumpctl fixes(#15547) (PR:5781, 1 commit, 1 file changed)
    • Add mk3d to video extensions and enable double cache (PR:5779, 1 commit, 3 files changed)
    • [Fix] Some manually activated subs were not shown on resume. (PR:5762, 1 commit, 1 file changed)
  4. newclock4:
    • New commits in this build:
      • fixed: FileCache-full logic was wrong + implement GetMaxWriteSize() function (414a4d37)
    • Commits no longer in build:
      • [omxplayer] Don't sync up to passthrough audio packets - let GPU handle it (6b63edcd)
      • [omxplayer] Fix for out of sync after trickplay (897f841d)
      • [omxplayer] Fix for EAC3 passthrough (4ccb79af)
      • dvdplayer: call UpdateClockMaster in regular intervals, state of videorefclock may change (45fe0c32)
      • fixed: FileCache-full logic was wrong + implement CanWriteToCache() function (7ed71a62)
      • changed: Don't reset average rate on cache switch as it doesn't work properly with heavy seeking (c9e14d04)
      • fixed: quell printf format warnings (844fb13c)
      • copy: support chunked reads so that CFile internal buffer is eliminated (0ae32838)
  5. Additional commits/pull requests not yet merged upstream:
    • Added: PR:388: [filmon] Fix harmless -Wformat-security warning (kodi.pvr.addons)
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.
@popcornmix, you have a PM.
(2014-11-23, 13:23)Mister XY Wrote: @popcornmix, you have a PM.

Thanks for sample file. I can reproduce the error (hang in DVD menu)
If you disable MMAL video acceleration it should avoid the hang (although video will play slowly with software decode).
That at least helps to narrow down the issue to the MMAL video decoder. I'll see what I can do.
Yes, with software decode it's run very slowly. And that is good, that you can reproduce the error.
@popcornmix Have noticed that changing the GUI refresh rate only works until a reboot.
I have recently (4-5 days?) switched from DESKTOP (1080p60) to 1080p23.98. The setting is saved (verified) and in fact it still works if Kodi is restarted.
After a reboot it's back at DESKTOP. I didn't check if the guisettings.xml still had 23.98, nor I have a debug log - I can get one tomorrow, it should be pretty easy to reproduce though.

I have an EDID file (hdmi_edid_file=1) if that matters.
New OpenELEC Helix build: #1123
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 3.17.4 #1 PREEMPT Sun Nov 23 22:09:06 GMT 2014 armv6l GNU/Linux

# vcgencmd version
Nov 23 2014 18:25:43
Copyright (c) 2012 Broadcom
version f3c57bbd789c59412f26651ea817b60197f3fdeb (clean) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20141123220755-r19686-g16a5a30 [Build #1123]

Based on tip of OpenELEC master (16a5a30e, changelog) and tip of XBMC master (e50472c6, changelog) with the following modifications:
  • Includes newclock4 patches
  • Excludes the OpenELEC fernetmenta patches due to conflicts with newclock4
  • Excludes the OpenELEC linux-01-RPi_support patch in favour of sourcing these and possibly more recent patches directly from kernel branch rpi-3.17.y
  • Excludes the OpenELEC xbmc-001-newclock4 patch in favour of sourcing these and possibly more recent patches directly from newclock4 branch
  • Default setting for "Show RSS Feed" changed to disabled (new installs only) [patch details]
  • Disabled "Total Duration" in Confluence (see build #0221 for details)
  • Adapted service.openelec.settings to take advantage of PR:5217 [patch details]
  • Includes latest libnfs master (4a58e614)
  • Includes latest libcec master (70e1b5de)
  • Includes latest xbmc-pvr-addons master (06842b90)
  • Includes latest xbmc-addon-xvdr master (328fa653)
  • Includes CONFIG_COREDUMP=y to allow creation of coredumps (see here)
  • Includes additional ffmpeg codecs/muxers enabled for testing/benchmarking purposes (see patch)
  • Includes commits from libcec-2.2.0 (popcornmix)
  • Includes PR:387: [pvr.mythtv] Release v1.9.26 (Helix) (kodi.pvr.addons)
  • Includes PR:388: [filmon] Fix harmless -Wformat-security warning (kodi.pvr.addons)
  • Includes PR:5573: webserver: improved caching control (see discussion)
  • Includes PR:5747: [database] - add setting for hiding watched movies/episodes in recently added lists
  • Includes PR:5752: [jsonrpc] Allow retrieving empty TV shows via VideoLibrary.GetTVShows.
Build Highlights:
  1. New firmware
  2. New newclock4 commit "Fixed PeripheralCecAdapter application exit code handling. " (ba8a6043) has had to be excluded due to a conflict with existing OE patch
Build Details:
  1. Firmware (Nov 23):
    • firmware: video_render: Reduce processing time to avoid dropouts with DTS audio
  2. XBMC:
    • musicdb: fix no songs being shown in years node (PR:5785, 1 commit, 1 file changed)
    • [Keyboard Layouts] Add Polish QWERTY (PR:5771, 1 commit, 1 file changed)
    • [repo] change repo URLs to use mirrors.kodi.tv (PR:5787, 1 commit, 6 files changed)
    • Fix "Current fanart" not being shown in DialogVideoInfo. (PR:5713, 1 commit, 1 file changed)
    • Double file cache fix. Fixes ticket #15500 (PR:5708, 6 commits, 8 files changed)
    • [osx] - re-enable yadif deinterlacer (PR:5784, 1 commit, 1 file changed)
  3. newclock4:
    • Commits no longer in build:
      • changed: Rename confusing CSimpleDoubleCache class to CDoubleCache (a7340c8f)
      • fixed: FileCache-full logic was wrong + implement GetMaxWriteSize() function (414a4d37)
      • fixed: Don't keep reading source when cache is full (fixes #15500) (afa90106)
      • changed: Use m_StateInput else dvdplayer osd info is 8 seconds delayed (729452e6)
      • fixed: Calling WaitForData with a large minimum could cause it to block the max. timeout (20fa595a)
      • fixed: Typo in variable name (4f6d6a7c)
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-11-23, 23:33)menakite Wrote: @popcornmix Have noticed that changing the GUI refresh rate only works until a reboot.
I have recently (4-5 days?) switched from DESKTOP (1080p60) to 1080p23.98. The setting is saved (verified) and in fact it still works if Kodi is restarted.
After a reboot it's back at DESKTOP. I didn't check if the guisettings.xml still had 23.98, nor I have a debug log - I can get one tomorrow, it should be pretty easy to reproduce though.

I have an EDID file (hdmi_edid_file=1) if that matters.

I can't see any error there: https://clbin.com/Bv2yL
tvservice -s before reboot: state 0x12001a [HDMI CEA (32) RGB lim 16:9], 1920x1080 @ 23.98Hz, progressive
After: state 0x12001a [HDMI CEA (16) RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive

<screenmode> in guisettings.xml before reboot (backup after kodi stopped, so it was saved correctly):
Code:
xbian@xbian ~ $ grep screenmode guisettings.xml-2398
        <screenmode>00192001080023.97602pstd</screenmode>

After:
Code:
xbian@xbian ~ $ grep screenmode .kodi/userdata/guisettings.xml
        <screenmode default="true">DESKTOP</screenmode>

Full diff of the 2 guisettings: https://clbin.com/RUArT
(2014-11-23, 23:33)menakite Wrote: @popcornmix Have noticed that changing the GUI refresh rate only works until a reboot.
I have recently (4-5 days?) switched from DESKTOP (1080p60) to 1080p23.98. The setting is saved (verified) and in fact it still works if Kodi is restarted.
After a reboot it's back at DESKTOP. I didn't check if the guisettings.xml still had 23.98, nor I have a debug log - I can get one tomorrow, it should be pretty easy to reproduce though.

I run with 1080p23.98 as my default resolution (as it avoids the HDMI switching for most content). It is remembered for me on reboot.
I did find when I first tried this I left resolution on DESKTOP and changed framerate to 23.98 and that reverted on a reboot.
When I changed to 1920x1080 and 23.98 it seemed to stick.

kodi does something rather confusing with list of resolutions.
DESKTOP is the HDMI mode you launched xbmc in. It will be the preferred HDMI mode (of the TV) unless overridden by config.txt.

If we assume DESKTOP is 1920x1080, then by default kodi adds 1920x1080 to resolution list twice, and depending on which one you choose, the behaviour changes.
If you pick the DESKTOP one, then reboot with a different display that prefers 1280x720, you get the 1280x720.
If you pick the 1920x1080 one, then reboot with a different display that prefers 1280x720, you get the 1920x1080.

That's why I change the name in newclock4 builds to make it clearer what the two modes are.

It's possible that we should be reporting the list of HDMI modes differently. I'd be interested if another kodi platform produces a different list of HDMI modes than the Pi.

I suspect that where kodi saves and loads the guisettings parameters it may be mixing up the DESKTOP and 1920x1080 modes resulting in the swap you are seeing.
Obviously DESKTOP doesn't have an associated framerate (even though you are allowed to choose one), so if that ends up in guisettings, the chosen framerate will be lost.
Ah! Yeah, that worked fine. A diff between the (new) backup and current guisettings shows no differences at all.
I was leaving the resolution untouched and only changed the frame rate.

Well, it's quite confusing because changing the frame rate automatically changes the resolution from DESKTOP to 1920x1080p... so I thought that was enough.
I think adding a note to the help for the frame rate setting should be enough.

The reason I'm changing the refresh rate is more or less the same: my TV is fast enough in switching the HDMI mode that I don't even notice it, but still my content is 98% 23.976.
(Side note: I don't really like Kodi picking a multiple of the refresh rate and I'm overriding 23.976 and 25. I completely understand why it does, but that really should be configurable... maybe an advanced setting.)

Thanks for your help again...
(2014-11-24, 21:15)menakite Wrote: Well, it's quite confusing because changing the frame rate automatically changes the resolution from DESKTOP to 1920x1080p... so I thought that was enough.
I think adding a note to the help for the frame rate setting should be enough.

I'd like it to behave so DESKTOP disables the framerate options and you have to switch to 1920x1080 if you want to set a different framerate.
Not sure if that's straightforward, but I'll look into it.
  • 1
  • 137
  • 138
  • 139(current)
  • 140
  • 141
  • 156

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