Kodi Community Forum

Full Version: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
"rm /storage/.cache/splash.h264" and reboot.
(2016-05-30, 23:31)Milhouse Wrote: [ -> ]
(2016-05-30, 11:10)ElectricPim Wrote: [ -> ]Is suspend broken in the latest build? Can't wake up anymore: Kore app.

Just in the last build #0529? Not seeing any suspend issue when using an IR remote or Yatse. Could Kore have updated?
Kore is not updated. RPI3. Honestly I don't use suspend a lot, so I don't know. I tried it yesterday out of the blue, and I recall i tried it when you wrote about it beginning of May. I tried the 0505 build again: also not working. If someone can confirm, it's worth investigating. Maybe it's a Kore thing. Do you know the suspend/wake-up command for the web interface. (jsonrpc?Application.Suspend / jsonrpc?Application.WakeUp ??)

BTW is there much energy saving compared to screensaver `Black`.
Aha, it seems Kodi wakes up now I connected my keyboard. I still think it should wake up on some jsonrpc call's, like cursor movement (Input.Right) or play.

And why not add (virtual) suspend as a screensaver. Seems to be the most energy saving one, because it will put a monitor in sleep mode.
On a Pi, I guess, suspend is only dispowering hdmi, although I'm not sure if analog audio (HDMI + analog audio) is still enabled with suspend.
(2016-05-31, 09:38)ElectricPim Wrote: [ -> ]Do you know the suspend/wake-up command for the web interface. (jsonrpc?Application.Suspend / jsonrpc?Application.WakeUp ??)

Not for the web interface, but to suspend from the command line: "texturecache.py power suspend". Enable the texturecache.py logfile to see the JSON-RPC command being issued - this may give you a clue for the web interface.

(2016-05-31, 09:38)ElectricPim Wrote: [ -> ]BTW is there much energy saving compared to screensaver `Black`.

Virtual suspend will make barely any difference in terms of power consumption for the RPi, but it will allow the connected display to go into "eco" mode - this might not happen with a screensaver, even black.

(2016-05-31, 12:05)ElectricPim Wrote: [ -> ]Aha, it seems Kodi wakes up now I connected my keyboard. I still think it should wake up on some jsonrpc call's, like cursor movement (Input.Right) or play.

There's currently no way to wake the RPi using only JSON - it needs an input from keyboard, IR or via EventServer (which I think Yatse supports, but perhaps Kore does not unless it's disdabled by default - anything in Kore settings to enable EventServer?)

(2016-05-31, 12:05)ElectricPim Wrote: [ -> ]And why not add (virtual) suspend as a screensaver. Seems to be the most energy saving one, because it will put a monitor in sleep mode.

No real need as you can enable the suspend function which then kicks in with whatever screensaver you are using.

Although @timker did write a screensaver that powers off the HDMI, which might work better for you if Kore doesn't support EventServer: 2022603 (post)

(2016-05-31, 12:05)ElectricPim Wrote: [ -> ]On a Pi, I guess, suspend is only dispowering hdmi, although I'm not sure if analog audio (HDMI + analog audio) is still enabled with suspend.

Yes, virtual suspend simply switches off the HDMI power. I don't think it has any effect on analog audio (not tested this).
New LibreELEC.tv Krypton build #0531: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.6.0 #1 Tue May 31 21:04:21 BST 2016 armv6l GNU/Linux

# vcgencmd version
May 31 2016 11:48:49
Copyright (c) 2012 Broadcom
version 6faf136a2445687e1bd90c8c763a8796ace73be2 (clean) (release)

# lsb_release
LibreELEC (Milhouse) - Version: devel-20160531210311-#0531-gb6370f0 [Build #0531]

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

# Kernel device tree status: Enabled

