jernej

Members
  • Content Count

    920
  • Joined

  • Last visited

3 Followers

About jernej

  • Rank
    Embedded member

Recent Profile Visitors

4623 profile views
  1. In the past, I tested @Clément Peron's patches on Tanix TX6 which has fixed GPU regulator and it has same problem. I'm pretty sure at this point that it's clock driver issue.
  2. Well, kernel modification is needed for better decoding (less glitches). Probably new *-ctrl.h files contain new fields (not 100% sure) which also need to be filled. There is no any post processing implemented here like scaling. It would be possible to do that via SoC specific peripherals but that wouldn't be universal and thus it's out of scope of this library. Anyway, I'm glad you succeeded.
  3. Sorry, no. I never worked with AC108, 3.10 kernel or Android on Allwinner boards. Just mainline kernel (currently 5.7), proper Linux (no Android) and only codec I have experience with is DW-HDMI for audio over HDMI.
  4. I don't know if that will work. LibreELEC uses latest versions of all libraries while Armbian not necessarily. Also be aware that Kodi in LibreELEC is meant to be run without X11 which means you have to drop into console first and then run Kodi.
  5. You could but video playback will be still painful. While audio interface is pretty standardized these days, video decoding is only getting there. Apps don't support video decoding on A20 yet, unless they are patched too. There is translation layer for VAAPI in works, but I'm not sure if it is useable in current state. LibreELEC serves as testing bed for video playback on Allwinner SoCs (at least for me) and environment is highly controlled to offer best experience possible. This means that playback is done through patched ffmpeg for video decoding and Kodi uses a render method not many apps use (DRM planes) and that only works well with full screen apps (GPU is not used at all).
  6. @Zoom yes, but download link is preferable
  7. @Zoom do you have Android image or update file for your TX6a variant? I would like to extract DTB file from it.
  8. I wouldn't be so sure. However I never researched it so I won't make any claims here.
  9. You shouldn't unload I2C driver because power regulator (PMIC) is controlled over it. With I2C driver unloading you effectively disable power regulation.
  10. A bit of HW details. H3 and most of AW SoCs for that matter have RTC integrated in which can be clocked from internal or external clock. Internal clock is sadly inaccurate, so it's borderline useable for keeping time, but some boards, like NanoPi NEO still omit external clock (price consideration, I guess). So, main issue about RTC to keep time is if it has separate power supply which is still enabled when main power supply is disconnected. On schematic, this is VCC_RTC. As you can see on NanoPi NEO schematic, RTC and main power supply are connected together, so RTC will lost power and with that time every time main power supply is disconnected.
  11. Mali is only for rendering, video decoding is done on separate HW core. However, its driver is not finished, VAAPI lib for it is also not finished yet and most of all, firefox supports HW video decoding (e.g. VAAPI) only on wayland. So, nothing that you could use right now. If you want decent video player on OPi Plus2E you can use LibreELEC image (Kodi) which has all work in progress included, but that is probably not something you had in mind (multimedia center app with no browser but youtube addon can be installed).
  12. jernej

    Mainline VPU

    I don't. As you said, I'm solely focused on decoding. Maybe @Kwiboo knows?
  13. jernej

    Mainline VPU

    That is very much work in progress, so it doesn't work anywhere yet, except basic MPEG4 on Cedrus. I'm not sure if I'll ever finish MPEG4 because it has a ton of variants and even Cortex A7 is capable decoding it. On the other hand, VC-1 has only 3 profiles and it's much more demanding for CPU decoding.
  14. jernej

    Mainline VPU

    You have to make sure that libva-v4l2-request uses same *-ctrl.h files that are in kernel sources under include/media/. For starters, just copy them over from kernel to lib source folder. Then you might need to adjust lib sources to new field names. Unless these files are completely the same, you won't have any success.
  15. A20 has only 2 cores but driver supports up to 4. Perfectly normal.