Posts by chewitt

    I was pretty sure pi5 allows for multiscreens.

    RPiOS can create a single 'desktop' over mutiple displays but then Kodi runs in a window on the desktop and you have to choose which desktop you want full-screen output on (as Kodi does not handle multiple screens) and you cannot 'adjust-refresh' display mode to suit the media being played (as Wayland does not allow this).

    The closest you can get is stopping Kodi, editing config files with scripts to change outputs, then restarting Kodi. There is no way arouond the stop and restart because Kodi does not support dynamic change of video output.

    I would describe the scripting approach as fragile. Feel free to experiment, but don't be surprised when it isn't reliable.

    Kodi supports outputting at 1080p and switching to 4K only when required, but it cannot handle dynamic changes of HDMI output and it has no concept of fallback logic for HDMI connections. IMHO the best solution will be to send everything to the AVR and use the video/audio source mapping functions there to deliver the output routing you want.

    In short, LE will not do what you require, and as the Kodi featureset is pretty consistent on all platforms I don't think any other distro or OS platform will do it either.

    I've updated the RK356X images (and .tar) in my test share to pick the CEC fixes and include a 'getedid' script. Please test without using getedid and if the issue is solved I will add the patches to the list of things that I can nag Kwiboo about :)

    Not sure about the video stutters, although if that's only in the lastest image (last 24h) it's possibly due to an ffmpeg bump; it would help to see a Kodi debug log to understand config/environment and media. I will dig up a Rock 3C board and experiment in the next couple of days.

    Also no idea on Kodi profiles. The patch you flagged was dropped with the Python 3.9.10 bump aeons back, so if there's an issue it's presumably a new bug as that fix is upstream. You'll need to share a Kodi debug/crashlog for someone to look at.

    The listing of the device in "lsusb" only proves the USB bluetooth receiver is connected, not that it works or is working.

    To eliminate the LE settings add-on from the process (not known to have issues, but not impossible) you can use "bluetoothctl" to scan for devices and pair them from the console. See how that goes.

    As I can read here in the wiki, audio has to work. As the device is currently connected to a standard monitor without speakers, I wonder if this may contribute to all the issues?

    Kodi appears to read some HDMI audio capabilities from the DRM driver layer, but the EDID data from the monitor presumably shows no speakers so Kodi ends up running in circles trying and failing to open an audio sink. This eventually fails but only after generating a ton of log noise. It will be more productive (and less log-noisy) to run tests with the TV. You must also run "getedid delete" as the previous inappropriate advice to run it will force the kernel to always see the monitor (with no speakers) attached instead of the TV .. thus guaranteeing bad results.

    Code
    2025-11-23 12:12:46.454 T:900     error <general>: SMBFile->Open: Unable to open file : 'smb://192.168.178.13/VIDEO/SPIELFILME/JAMES%20BOND/James%20Bond%20007%20-%20In%20t%c3%b6dlicher%20Mission%20(1981).mkv'
                                                       unix_err:'16' error : 'Invalid argument'
    2025-11-23 12:12:46.454 T:900     error <general>: CFileCache::Open - <smb://192.168.178.13/VIDEO/SPIELFILME/JAMES BOND/James Bond 007 - In tödlicher Mission (1981).mkv> failed to open
    2025-11-23 12:12:46.454 T:900     error <general>: InputStream: Error opening, smb://192.168.178.13/VIDEO/SPIELFILME/JAMES BOND/James Bond 007 - In tödlicher Mission (1981).mkv

    The first error looks like Kodi is configured to use the default HDMI device (#0) when the active/connected HDMI device is #2 so the alsa audio sink cannot be opened.

    The second error is related to SMB (invalid argument) so check that you are using a valid IP/path and credentials in sources.xml and the SMB protocol versions used by the Kodi SMB client are correct for the NAS.

    Avahi (ZeroConf) advertises multiple services do the network browser app on Ubuntu etc. will show everything advertised. I'd guess that lowercase is SSH and uppercase is Samba (SMB). The Samba config in LE is oriented towards Windows and IIRC requires auth (libreelec/libreelec, not root/libreelec) so as long as you're using the right credential access should work. If the LE/RPi device is using DHCP it might help to add a static DHCP assigment in the router so the dynamic IP address never actually changes and thus DNS resolution of libreelec.local should also never change (avoids stale mDNS caching issues). Otherwise you need to look at Samba client logs on PopOS (or make connections manually from the console so you see stdout errors) to see why client access has failed.

    NB: The perennial issue with RPi hardware and WiFi is that the antenna isn't brilliant and this affects the underlying connection and can introduce misc. errors. If running an Ethernet cable eliminates the issue, WiFi itself is the problem.

    Code
    mkdir -p /storage/.config/firmware/mediatek
    cd /storage/.config/firmware/mediatek
    wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/mediatek/mt7601u.bin
    reboot

    It's nothing more than missing firwmare so do the above ^ (watch for the line wrap on the wget command) and it should work?

    Confirm back and I'll pick the firmware to future images.

    See if that content works?

    1. Not unless someone upstreams support for the box to the upstream kernel and u-boot

    2. There are nightlies for some RK3576 devices and equivalent test images with marginally newer kernel etc. in my test share

    3. LE supports whatever level of 'properly' the current upstream kernel supports

    4. If you want things to work 'properly' it will probably need device-specific dts/u-boot. Nothing exists for that device.

    In short; there is code and prior-art in our buildsystem and we publish that under GPLv2 so anyone can go nuts and experiment and do whatever they like with it. There are no nicely typed up technical notes or HOWTO guides. You are welcome to ask questsions, but you should have low expectations for anyone spoon-feeding you with instructions on how to author support for your box.

    The Creator app has no code to assign drive letters. That function is solely done by Windows itself when it auto-detects a filesystem on the inserted USB stick. So please direct your pithy ire towards Microsoft who have been authoring that kind of problem for their consumers for about the same lenght of time you've been using computers.

    I've no idea what specificially happend or what the underlying Windows problem is, or even what version of Windows you have (seems you are too busy telling stories to give useful facts) but every version since Windows 95 has a 'Computer Management' control panel and this has a filesystems section that allows your to reformat devices and add/change/deletion the current drive letter assignments.

    NB: Once you create LibreELEC install media you need to boot from the USB stick and the installer will guide you through the process of installing to an internal drive. Once you select an install target the installer will ask you multiple times to confirm that you want to overwrite and destroy existing content on the drive, but if you keep hitting yes, it will do that. I'm mentioning because you sound like the kind of Windows user whose next post in this forum will be complaining that our installer hosed your entire Windows install.

    I'm also going to point out that Kodi has a perfectly good native Windows app, which might be your easiest option.

    The config.txt file has 4K60 modes enabled so I'll guess that the HDMI port the TV connects to the AVR on only supports 4K60 4:2:0 input so the AVR advertises this to the downstream RPi4 which does not support 4K60 4:2:0 output; so the RPi4 cannot negotiate a valid 4K HDMI mode and Kodi is forced to start 'offscreen' and you see a blank screen instead of the Kodi home screen.

    Switching the HDMI input on the TV to a port that supports 4:2:2 input or changing port properties to allow 4:2:2 input will be the best fix. You can also add video=HDMI-A-1:1920x1080M@60D to kernel boot params in cmdline.txt to force the initial DRM connector state to 1080@60 instead of 4K to get the Kodi home screen showing; but this will not fix the underlying 4K handshaking issue if/when you try to play 4K media.

    NB: This wiki article has some general notes on setup: https://wiki.libreelec.tv/configuration/4k-hdr