Based on tip of LibreELEC.tv master (b6370f0c, changelog) and tip of XBMC master (1e56320d, changelog) with the following modifications:
  • Includes newclock5 patches
  • Excludes the LibreELEC linux-01-RPi_support patch in favour of sourcing these and possibly more recent patches directly from kernel branch rpi-4.6.y
  • Includes latest bcm2835-driver master (7fcb39cb, ahead +11)
  • Includes latest kodi-platform master (c8188d82, ahead +4)
  • Includes latest libcec master (6d68d212)
  • Includes latest libnfs master (65424347, ahead +21)
  • Includes latest p8-platform master (041a8c6c, ahead +1)
  • Includes latest addons: adsp.basic (2ae604e5, +8), adsp.biquad.filters (01236bbe, +7), adsp.freesurround (34f50406, +7), asplib (da66f517), inputstream.mpd (3ac19c39, +11), inputstream.smoothstream (32275717, +2), peripheral.joystick (e0ba45d0, +31), pvr.argustv (5f48dcec, +4), pvr.demo (0fa9e1d0, +4), pvr.dvblink (a92f1264, +5), pvr.dvbviewer (3d0bea9a, +4), pvr.filmon (8743511d, +4), pvr.hdhomerun (b5ce9309, +4), pvr.hts (acd1a6ac, +5), pvr.iptvsimple (7a5a43f8, +4), pvr.mediaportal.tvserver (172a273c, +4), pvr.mythtv (e2b60252, +8), pvr.nextpvr (150698b7, +4), pvr.njoy (b5d65655, +4), pvr.pctv (feed5990, +4), pvr.stalker (4244220f, +12), pvr.vbox (c6594819, +4), pvr.vdr.vnsi (5498a8c1, +7), pvr.vuplus (ea3b33f6, +4), pvr.wmc (77af8daf, +4)
  • Exclude [env] kodi-999.10-aarch64-support.patch: Merged upstream
  • Include [env] e7cbe9cb: xf86-video-intel: Explicitely disable TearFree and TripleBuffer
  • Include [env] ed774729: Intel: Implement Passthrough-Range
  • Include [env] 98c65e6a: Kodi: Use Limited Range by default
  • Include [env] patch: xf86-video-intel: bump to 3fafabe
  • Include [env] patch: Fix SIGTERM patch after PR9748
  • Include [env] patch: Fix cmake after PR9750
  • Include [env] patch: Add extra headers needed by 3D BD MVC
  • Include [env] patch: Disable -werror as libnfs won't build 32-bit without it
  • Include [env] patch: mesa: update to 12.0.0-rc1
  • Include [env] patch: Bump libbluray - include MVC support
  • Include [env] patch: Add experimental splash video for RPi
  • Include [env] patch: HACK: Disable multiple PVR addons during migration. Always enable inputstream.*, os.* and peripheral.*
  • Include [env] patch: Enable pvr addons, disable pvr updates
  • Include [env] patch: Enable other binary addons
  • Include [env] PR:353: plymouth-lite: add bilinear interpolation patch
  • Include [env] PR:366: mysql: update to 5.7.12
  • Include [env] PR:382: systemd: update to 230
  • Revert [env] 46b9b7b3: rtmpdump (Reason: use newclock5 bump)
  • Include [pkg] patch: [skin.estuary] Hide watched items on home (kodi-theme-Estuary)
  • Include [pkg] patch: drm/i915: Extend Fake HDMI live status to Valley View (linux)
  • Include [pkg] patch: drm/i915/psr: Try to program link training times correctly (HSW fix) (linux)
  • Include [pkg] patch: Revert "drm/i915: Exit cherryview_irq_handler() after one pass" (BSW fix) (linux)
  • Include [pkg] patch: CSC: Remove average logic when saving NV12 surface on IVB+ (VAAPI fix) (libva-intel-driver)
  • Include [pkg] PR:8645: [video] Add season/TV show artwork to episodes/seasons even if they have their own fanart.
  • Include [pkg] PR:8824: videodb: fix smart playlists not honoring "Show empty TV shows" setting.
  • Include [pkg] PR:8922: [guiinfo] extend ranges for listitem properties
  • Include [pkg] PR:9803: [PeripheralCecAdapter] fix playback stopping on screensaver deactivated
  • Include [pkg] PR:9847: [PVR] Feature: Make instant recording behavior configurable
Build Highlights:
  1. NOTE: DVD ISO/disk playback remains temporarily disabled
  2. New firmware
  3. Do not decode eia_608 subtitles
