Posts by kszaq


    that one isn't supported, is it?
    Mini M8S II 4K Smart TV Box Amlogic S905X

    With current kernel the builds probably won't work with S905X. After kernel update - who knows?


    CanalPlus_UHD_Astra = Black Screen

    This I'm trying to fix but have had not much luck. I'm now trying to update kernel to May Amlogic release as it seems to cope better with 4K content and has better memory management.


    I have a mini mx, the bluetooth which is an ap6212 connects to my headphones but the sound stutters and can only be heard every 2 or 3 secounds.

    There is a fix for that that I applied for S805 devices and maybe it would also work for S905 but it also needs to be checked for regressions. If this fix doesn't break other audio playback paths, you'll see it in the changelog.

    Nofan Tasi:
    1. When you build LibreELEC, everything is included, kernel as well.
    2. Use PROJECT=S905 ARCH=aarch64 make amlpkg to build SD card and NAND image that you can flash according to instructions in the first post. No option is needed to build specifically for NAND or SD card, resulting files are universal.


    2160p resolution is not working correctly, i set the resolution in the menu and the image occupies only the bottom left 25% of the TV, this continues after a reboot also. so basically the device is only working @ 1080p resolution currently,

    I will include a patch from Wrxtasy's C2 buils to see if this can be addressed. Unfortunately I don't have 2160p capable TV, you'll have to test is yourself. :P


    Any thoughts on rebasing and starting from Krypton seeing as thats just around the corner and has many improvements and changes over v16.

    I have no plans to provide alpha builds. When LE 8.0 enters beta stage, there will be builds from me.


    I tested with 2160p x265 10bit videos (on my 1080p TV), playback won't even start if memory usage is over 50%. If I stopped playback at the middle and switch to another, playback couldn't even started as memory usage was almost 70%.

    For better 4K HEVC playback, please try executing the following commands (in autostart.sh or over SSH before playing):

    Code
    echo 8 >  /sys/module/amvdec_h265/parameters/buffer_mode
    echo 16 > /sys/module/amvdec_h265/parameters/dynamic_buf_num_margin
    echo 1 >  /sys/module/amvdec_h265/parameters/use_cma



    So i suspect this is the same with LE on the Odroid C2 and Wetek Hub?


    This I don't know as I have neither. I suspect at this point C2 has the same issues, there is no official LE image for the Hub yet.

    JonSnow: Thank you for posting so much details. I will look into it.


    just a question if I put the .img.gz in the update folder what happens? will I update the sd libreelec or overwrite what I've on nand? So Does this file works on both sd and nand? Then a curiosity wouldn't I need the ".tar" archive for update?

    LibreELEC introduced a possibility to update from img.gz instead of tar (you can use both) so if you put img.gz to LibreELEC Update folder, it will update LibreELEC and won't touch internal memory in your case. In short, with LE there is no need for tar Update files as img.gz do the same and they are smaller in size.


    I'll give the other builds a try, but the MXQ build is the only build that controls the LED properly

    EDIT: Same issue with m201d and HD18Q builds but I did just notice that the HD18Q build is incorrectly switching the video playback to 24Hz. I'll just see if thats happening with all of the builds

    EDIT2: That's it! If I remove 24Hz from available refresh rates, playback is fine. :)

    If 24Hz playback worked properly, so it should be now. Here's a next test build for you with jc-001-check-both-audio-and-video-buffer-levels.patch patch removed (the only one that could have affected playback between 7.0.1.4 and 7.0.2.1): 7.0.2.2-kodi-revert

    7.0.2.002 Work-in-progress build 002
    7.0.2.002

    Commits from 7.0.2.001 to 7.0.2.002: Comparing 7.0.2.001...7.0.2.002 · kszaq/LibreELEC.tv · GitHub

    Changelog:

    • fixed frame rate automation - now it can be switched in Kodi and with automation turned on 23.976fps videos play smoothly
    • added media drivers from Linux backports - this includes all DVB drivers from 4.4.2 kernel
      Please note: support for DVB drivers is highly experimental, I appreciate your feedback on this
    • small adjustments in Broadcom WiFi driver parameters to improve performance a little bit

    Poida This is superodd. Which builds do you use on these boards? Is it m201d for V3_1 and HD18Q for 2.0? If yes, can you temporarily flash 7.0.2.2 m201d to your 2.0 board and see if playback issues are gone? You can safely switch to HD18Q later to have 1GB RAM back. For upgrading/downgrading/device switch a simple tar update without data wipe is OK.


    Still have the same issue which, for me, is not limited to any particular resolution.
    All movies, local or streaming. (on the v2.0 board)

    Is this specific to 2.0 board? Do the same files play OK on V3_1? I am asking this because SYSTEM image is identical for both boards and I'm wondering what the issue can be. Can you also confirm that downgrading to 7.0.1.4 (you can simply put 7.0.1.4 tar in Update folder and reboot) makes the issues go away?


    If eventually you can post build instructions that would be awesome.

    For now I run (sometimes own built) 'alex' OE on Mini-MX-G.
    That firmware supports pvr.hts and thvheadend for my USB DVB-T stick.
    It's the dvb_usb_v2/dvb_usb_af9035 module FYI. I hope to migrate to LE, but not without same DVB-T comfort.
    If build instructions are available I might be able build such support myself.

    have a nice day

    The driver for your DVB stick is included in my build although I can't promise it'll work. I suspect if it's working with Alex's build it should also work with mine. For the next release I will include DVB drivers from Linux Backports which should broaden DVB support a lot.

    If you want to build yourself, grab source code (link is there for every build) and follow build instructions from LE Wiki. You should build for PROJECT=S905 ARCH=aarch64.


    The issues i have with this build:

    1) wiping data/cache via recovery = no more LE and drops you to the LE shell instead, which explains my above post.


    Not an issue. This is explained in OP.


    2) remote is not 100% functional however all buttons worked 100% with android prior to flashing. Now only OK, arrow keys, home buttons work and Back and volume +/- do not do anything once on LE. Copying the remote.conf from my working OE build (based on alex sources) or the remote.conf from alexs github for the mxq = nothing works dead remote. Anyway to fix the back button?


    Please post your remote.conf from Android (I assume that it worked 100% in Android?) and tell me which Alex's build you were using. I will look into the files and include more remaps to make your remote functional.


    3) power off and reboot work when using the Kodi soft buttons, after selecting 'power off system' the box powers off and turns back on when the power button is pressed on the remote. However if you press the power button on the remote while the box is already on it looks like it powers off but no longer powers back on with the remote. I suspect the device goes into suspend and gets stuck in limbo which was the same issue with all OE builds i tried. I'm hoping suspend can be disabled completely and once you press the power button on the remote it just powers off the box instead. Suspend seems useless and breaks things so hoping this can be addressed in a future build.


    This is a known issue and I'm looking into how this can be fixed. I can't promise I'll be able to make it work for the next build but for sure at some point in the future it'll work.


    There's still an issue with the S805 builds after 7.0.1.4 on the v2.0 boards (at least the one I have available)
    Video playback is very jerky and glitchy. The audio seems to playback normally while the video jumps around.
    The issue does not exist in builds prior to 7.0.2.1



    I can confirm that the board v2.0 have problems with glitchy playback, but only in 1080 videos, video playback starts ok, and after few minutes become very glitchy...when restarts playback it again starts just fine, but only for u few minutes. Videos 720 and under are always ok.
    I tried all 4 nand versions and same problem.



    kszaq 7.0.1.4 is working. 7.0.1.3 same issue. It's related to kernel changes for cpu you made back there i think.

    Can you please all try this test build for fixing playback issues Poida and njofr@ and for stability pesh: 7.0.2.2-dt-revert


    okay, i see the commits you have done yourself, are all those for running the s905 or did you pull most of them from your s805 tree, or do you use the same 3.14 kernel on both ?


    For S805 there is only 3.10 kernel. I have ported some commits forward from 3.10 kernel and introduced some fixes for 3.14 to run properly. Some commits I authored myself, others I take from these repos:



    Also i don't quite understand where your 3.14 source comes from (codesnake fork?) and more important where do all those other older commits come from ? Is codesnake actually updating amlogic kernel with mainline patches ?


    This is the kernel base I am using right now: Commits · surkovalex/linux · GitHub

    For what I know from Surkovalex, this source comes from Amlogic SDK.

    Codesnake has not made his S905 public yet.


    Works great on my QuickPlay MXQ pro thanks kszaq.

    Any chance of Bluetooth in the future?

    The Bluetooth drivers are already in and it's working on my box. If you can provide me with log from your box, I can have a look if this can be fixed. It would also be nice if you can start a new thread for Bluetooth-related issues. I undestand that BT works on Android?


    so have Tronsmart Telos with bables OE written to memory ( not SD card)

    This should work by just grabing the 4 files and putting them in the update folder and reboot ?

    Thanks

    No, you have to apply aml_autoscript using toothpick method. If you don't want to lose your data, do the following:

    • download NAND installation zip and unpack it to an SD card
    • delete factory_update_param.aml from the card
    • insert card to the box and apply toothpick method
    • your box will boot to recovery - install the ZIP from recovery menu



    Your solution it has worked perfect. Sorry I hadn't read your post #7 with attention. Thank you very much for your information.
    Maybe it's something to put somewhere to help another people who want to migrate from Alex's OE builds.

    Yeah, I put that to instruction in OP. Thanks.