LibreELEC 7.0.2 - Kodi Jarvis 16.1 - Archived - LE Tips HERE

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

LibreELEC 7.0.2 - Kodi Jarvis 16.1 - Archived - LE Tips HERE

Post by wrxtasy »

Hi everyone.
I've switched camps this time along with the majority of the OpenELEC team to the fork of Freedom distro - LibreELEC
Thanks goes to lrusak, chewitt, gdachs, Raybuntu, cvh, surkovalex, codesnake, owersun, kszaq, Sam Fischer, Noggin and of course all the Kodi developers, especially Koying who's 3D ISO MVC work is now included.

=====================================================================================

LibreELEC Wiki

LibreELEC Install Instructions Click Here

LibreELEC SSH password changed to "le" as I'm sick of typing the whole word !!

TIP: Need to wait for a slow Network or UPnP negotiation, then set this:
Kodi > System > LibreELEC Settings > Network > Wait for network before starting Kodi > Enable

Current detailed Audio support list for the C2 listed over HERE on the Kodi forums.

The is NO HiFi Shield Support in this OS, the Kernel code breaks Audio Passthrough and has been removed.
There is only one test version of LE for the HiFi Shield found HERE. No further questions will be answered on the topic.
There is also only minimal support for externally connected hardware, see other C2 Forum threads

=====================================================================================

LibreELEC 7.0.2 - Kodi Jarvis 16.1 NEW:14.June.2016
- Interactive CPU governor now used by default to keep SoC Temperatures down
- MCE compatible remotes should now work out of the box, to revert to a Kodi standard remote.xml map see DIY fix below.
- RTL WiFi drivers in LE reverted to use only the ones in the v3.14 Linux Kernel.
- fixed errant stray Pixel in top left of display screen when playing video
- identified video startup problems for most by setting: System > Audio Output > Keep Audio device alive > OFF
- extra, experimental resolutions added (untested) for connected computer monitors, see HERE
- Alternate 50/60Hz 2160p TV resolution signalling
- Koying's 3D ISO Rips and 3D.MVC.mkv - Playback support added . See shimi2k's testing HERE and infinity85's HERE
- Raybuntu's latest CEC patch to turn HDMI CEC control off completely if you select the disable option in the boot.ini file on the SD card (setenv hdmi_cec "0"). To disable CEC completely you will still have to disable the CEC Adapter in Kodi as well.

LibreELEC-Odroid_C2_aarch64-7.0.2-Kodi-Jarvis-16.1.img
LibreELEC-Odroid_C2_aarch64-7.0.2-Kodi-Jarvis-16.1.tar

=====================================================================================

Test versions / Bug fixes for - LibreELEC 7.0.2 - Kodi Jarvis 16.1 - 19.June.2016
- Re-added Davilla's MySQL Kodi GUI configuration settings (found in Services), removing them from advancedsettings.xml
Important Note. Users may need to use DHCP router configs only to get MySQL to work with LE on the C2.
- Changed samba.conf to try and troubleshoot LAN issues, may be releated to the DHCP / MySQL issue above.
See this POST for further details.
- Re-added the LibreELEC packaged RTL Wireless drivers again
- Incorporated a Kernel patch for DVBSKY T330 DVB-C tuner support as supplied by user gogo Thx.
modules enabled with this patch: TUNER_SI2157, DVB_SI2168, DVB_SP2
- reverted back to the previous method of 2160p 50/60Hz TV refresh switching
- Added Ender-Wiggan's RGB color space patch for problematic Philips / Sony TV's with purple video outputs from AML S905's. The boot.ini file will need to be replaced, see EW's post HERE for details.
- 1080p U-boot and Logo to stop numerous refresh switches on boot when using on the test 1080p.boot.img

LibreELEC-Odroid_C2.aarch64-7.0.2.Kodi.Jarvis-16.1.1080p.boot.img
LibreELEC-Odroid_C2_aarch64-7.0.2-Kodi-Jarvis-16.1.Test.Alt.2160p.tar

=====================================================================================

LibreELEC 7.0.1 - Kodi Jarvis 16.1 28.May.2016
- DTS-HD MA/HRA Audio Passthrough now works properly thanks to Mr. afl1
- NVIDIA Moonlight Game Streaming Addon, see HERE for details.
- Auto Paring for PS3 BT Game Controller added + other DualShock BT patches
- Sundtek-mediatv - wait for network fix. LE workaround no longer needed.
- Transmission and rTorrent addons are finally fixed for LE on the C2 and work properly
- Bitbang-SPI, CH341, GPIO IR-Receiver and RTC Shield Kernel modules added in the updated Kernel.
- And finally I did some involved Video Axis arithmetic and fixed the Kodi AML 720/1080p<<--->>2160p Auto Resolution switch, video display sizing problem.
*** Note you cannot view 1080i Interlaced TV without glitches when upscaled into a 2160p mode. There is no 2160i display mode.
>>> Suggestion is to leave the Kodi GUI in a 1080p mode if viewing 1080i broadcast TV and just let Kodi Autoswitch resolutions when it needs to for true 2160p video output.