Build Details:
  1. Firmware (May 31):
    • firmware: arm_loader: Add simple-framebuffer support for vc4-kms-v3d
    • firmware: dtoverlay: Improve compatibility
    • libdtovl: Simplify target-path handling. See: link
    • firmware: bootcode: Fix LED for A+ and B+. See: link
    • firmware: cmake: generate and install pkgconfig files. See: link
    • documentaton: IL Components: Documentation update from latest source
  2. XBMC:
    • DVDOverlayCodecFFmpeg: Do not decode eia_608 subtitles (PR:9887, 1 commit, 1 file changed)
  3. peripheral.joystick:
    • [buttonmaps] Add missing analog stick directions to linux buttonmaps (e0ba45d0)
  4. newclock5:
    • Commits no longer in build:
      • fixup! mmalcodec: Just return VC_PICTURE when we have more than one picture (bca23100)
      • fixup! [mmalcodec] Add back in preroll (49a75ca3)
      • fixup! Disable autoscrolling while on screensaver and while opening streams. (6b0e1966)
  5. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] patch: mesa: update to 12.0.0-rc1
(2016-05-31, 20:45)Milhouse Wrote: [ -> ]Yes, virtual suspend simply switches off the HDMI power. I don't think it has any effect on analog audio (not tested this).

Yes. HDMI audio will be impossible (the audio and video for HDMI go over the same lines that we have disabled).
Analogue audio should still be possible.
(2016-05-31, 20:45)Milhouse Wrote: [ -> ]There's currently no way to wake the RPi using only JSON - it needs an input from keyboard, IR or via EventServer (which I think Yatse supports, but perhaps Kore does not unless it's disdabled by default - anything in Kore settings to enable EventServer?)
Yes, but is jumps to unchecked after checking.

Anything in Kodi/Estuary to enable EventServer for remote? Can't find it.
http://kodi.wiki/view/Settings/Services#Remote_control

I have Allow remote control for HTTP enabled in Estuary.

Because it seems UDP server is running on 127.0.0.1:9777 (log) only, not available on LAN:
Code:
sudo nmap -sU -p 9777 opielec.local
Host is up (0.0059s latency).
PORT     STATE  SERVICE
9777/udp closed unknown
MAC Address: xxx (Raspberry Pi Foundation)

On my RPI1 (OpenLElec 6) it's running UDP on 0.0.0.0:9777, that is available on LAN.
Even setting it in.kodi/userdata/guisettings.xm to true
Code:
<esallinterfaces default="true">false</esallinterfaces>
It reverts to false after restart.
(2016-05-31, 23:12)popcornmix Wrote: [ -> ]
(2016-05-31, 20:45)Milhouse Wrote: [ -> ]Yes, virtual suspend simply switches off the HDMI power. I don't think it has any effect on analog audio (not tested this).

Yes. HDMI audio will be impossible (the audio and video for HDMI go over the same lines that we have disabled).
Analogue audio should still be possible.

But it isn't. Analogue audio is not working in suspend. Nor in `HDMI + Anal.` nor in `Analog only`.
(2016-06-01, 14:54)ElectricPim Wrote: [ -> ]But it isn't. Analogue audio is not working in suspend. Nor in `HDMI + Anal.` nor in `Analog only`.

How are you using audio? I'd imagine that suspending will stop Kodi's only audio/video players.

I'm just describing what is possible from a hardware point of view.
e.g. if you run an external program that used alsa for audio, then I'd expect analogue to work and hdmi to not work.

I wouldn't expect kodi to continue playing video or audio once suspended. That in general wouldn't make sense.
I tried it out of curiosity.

You're right, it stops at suspend. But I can start a DVB-T radio-stream or other file with the jsonrpc without waking the Pi up. The file plays according to Kore, but no sound, at the moment I touch the keyboard, analog sound is enabled

Log:
Process - failed to create audio renderer (repeatedly)

Use-case: music(radio), but for me it was just out of curiosity. A `disable HDMI/suspend` screensaver would make sense for energy saving purposes. Millhouse already linked to that one.
Hi there,

german language seems only to work with the first profile.
In my second profile I german language is not listed nor it can be set in the guisettings.xml file.

