Posts by chewitt

    regarding hardware acceleration, with the original Tv Box´´´´ s Android 4.4.2 it works perfectly with the app Airscreen, it plays perfectly at 1080p x265 from UMS on a PC through WIFI 2.4. Maybe this information helps to find a solution.

    The upstream codec drivers (in the staging area of the kernel) are incomplete and do not support Meson8 hardware. Knowing it works on a prehistoric vendor kernel from 2010/11 doesn't help with that.

    it would be interesting if the Chromecast could be ported to the TV Box. I have the first one from 2013 and it still works perfectly with all the streaming apps. Is it possible to do that?

    Google provides sources for all the open-source software they use in their Chromecast devices. However, and very intentionally, they provide sources without git history so you cannot easily see what they changed, and they don't provide sources for any of their own-code bits (which remain closed-source). There are also Amlogic kernel sources for older boxes and you can grab the latest AndroidTV or AOSP sources (which are public) so could in-theory create a newer Android release, but mating them into something that boots, runs, and is reliable, will required deep technical skills and several thousand man-hours of effort. Good luck :)

    The correct solution is setting the TV to 'auto-scan' instead of overscanning, but if that doesn't work Kodi has a manual calibration function. Note that manual calibration needs to be repeated for each resolution/refresh combination that you whitelisted (or each combo where the TV shows the problem) by setting the desktop resolution to that combo and then calibrating. Again, the better option is using auto-scan.

    It's working here on an iPhone 14 (17.6.1) using Librespot and normal Airplay streaming. I'm technically using an LE13 image and an RPi5, but the Kodi version is from before the bump to Kodi piers (i.e., the same Kodi version as LE12 images), the Liprespot add-ons are essentially identical, and RPi4 vs RPi5 makes no functional difference. NB: Airplay streaming generally works better, there's less lag on playback, but I assume that's not an option if using an Android phone.

    How does the Android running Chromecast 4k do compare to LE on RPI4B for video hardware acceleration or graphical UI?

    Does Android use OpenGL or Vulkan for this?

    The Chromecast has an Amlogic S905Y3 chip with Mali G31 GPU inside and supports OpenGLES. It's a faster chip than the Broadcom SoC in the RPi4, and the OS runs from internal eMMC storage, but Android has a much greater general OS overhead so I usually find the Kodi GUI runs "about the same" on most Android devices with my (large) media collection as it does on an RPi4B's inferior but less loaded hardware.

    Hardware Video Acceleration is something different. RPi4B supports only H264 (to 1080p) and HEVC (to 4K) whereas the Chromecast supports a much wider range of codecs. That said, most of the extra codecs Chromecast supports are legacy ones and the RPi4B can software decode the legacy media using them. The main real-world difference will be VP9 media support.

    Note that RPi5 significantly outperforms RPi4.

    /shrug

    No RPi board has hardware support for VP9 media and RPi3 doesn't have the CPU grunt for software decoding. You need to use H264 content (which can be decoded) or use different hardware. RPi4 can handle 1080p and RPi5 has the oomph to handle most 4K30 VP9 media (but not 4K60).

    Updating to LE12 won't solve anything.

    why isn't Libreelec/connman using the Proxy-config from Kodi for these checks?

    Proxying in Linux is always application specific so Kodi proxy configuration is for Kodi and is not shared to other applications. You can also set a proxy in ConnMan (per connection) but I have a hunch the initial requests for ipv4/ipv6.connman.org are intentionally not routed to a configured proxy as those checks are performed before the network is declared up (and thus the connection that proxy config is associated with is not yet established).

    Code
    2024-07-29 15:26:39 up 10 min 538352
    2024-07-29 15:27:39 up 11 min 543008
    2024-07-29 15:28:39 up 12 min 542848
    2024-07-29 15:29:39 up 13 min 544544
    ...
    2024-08-03 11:15:11 up 4 days 803584
    2024-08-03 11:16:11 up 4 days 799680
    2024-08-03 11:17:11 up 4 days 799888
    2024-08-03 11:18:11 up 4 days 810112

    Defnitely an increase in RAM consumption over time, but figuring out what is beyond my Linux skillset.

    HiassofT  mglae any thoughts?