Hi everyone. I've switched camps this time along with the majority of the OpenELEC team to the fork of Freedom distro - LibreELECThanks 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.

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'sHERE- 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.

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 !

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.

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

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.

There are changes in my repository after 16.1 for:1) Passthrough to work2) 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.

- 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.

@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.

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.

@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.

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.

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.

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?

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.

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

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.

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.

Thanks wrxtasyKodi is working great for my needs...so far this is the best kodi for C2Been 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

Alien0 wrote:Thanks wrxtasyKodi is working great for my needs...so far this is the best kodi for C2Been 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!

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!

Alien0 wrote:Thanks wrxtasyKodi is working great for my needs...so far this is the best kodi for C2Been 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.

Alien0 wrote:Thanks wrxtasyKodi is working great for my needs...so far this is the best kodi for C2Been 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)

Alien0 wrote:Thanks wrxtasyKodi is working great for my needs...so far this is the best kodi for C2Been 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)

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.

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 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.

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?

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.

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)

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.

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?)

- 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.

- 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?