Did I miss something?

Greetings..
(2016-05-29, 20:42)Milhouse Wrote: [ -> ]
(2016-05-29, 18:32)popel Wrote: [ -> ]No, I use the default builds.
Looks like there is no splash video, wo I will try to disable (learning by doing for me)

€: Worked!! Thanks a lot! But how will I be able to use the splash video? or was it just missing?

Hmmm, a missing splash video should not block Kodi startup. A non-standard splash video could delay Kodi startup if the video is ridiculously long.

Not sure if a corrupt video file might cause problems - if this is possible, then obtaining a copy of /storage/.cache/splash.h264 might be useful so that it can be debugged further.

What is the output from the following commands:

Code:
ls -la /storage/.cache
md5sum /storage/.cache/splash.h264 2>/dev/null || echo "md5sum: Splash video not found"
time /usr/bin/hello_video.bin /storage/.cache/splash.h264
LibreELEC:~ # ls -la /storage/.cache
total 14
drwxr-xr-x 8 root root 1024 May 24 21:19 .
drwxr-xr-x 18 root root 1024 May 29 18:45 ..
drwxr-xr-x 2 root root 1024 May 17 06:56 bluetooth
drwxr-xr-x 3 root root 1024 May 31 22:04 connman
drwxr-xr-x 2 root root 1024 May 31 22:04 cores
drwxr-xr-x 3 root root 1024 May 17 06:57 cron
-rw-r--r-- 1 root root 9 Jun 1 20:50 hostname
-r--r--r-- 1 root root 33 May 31 22:04 machine-id
-rw-r--r-- 1 root root 392 Jun 1 20:50 milhouse.dat
-rw-r--r-- 1 root root 2048 Jun 1 20:49 random.data
drwxr-xr-x 2 root root 1024 May 24 13:51 services
-rw-r--r-- 1 root root 1331559 May 24 21:19 splash.h264
drwxr-xr-x 2 root root 1024 May 24 13:51 ssh
-rw-r--r-- 1 root root 23 May 24 14:56 timezone
LibreELEC:~ # md5sum /storage/.cache/splash.h264 2>/dev/null
629eb3f5a2927cee49893fee8745bb42 /storage/.cache/splash.h264
LibreELEC:~ # time /usr/bin/hello_video.bin /storage/.cache/splash.h264
Command exited with non-zero status 254
real 0m 0.01s
user 0m 0.00s
sys 0m 0.00s

Quote:Also, try the following which should reproduce "blocked Kodi", then paste the results:
Code:
rm -f /storage/.config/splash.disable
texturecache.py debugon
systemctl restart kodi
sleep 60
cat /storage/.kodi/temp/kodi.log | pastebinit

I will edit the post, when done this! (watching movies atm)

Quote:To "unblock" Kodi:
Code:
touch /storage/.config/splash.disable
systemctl restart kodi
sleep 20
texturecache.py debugoff
(2016-06-01, 11:02)ElectricPim Wrote: [ -> ]Yes, but is jumps to unchecked after checking.

Anything in Kodi/Estuary to enable EventServer for remote? Can't find it.
http://kodi.wiki/view/Settings/Services#Remote_control

I have Allow remote control for HTTP enabled in Estuary.

See this post: 2325903 (post)

In Estuary, the setting is now in Settings > Interface settings > Control > Allow remote control from applications on other systems

If it's still not working (to be sure, reboot after enabling the option) then you'd best ask the developer @syncd.
(2016-06-01, 11:47)ElectricPim Wrote: [ -> ]Even setting it in.kodi/userdata/guisettings.xm to true
Code:
<esallinterfaces default="true">false</esallinterfaces>
It reverts to false after restart.

You shouldn't edit guisettings.xml. If the setting isn't "sticking" then try with a "clean" system - rename .kodi to .kodi.bak and try enabling the option. I can't think of a reason right now why this option would keep reverting back to disabled - it's staying enabled on my system so may be specific to your setup (addon, perhaps, or corrupted guisettings.xml).

Note that guisettings.xml is overwritten on Kodi shutdown, so you should only edit guisettings.xml when Kodi is not running ("systemctl stop kodi").