CoreELEC

Post Reply
Raybuntu
Posts: 1414
Joined: Mon Nov 30, 2015 4:23 pm
languages_spoken: english, german
ODROIDs: C1+, C2
Has thanked: 3 times
Been thanked: 23 times
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by Raybuntu »

andy5macht wrote:
Raybuntu wrote:Looks interesting. My Sundtek DVB S2 tuner is working. Probably some compat ioctl missing inside the kernel.
Can you try mediaclient from sundtek to get a lock. Maybe there is an error that tells me more than that dtv_clear failed:

http://wiki.sundtek.de/index.php/Mediaclient

Thats a weird error btw. e=Success?? If I read that right it means error was Success?

Code: Select all

LibreELEC:~ # mediaclient -e
**** List of Media Hardware Devices ****
device 0: [MediaTV Digital Home III (EU)]  DVB-C, DVB-T, DVB-T2, REMOTE-CONTROL
  [INFO]:
     STATUS: ACTIVE
  [BUS]:
     ID: 2-1
  [SERIAL]:
     ID: U160617004812
  [DVB-C]:
     FRONTEND: /dev/dvb/adapter0/frontend0
     DVR: /dev/dvb/adapter0/dvr0
     DMX: /dev/dvb/adapter0/demux0
  [DVB-T]:
     FRONTEND: /dev/dvb/adapter0/frontend0
     DVR: /dev/dvb/adapter0/dvr0
     DMX: /dev/dvb/adapter0/demux0
  [DVB-T2]:
     FRONTEND: /dev/dvb/adapter0/frontend0
     DVR: /dev/dvb/adapter0/dvr0
     DMX: /dev/dvb/adapter0/demux0
  [REMOTECONTROL]:
     INPUT0: /dev/mediainput0

LibreELEC:~ #  mediaclient -m DVBC -f 402000000 -M Q256 -S 6900000
Using device: /dev/dvb/adapter0/frontend0
Checking for lock:
. [LOCKED]
LibreELEC:~ # LibreELEC:~ # mediaclient --readsignal=2 -d /dev/dvb/adapter0/frontend0
== reading digital TV signal ==
SIGNAL: [.............................    ] ( 88%) BER:      0 CNR: 35.50 FREQ: 4                                              02000000  Hz LOCKED: YES SYM: 6900000 MOD: QAM256
SIGNAL: [.............................    ] ( 88%) BER:      0 CNR: 35.50 FREQ: 4                                              02000000  Hz LOCKED: YES SYM: 6900000 MOD: QAM256

LibreELEC:~ # mediaclient --cat /dev/dvb/adapter0/dvr0 | mediaclient --pipecount=
1000
[2017-01-17 23:19:50]    5888000 bytes |    5750.00 kb |       5.62 mb transferred
[2017-01-17 23:19:51]    5918720 bytes |    5780.00 kb |       5.64 mb transferred
[2017-01-17 23:19:52]    5939200 bytes |    5800.00 kb |       5.66 mb transferred
[2017-01-17 23:19:53]    5928960 bytes |    5790.00 kb |       5.65 mb transferred
[2017-01-17 23:19:54]    5898240 bytes |    5760.00 kb |       5.62 mb transferred
[2017-01-17 23:19:55]    5949440 bytes |    5810.00 kb |       5.67 mb transferred
[2017-01-17 23:19:56]    5949440 bytes |    5810.00 kb |       5.67 mb transferred
[2017-01-17 23:19:57]    5928960 bytes |    5790.00 kb |       5.65 mb transferred
[2017-01-17 23:19:58]    5908480 bytes |    5770.00 kb |       5.63 mb transferred
[2017-01-17 23:19:59]    5939200 bytes |    5800.00 kb |       5.66 mb transferred
[2017-01-17 23:20:00]    5918720 bytes |    5780.00 kb |       5.64 mb transferred
[2017-01-17 23:20:01]    5959680 bytes |    5820.00 kb |       5.68 mb transferred
^C
LibreELEC:~ #
Looking good. So this is a tvh issue. Currently no idea how to fix it sorry. You are better of with official LE.

