Posts by prabuselva

    prabuselva can you give a link to your git repository? Or better yet, make PR to LE master and I'll make a review.

    Note, no H6 supported board runs at 1.8 GHz. There is no need fo that. Ideally, video is HW decoded and usually runs at lowest possible setting.

    Agreed regarding the 1.8Ghz.. So, I fixed the max CPU freq to 1.32 Ghz for now and tested.. Seems more stable and no heating issue..

    I have created a pull request at the LE master branch.. Please do review and let me know there if any is additional fix required.. Thanks

    That means that EDID was not read correctly. Do you have ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */ in your HDMI connector node?

    This was it.. Now The DTS patch works great for Orangepi lite2 with master branch kernel 5.3.5 as well..

    Regarding Video performance issues, It was my bad since I enabled debug logs during one of my tests to debug HDMI sound issue which could have increased CPU usage during video playback

    Finally... I got almost same results as Libreelec 9.2 branch with regards to performance

    Working

    - WIFI,

    - Bluetooth with headphones,

    - 1080p HDMI Display,

    - H264 upto 1080p 30fps,

    - H264 4K 30fps

    - Youtube Addon H264 upto 1080p,

    - HEVC upto 4K 60fps (8bit)

    - USB2 & USB3 (in USB2 mode)



    Not Working

    - WIFI doesn't auto connect on bootup (sometimes)

    - bluetooth doesn't auto pairing upon bootup (sometimes)

    - Frequent freezes due to CPU running at 1.8Ghz at idle state (Changing to schedutil governor helped a little better compared to performance governor)

    Not Tested

    - 10 Bit HEVC Videos

    - 4K TV output (Only 1080p and 4K downscaled to 1080p tested)

    - IR remote

    - Lots more...

    The compiled image for Orangepi lite2 with Kodi 19 is available for testing

    LibreELEC-H6.arm-9.80-devel-20191105002150-cfe1640-orangepi-lite2.img.gz

    Note: If first bootup fails, Please try to power cycle the board atleast 3-4 times.. It will eventually boot and come into startup screen

    I had to fix Libreelec settings package to python3 issue as well from the latest commit..

    I hope after someone else test the above image, you can include Orangepi lite2 board in your supported board lists if the patch seems okay to you..Please let me know how can I send PR request to you or the LE team..

    BTW.. Thanks for your support to the open community :)

    That means that EDID was not read correctly. Do you have ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */ in your HDMI connector node?

    I think I didn't have those..I will confirm it soon..

    How did you determined that? what are the numbers before/after? That code didn't change much in a long time.

    Basically, In master branch, I was checking the codec information while playing youtube videos, for 720p h264 video, I was getting like 40% usage and cpu was also very hot and freeze...But the same video in libreelec-9.2 branch, I was able to get 3-5% only even for 1080p h264..

    Also to note that.. I was using Bluetooth headphones for audio in master branch as HDMI sound was not available..

    But let me repeat the same test with your HDMI fix with master branch so that I get my HDMI resolution and HDMI audio issued solved...

    prabuselva thanks for working on this, but you'll have to rebase your work on current master branch. New features, like supporting new board, are accepted only there. Please describe your issues with 1080p HDMI in more detail and append any relevant data, like dmesg output and clk_summary content.

    jernej, Okay I will rebase on master branch.. and try the dts patch with 5.3.x kernel again..

    Regarding the issues for OPI Lite2 with master branch kernel, the following issues were faced

    - Instead of 1080p Display, I only get 1024x768p Display
    - No sound via HDMI

    - Booting is successful only in 1 out 5 attempts..(May be still due to HDMI issues)
    - VIdeo playback causes higher CPU usage..

    I will recompile with 5.3.x and provide the logs for debugging.. It should be mostly coz of elements mismatch in my DTS patch between 5.1 and 5.3 kernel

    Good news is that I can see device is reasonably stable with 9.2 branch with 5.1.x kernel which means that the device can be easily added and fixed for minor issues with almost 90% features working :)

    Hi jernej

    I can see that here people are trying to add more devices in the H3, A64 and H6 compatibility list.

    I have tried to make the librelec work with orangepi lite2 by patching the lite2 dts with the patches from armbian as well as megous kernel.

    I have been so far sucessful with the following results,

    Working

    - WIFI,

    - Bluetooth with headphones,

    - 1080p HDMI Display,

    - H264 upto 1080p 30fps,

    - Youtube Addon H264 upto 1080p,

    - HEVC upto 4K 60fps (8bit)

    - USB2 & USB3 (in USB2 mode)

    Not Working

    - WIFI doesn't auto connect on bootup

    - Frequent freezes (Changing to schedutil governor didn't help but freezes were better compared to performance governor)

    - bluetooth doesn't auto pairing upon bootup

    - 10 Bit HEVC Videos

    - 4K H264 Videos

    - 5.1/7.1 Channel Audio passthrough

    Haven't tested

    \-> 4K TV output (Only 1080p and 4K downscaled to 1080p tested)

    \-> Plenty more tests needs to be done.

    Patch was added to libreelec-9.2 branch with kernel 5.1.16 in the official Libreelec github source to support this orangepi-lite2 device. I tried with the master branch kernel 5.3.5 but it had too much issues from 1080p HDMI Display to bootup issues. So, I gaveup on master branch for now..

    jernej , I am new to community patching process.. So, If you can help, I can provide the dts patch for orangepi lite2 for patching and testing by other people too..

    LibreElec Image can be downloaded from LibreELEC-H6.arm-9.1-devel-20191103074700-8c2dda0-orangepi_lite2

    Interested people can download and provide feedback

    If first bootup fails, Please try to power cycle the board atleast 3-4 times.. It will eventually boot and come into startup screen