LibreELEC-Odroid_C2_aarch64-7.0.1-Kodi-Jarvis-16.1.img
LibreELEC-Odroid_C2_aarch64-7.0.1-Kodi-Jarvis-16.1.tar

=====================================================================================

MINI Guides:
- Configure any IR remote control to work with LibreELEC HERE
- Add a GPIO IR receiver - by infinity85

=====================================================================================

Known Issues and Tips
- smooth 23.976fps Interlaced Bluray VC-1 playback is a WIP (Kernel patch needed), 29.97 VC-1 playback is better.
- Select Audio Transcoding to transcode AAC 5.1 audio to AC3 5.1.
- NO HD Audio to Multichannel PCM decoding. 2.0 Audio output only for lossless FLAC, AAC, WAV etc.
- EAC3 (DD+) will not passthrough, select AC3 Transcode.

=====================================================================================

SSH Login into LibreELEC (use PC Putty program or Terminal App on OSX)
(IP address of C2 can be found on the Kodi > Sysinfo > Network page)

Code: Select all

ssh root@ip.address.of.c2    
Password - le
Switch OFF Annoying Flashing Blue LED instructions HERE

Having remote control issues ? >>> revert the custom HK IR Remote control map back to Kodi Jarvis standard:
Copy and paste THIS remote.xml file and save here:

Code: Select all

nano .kodi/userdata/keymaps/remote.xml
CTRL-O to save, CTRL-X to exit
reboot
Is CPU/GPU Heat a concern for you ?
See this post HERE

Want to see your current running Kernel .config ?

Code: Select all

cat /proc/config.gz | gunzip | less
=====================================================================================

Kodi Jarvis 16.1 - The Bling update 14.May.2016
- A new AML Hybrid HDMI CEC driver from gdachs and Raybuntu. Better compatibility with a number of problematic TV's, like LG and other HDMI CEC hardware.
You can also turn off LibCEC completely in Kodi and revert back to AMLogic's CEC implementation which emulates a keyboard.
Really excellent work from these two LibreELEC guys !!!!
-->> Kodi > Settings > System > Input Devices > Peripherals > CEC Adapter
- Been Cherry picking Koying's GitHub for a nice patch to speedup thumbnail loading when scrolling through long file lists.
- Tweaked the Hardkernel IR remote control for better functionality and usability.
To tweak this further use the Kodi addon called Keymap Editor, found in the Programs addon Repo.
- Backported an important PVR EPG Search fix from Krypton that has been broken in Jarvis for a while.
- Compiled and plugged in the 64bit LE Addons Repository, any missing ones can be found HERE
(hint in Repo page, toggle left and "Check for Updates")
- Patched Hyperion and Boblight & activated the Kernel amvideocap for those DIY Kodi users that like a bit of Flashy Bling !

LibreELEC-Odroid_C2_aarch64-7.0.0-Kodi-Jarvis-Final.Bling.img
LibreELEC-Odroid_C2_aarch64-7.0.0-Kodi-Jarvis-Final.Bling.tar

=====================================================================================

The DVD ISO Rip - Final Fixer Update 01.May.2016
- I've been wanting to fix this for a very long time. Finally DVD ISO and mpeg2 .vob rips play without issues.
- High quality full motion YADIF x2 Software deinterlacing added, excellent for Interlaced sports DVD's. :)
- mpeg2, mpeg4 / Xvid Hard / Software decoding options added for remaining problematic file playback.
- a CEC button ms remote control config added to LibCEC to customise and help button press delay and repeat issues.
- Koying's thumbnails cleaner, to cleanup those thumbnail files no longer in the texture database
- Experimental NFS chunk size 1MB patch

=====================================================================================

The Mini Jarvis - Final Fixer Update 28.Apr.2016
- Hopefully fixed Ethernet connectivity problems when using microSDHC cards
- Dolby Digital / DTS Audio Passthrough is also confirmed to now be working without dropouts.
- HDMI CEC remote control button repeats are quicker
- Skin settings are saved immediately, no more lost settings on Reboot.
- I've managed to get partial 7.1 HD Audio bitstreamed output, see HERE for Noggin's testing.

=====================================================================================

LibreELEC 7.0.0 - Kodi Jarvis 16.1 Final 28.Apr.16
- Changed Refresh/Frame Rate Policies, no more Mini black screen when skipping. :D
- LibreELEC Addon Repository now available, updated TvHeadend 4.x backend servers.
- Further refinements to S905 video display modes. Users with 4K TV's will need to manually switch to a 2160p display mode first for 4K video playback. Otherwise video plays back in the top left quarter of the 1080p screen.
- Autoswitching 1080p<-->2160p is still a WIP.
- Tweaks to advancedsettings.xml
- Extra USB WiFi and DVB dongles added to the Kernel by HK

=====================================================================================