@Karlston: Connect an UART and send me the boot log.
MagicDude4Eva wrote:I am first-time user of a C2 and have just installed this firmware and it works great. Will this modded Estuary skin (http://forum.kodi.tv/showthread.php?tid=267343) work with this version of the firmware (i.e. just add the repo and install) or is there anything else I would need consider?

Another question: Does the C2 support infra-red remote power off/on and if mine does not work, how can I troubleshoot this?
I've successfully tested estuary mod.

titi0
Posts: 13
Joined: Mon Sep 12, 2016 5:56 pm
languages_spoken: english, french
ODROIDs: Odroid C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by titi0 »

Hi,
I noticed in beta1i that GUI is set to 1920x1080 and if I try to play 4K content it doesn't switch to 4K; if I'm not wrong it used to work fine in beta1f.

User avatar
wrxtasy
Posts: 1304
Joined: Wed May 13, 2015 1:59 pm
languages_spoken: english
ODROIDs: C1, C1+, C2, N2
Location: Australia
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by wrxtasy »

Check you actually have your C2 connected to a HDMI 2.0 port on your TV.

Also in Kodi System Video Output settings, this can be confirmed by having 2160p50hz & 2160p60hz as available resolutions.

2160p(4K) 50 or 60fps video played over a HDMI 1.4 connection will still playback at 1080p due to 2160p50hz & 2160p60hz modes not being available over HDMI 1.4

Just tested a 2160p@59.94fps clip and it switching and outputting at 2160p with the beta-i update.
Kodi Hardware Guru

lupus11
Posts: 2
Joined: Wed Jan 18, 2017 9:44 pm
languages_spoken: english,german
ODROIDs: 2 x C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by lupus11 »

titi0 wrote:Hi,
I noticed in beta1i that GUI is set to 1920x1080 and if I try to play 4K content it doesn't switch to 4K; if I'm not wrong it used to work fine in beta1f.
I had a similar observation yesterday when trying to play a 2160/24p movie. No idea if it worked before because I come from the 7 versions (wrxtasy).
There it worked without problem. Cannot be a hardware issue of my installation btw. When switching the destkop to 2160p , the movie played in 2160p without
problems.
Apart from this, thanks a lot for your efforts and this great release.

titi0
Posts: 13
Joined: Mon Sep 12, 2016 5:56 pm
languages_spoken: english, french
ODROIDs: Odroid C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by titi0 »

wrxtasy wrote:Check you actually have your C2 connected to a HDMI 2.0 port on your TV.

Also in Kodi System Video Output settings, this can be confirmed by having 2160p50hz & 2160p60hz as available resolutions.

2160p(4K) 50 or 60fps video played over a HDMI 1.4 connection will still playback at 1080p due to 2160p50hz & 2160p60hz modes not being available over HDMI 1.4

Just tested a 2160p@59.94fps clip and it switching and outputting at 2160p with the beta-i update.
Tested 1920x1080 at 50 & 60 Hz but it doesn't work; works fine if I set 2160p 50 Hz

Jeffjoker
Posts: 3
Joined: Wed Jan 18, 2017 10:04 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by Jeffjoker »

Hi raybuntu,

Thanks for the build.
1 issue : with the opensubtitles addon, it works fine with TVshows but fails with Movies saying the credentials are wrong. Might be an addon bug, bug I have the same addon and version on other devices (and therefore builds) and I do not have the issue.

Thanks again

User avatar
wrxtasy
Posts: 1304
Joined: Wed May 13, 2015 1:59 pm
languages_spoken: english
ODROIDs: C1, C1+, C2, N2
Location: Australia
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by wrxtasy »

@tit0,

EDIT: Pls check you have Kodi refresh rate switching Enabled in Kodi settings ?

issue this command and post up what gets output:

Code: Select all

cat /sys/class/amhdmitx/amhdmitx0/disp_cap
Kodi Hardware Guru

were55
Posts: 33
Joined: Thu Mar 03, 2016 4:20 am
languages_spoken: spanish
ODROIDs: waiting for Odroid-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by were55 »

Jeffjoker wrote:Hi raybuntu,

Thanks for the build.
1 issue : with the opensubtitles addon, it works fine with TVshows but fails with Movies saying the credentials are wrong. Might be an addon bug, bug I have the same addon and version on other devices (and therefore builds) and I do not have the issue.

Thanks again
Which addon are you using? there is one from opensubtitle forum that user/pswd is not needed, try it, I don't have that problem.

Jeffjoker
Posts: 3
Joined: Wed Jan 18, 2017 10:04 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by Jeffjoker »

were55 wrote:Which addon are you using? there is one from opensubtitle forum that user/pswd is not needed, try it, I don't have that problem.
This one I guess : https://forum.opensubtitles.org/viewtopic.php?t=15847

I have installed the direct download one, cleaned all the settings and files
Did the same with the latest github version

Same behavior with both:
When I try to download a subtitle it will fail to search, but it will find things if I search manually

pepeq
Posts: 39
Joined: Tue Oct 04, 2016 7:04 pm
languages_spoken: english german
ODROIDs: N2, C4
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by pepeq »

@Raybuntu:
what is new in beta1j?

LNGR
Posts: 5
Joined: Thu Jan 19, 2017 5:44 am
languages_spoken: english
ODROIDs: C1
C2
XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by LNGR »

@raybuntu

Thanks for the update. I use a separate TVheadend server but I still notice that EPG is not visibile in guide after reboot.
EPG loads after stream is selected. Is this a known bug?

ps. wait for network @ 20sec does not work either.

titi0
Posts: 13
Joined: Mon Sep 12, 2016 5:56 pm
languages_spoken: english, french
ODROIDs: Odroid C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by titi0 »

wrxtasy wrote:@tit0,

EDIT: Pls check you have Kodi refresh rate switching Enabled in Kodi settings ?

issue this command and post up what gets output:

Code: Select all

cat /sys/class/amhdmitx/amhdmitx0/disp_cap
Hi,

using beta1i (fresh install, 4K auto switch doesn't work):
480i60hz
480p60hz
576i50hz
576p50hz
720p60hz
1080i60hz
1080p60hz
720p50hz
1080i50hz
1080p30hz
1080p50hz
1080p25hz
1080p24hz
2160p30hz
2160p25hz
2160p24hz
smpte24hz
smpte25hz
smpte30hz
smpte50hz420
smpte60hz420
2160p50hz420
2160p60hz420

Reverted to beta1f (fresh install) and using same test file 4K auto switch works fine:
480i60hz
480p60hz
576i50hz
576p50hz
720p60hz
1080i60hz
1080p60hz
720p50hz
1080i50hz
1080p30hz
1080p50hz
1080p25hz
1080p24hz
2160p30hz
2160p25hz
2160p24hz
smpte24hz
smpte25hz
smpte30hz
smpte50hz420
smpte60hz420
2160p50hz420
2160p60hz420

Upgraded beta1f to beta1i and 4K auto switch works now:
480i60hz
480p60hz
576i50hz
576p50hz
720p60hz
1080i60hz
1080p60hz
720p50hz
1080i50hz
1080p30hz
1080p50hz
1080p25hz
1080p24hz
2160p30hz
2160p25hz
2160p24hz
smpte24hz
smpte25hz
smpte30hz
smpte50hz420
smpte60hz420
2160p50hz420
2160p60hz420


This difference is that in the beta1i fresh install 4k auto switch doesn't work but if I upgrade from beta1f to beta1i it works fine. :?

Raybuntu
Posts: 1414
Joined: Mon Nov 30, 2015 4:23 pm
languages_spoken: english, german
ODROIDs: C1+, C2
Has thanked: 3 times
Been thanked: 23 times
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by Raybuntu »

rb-beta1j is a bugfix for peak3d patches. There was one commit missing in my patch.

Its getting hard to keep track of all those issues. I've enabled issues tracker in my git. I hope it will be used wisely and not for requests to add some features etc.

https://github.com/Raybuntu/LibreELEC.tv/issues

In the future please try to report issues there. This forum software here is really bad and I don't receive notifications if there is a reply.

LNGR
Posts: 5
Joined: Thu Jan 19, 2017 5:44 am
languages_spoken: english
ODROIDs: C1
C2
XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by LNGR »

No problem.

danmed
Posts: 24
Joined: Sat Nov 05, 2016 7:12 pm
languages_spoken: english
ODROIDs: C2 x 2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by danmed »

Hey, would you be able to tell me how to compile your build with the attached patches included?

I've cloned your repo, it says i'm up to date with 'origin/8beta'

then i've gone to run the download tool which would usually be

PROJECT=Odroid_C2 ARCH=aarch64 tools/download-tool

but with this being 32bit i'm not sure that's the correct command...
Attachments
kodi-001-backport.patch.txt
(37.73 KiB) Downloaded 83 times

Raybuntu
Posts: 1414
Joined: Mon Nov 30, 2015 4:23 pm
languages_spoken: english, german
ODROIDs: C1+, C2
Has thanked: 3 times
Been thanked: 23 times
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by Raybuntu »

ARCH=arm.

danmed
Posts: 24
Joined: Sat Nov 05, 2016 7:12 pm
languages_spoken: english
ODROIDs: C2 x 2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by danmed »

thank you. giving it a whirl now :)

Kiralina
Posts: 25
Joined: Wed Aug 31, 2016 2:00 am
languages_spoken: english,romanian,italian,french
ODROIDs: ODROID C2
Location: Romania
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by Kiralina »

wrong thread
Last edited by Kiralina on Fri Jan 20, 2017 4:32 am, edited 1 time in total.

Raybuntu
Posts: 1414
Joined: Mon Nov 30, 2015 4:23 pm
languages_spoken: english, german
ODROIDs: C1+, C2
Has thanked: 3 times
Been thanked: 23 times
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by Raybuntu »

As your issue is not related to this build please open a new thread

Kiralina
Posts: 25
Joined: Wed Aug 31, 2016 2:00 am
languages_spoken: english,romanian,italian,french
ODROIDs: ODROID C2
Location: Romania
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by Kiralina »

Raybuntu wrote:As your issue is not related to this build please open a new thread
Done.
Last edited by Kiralina on Fri Jan 20, 2017 7:45 pm, edited 1 time in total.

MagicDude4Eva
Posts: 8
Joined: Wed Jan 18, 2017 4:33 am
languages_spoken: english
ODROIDs: C2
Location: Johannesburg
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by MagicDude4Eva »

wrxtasy wrote: Infra Red Power OFF / ON will only work with the C1/C2 IR remote control OR a Harmony remote control programmed as a C1 OR via HDMI-CEC when you turn your TV OFF / ON. (See Kodi > System Settings > Input > Peripherals)

Just tested my IR C2 remote and its still working for OFF / ON. Bang it, Change batteries, get closer to C2 IR sensor as the TV may be interferring ?
Thank you - I changed the device profile on my Logitech to ODROID-C2 and then also enabled HDMI-CEC and the C2 can now be powered on/off via the remote - truly awesome as I could never get this working on my previous Xtreamer WonderPro.

A few comments (perhaps I missed something as there is just so much information out about the Odroid):
- When I flashed your the LibreElec or your image, my Samsung TV lost signal during restart of the C2. I tried the hpd mode but this did not work. Once I replaced boot.ini with this one, the Samsung TV did not lose the signal. I will retry it with your latest firmware - perhaps this was some config issue on my end.
- Using the Harmony Remote and navigating left/right/up/down I see via "irw" that the command is received as soon as I press the button on the remote, but there is a delay (about 100-200ms) moving focus on screen. It almost seems that XBMC does not get the signal fast enough. When using my old Xtreamer remote (which is Bluetooth via an USB dongle) button clicks on the remote are very responsive and fast. I have honestly no idea where to look (since the Bluetooth remote works fast, I can only assume that the hand-off between the infra-red driver to Kodi has some delay).

Feature request: Would it be possible to add a preference pane to control the C2's LEDs (I figured out that this can be done via /etc/tmpfiles.d/leds.conf as described here)

User avatar
rooted
Posts: 8039
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 724 times
Been thanked: 253 times
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by rooted »

LNGR wrote:@raybuntu

Thanks for the update. I use a separate TVheadend server but I still notice that EPG is not visibile in guide after reboot.
EPG loads after stream is selected. Is this a known bug?

ps. wait for network @ 20sec does not work either.
This has nothing to do with LE, it's the tvheadend plug-in as I get the same thing in Android.

Enable "Asynchronous EPG transfer" in the advanced settings of the HTSP plug-in, it may help.

User avatar
wrxtasy
Posts: 1304
Joined: Wed May 13, 2015 1:59 pm
languages_spoken: english
ODROIDs: C1, C1+, C2, N2
Location: Australia
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by wrxtasy »

MagicDude4Eva wrote: - Using the Harmony Remote and navigating left/right/up/down I see via "irw" that the command is received as soon as I press the button on the remote, but there is a delay (about 100-200ms) moving focus on screen. It almost seems that XBMC does not get the signal fast enough.
- This is a know issue with Lirc and the NEC IR protocol used, see the following thread for further details:
http://forum.odroid.com/viewtopic.php?f=144&t=25528

@LNGR, try selecting Kodi settings > PVR > clear data

That is what I use when EPG, related data seems to be stuck and not loading.
Kodi Hardware Guru

MagicDude4Eva
Posts: 8
Joined: Wed Jan 18, 2017 4:33 am
languages_spoken: english
ODROIDs: C2
Location: Johannesburg
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by MagicDude4Eva »

wrxtasy wrote: - This is a know issue with Lirc and the NEC IR protocol used, see the following thread for further details:
http://forum.odroid.com/viewtopic.php?f=144&t=25528
Thank you. That explanation makes sense and is not really a big issue as the C2 is a huge improvement over the WonderPro (where we had to unplug power-cables and switch inputs to get the device going and we also used the Harmony for TV control and then the Airmouse for XBMC).

hinball
Posts: 9
Joined: Sat Jan 21, 2017 9:15 am
languages_spoken: english
ODROIDs: odroid c2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by hinball »

i am using Raybuntu beta1j , all run well, most of the my playback perfect, however during playback if i want to seeking forward the right button seem can't function but in the UI the right button is normal , anyone experiencing the same issue ? ( i am using the ir remote for HK)

Raybuntu
Posts: 1414
Joined: Mon Nov 30, 2015 4:23 pm
languages_spoken: english, german
ODROIDs: C1+, C2
Has thanked: 3 times
Been thanked: 23 times
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by Raybuntu »

hinball wrote:i am using Raybuntu beta1j , all run well, most of the my playback perfect, however during playback if i want to seeking forward the right button seem can't function but in the UI the right button is normal , anyone experiencing the same issue ? ( i am using the ir remote for HK)
Button broken?

alex240188
Posts: 135
Joined: Thu Oct 01, 2015 12:46 am
languages_spoken: english
ODROIDs: C1+, C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by alex240188 »

Raybuntu wrote:
hinball wrote:i am using Raybuntu beta1j , all run well, most of the my playback perfect, however during playback if i want to seeking forward the right button seem can't function but in the UI the right button is normal , anyone experiencing the same issue ? ( i am using the ir remote for HK)
Button broken?
I think you have misread his translate.
I think he is saying. In the UI the right button is working correctly but when playing a video the right button does nothing

Raybuntu
Posts: 1414
Joined: Mon Nov 30, 2015 4:23 pm
languages_spoken: english, german
ODROIDs: C1+, C2
Has thanked: 3 times
Been thanked: 23 times
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by Raybuntu »

Then its an issue with the keymap. Install keymap editor addon.

hinball
Posts: 9
Joined: Sat Jan 21, 2017 9:15 am
languages_spoken: english
ODROIDs: odroid c2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by hinball »

i may messy up something during update from beta1i to beta1j , after a clean install of beta1j everything back to normal thanks Raybuntu :D

And just bought a wireless remote which much more responsive than the IR remote , glad great the support on Libreelec

redbird
Posts: 70
Joined: Thu Nov 14, 2013 1:23 am
languages_spoken: english
ODROIDs: U2, C2x5, XU4Qx2, N2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by redbird »

I'm just using hdmi for audio and the sound appears to "snap" on and off when playing and stopping videos (betai).
Is there a setting to overcome this or is anyone else noticing this?

alex240188
Posts: 135
Joined: Thu Oct 01, 2015 12:46 am
languages_spoken: english
ODROIDs: C1+, C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by alex240188 »

I've just got a 4k TV and have switched over to direct HDMI connection instead of going through my avr as it is limited to 1080p.
I've noticed an issue with 3d content.
Previously when connected to my avr it worked normally but now when I start a hsbs video. It splits it in half again.
So I end up with 4 vertical zones in screen.
The 2 on the left show each side per quarter screen.
And the right 2 quarters show nothing.
Enabling SBS on the TV then results in the image showing split screen. (Left half and right half)
The only way to get it working is to choose 2d mode when playing the video.
This results in the video actually playing in SBS mode (the same as choosing SBS when connected via my avr)
I can then enable 3d on the TV and it displays the 3d correctly.
Then the other issue is that there is no way to show a video in 2d because choosing 2d still shows sbs.

strontium
Posts: 6
Joined: Sun Jan 22, 2017 7:31 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by strontium »

Hey first time posting on this forum, I just wanted to give some feedback on the latest version of Libreelec on the Odroid C2 and see what the rest of the community felt.

So I've had a C2 for some time, I gave up on the board on Libreelec Jarvis, It basically worked great apart from an annoying audio sync issue that would not disappear when plugged though an AVR. This was made more annoying as the PI2 or Pi3 board had no signs of audio sync issues. Some of the suggested work arounds at the time were to set for all media a delay of 150 - 250 ms but this was not a workable solution as the sync was different for different types of media. All in all it made the experience not worth the effort when the PI was playing everything that I through at it and with no annoying sync issues. The thing is I don't want to give up on this board as I still think it has the most opportunity out of all the small ARM boards on the market. Particularly it's more powerful CPU and it's ability to decode HEVC in HW.

So I came back to the board recently using the official Krypton beta on the libreelec website for the Odroid and was so pleased to see the sync issues had gone even when using Pass through on DTS DTS-HD etc.. The problem was the memory would ramp up fast due to a known leak that they are still fighting with over on the official Libreelec site. This brings me up to yesterday when I decided to try this community build that has the latest patches on and I was very happy to see that the memory was working very efficiently and no issues. So all in all very happy, right?

Well there is one thing that in my experience using this device I have noticed and I was wondering if any other users have experienced, when I first boot the device the memory is low the CPU is low when idle and continues to be with general use. But the problem is that sometimes I notice the CPU starts ramping up, just stuck around 50% all the time sometimes as high as 75-90% overall with some cores pinned at 100%. This tends to happen when something has been streamed using SALTS or EXODUS (not sure if I am allowed to mention addon names) but sometimes happens when I have just left the device alone for some time.

Now I have tried to look into these issues myself but running top just shows the kodi.bin process using the CPU, and as there is no task manager which breaks down what else may be using the CPU and the logs don't show anything particularly interesting all in all it's hard to pin down.

I guess this is why I wanted to see what others on here have seen day to day particularly some of the experienced devs working on getting Krypton stable and if this is some of their experiences and if so what bug this points to if any bug at all.

I want to finish by thanking all the guys out there that do such a wonderful job or contributing to this fantastic project, I guess I just like the rest of the community want to see this board become the number one board to run libreelec on, but as of today I have to say that the PI is still a more stable option.

Thoughts?

Thanks

Strontium. :D :D

Raybuntu
Posts: 1414
Joined: Mon Nov 30, 2015 4:23 pm
languages_spoken: english, german
ODROIDs: C1+, C2
Has thanked: 3 times
Been thanked: 23 times
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by Raybuntu »

@alex240188: Neither 3D nor 4K TV here, sorry. It all comes down to EDID info.

@strontium: Those streams are probably not supported by HW decoder therefor SW decoder is used. Btw, there is no official LE 8 beta for C2 you were probably using 010 alpha.

alex240188
Posts: 135
Joined: Thu Oct 01, 2015 12:46 am
languages_spoken: english
ODROIDs: C1+, C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by alex240188 »

If I recall correctly the is a way of dumping an edid and forcing to use that.
I'll try seeing what differences are in the tvservice between avr and direct connection

Raybuntu
Posts: 1414
Joined: Mon Nov 30, 2015 4:23 pm
languages_spoken: english, german
ODROIDs: C1+, C2
Has thanked: 3 times
Been thanked: 23 times
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by Raybuntu »

Btw I remembered that there is a patch from koying which is not included but it was in wrxtasy's builds.

strontium
Posts: 6
Joined: Sun Jan 22, 2017 7:31 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by strontium »

Hey Raybuntu,

Appreciate the speedy reply, I guess that may be the case. I'm pretty sure that the CPU stays pinned quite high after playback though even after the media has ended. These are x264 files so I guess they should be using HW decode. And like I mentioned I've seen this high cpu behaviour happen without playback of any media. Maybe it's localised to myself and no one else that's why I wanted to see what the community had observed.

My hunch is that there is something going on with the CPU either in kodi or with this configuration but I wouldn't have the tools to debug it or unravel. Any ways thanks again for everything.

You prob right about the version I used over on the official Libreelec site.

Thanks

Strontium

User avatar
wrxtasy
Posts: 1304
Joined: Wed May 13, 2015 1:59 pm
languages_spoken: english
ODROIDs: C1, C1+, C2, N2
Location: Australia
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by wrxtasy »

The problem is ADDONS and Video streams - from unknown sources - and if we discuss them again I will start deleting posts and Moderating - in line with Kodi's Piracy Policy. We LE devs. respect the free Kodi project too much to allow such discussion.

I certainly will not be helping you with what you are trying to diagnose, nor, I can confidently say will RB.

There have been a LOT of Video Sync and codec playback support changes to C2 LibreELEC Krypton lately. The C2 version RB is distributing here is far superior to the older version that is currently available from the official LibreELEC website.
Kodi Hardware Guru

afremont
Posts: 128
Joined: Sun Mar 08, 2015 12:58 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by afremont »

If I understand the option descriptions correctly, passthrough is no longer supported on live streams. I can certainly verify that with live TV through the Mythpvr addon. I do not have sync playback to display enabled. Passthrough works fine with recordings.

Is this permanent?

Sent from my Moto G (4) using Tapatalk

Raybuntu
Posts: 1414
Joined: Mon Nov 30, 2015 4:23 pm
languages_spoken: english, german
ODROIDs: C1+, C2
Has thanked: 3 times
Been thanked: 23 times
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by Raybuntu »

PT should always work even on live streams if "sync playback" is disabled. No idea why its not working I have no AVR.

strontium
Posts: 6
Joined: Sun Jan 22, 2017 7:31 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by strontium »

OK wrxtasy I understand your position and will not mention this again. I didn't want to get hung up on the addons side of thing and was tyring to stress that I've been seeing high cpu without playback but your right it could be addon related or not.. Any ways point closed.

Thanks again,

Strontium

afremont
Posts: 128
Joined: Sun Mar 08, 2015 12:58 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by afremont »

Raybuntu wrote:PT should always work even on live streams if "sync playback" is disabled. No idea why its not working I have no AVR.
Okay, I guess there's a problem then. Image The description for passthrough option says that passthrough doesn't work on live streams or with sync playback to display. Another odd thing I'm seeing is that, even with "best match" selected instead of "optimized", my AVR is still seeing 7.1 PCM at its input with a live TV stream, regardless of what is actually being broadcast. Recordings play back with passthrough just fine.

I can try later to get a debug log if you want.

Edit:. It would seem that videoplayer is using its free will option described in the help hint description for passthrough.

Sent from my Moto G (4) using Tapatalk
Last edited by afremont on Sun Jan 22, 2017 11:58 pm, edited 1 time in total.

Raybuntu
Posts: 1414
Joined: Mon Nov 30, 2015 4:23 pm
languages_spoken: english, german
ODROIDs: C1+, C2
Has thanked: 3 times
Been thanked: 23 times
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by Raybuntu »

OK I didn't see that description. Maybe it's because of mythtv pvr client. Then its not a bug.

User avatar
wrxtasy
Posts: 1304
Joined: Wed May 13, 2015 1:59 pm
languages_spoken: english
ODROIDs: C1, C1+, C2, N2
Location: Australia
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by wrxtasy »

I'm not sure what the reason behind it exactly is but OTA TV Live streams when using TvHeadend will not longer passthrough 5.1 AC3 Audio when using Kodi Krypton. Its defiantly a known issue with the TvHeadend client. Not sure about other PVR addons.
Kodi Hardware Guru

afremont
Posts: 128
Joined: Sun Mar 08, 2015 12:58 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by afremont »

Well, since tvheadend and mythpvr are having the same symptom, then that tends to indicate that the issue might be with Kodi. I'll get a debug log and dig through it to see if I can tell if videoplayer is actively choosing not to use passthrough. I'd really be disappointed if this is going to be a permanent thing. I've been spoiled by having passthrough work in the past.

Sent from my Moto G (4) using Tapatalk

alex240188
Posts: 135
Joined: Thu Oct 01, 2015 12:46 am
languages_spoken: english
ODROIDs: C1+, C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by alex240188 »

Raybuntu wrote:@alex240188: Neither 3D nor 4K TV here, sorry. It all comes down to EDID info.
I think this is more a libreelec issue than edid related.
I'll give a list tests performed here.
The TV doesn't autoswitch to 3d and I'm fine with that so I'm just listing the issues from the C2 side here
LE resolution set at 4k
Playing 3d file pops up options of what I want to do with the 3d file. (Correctly detected as 3d)
1.preferred mode(same as movie)
Video starts in side by side mode but the image doesn't get split in half. 1 side to each half. It gets stuck with both Half's being played on the left and nothing on the right.
2.monoscopic/2d
Sound plays for approx 10 seconds then stops. No video is displayed at all. Buffering bar appears shortly then timer continues with no sound or video
3.Disabled
Video plays back with no processing (appears as side by side)
This should be what option 1 looks like.

LE at 1080p resolution
1.preferred mode(same as movie)
Movie starts in side by side mode and displays correctly.
2.monoscopic/2d
Same as at 4k. No video, audio for a few seconds then nothing.
3. Disabled
Same as with 4k

So the common theme is that the display mode for 3d is broken when resolution is set at 4k. Whereas it works correctly when set at 1080p
Monoscopic/2d is broken regardless

Raybuntu
Posts: 1414
Joined: Mon Nov 30, 2015 4:23 pm
languages_spoken: english, german
ODROIDs: C1+, C2
Has thanked: 3 times
Been thanked: 23 times
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by Raybuntu »

As I said there is a patch from koying that is not included. I will not include it. It should be included in Kodi.

alex240188
Posts: 135
Joined: Thu Oct 01, 2015 12:46 am
languages_spoken: english
ODROIDs: C1+, C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by alex240188 »

Oh sorry. Didn't realise that was aimed at me.
Other than that, all seems very nice.
Just need to wait for the LEDs to arrive and get a new Hyperion set up and all will be perfect again.

Raybuntu
Posts: 1414
Joined: Mon Nov 30, 2015 4:23 pm
languages_spoken: english, german
ODROIDs: C1+, C2
Has thanked: 3 times
Been thanked: 23 times
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by Raybuntu »

That 3D patch should have gone upstream a long time ago. But unfortunately it was only used in koyings kodi fork.
I will wait till there is a kodi fix and maybe backport it.

alex240188
Posts: 135
Joined: Thu Oct 01, 2015 12:46 am
languages_spoken: english
ODROIDs: C1+, C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by alex240188 »

There's no urgency on my part. I've not owned a 3d set before so was just interested in trying it out.
I only have 1 3d film anyway but it may be of benefit to other users in the future

infinity85
Posts: 329
Joined: Tue May 24, 2016 4:26 am
languages_spoken: english, german
ODROIDs: Odroid C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 8 community 64bit kernel 32bit libs

Post by infinity85 »

Raybuntu wrote:That 3D patch should have gone upstream a long time ago. But unfortunately it was only used in koyings kodi fork.
I will wait till there is a kodi fix and maybe backport it.
Out of curiosity: The guys who are responsible to integrate it into kodi upstream... are they aware that this koying patch exists respectively that it isn't included yet?

Post Reply

Return to “CoreELEC/LibreELEC - Kodi Project for C1/C2”

Who is online

Users browsing this forum: No registered users and 9 guests