Posts by Free Man

    I'm running LibreELEC 12.2.0 on an RPi 5.

    Things had been going smoothly til the grandkids got hold of the remote and really messed things up! I did a full reinstall of 12.2.0 (reflashed the SD card, reconfigured everything from scratch), and since then, things still aren't working smoothly.

    At the end of a video (all files live on my UNRAID server), Kodi will just hang. I usually fast forward through the credits, so I let it just play through at regular speed. Still hangs. The screen goes black, my Kore remote on my phone says that it can't connect, it just sits there doing nothing. Sometimes, it will report that the video has finished playing, but usually not (I've got HomeAssistant monitoring play status to turn lights up/down - sometimes the lights come back up, usually not). I've left it sitting like this overnight and it'll still be like that in the morning.

    I end up pressing the power button until the Pi shuts down. I just remembered that I can SSH into the box (wouldn't let me change the default password, but that's another question...), so I've done that and issues a 'reboot' command, and it does that just fine.

    I looked in the logfiles directory, but there was nothing there.

    I use Kodi for Emby to connect to my Emby instance for Movie and TV Show playback and it happens with both of TV Shows and movies I also have an SMB share for sports (which just don't categorize well), and it hangs at the end of playback on those, too. Often, it will hang when I hit Pause or Stop on the Kore remote, also.

    Basically, I can watch one video of some sort, then I have to restart the machine to get some sort of response out of it.

    What the heck should I be looking at to figure out what's going wrong?

    Thank you HiassofT

    I just did that, I selected 2025-05-08-2712 for my RPi5, wrote the unzipped image to an SD card using Etcher, pulled the power from the Pi, put the card in, then plugged power in.

    Now I've got a bright green screen and the power LED is rapidly blinking green non-stop. After a few minutes, it seems to have shut of video output as my TV said "no signal".

    Thinking that the problem was probably with the 2025-05-08 version to begin with (since that's the newest one at the page you linked), I've now attempted to do the same with 2025-0-10-2712 (both are the SD version, since I boot from an SD card), and I've got the same results.

    There doesn't seem to be much in the way of instructions at that GitHub page on what to do and what to expect... Is this the expected result? Do I simply power down, replace it with my (previously functional) libreELEC SD and reboot?


    YES. I powered down, put my Kodi SD card back in & booted and it came up.

    Thanks again! The GH page could use a little added clarity, but with your pointer, I now have a booting machine again.
    Now, back to my original issue...

    I was working on trying to resolve another issue when I saw that there was an EEPROM update in LE 12.2.0 for my RPi5, so I decided to do that to see if it would help. Unfortunately, I don't know the version I was on, nor the version it was updating to.

    Now, it won't boot at all. I get 3 quick green light flashes and one slow one which, according to https://www.raspberrypi.com/documentation/…ing-flash-codes is "SPI EEPROM error - Pi 4 and Pi 5".

    How do I recover from this?

    Why did you omit any version number in your post?

    As a hint: downgrading from LE13 nightly to LE12 stable or nightly is not supported.

    Fair point, I should know better. It was a 12 nightly: LibreELEC-RPi5.aarch64-12.0-nightly-20241129-6ddfff5

    Unfortunately, I've been having some issues and I don't know if it's the Pi, LE, the Emby integration or what...

    I'd rebooted the Pi because it was behaving very sluggishly. When it came back up it started an update to... whatever was in the update folder that apparently hadn't been applied earlier.

    This morning, I woke up to BOOT ERRO: code 7 'Kernel or device-tree not found or is not compatible'

    I'll just flash the latest 12 stable and move on with life. It would have been easier to do an in-place upgrade, but I think it's time for a clean wipe.


    Thanks for the tips.

    I've been running the RPi5 nightlies for quite some time, since I got my 5 before there was an official build. I've decided it's time to get on the stable release branch now, especially since I haven't been updating for a while.

    Can I do an in-place update from a nightly build to a release build, or do I have to use the USB-SD creator to copy the stable image file to the SD card and reconfigure from scratch?

    If I can, would someone please point me in the right direction.

    Thanks!

    I've been having lip sync issues in all my videos for the last several weeks running nightlies on my Rpi5.

    I see that there's now an official release of LE12.0 that supports RPi5, and in the release notes it addresses this:

    Quote

    RASPBERRY PI

    • 50/60fps H264 HW decoding may need force_turbo=1 or core_freq_min=500 in config.txt to avoid AV-sync-issues/skipping

    Now, for the dumbest of dumb questions: Where is this config.txt located so I can make these changes? I have rummaged all around the directory structure and don't see it. I would presume that it'd be in /configfiles, but I definitely don't see it there or in any of the subdirectories there. Do I simply create config.txt and add one of those lines since I don't have a config.txt?

    I'm sure you'll be pleased to know, chewitt, that I now have the backup add-on installed and it's currently running with a weekly backup scheduled. :D

    And, it's backing up to a network location that will then be backed up off-site in case the unthinkable happens. Because, of course, if a tornado hits my house, the most important thing is that I be able to get Kodi back up and running ASAP! ROFL

    There are two types of computer user: those who are religious about taking backups, and those who didn't lose all their data yet.

    The LE settings add-on has a backup function. Explore it.

    Yeah. Thanks. I was thinking about that after I had to rebuild the SD card...

    Funny, I've been using Kodi since I hacked my first XBOX and this is the first time I've had it totally fail like this. (i.e. those who haven't lost data yet.)

    I've tried backing up the library & restoring as I've upgraded hardware, but never had that been successful.

    Guess something broke the SD card. I formatted then reran the SD card maker and it boots now.

    Just have to reconfigure everything. Sigh. Shrug. The price of living on the bleedin' edge, I guess...

    Sigh. Got 20240505 on the RPi and now it's stuck with the version string in the top left corner of the screen. No LibreELEC logo.

    I've watched a 10 minute video on something else and done other work, so I've let this sit for a fair bit of time.

    Suggestions? Can't connect to the box to grab any logs...


    Thanks guys. Didn't refresh the page before posting again. Will try rebuilding the SD card.

    That's not a proper shutdown

    Yeah, I know, but sometimes it hangs and that seems to be the only option available. (Had this on my old machine running several older versions of LibreELEC, too - not just this RPi).

    After leaving it alone for 10+ minutes, I saw this on the monitor:


    Several minutes (maybe another 10?) later, it had finally booted up.

    Installing 20240505 on it now.


    Still open to suggestions on what happened & why and if there's anything I might be able to do to prevent this in the future.

    I've got an RPi 5 which has been running 12.0-nightly-20240426 since, well, probably April 26th or 27th, and all has been good.

    I turned the TV on this evening to watch, and found that LibreELEC was hung, totally non-responsive. I powered off the Pi (held the power button until it shut down), and now, when I turn it back on, it won't boot - it gets to the logo screen and shows the build version in the top left corner, but that's as far as it seems to get.

    I've powered off & on several times. One time, I got messages about failure to start sshd, smbd, and one other *d, but generally, it just hangs on the logo & version screen.

    Unfortunately, it's not getting far enough for me to connect to it with the Kore remote, via Windows exploder or ssh (it gives a login prompt, but after typing in a uid, it never prompts for a pwd). SSH did finally come back (after about 2-3 minutes), gave me a pwd prompt, but told me that the remote unexpectedly closed the connection:


    What are the recommended steps from here?


    I did pull the SD card and ran chkdsk from my Win10 machine - if found no errors.

    I'm running LibreELEC-RPi5.aarch64-12.0-nightly-20240303-d72cc46 on an RPi5, Embruary skin, and EmbyCon to connect to my Emby server running in a docker on UNRAID. (Just upgraded from LibreELEC-RPi5.aarch64-12.0-nightly-20240215-540999d, happened on both versions. Haven't tested on anything older.)

    I've added my "Sports" network share where I have mostly race videos, organized like this:

    Code
    Sports
    --F1
    ----2023
    ----2024
    --V8
    ----2023
    ----2024

    Side Note:

    Each directory can have anywhere from 3 to 10 files covering one race weekend. I have these videos in just a file structure, because I've got recordings of practice, qualifying & the race for various race series and it doesn't fit neatly into Emby's format - it wants to list everything in one huge "episode list" and I don't like them that way - I prefer to organize the files into race weekends so I can watch an entire F1 race weekend, then maybe jump to a Supercars weekend, then to something else. (If anyone knows of a good way to integrate this as a "TV Show" in Emby, I'd be more than happy to rearrange, but this is the best I've come up with.)

    The Problem:

    Once I start playing a video from this directory structure, I've got no remote control over it other than "Stop". I can't hit pause, the jump forward/back don't work. Hitting stop does not set a bookmark, so I have to restart from the beginning (which can be annoying, some of the files are a full day's worth of coverage - 8-10 hours long). Fast forward & rewind do not work.

    If I play a show or movie from a media library, everything works fine.

    I've done it this way for more than a decade and I've never had issues before.

    Anyone have any idea where I should start looking to figure out what's going on?

    Unfortunately, I can no longer log into the Kodi forums to ask (my old account doesn't seem to work, nor does password recovery), and it won't let me create a new account, insisting that my @gmail.com email address is invalid... :shrug:

    Running 12.0 nightly 20231213, the Embruary skin is marked as incompatible. I reinstalled the 20231211 build and it's fine.

    Not sure if this is going to be an incompatibility moving forward or if maybe some version bit got set somewhere marking it as incompatible. Not sure if Embruary is even still being developed at all, so I don't know if there's a chance of it catching up.

    I'm trying to add a video folder for sports videos that don't fit neatly into the Movies or TV Show model. I've done this on all my previous Kodi/LE installs and never had any issues.

    Now, whether I try to add it via SMB or NFS, I get an error message stating

    Quote

    Unable to connect

    The connection to the network location couldn't be established. This could be due to the network not being connected. would you like to add it anyway?

    Claiming the network might not be connected is rather vague considering I've got Embycon and Emby Next Gen running and I can watch TV episodes from the very same server that the video folder is hosted on.

    I've tried with nightly-20231209 and nightly-20231211 and get the same response.

    Where do I start with troubleshooting this?