LibreELEC 6.95.6 - Kodi Jarvis 16.1rc3 15.Apr.16
- All PVR Clients included
- Popcornmix's Shadertoy - music visualization and screensaver included
- A Boost Centre Channel Audio feature added to make Spoken dialogue clearer when downmixing to 2.0 Audio
- The usual file and GUI navigation speedups from the RPi platform
- Full Pulse8 libCEC HDMI CEC compatibility with Kodi thanks to gdach's and Raybuntu great work.
- The C2's IR receiver is now working, the HK remote control should work out of the box. Kernel patches thx to user Joy
- Cherry picked Owersun's 4K amcodec code and massaged it so you can run the Kodi GUI at 2160p60Hz
- True 2160p video output now possible, not downscaled 2160p > 1080p
- Reverted Kernel commit # 7bf1d5f to hopefully fix Ethernet connectivity and SD cards R/W issues.
- LibreELEC password changed to "le" as I'm sick of typing the whole word !! :o
- Kodi Dynamic Refresh Switching works, BUT I've had to use experimental Frame Rate Automation Policy 2 with a known issue (see below)

TvHeadend Server Updates: (Install from Zip)
V4.2:
https://dl.dropboxusercontent.com/u/276 ... .0.102.zip
And v4.09:
https://dl.dropboxusercontent.com/u/276 ... .0.101.zip

LE Archived Releases
LibreELEC-Odroid_C2_aarch64-7.0.0-Kodi-Jarvis-Final.DVD.CEC.Remote.tar
LibreELEC-Odroid_C2_aarch64-7.0.0-Kodi-Jarvis-Final.The.Fixer.tar

W. :)
Last edited by wrxtasy on Wed Jun 08, 2016 12:42 pm, edited 66 times in total.
Kodi Hardware Guru

morpheouss
Posts: 40
Joined: Thu Mar 31, 2016 4:39 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by morpheouss »

Great news, shame you don't provide some sources.
Actually we got several topics about *ELEC and everyone has own repository with patches. hidden somewhere on local hard disk.
Guys... let's start cooperate on github ;)

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

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by Raybuntu »

Hey wrxtasy,

you're saying basic cec remeote control? I've ported patches originally written by Gerald Dachs that work with libcec on Odroid C2. Trying to get them merged with HK:
https://github.com/hardkernel/linux/pull/183.
Have been using them with a patched libcec 3.1 for a while in Kodi now. Hope that Gerald's patches are being merged by Pulse-Eight soon since we already have the kernel patch included in HK's S805 kernel.

regards
Ray

Dez
Posts: 30
Joined: Sat Mar 12, 2016 9:17 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by Dez »

Unfortunately USB doesn't seem to work for me.
2 USB remotes I tried didn't work.

Edit: A USB keyboard works, just have no mouse pointer. The remotes I have are 2 different "air mouse" remotes.

morpheouss
Posts: 40
Joined: Thu Mar 31, 2016 4:39 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by morpheouss »

BTW: What about IR?

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by OverSun »

There are changes in my repository after 16.1 for:
1) Passthrough to work
2) Only legit display mode switching to modes that the chip and your current display support (You need to have "Frame rate automation" disabled for that! On C2 it causes black screens right now).
3) well, normal 4k also, with all that stuff needed like interface scaling for 4k.

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

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by wrxtasy »

- IR will work as soon as HardKernel config it back in the Kernel. It was reverted.
I can reconfigure the Kernel when compiling to test, I'm not sure why HK reverted the LIRC IR commit recently in the Kernel Config.

- two usb remotes work for me, FLIRC and my WeTek Core RF USB Air Mouse remote.

@Oversun, I will do a compile of your Kodi Jarvis repo, last time I tested there were the same issues pretty similar to the mainline one.
Some of the 4K stuff worked and scaled properly, but the usual 23.976fps with refresh switching enabled resulted in a black screen.

These are very early days for LibreELEC and the S905 on the C2, not even the underlying C2 code is totally stable yet. U-boot is still a WIP.
Kodi Hardware Guru

Dez
Posts: 30
Joined: Sat Mar 12, 2016 9:17 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by Dez »

It's very strange. I just can't get the mouse pointer to work.
I tried another, a Tronsmart TSM-01. The keyboard on it works, just no mouse pointer.

I completely understand how early it is. It was only a few days ago we got video working.
At the moment I'm keeping one eye on amlinuxmedia.com, another on this forum and various repositories......
......the combinations of different things to try is massive.

Thanks for putting together these images and thread. Anything new I find, I'll try to add to @lrusak's fork and notify here.

morpheouss
Posts: 40
Joined: Thu Mar 31, 2016 4:39 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by morpheouss »

@OverSun: When I tried last time compiling your repo, it ended with black rectangular in playback window and laggy mouse pointer. The video was not playing, stuck at 00:00 position. I had not found any video that could be played.

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

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by wrxtasy »

@Dez, have you actually turned the Mouse Input on in Kodi Settings > System ?
Its disabled by default on my releases.
Kodi Hardware Guru

Dez
Posts: 30
Joined: Sat Mar 12, 2016 9:17 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by Dez »

:) Thanks. That'll do it.

I'm so used to having it enabled by default.

Dez
Posts: 30
Joined: Sat Mar 12, 2016 9:17 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by Dez »

Yes! Sydney FTA TV works well and channel switching is very fast.

