Posts by chewitt

    Code
    Apr 06 06:12:00.956410 LibreELEC xorg-launch[615]: ================ WARNING WARNING WARNING WARNING ================
    Apr 06 06:12:00.956410 LibreELEC xorg-launch[615]: This server has a video driver ABI version of 25.2 that this
    Apr 06 06:12:00.956410 LibreELEC xorg-launch[615]: driver does not officially support.  Please check
    Apr 06 06:12:00.956410 LibreELEC xorg-launch[615]: http://www.nvidia.com/ for driver updates or downgrade to an X
    Apr 06 06:12:00.956410 LibreELEC xorg-launch[615]: server with a supported driver ABI.
    Apr 06 06:12:00.956410 LibreELEC xorg-launch[615]: =================================================================
    Apr 06 06:12:00.956410 LibreELEC xorg-launch[615]: (WW) NVIDIA: The driver will continue to load, but may behave strangely.
    Apr 06 06:12:00.956410 LibreELEC xorg-launch[615]: (WW) NVIDIA: This driver was compiled against the X.Org server SDK from commit e6ef2b12404dfec7f23592a3524d2a63d9d25802 and may not be compatible with the final version of this SDK.

    ^ this reads like we bumped Xorg in LE11 to a version higher than the nVidia legacy driver supports. As a result there is no OpenGL and Kodi cannot start. And if I re-read the LE10 log now it appears to be running but also prints an swrast error (not sure why it would be trying to uset that though). GeForce 8200 is an ancient card now (2008) so I'm wondering if the current legacy drivers go back far enough?

    I'm not sure what the issue is here, but ping heitbaum  CvH for awareness

    Should I always use nexbox a95x as hardware now ?

    Yes please. It's useful to have a known reference that the dtb works. If you see any issues, we can track them and (hopefully) fix them.

    NB: Does the box have an IR remote? If yes, do you have a working keymap for it?

    On the negative: Realtek maintains a driver fork for each chipset variant they shipped despite the differences between variants in the same family often being very minor, and they breed new variants like rabbits so there are probably 30+ drivers in circulation. Realtek only releases their drivers to their paying-for-support customers (end-users are not their customers) so end-users have to rely on board/device vendors sharing them; over time things generally leak to GitHub but it results in 500+ repos with slightly different versions of the same "posted once and never updated again" driver being available to confuse people. There is a large amount of common boilerplate/duplicated code in each vendor driver, and while the vendor drivers generally work okay the overall code quality is low as the drivers have never been subjected to any serious peer review during development. Frequent minor changes to upstream kernel frameworks frequently result in all the drivers breaking and needing to be patched so the drivers are a pain in the arse to maintain over time. The fact the drivers are released with a GPL license is good, but that's about the only good thing to report. Distro maintainers loathe these drivers.

    On the positive: Realtek have finally embraced upstreaming their drivers and are now contributing-to and maintaining a single driver per chip family. However their primary interest is in PCI/USB drivers and the SDIO ones are often forgotten, and this is a relatively recent development so they are only investing time/effort into the latest chipsets that nobody is really using yet, not the older chipsets that are endemic. They do comment on patches for older chipsets/drivers when asked, but community developers are the primary source of development for the older chipsets. So future support looks better, but support for everything shipped in the last decade is still a bit sucky.

    I'm not sure why the Realtek driver is flagged as staging in Debian (something for Debian maintainers to explain) but I am 100% confident this is the legacy Realtek vendor driver and not the upstream kernel staging driver.

    Have you enabled "disable password auth" in SSH options? - this will not stop the box for prompting for a password if you connect, but it will stop passwords from ever being accepted.

    Are you using the original remote for the box? .. If yes, can you share the files? - I can see the issue with audio; the required sound-card nodes are missing from meson-gxl-s905-nexbox-a95x.dts. This is simple to fix and I would like to add audio/remote and have you test.

    I added the driver in the rtl8189fs branch of this repo: https://github.com/jwrdegoede/rtl8189ES_linux/branches

    The rtl8189es driver that was already in the image is from the master branch of the same repo (and searches for the 'fs' driver point to that repo). It's common for an RTL driver to support multiple differently-named chips (hence it claims to be RTL8188F in dmesg) .. all part of the garbage and support debt that comes with not-upstream old vendor drivers.

    These drivers are not (and will not be) submitted to the main LE repo. I'm going to leave them in my private image for a while; I don't make any guarantee they will remain in my image so at some future point you might need to discover self-building LE images. Historically the RTL vendor drivers break with every kernel major-version bump and we bump kernels frequently so playing "hunt the patch" gets tiresome.

    In short, no. You can install another Kodi client configured with the same add-ons/sources of media on the other TV. You cannot stream from one LE instance to another Kodi client; Kodi is not a 'server' application that streams media.

    Code
    cd /storage/.update
    wget https://chewitt.libreelec.tv/t…ELEC-AMLGX.arm-11.0.2.tar
    reboot

    Please update again. That's ^ all you need to do. I think it should probe the right driver now; if yes it will probably fail to load firmware but that will show an error and we can see what's missing.

    Interesting, do I get that right that there are two drivers in staging for this USB adapter? A working one from Realtek and a non-working one from Jes Sorensen?

    Not correct. Debian is building with the older vendor driver, the staging driver is not enabled in their kernel. LE is building without the vendor driver, and with the staging driver enabled. However, staging = experimental drivers that are still in actively development and/or not feature complete enough to exit staging and be included in the main kernel tree. So the staging driver could be 95% complete or .. 55% with lots still to work on (and I have no idea which).

    I'd expect Debian to have a policy of only enabling finished drivers (makes sense for a large distro) and you wouldn't enable both as that will cause conflicts. LE is happy to enable the staging driver(s) as we aren't including the vendor ones (on principle; they break often) so there is no change of conflict .. and if it happens to work that's great.