Posts by chewitt

    Code
    cd /storage/.update
    wget https://chewitt.libreelec.tv/testing/LibreELEC-AMLGX.arm-11.0.2.tar
    reboot

    ^ please update to that image and share the boot log again. The WiFi card appears to be the newer BCM43752 chip (as that's what the BT driver loaded firmware for) but it's odd the kernel doesn't show any attempt to probe SDIO. I can ask the Minix devs for the Android dts and schematics to look at.

    Casting and streaming media "to" other devices gets complicated. It's easier to simply setup a central repository of media and then have the respective client devices independently connect and play media from it. In a home this would be a NAS device that can serve files over SMB, and with native Kodi apps for the different client device OS in use. The NAS can connects to a WiFi router, and if possible has an Ethernet connection to the Living Room player device (RPi4) as nothing sucks more than shitty WiFi killing the movie mood. Firesticks can also run Kodi natively, accessing the same content over SMB. If the NAS has options for Plex or Jellyfin you also have other options for native player apps with different features, e.g. Plex can serve content on-the-fly at reduced resolution which can be useful for WiFi connected clients that may have lower bandwidth, and kids don't care whether something is 4K or HD .. they care they're watching a movie with cousins.

    As the NAS device is running in an environment with less stable power arrangements I'd use SSDs for storage instead of spinning drives. It won't prevent filesystems getting corrupted by will avoid physical drive damage from sudden power loss. Using a NAS and SSDs is more expensive than trying to frankenstein something with Raspberry Pi's and USB drives, but any trailer that size and with 3x TVs isn't exactly downmarket camping so you can probably afford it :)

    Kodi is pre-configured for 1080p max as RPi4 (and all the other ARM boards/boxes we support) don't have the CPU grunt + I/O performance + memory bandwidth for handling 4K artwork. If you really must have 4K GUI .. you'll need to switch to a higher-end Intel device with fast RAM and an SSD or NVMe drive. And then you'll discover that most TVs do a better job of scaling 1080p art to 4K than Kodi does.

    Have a read: https://wiki.libreelec.tv/configuration/4k-hdr

    Quote

    2023-04-30 16:23:11.551 T:843 error <general>: CVideoLayerBridgeDRMPRIME::Map - failed to add fb 0, ret = -22
    2023-04-30 16:23:11.556 T:843 debug <general>: CDRMUtils::DrmFbDestroyCallback - removing framebuffer: 44

    ^ those are shown while playing the first file, but I have no clue what the cause might be. I would suggest that you enable "adjust refresh" with 1080@60/59.94/50/24/23.976 modes whitelisted and "mode doubling" enabled, but I'm not sure that will alter the experience. You need to have DRMPRIME decoding enabled (it should be by default).

    You can also try updating to https://chewitt.libreelec.tv/testing/LibreE….arm-11.0.2.tar which uses a newer kernel and marginally different patches. Again, I have low expectations of anything changing .. but you never know /shrug

    phemmer Ignoring the obvious I/O errors, the one thing that stands out to me is this:

    [ 1.557543] meson_uart c11084c0.serial: Failed to create device link (0x180) with wifi32k

    Most of the errors are I/O and look like a dying SD card or perhaps bad PSU that causes instability issues for the (known to be problematically sensitive) MMC devices: SD/eMMC/SDIO. The failure of the wifi32k device to probe right means WiFi (SDIO) will not work, but oddly the other UART based device, BT, appears to proble. Most odd. Another possible cause is the MMC clock speed being too high, but it's only 100MHz (default in the upstream kernel is 50MHz) and it's been stable at that rate with other devices (stats show other U9-H users) so I don't think that's the reason. If the device has been booting CE or Android fine that would generally rule out PSU issues; they would likely show up in other OS too.

    Please put this on a new/different SD card https://chewitt.libreelec.tv/testing/LibreE….0.2-box.img.gz and see if you can grab the boot log again. I'm not seriously expecting anything to be different but it has some additional patches and a newer kernel than the official release so you never know /shrug

    Code
    2023-04-24 18:04:04.764 T:1428     info <general>: Found resolution 1280x720 with 1280x720 @ 60.000000 Hz
    2023-04-24 18:04:04.765 T:1428     info <general>: Found resolution 1920x1080 with 1920x1080i @ 60.000000 Hz
    2023-04-24 18:04:04.765 T:1428     info <general>: Found resolution 1920x1080 with 1920x1080i @ 59.940063 Hz
    2023-04-24 18:04:04.765 T:1428     info <general>: Found resolution 1920x1080 with 1920x1080i @ 50.000000 Hz
    2023-04-24 18:04:04.765 T:1428     info <general>: Found resolution 1280x720 with 1280x720 @ 59.940063 Hz
    2023-04-24 18:04:04.765 T:1428     info <general>: Found resolution 1280x720 with 1280x720 @ 50.000000 Hz

    The mode list ^ shows you haven an older "HD Ready" TV that does 720p max. Kodi only outputs progressive so we ignore the 1080 interlaced modes that are available.

    Code
    2023-04-24 18:24:48.646 T:3321     info <general>: [WHITELIST] Searching the whitelist for: width: 1920, height: 1080, fps: 25.000, 3D: false
    ...
    2023-04-24 18:24:48.646 T:3321    debug <general>: [WHITELIST] Matched a desktop resolution with double the refresh rate 1280x720 @ 50.000000 Hz (22)
    2023-04-24 18:24:48.646 T:3321     info <general>: Display resolution ADJUST : 1280x720 @ 50.000000 Hz (22) (weight: -nan)
    2023-04-24 18:24:48.651 T:3321  warning <general>: OpenStream - Unsupported stream 1001. Stream disabled.

    The 2/3/4 plays in the log follow this format; note the unsupported stream warning. The first play doesn't show the warning .. not sure why but all are trying to play 1080@25 media at 720@50 which probably isn't going to work.

    In most countries channels are broadcast in 540p (PAL) or 480p (NTSC) "SD" versions and 720p or 1080p "HD" versions. As you don't have a 1080p capable TV you will need to remove/ignore the 1080p HD channels in your channel list.