The C2 and LibreELEC is easily much faster than all of the Android boxes I have with OpenELEC installed.

The Sony Play TV (DIB7070p) works and the RTL820T2 works well.
There is one tuner I have that doesn't work, an ITE9135 based device. I think Surkovalex has some drivers that might work that I'll try out over the weekend.

crashoverride
Posts: 5841
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 640 times
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by crashoverride »

Dez wrote:There is one tuner I have that doesn't work, an ITE9135 based device. I think Surkovalex has some drivers that might work that I'll try out over the weekend.
I made post demonstrating its now possible to use the linuxtv.org media_build tree to enable all the 4.x.y series tuner drivers.
http://forum.odroid.com/viewtopic.php?f=136&t=20302

morpheouss
Posts: 40
Joined: Thu Mar 31, 2016 4:39 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by morpheouss »

I have tested all UHD channels available on 13E and 19.2E... Inly HotBird 4k is lagging. Not sure what's so specific to this one.

Dez
Posts: 30
Joined: Sat Mar 12, 2016 9:17 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by Dez »

crashoverride wrote:I made post demonstrating its now possible to use the linuxtv.org media_build tree to enable all the 4.x.y series tuner drivers.
http://forum.odroid.com/viewtopic.php?f=136&t=20302
Thanks for that. I'll use these drivers.
They've definitely worked for me before on another box.

ecab21
Posts: 91
Joined: Sat Apr 02, 2016 12:49 am
languages_spoken: english, portuguese
ODROIDs: Odroid C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by ecab21 »

Dez wrote:
crashoverride wrote:I made post demonstrating its now possible to use the linuxtv.org media_build tree to enable all the 4.x.y series tuner drivers.
http://forum.odroid.com/viewtopic.php?f=136&t=20302
Thanks for that. I'll use these drivers.
They've definitely worked for me before on another box.
The image from this topic is very stable, but unfortunally passthrough still doesn't work. Only stereo sound.

crashoverride
Posts: 5841
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 640 times
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by crashoverride »

Dez wrote:I'll use these drivers.
Please post your results if they worked for you or not and what tuner you are using to that post. The drivers for my ATSC tuner have been working without issue. There is no way for me to test DVB without leaving the country. ;)

fatalsaint
Posts: 11
Joined: Mon Apr 04, 2016 1:18 am
languages_spoken: english
ODROIDs: C1, C2, XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by fatalsaint »

ecab21 wrote: The image from this topic is very stable, but unfortunally passthrough still doesn't work. Only stereo sound.
Agreed. Good image, but same two issues as previous releases. Some videos have pixelated playback, and no passthrough.

Happy to see movement though. Thanks everyone working hard on this.

Veube
Posts: 14
Joined: Tue Mar 08, 2016 12:35 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by Veube »

Hassle free, working passthrough is slowly becoming the Holy Grail for the C2.

In the Android camp the finger is being firmly pointed at AML's audio handling as Kodi can't be forced to work around the problem. The only way to get passthrough working is to manually alter system files and even then official Kodi doesn't work, it has to be the Wetek version or SPMC.

Are we looking at a similar situation with Linux varieties whereby the mysteries of AML's audio handling has to be unraveled before any progress can be made?

I see that OverSun has had promising results in this area. Does LibreELEC have a version of Kodi which contains his audio code improvements or is it merely the official version of Kodi?

Dez
Posts: 30
Joined: Sat Mar 12, 2016 9:17 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by Dez »

crashoverride wrote: Please post your results if they worked for you or not and what tuner you are using to that post. The drivers for my ATSC tuner have been working without issue. There is no way for me to test DVB without leaving the country. ;)
I'm very confident they will work.

They (backported drivers) were the only way forward with @kszaq's OpenELEC for MK808B+/MXQ and still work with every DVB tuner I have (Play TV, 2x ITE9135 tuners and the RTL820T2).

@Wrxtasy, being in Oz as well, would also be able to verify they work well for DVB tuners.
Veube wrote:Hassle free, working passthrough is slowly becoming the Holy Grail for the C2.
In addition to having a closer look at @OverSun's passthrough patches, on amlinuxmedia.com, @surkovalex appears to have passthrough working for some codecs.
I don't know if this is reflected on his github repository or not. I know some stuff is kept on an amlinux.ru server (like libamcodec).

It might be worth looking at some of his package.mk scripts to see if anything passthrough related is linked to amlinux.ru.
I'd play around more with this, but don't have a receiver to test anything on.

It might be best if people who can test have a go at trying to make it work, then push any updates/patches/changes to @lrusak's Odroid-C2 branch.
Last edited by Dez on Sun Apr 10, 2016 10:09 am, edited 1 time in total.

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 7.0.0 - Kodi Jarvis 16.1

Post by alex240188 »

Veube wrote:Hassle free, working passthrough is slowly becoming the Holy Grail for the C2.

In the Android camp the finger is being firmly pointed at AML's audio handling as Kodi can't be forced to work around the problem. The only way to get passthrough working is to manually alter system files and even then official Kodi doesn't work, it has to be the Wetek version or SPMC.

