Posts by joelones

    LibreELEC has a "Wait for network" option. Has that been enabled?


    If the network is not up yet (because LibreELEC may have booted too quickly), then the database connection will also likely fail.

    Yes, I've already tried that option but I noticed something odd while doing so.

    When I enabled it and rebooted, it DOES bring up library but the RPi4 freezes almost immediately, then black screen (as though it detected the Ethernet being down) while the message "waiting for network..." is displayed, then Kodi starts up again and freezes, continues to do this. Meanwhile the LEDs (orange/green) turn on and both go off, and it repeats this. Sometimes, it just freezes on boot and I have to hard reset it.

    Could this be the issue concerning the freezing: PI4 - freeze on scrolling lists

    EDIT: I did try CMA=64M, GPU_MEM=192M as I read within that thread, but still have the same issue...

    EDIT2: I didn't realize that the CMA thing needs to be cmdline.txt not config.txt. Now it doesn't freeeze anymore.

    EDIT3: Nope, played a video stop it, and the menu freeze again, argh....

    The RPi2 has 512MB internal memory, of which Kodi takes up roughly half. So I don't think a swap file will help, also because a SDcard will be painfully slow handling a swap file.

    Ethernet drop outs I saw once or twice on my RPi4-4GB with Raspbian running the Kodi application doing some 4K video. This happened with Kodi's internal NFS mounts which is usually okay. You could try to create system mounts in LibreELEC instead, and point Kodi to those mounts for your source(s).

    Thanks but what worries me is this line:

    Code
    ERROR: Create - Error( Network is unreachable )

    and why it's there at all and the fact it can't connect to my db over the network.

    Yet if I load raspbian buster and attempt to connect via the command line to the same mariadb - no problems.

    At first I thought it was hardware or bad PS, but as I said, with Raspbian, the Ethernet LEDs remain solid and I don't notice this odd on/off blinking pattern as I do with LibreElec.

    The problem looks more driver related with LibreElec, but if this was the case I would image it to be a more widespread issue but it doesn't appear to be the case.

    It looks like a memory issue - probably caused by your "massive" DB being loaded into a mere 1G RAM. (How big is your library?)

    50o is about normal for RPi4 at idle.

    Try adding a Swapfile and see if that helps, if so it might be possible to eliminate the issue whilst the system is usable.

    Thanks for the reply, I don't it's that but I'm willing to give it a shot anyway. I'm using a shared DB across the network and running both a RPi2/3 fine.

    If it's memory why would have problems even connecting to my mysql instance on boot up at all.

    I don't understand what's going on here.

    Hi All,

    I am going bananas here. In short, I'm experiencing an odd behaviour with my RPi4 (1Gb) flashed with LibreElec 9.2 and Ethernet dropouts (at least I think).

    It's hard to explain really, never experienced something similar. So I installed LlibreElec and enabled SSH, all is good. SCP'ed my advancedsettings.xml (same one I use every else) which points to my rather big meta library. I rebooted expecting to see thumbnails, etc., but I see nothing in the library. Ok I thought, what's the deal?!? and then google pointed me to an option to allow LibreElec to wait until the network is up before starting Kodi, but I never had to do that. So I enabled and rebooted, and it brings up library but the RPi4 freezes almost immediately, then blank screen (as though it detected the Ethernet being down), then Kodi starts up again and freezes, continues to do this. Meanwhile the LEDs (orange/green) turn on and both go off, and it repeats this.

    I tried Raspbian buster and LEDs seem normal and no Ethernet issues at all, as far as I could tell seems to only happen with LibreElec only. I also noticed Raspbian idling at around 40 degrees on my setup and LibreElec above 50.

    I'm using a certified RPi4 power supply (5.1V 3.5A), attached is the crashlog.

    Another thing I noticed that's truly bizarre is that I when I shutdown LibreElec, the Ethernet LEDs continue to blink it that same on/off pattern (both orange/green at the same time). WTF....

    Code
    vcgencmd get_throttled
    throttled=0x0

    Please, any suggestions would be appreciative.

    Thank you

    Thanks again. No worries about that video file which seems to be using "ff-msmpeg4 (sw)" instead of mpeg4 (hw), probably an older video I've had in my collection. MediaInfo says it's "Divx 3 (Low)". Really, the only thing I noticed about your new build, was that reboots simply don't work and I see a no signal message on my TVs. I'm not using android, just pure LibreElec on all my boxes.

    You can try the image I built

    feedback for test build LibreELEC-RK3328

    Thanks for the build.

    I tried it today and although I was able to see mpeg4 hardware acceleration on some files, not all used it I noticed. I believe I saw msmepg4(SW) for one file, perhaps an older video format. No biggie.

    But what was a showstopper for me on this build, was that I was unable to reboot and get back to the interface. I always had to unplug the power to get it working, was greeted with a "no signal" on both tv's I tried after a reboot. Also, when this happened, I couldn't ping the rock64 over the network. Not sure if I was doing something wrong, but I never experienced this with the official 9.2 build.

    I don't want to sound unappreciative, I'm just reporting my findings. Thanks again for this.

    The rk3229 images posted recently have mpeg4 hardware acceleration added.

    I'll try to see if I can build a RK3328 image from that code.

    Can you send me a mpeg4 sample video you have problems with then I can test it on rk3229 and rk3328?

    Hi,

    Thanks for the reply. It's really any mpeg4 file as far as I can tell, that exhibits this choppy / low frame rate type of problem.

    I've somehow reduced the problem by changing the resolution to 720p but that's not an optimal solution.

    I'd totally appreciate your image!

    Hello Guys,

    Great work on the support for this platform!

    I however have an issue with mpeg4 decoding on my Rock64 (2gb). I'm currently using the official 9.2 build from (Rockchip – LibreELEC) and from what I understand mpeg4 decoding is done in software. I need to remain at kodi 18.x , are there any other build that have mpeg4 hw enabled and are at 18.x?

    Many thanks for all the hard work...