Posts by chewitt

    linux/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi at master · torvalds/linux
    Linux kernel source tree. Contribute to torvalds/linux development by creating an account on GitHub.
    github.com

    The device-tree file used with Dreambox devices currently sets max speed for the SD card interface to 100MHz, so you're not going to observe anything near the marketing numbers on the cards. No need to over-spend. There are no known limits on SD card size, but I've never personally tested Amlogic hardware with anything larger than 32GB (as I only buy cheap cards for testing).

    RPi boards have no external antenna connector so the sole option is disabling the onboard and using external USB WiFi. And while your phone works great, the RPi board doesn't, so the "but my other device is okay" argument is invalid. Reinstalling won't achieve anything with an OS like LE which uses embedded packaging to ensure the OS content on each device is identical. You can remake the connection, but that's not the problem.

    Matrix (LE10) uses python2, while Nexus (LE11), Omega (LE12), and Piers (LE13) use python3. Our distro packaging ensures the OS update is trivial, but the python change typically causes add-on crashes, so our official advice is to not do any kind of in-situ upgrade from a python2 version to python3 version.

    In practice, and if you know your way around the LE and Kodi filesystem, you can drop an LE12 update file in /storage/.update, then stop Kodi, rename /storage/.kodi to /storage/.kodi-old, and reboot to update. This results in a clean LE12 environment, and it's then simple to stop Kodi, copy back essential bits from /storage/.kodi-old/userdata to /storage/.kodi/userdata, and restart Kodi. You can copy addon settings from the previous install, but you need to reinstall all add-ons from repos to get python3 compatible versions.

    I've no idea what patches and changes _emanuel_ adds to his images (he is not pushlishing the sources to his GitHub account) but I doubt he deviates far from AMGLX.

    It sounds like it falls back to the 5.1 'core' audio. Have you checked cables? - it requires high bandwidth and if the HDMI connection can't handle that it will cause fallback. Please also enable debug logging in Kodi, demonstrate the issue by playing something, and then run "pastekodi" over SSH and share the URL generated.

    Some comments:

    • Can't explain 10.0.0.0 without knowledge of the correct DHCP scope, or there's a rogue DHCP server in the network
    • RPi WiFi is never brilliant so you probably need to move the device closer to the router
    • The invalid-key error is a known but unresolved connection issue - signal strength is a factor (as above)
    • The usual reason SSH password login fails is people enabling the disable password feature?
    • Once you get in, there is intentionally no sudo or apt package manager (we are not Debian based)

    In general WiFi on RPi boards is a bit rubbish, and while "invalid-key" is a genuine bug that needs to be resolved, it's influenced by signal strength. If running an Ethernet cable is truly impossible you may need to use an external USB WiFi dongle with a proper antenna that provides better range than the onboard card.

    Is there an LE Matrix version that has a supporting kernel? Anything I can do to make it work on Matrix?

    No, but you can self-build an image with a newer kernel and related kernel and intel firmware packages. There are instructions for self-building in the wiki, although it won't give you explicit directions on how to go around bumping packages. There's lots of prior art for that in the buildysystem though, so a little initiative and curiosity should get you over the line.

    Plan B .. time to fathom the overly modified skin.

    If you want a dedicated vendor kernel image with all features working .. LE 9.0.2

    If you want to experiment with upstream kernels which are less featured but generally usable as long as your media needs and expectations are not exotic, use the AMLGX image. You can manually migrate data like Kodi DB files between installs, but you cannot update in-place between LE 9.0.2 and LE 12 (or LE13 nightlies) as the boot files, kernel, kodi (everything basically) are different.

    Read https://wiki.libreelec.tv/hardware/amlogic for more info and instructions.

    EDIT: Current images in my test share have the previous patch reverted and something added that forces EGL_DEPTH_SIZE to zero (EGL_STENCIL_SIZE is already zero). As always, no guarantees my guesswork is correct. Please run tests again.

    When i set 23.98 on my Windows PC it show 23Hz

    The firmware in the projector has some rounding logic for display then, and when Kodi sends 23.976 it's showing you 24Hz. The Windows PC may not be using 100% the same modeline as Linux (different code, different calculations) and this could explain why one OS results in the firmware rounding down to 23 and the other results in rounding up to 24. I was going to make a comment on this being possible in the previous post, but chose to wait and let you explain first.

    The real-world test is: do you see periodic sync glitches during playback, or is playback smooth?. If you don't (and I suspect you don't with well prepared media) there's no issue.

    I can see from the Kodi crashlog that my patch changes the issue and we're not generating the nouveau error. I've pushed updated images which revert that to restore the original crash. NB: I'm only interested in the "pastekodi" output as this contains both Kodi and system log in one paste.