Are we looking at a similar situation with Linux varieties whereby the mysteries of AML's audio handling has to be unraveled before any progress can be made?

I see that OverSun has had promising results in this area. Does LibreELEC have a version of Kodi which contains his audio code improvements or is it merely the official version of Kodi?
A closer look at surkovalex's repo is needed as pass through audio is working for the most part with his repo.
I use his to build for the beelink m18 which is also an s905 box.
DTS, dd, 7.1 tru-hd pass through works perfectly.
Only dts ma doesn't work

Dez
Posts: 30
Joined: Sat Mar 12, 2016 9:17 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by Dez »

Among @surkovalex's Kodi patches, there is "0002-Allow-audio-passthrough-for-Amlogic-based-devices.patch" and "0002-aml-Set-digital_codec-parameter-for-audio-passthrough.patch"
Following the trail with these may well lead to passthrough functionality.

At the moment I'm looking for/at ActiveAE and working backwards.
Last edited by Dez on Fri Apr 08, 2016 5:49 pm, edited 1 time in total.

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

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by wrxtasy »

Thanks for testing guys...

Aware of Owersun's Kodi repo, I can do a test build and we can compare a few of the Kodi forks. I'm using Kodi master at the moment.
I will try out surkovalex's audio patches as well and throw out a version to test as once the compiler finishes. No AVR to test with here unfortunately.

Been working with lrusak over on LibreELEC to get U-Boot bashed into shape a bit more, before a PR goes to the main LibreELEC GitHub repo for wider distribution.

crashoverride's linuxtv.org media_build tree looks interesting indeed, especially if we can get a tidy Kernel up and running for wider DVB tuner compatibility.
Kodi Hardware Guru

Alien0
Posts: 36
Joined: Sat Mar 12, 2016 10:35 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by Alien0 »

Thanks wrxtasy
Kodi is working great for my needs...so far this is the best kodi for C2
Been using it for more than 24hrs now...no freeze ups, no 'cursor blinking', no screen 'blanking' , hdmi-cec works, ssh works...used it to turn off the bright blue led on the C2, x265 video playback is smooth....
Great stuff.....thanks again

Pienoet
Posts: 406
Joined: Sun May 10, 2015 10:04 pm
languages_spoken: english Dutch
Has thanked: 1 time
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by Pienoet »

Hi wrxtasy thnx for this build!

The USB-spdif from hardkernel is not working.

I can select the device in kodi in the audio setting but i get no sound.

I put the asound.cnf in /storage/config but still no sound.

Can you support usb-spdif in next build?

toyanucci
Posts: 18
Joined: Sat Apr 02, 2016 12:13 am
languages_spoken: english
ODROIDs: Odroid-c2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by toyanucci »

Alien0 wrote:Thanks wrxtasy
Kodi is working great for my needs...so far this is the best kodi for C2
Been using it for more than 24hrs now...no freeze ups, no 'cursor blinking', no screen 'blanking' , hdmi-cec works, ssh works...used it to turn off the bright blue led on the C2, x265 video playback is smooth....
Great stuff.....thanks again
Can you point me to the instructions on how to turn off the led? I have the C2 in my bedroom till it's stable enough to replace my pi 2 in the living room but the bright led's are killin me!

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 7.0.0 - Kodi Jarvis 16.1

Post by were55 »

toyanucci wrote:
Can you point me to the instructions on how to turn off the led? I have the C2 in my bedroom till it's stable enough to replace my pi 2 in the living room but the bright led's are killin me!

I faced same issue : http://forum.odroid.com/viewtopic.php?f ... 97#p131027

morpheouss
Posts: 40
Joined: Thu Mar 31, 2016 4:39 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by morpheouss »

Alien0 wrote:Thanks wrxtasy
Kodi is working great for my needs...so far this is the best kodi for C2
Been using it for more than 24hrs now...no freeze ups, no 'cursor blinking', no screen 'blanking' , hdmi-cec works, ssh works...used it to turn off the bright blue led on the C2, x265 video playback is smooth....
Great stuff.....thanks again

Have you tried the HotBird 4k test channel? IT is the only one uhd materiał that is laggy for me.

noggin
Posts: 132
Joined: Mon Feb 25, 2013 8:49 pm
languages_spoken: English, Swedish, French, German
ODROIDs: C1, U2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by noggin »

morpheouss wrote:
Alien0 wrote:Thanks wrxtasy
Kodi is working great for my needs...so far this is the best kodi for C2
Been using it for more than 24hrs now...no freeze ups, no 'cursor blinking', no screen 'blanking' , hdmi-cec works, ssh works...used it to turn off the bright blue led on the C2, x265 video playback is smooth....
Great stuff.....thanks again

Have you tried the HotBird 4k test channel? IT is the only one uhd materiał that is laggy for me.
Can you record a 200-300MB file and share it? I'd like to test it on a couple of platforms (and only have Astra 28.2 available in my main viewing location)

phoenix73
Posts: 61
Joined: Sun Mar 22, 2015 4:59 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by phoenix73 »

