Posts by popcornmix

    Recommendation for the dev team: If someone enables passthrough then enable it for all formats by default...it makes no sense I have to go into Expert mode and enable them manually despite the main passthrough being enabled already. :)

    Not really.

    A TV supporting AC3 passthrough is quite common.

    A TV supporting DTS passthrough is quite rare.

    A TV supporting DTS-HD/TrueHD passthrough is almost unheard of.


    Enabling passthrough on a device that doesn't support it, will at best produce silence and possibly loud white noise.

    25ish minutes into a longer movie, projector will shut off but my receiver and Pi 5 will continue to play. The playback may stutter a second or two after this happens as well but resumes.

    Just to be clear, the projector shuts off for just a couple of seconds then resumes normally?

    hdmi cable would be my first guess. What's the hdmi resolution/refresh rate?

    For 4kp60 you do need a high quality cable (and mico hdmi -> full size adaptor if you are using a separate one).

    Does it still occur if you force hdmi mode to 1080p?


    Other tests would be does the issue occur if you connect straight to projector (no AVR)?

    Does the issue occur with a normal TV instead of projector?

    Hi, LibreElec 12.0.1 on a Rpi4, Synology NAS connected via SMB using 1Gbps ethernet. Fine for years, but somewhere around the 12.0.1 update (I can't say with certainty it was caused by it though)

    You can always revert back to 12.0.0 and report if that works fine or has the issue.

    If it really is due to 12.0.1 then the number is changes to consider is very much smaller than if it is 11->12.

    It looks like from the log, the video that was playing when it crashes was using ffmpegdirect addon.

    Do you get crashes when playing local content, or is it only videos using ffmpegdirect?

    I'm not sure if ffmpegdirect causes significantly more memory usage.


    A simple way to reduce some memory is to disable caching. In settings/services/Caching, set buffer mode to no buffer.

    A lighter skin may be helpful.

    So, it seems manageable for now, so thanks again. Hopefully the root issue will be resolved in further updates, just wanted to raise awareness of it.

    Unfortunately this is just feature creep in kodi. Each version released tends to demand more memory.

    A few releases back it was feasible to run kodi on a 512M pi, but that hasn't been possible for some time.

    More recently, I'd say 2GB is needed for 4K kodi, and 1GB is okay for 1080p (*).

    But it depends on the exact configuration. Using certain skins or add-ons may make even 1080p usage on 1GB unreliable.


    (*) Note the workaround of "dtoverlay=cma,cma-384" will stop some 4k hevc content from being played, so isn't something that is going to be fixed. You make find "dtoverlay=cma,cma-320" is better for your situation.

    From wiki:

    Quote

    LibreELEC 10.x also dropped support for Raspberry Pi Zero and other 512MB RAM devices as 1GB is now considered as the minimum RAM needed for a good Kodi experience.

    .

    Pi3A has 512M and is not supported. Pi3B has 1GB and is supported.

    You could try LE 9.2.8 which may be somewhat usable (as long as you don't want the latest add-ons to work).


    But it happens when i scan all the files. Now it doesn't happen when it is done.

    Please be specific.

    What happens when you scan all the files (crash? number of open files goes up?)

    What doesn't happen? When what is done?

    By scan all the files, do you mean using "Update library"?

    If number of open files goes up while doing it, what is the highest number you see (and is it assigned to kodi.bin).

    Does the number go down again?

    The following command (run from ssh):

    Code
    lsof | head -1 | awk '{ print "COUNT " $2 " " $1; }' && lsof +c 0 | awk '{ print $2 " " $1; }' | sort -rn | uniq -c | sort -rn | head -20

    will show which processes have files open. If there is a leak, then one process (possibly kodi.bin) is likely to be increasing regularly.

    Do you see the numbers going up after a few minutes of kodi sitting idle?

    Do you see the numbers going up after kodi playing a file and stopping?

    The hdmi output varies on rgb 8bit to rgb 12bit depending on the media file (1080p sdr, 4k hdr etc).
    I also have a amlogic box with coreelec, and is always displaying YCbCr 4:4:4, that is better?

    No. As composition (e.g. combining subs or OSD items) happens in RGB space, there is no benefit in picture quality converting back to YCbCr before driving over hdmi.

    For 10-bit output at 4Kp60, it is necessary to output YCbCr 4:2:2, so we switch to that automatically.

    Some info from here: