Posts by ilmich

    Hi all,

    new build available with:

    - linux 5.10.120

    - mesa 21.0.5

    - fix cpu thermal throttling

    - fix 8723cs bluetooth

    - minor fixes and improvements

    RuBeN16v, Wyk72 the patch that forces the resolutions in case of wrong edid was not included because it's risky.

    To solve, the best way is to use the edid compiled at this url (for example)

    GitHub - akatrevorjay/edid-generator: Hackerswork to generate an EDID blob from given Xorg Modelines, complete with valid checksum.
    Hackerswork to generate an EDID blob from given Xorg Modelines, complete with valid checksum. - GitHub - akatrevorjay/edid-generator: Hackerswork to generate…

    based on the capabilities of the monitor.



    hi Wyk72,

    hardware decoding, as you have noticed, is a work in progress.

    I've never tried with mpv, but you need to make sure you have the kernel patches (hantro / rkvdec) and also those for ffmpeg to enhance the v4lrequest layer to work with the kernel.

    If you want to use libreelec's patches for ffmpeg 4.3 you can find them here at libreelec-10.0 · LibreELEC/
    Just enough OS for KODI. Contribute to LibreELEC/ development by creating an account on GitHub.

    Regarding the gpu, the latest versions of the userspace mesa driver greatly optimize the performance of our mali400.

    So check that your system has at least version 22.0.x.

    As a bonus you can use these patches (taken from some official merge requests in the approval phase) which, if you still use my libreelec port, make a difference in terms of system fluidity. at libreelec-10.0 · ilmich/
    Just enough OS for KODI. Contribute to ilmich/ development by creating an account on GitHub.

    As for the kernel, I don't tell you, because they should already be present in the armbian port and in any case you are using a different kernel than the one my port uses.

    Hi RuBeN16v,

    Of course, but I don't know how to get the edid, if someone has a "how to", or let me know how to do it I'll be glad to help

    Anyways the pics I uploaded are on my QHD BenQ EX3203R

    from an ssh session launch

    tvchiptryp:~ # dump-active-edids
    found active connector(s) HDMI-A-1

    that outputs edid in /storage/.config/firmware/edid/

    tvchiptryp:~ # ls /storage/.config/firmware/edid/

    MIKMXIII, can you kindly send the model of the board (not the box) and some logs!?

    In any case, if you have a 6051p wireless chip, unfortunately the current driver does not work very well (it is a re-adaptation of the legacy driver that in some cases gives problems).

    In fact, there are problems with arp requests and therefore the device is basically not detected on the network. It also depends on the wifi router (with mine, for example, it just can't connect, with another router it does)

    Unfortunately I have not been able to stabilize the driver yet and I have solved it with a usb wifi adapter.

    hi RuBeN16v

    thank you very much for test. I try my best to make this port the best it can be for these boxes.

    I ask you two courtesies

    1) can you send me the edid of your monitor !? it seems strange to me that it is not detected correctly also because the box supports 4k (I don't have a 4k tv unfortunately)

    2) can you give me the name of your board !? Definitely with libreelec 11, but already now I want to start register boards and creating the appropriate dts. Doing it by model does not work, because often what is indicated in the case does not correspond to the board contained in it.

    hi Wyk72,

    retry with

    testing – Google Drive

    due to a typing error, fullhd resolutions are not injected.

    Maybe there's a "one-size-fits-all" EDID somewhere to inject in the kernel line as I did, to get some "forced" resolutions ?

    But what resolutions does your monitor support!?!?

    In any case I don't know, I never had to. I think you have to be careful not to overdo the resolutions, because you could ruin the monitor (edid also exists for this).

    Anyway if you tell me it works, maybe without fullhd resolutions (which might not be ok for old monitors) but I'll put the patch in the next build.

    A thousand thanks


    hi Wyk72 and RuBeN16v ,

    from what I remember, the problem is a corrupt/incompatible edid (edid is the descriptor stored in the tv that tell kernel wich resoultions are supported).

    When the kernel fails to parse it, sets the resolution fixed (1024x768) with no audio.

    I am trying to find a solution, even if it is difficult to replicate.

    In any case I advise you to check if is possible to update firmware of TV.

    Wyk72, believe me, these boxes when they work are great with libreelec.

    The latest versions of mesa (the opensource graphics driver) significantly increase graphics performance. And compared to having a more recent board, with kodi and our boxes the differences are clearly seen.

    Just to highlight, that thanks to the new kernel and probably the changes made to the rcu algorithm

    kernel/git/stable/linux.git - Linux kernel stable tree

    the system has become much smoother even on boards with ddr2 :)

    Unfortunately the nand driver is slower than the sd reader, so the optimizations are less evident than on sd card installations.

    But I will try to improve it in the next few days.

    In any case, long life rk3229: D

    temperature is an important thing ... in libreelec 9.2 my cpu reached absurd temperatures .. so I took a lot of patience to find the best settings.

    changing the heatsink shouldn't be necessary (and in fact I didn't do it, still getting the same results as you).

    let me know how it goes, creating an operating system that runs on multiple boards is my goal, but it's also a hard thing to do and i want to make sure i don't ruin the experience of others.

    thank you

    Hi oneillb,

    in summary, I seem to have understood that by doing as suggested by jock2 (tweaking the voltages of the lower frequencies), your board has become much more stable.

    This is a great thing and I thank you for everything you have done. I will definitely do some tests, but since I don't have these problems I ask you to try the following settings

    408000000975000 (+25000μV)
    6000000001000000 (+25000μV)
    8160000001025000 (+25000μV)
    10080000001075000 (unchanged)

    Basically, since I changed the voltages to make the cpu less hot (the official ones make the cpu heat up excessively) I would like to try to maintain a linear increase.

    Let me known

    RuBeN16v as for the resolution, please explain better. Can't set gui or playback resolution ?!

    In any case, if the TV is old, I suggest to update the firmware to the latest version available. On an old TV of mine, for example, after updating the firmware, more refresh rates appeared.

    For other problems, try attaching some logs (kodi and dmesg) because the 8723cs driver is included and maybe there is some other problem. Or, in the worse case, your particular chip is not supported by any mainline driver

    markosc please try to be more precise (like oneillb).

    for example what build are you using?!?! which device tree?! (if you read in the first post, by default there is a simple one but you can change it later). can you post some logs! ??!

    in any case update from libreelec 9.2 to 10 will never works, because they are completely different (legacy vs mainline)

    oneillb as soon as I can I try to take a look at your logs. Surely since I focus more on hardware than software, try to play the same file locally (no nfs).

    This is because if you have no problems, then you have to investigate kodi (which is not my field, however)

    Thank you very much

    oneillb, jock2 it's really strange. This kind of errors I catch them with the first versions (buggy mesa driver).

    Anyway try this build

    testing – Google Drive

    I'm working on the next version where

    - devices with emmc don't try to load the nand (and vice versa)

    - since libreelec is a multimedia system the gpu is fixed at the maximum clock rate (500Mhz)

    - updated kodi with some bugs fixed

    - updated mesa (gpu drivers)

    just try:

    - add more debugging info by appending

    debugging cma=256M

    on your kernel command line

    - launch it from sd card instead of internal memory

    Hope it helps

    Thank you very much