Installed your image and it rocks.
It recognised and use out of the box my USB Wifi Dongle, ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS].

I use your C1/C1+ images for some times now and quite happy with them.
@wrxtasy, you rocks really and bring us more hope on C2 promises as a top notch media player for 4K :)

Keep on the good works.

morpheouss
Posts: 40
Joined: Thu Mar 31, 2016 4:39 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by morpheouss »

noggin wrote:
morpheouss wrote:
Alien0 wrote:Thanks wrxtasy
Kodi is working great for my needs...so far this is the best kodi for C2
Been using it for more than 24hrs now...no freeze ups, no 'cursor blinking', no screen 'blanking' , hdmi-cec works, ssh works...used it to turn off the bright blue led on the C2, x265 video playback is smooth....
Great stuff.....thanks again

Have you tried the HotBird 4k test channel? IT is the only one uhd materiał that is laggy for me.
Can you record a 200-300MB file and share it? I'd like to test it on a couple of platforms (and only have Astra 28.2 available in my main viewing location)
I will get home tomorrow and record a sample for you.

toyanucci
Posts: 18
Joined: Sat Apr 02, 2016 12:13 am
languages_spoken: english
ODROIDs: Odroid-c2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by toyanucci »

Just chiming in to say how great this installation runs. The only thing missing is frame rate change (I know Passthrough isn't working yet but it's not a feature I usually use). One disappointment though and it's not a fault of the image itself is the restrictions that comes with openelec/libreelec. With my osmc installation on pi 2 I have sickrage and couchpotato installed and running snatching my shows and downloading to my nas. Openelec/libreelec is locked down in that regard, no apt-get etc but for what it is, it works great.

jeroen79
Posts: 29
Joined: Fri Jan 23, 2015 3:45 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by jeroen79 »

Ist looking quite good for the C2 as media center, this ealy build is already a lot faster then openelec on the C1, and here its working fine.

Thx!

blackride
Posts: 75
Joined: Thu Feb 11, 2016 2:32 am
languages_spoken: english & russian
ODROIDs: Odroid C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by blackride »

wrxtasy wrote:Thanks for testing guys...
Hello, friend!
I'm trying play my video test files. And results:
Test_1_1080p_HEVC_8_bit.mkv - perfect.
Test_1 1080p HEVC 10 bit.mkv - the picture appears for about a second plays some brakes on - the sound goes, a picture is worth.
Test_1_1080p_HEVC_12_bit.mkv - xbmc decided that there is no video, only sound. Those. playback is enabled, the image was not at all - menus not disappear as it usually happens when you start a video.
Test_2_1080p_HEVC_8_bit.mkv - perfect.
Test_2_1080p_HEVC_10_bit.mkv - the picture appears for about a second plays some brakes on - the sound goes, a picture is worth.
Test_2_1080p_HEVC_12_bit.mkv - when running - in part a picture is built, but the crooked and beyond of the first video frame is not playing. The sound goes.

This video test files https://yadi.sk/d/RWs7WnpEpAd8d

1. Why this is problem 10 and 12 bit hevc? - error in library amlibs?

2.
C1 plays 8 bit hevc perfect.
C2 plays 8 bit hevc perfect.
But 10 and 12 bit hevc the C1 and C2 can not reproduce.
Will fix for C2 in this respect, or I should not have bought C2 instead of C1?
Oroid C2/LibreELEC 9

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

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by afremont »

This is awesome! I simply downloaded the tar file and placed it in the Update folder, rebooted, got a little scared when it just hung at the splash screen for a while. Then it rebooted itself again and viola, it was running. The PVR client for MythTV seems to work fine, video playback looks good, sound is there, but I only have stereo speakers right now. I'll hook it to my AVR later and see if I can DD5.1 at least from broadcast TV.

I built from the github sources last week and then got sidetracked on local election stuff. It was stable for an entire week just sitting over there. I'm really impressed with how quickly and smoothly this going. I've been using an RPi2 for quite some time, but am looking forward to upgrading to this C2. It's way faster at bringing up the Program Guide from the MythTV client, even the Pi2 took too long to load the 100+ channels of info.

I noticed that we don't seem to have control over deinterlacing methods. Is that right? I can't find any options via the OSD during playback. I'm okay with the way it looks now, I just was wondering about it. I did notice some color banding on a TV channel. Just sayin', not complaining. Again, this is awesome. I'm already anxious to change out my Pi2 for the C2. I have do some more testing though. I haven't tried the Ortek WMC remote control yet.

I was worried about MPEG-2 decoding since one has to purchase a license for the RPi to get it, and I need it. It seems to be doing a great job. I did notice that when I bring up the statistical OSD (O key), it gets a little jerky and buffers during LiveTV playback. I don't know if that's an overlay issue or what, but I really don't care at this point. I'm thrilled! The "O" key shows a playback rate of 25FPS, but I live in 60Hz land. I was expecting 30FPS on the display, but I've seen this before on the RPi2. It may not be important at all.

You guys are great, thanks for everything.

Alien0
Posts: 36
Joined: Sat Mar 12, 2016 10:35 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by Alien0 »

Feedback regarding C2 temperatures...
When kodi is doing nothing/left idle the temp. is 59 degrees celcius...
Using odrobian the temp. was 49 degrees celcius when kodi was idle, I was using the 'hotplug' governor
Is there any way to get the temp. down in LibreElec?

CPU governors
http://forum.odroid.com/viewtopic.php?f=135&t=19921

Marvin27
Posts: 39
Joined: Tue Mar 08, 2016 4:02 am
languages_spoken: english, polish
ODROIDs: ODROID C2
Location: Poland
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by Marvin27 »

How to add Transmission server ?

morpheouss
Posts: 40
Joined: Thu Mar 31, 2016 4:39 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by morpheouss »

https://mega.nz/#!ilgxWaJA!sjqwfIWuCknm ... 0-jSCLv05I

Link to 2 mins of HotBird 4k recording.

jeroen79
Posts: 29
Joined: Fri Jan 23, 2015 3:45 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by jeroen79 »

Is there a github for this build?

noggin
Posts: 132
Joined: Mon Feb 25, 2013 8:49 pm
languages_spoken: English, Swedish, French, German
ODROIDs: C1, U2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by noggin »

morpheouss wrote:https://mega.nz/#!ilgxWaJA!sjqwfIWuCknm ... 0-jSCLv05I

Link to 2 mins of HotBird 4k recording.
Great - thanks - will have a look.

noggin
Posts: 132
Joined: Mon Feb 25, 2013 8:49 pm
languages_spoken: English, Swedish, French, German
ODROIDs: C1, U2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by noggin »

blackride wrote:
wrxtasy wrote:Thanks for testing guys...
Hello, friend!
I'm trying play my video test files. And results:
Test_1_1080p_HEVC_8_bit.mkv - perfect.
Test_1 1080p HEVC 10 bit.mkv - the picture appears for about a second plays some brakes on - the sound goes, a picture is worth.
Test_1_1080p_HEVC_12_bit.mkv - xbmc decided that there is no video, only sound. Those. playback is enabled, the image was not at all - menus not disappear as it usually happens when you start a video.
Test_2_1080p_HEVC_8_bit.mkv - perfect.
Test_2_1080p_HEVC_10_bit.mkv - the picture appears for about a second plays some brakes on - the sound goes, a picture is worth.
Test_2_1080p_HEVC_12_bit.mkv - when running - in part a picture is built, but the crooked and beyond of the first video frame is not playing. The sound goes.

This video test files https://yadi.sk/d/RWs7WnpEpAd8d

1. Why this is problem 10 and 12 bit hevc? - error in library amlibs?

2.
C1 plays 8 bit hevc perfect.
C2 plays 8 bit hevc perfect.
But 10 and 12 bit hevc the C1 and C2 can not reproduce.
Will fix for C2 in this respect, or I should not have bought C2 instead of C1?
I have played back 2160/50p 10 bit HEVC on my C2 in Android with Wetek Media Player (I had to manually set the video output to 2160/50p in Android). The bulk of the clip played fine, though there was artefacting on the final sequence with black and white text. According to the Wetek guys this is because an older revision of the S905 is being used by ODroid, though ODroid refuse to confirm this and say Wetek are wrong. All I can say, is that I see artefacts where Wetek said I should...

I don't know if there is supposed to be 12 bit HEVC support in the S905. 10 bit is likely to be used for any HDR (or UHD SDR for that matter) DVB or Blu-ray content - rather than 12 bit - so that point may be moot.

The lack of 10 bit support in Libre Elec is possibly either a Linux vs Android issue or a Libre Elec issue (it could be that LE decides 10 bit HEVC can't be hardware decoded and so software decodes it?) AIUI when you play a file in Kodi, it is initially run through ffmpeg to discover the contents of the file, and then decisions made about hardware vs software are made based on that info (I may be very wrong)

noggin
Posts: 132
Joined: Mon Feb 25, 2013 8:49 pm
languages_spoken: English, Swedish, French, German
ODROIDs: C1, U2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by noggin »

morpheouss wrote:https://mega.nz/#!ilgxWaJA!sjqwfIWuCknm ... 0-jSCLv05I

Link to 2 mins of HotBird 4k recording.
Media Info and VLC both report that it is 4K 4096x2160/50p 10bit HEVC rather than the UHD 3840x2160/50p you'd expect for broadcast.

No idea why they are using 4096x2160 - that's not used by consumer UHD displays, and isn't the standard used for broadcast '4K' production in studios and outside broadcasts. Odd. Could be Media Info being funny. Will try something else. Nope - VLC reports the same.

I bet the other channels you are watching are 3840x2160 UHD format. Suspect there is something in the path that doesn't like 4096x2160 output at 3840x2160 (or doesn't like decoding 4K vs UHD '4K')

There are two '4K' standards. 4096x2160 (which is actually 4K samples wide and is used mainly for cinema applications) and 3840x2160 (aka UHD1) which is 2 x 1920 and 2 x 1080 (i.e. Quad HD) and marketed as '4K'. Almost any consumer display you buy (particularly OLED or LCD flat panel - projectors may differ) will have UHD '4K' resolution panels, and all the main broadcasters (BT Sport in the UK for example) are using 3840x2160 as their production standard.

Code: Select all

General
ID : 11100 (0x2B5C)
Complete name : 4K-TEST-Hot-Bird-4k12016-04-1020-10.ts
Format : MPEG-TS
File size : 436 MiB
Duration : 20s 966ms
Overall bit rate mode : Variable
Overall bit rate : 174 Mbps

Video
ID : 48 (0x30)
Menu ID : 4602 (0x11FA)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@Main
Codec ID : 36
Duration : 20s 640ms
Width : 4 096 pixels
Height : 2 160 pixels
Display aspect ratio : 1.896
Frame rate : 50.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Writing library : ATEME Titan KFE 3.7.1 (4.7.1.0)
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio
ID : 49 (0x31)
Menu ID : 4602 (0x11FA)
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Muxing mode : ADTS
Codec ID : 15
Duration : 20s 928ms
Bit rate mode : Variable
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Frame rate : 46.875 fps (1024 spf)
Compression mode : Lossy
Delay relative to video : -1s 124ms
Language : English

Menu
ID : 2048 (0x800)
Menu ID : 4602 (0x11FA)
Duration : 20s 966ms
List : 48 (0x30) (HEVC) / 49 (0x31) (AAC, English)
Language : / English
Service name : Hot Bird 4k1
Service provider : Eutelsat
Service type : digital television

morpheouss
Posts: 40
Joined: Thu Mar 31, 2016 4:39 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by morpheouss »

CPU usage doesn't confirm software decoding 10bit HEVC.

noggin
Posts: 132
Joined: Mon Feb 25, 2013 8:49 pm
languages_spoken: English, Swedish, French, German
ODROIDs: C1, U2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by noggin »

morpheouss wrote:CPU usage doesn't confirm software decoding 10bit HEVC.
If that's in relation to the 4096x2160 - I suspect it is being hardware decoded but the scaling from 4096x2160 to 3840x2160 is possibly the issue. Or the HEVC decoder just doesn't like that flavour at that frame rate (so is decoding it, but not well?)

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

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by wrxtasy »

- No 12-bit support on any AMLogic platform period, tech specs don't lie.
8-bit only on S8xx AML platforms, unless you software decode low bitrate 720p 10-bit HEVC.

- H264 HiP10 Anime will not Hardware decode and play properly on any AML platform.

- Any 4096x2160p and 3840x2160p will currently be downscaled to 1080p and output at that resolution currently. Yes scaling is the issue and that is why 2160p file are not playing properly at the moment, especially 2160p50Hz ones.

I'm testing proper 2160p video output at the moment, all be it manual switching is still required.
- LibreELEC now plays every 8/10-bit 2160p/1080p HEVC file I throw at it.

The Kodi GUI will be able to be left in 2160p60hz mode, and it pretty much plays everything.
Kodi Hardware Guru

morpheouss
Posts: 40
Joined: Thu Mar 31, 2016 4:39 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by morpheouss »

I dont have UHD TV, so maybe downscaling is really a problem, but as i said, only on this one specific channel.

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by OverSun »

wrxtasy wrote:- No 12-bit support on any AMLogic platform period, tech specs don't lie.
8-bit only on S8xx AML platforms, unless you software decode low bitrate 720p 10-bit HEVC.

- H264 HiP10 Anime will not Hardware decode and play properly on any AML platform.

- Any 4096x2160p and 3840x2160p will currently be downscaled to 1080p and output at that resolution currently. Yes scaling is the issue and that is why 2160p file are not playing properly at the moment, especially 2160p50Hz ones.

I'm testing proper 2160p video output at the moment, all be it manual switching is still required.
- LibreELEC now plays every 8/10-bit 2160p/1080p HEVC file I throw at it.

The Kodi GUI will be able to be left in 2160p60hz mode, and it pretty much plays everything.
What's the problem with 2160p output? I have it in my git for couple of weeks already. What's all the "manual" about?

noggin
Posts: 132
Joined: Mon Feb 25, 2013 8:49 pm
languages_spoken: English, Swedish, French, German
ODROIDs: C1, U2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by noggin »

OverSun wrote: What's the problem with 2160p output? I have it in my git for couple of weeks already. What's all the "manual" about?
Manual probably refers to the lack of automatic frame rate switching in Kodi in wrxtasy's LibreElec builds (and the Android builds as well), so manual refresh rate switching is required.

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by OverSun »

should work also on my code. the only thing required is to turn off frame rate automation in kernel, it is buggy. the kodi switching works fine.

toyanucci
Posts: 18
Joined: Sat Apr 02, 2016 12:13 am
languages_spoken: english
ODROIDs: Odroid-c2
Has thanked: 0
Been thanked: 0
Contact:

Re: LibreELEC 7.0.0 - Kodi Jarvis 16.1

Post by toyanucci »

Does this mean we'll have auto switching working shortly?

:)

Locked

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

Who is online

Users browsing this forum: No registered users and 3 guests