Posts by chook55

    Hi, I have a 4TB HDD attached to my RPI4 running LibreElec (nightlies). It is attached via a powered 3.0 USB hub so doesnt draw power from the RPi. Occasionally the drive is dismounted and stops functioning so I take it out and do an error check and defrag the heavily fragmented drive on my PC. So apparently there is a linux app called e4defrag which could defrag the drive on a daily basis. Is this possible via an app or addon? Any thoughts?

    Thanks

    Chook.

    RPI4b 2GB. LibreELEC-RPi4.arm-11.0-nightly-20220325-226b25b. LG ThinQ TV. Marantz SR5500 receiver.


    I notice there have been several FFMPEG updates recently. So I checked this issue which has been around for several months and reported in other threads.

    When transcoding from AAC5.1 to AC3 via passthrough the first play is intermittent something like 1s intervals. Subsequent plays are OK.

    I recorded it and posted on youtube.

    External Content youtu.be
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    Logs were posted on other threads.

    If anyone wants to pursue this let me know and I'll post a current log.


    Chook

    I upgraded to the latest nightly. Nightly 220306 as it has had a FFMPEG patch applied. Alas the AAC 5.1 conversion and pass through still misbehaves. Typically it plays intermittently on first play. Resolves itself on subsequent plays. See my video posted earlier. Its a bug.

    chook

    I upgraded to LibreELEC-RPi4.arm-11.0-nightly-20220224-ae5c471 two days ago and Kodi has been running smoothly.


    The only bug I can see is in the logs. A hard disk mounted via USB is actually being scanned as shown on the screen but is being reported in 01_KODI.log as not being there.


    2022-02-26 08:27:06.118 T:1156 INFO <general>: VideoInfoScanner: Starting scan ..

    2022-02-26 08:27:06.119 T:1156 WARNING <general>: Process directory '/media/Movies/' does not exist - skipping scan.

    2022-02-26 08:27:06.120 T:1156 WARNING <general>: Process directory '/media/TV-Shows/' does not exist - skipping scan.


    I have disabled library indexing addons in case they were delaying discovery but has made no difference.


    Otherwise Feb 24 nightly is stable.


    stay safe.


    chook

    I noticed a later version 20200224 on the server. Ive upgraded to it . I tested the AAC 5.1 video file used before and it played in 2 channels only on first play. It sounded OK without the intermittent playing but rear channels were playing from the the front speakers. Also the channel indicator on the amp showed only 2 channels were active.


    If I stopped play and reselected the file to play in a few seconds it played in all 6 channels. If I leave and come back after 10 minutes it defaults into the erroneous mode.


    regards


    Chook


    So after a couple more updates I'm now at running Nighlty "LibreELEC-RPi4.arm-11.0-nightly-20220228" and the first play AAC 5.1 file are still playing intermittently on first play.

    I'd like to raise the issue I found with AAC 5.1 audio conversion.


    The problem I found is a file with AAC 5.1 audio is played, it sounds broken with approx intermittent 1 second bursts of audio and approx 1 second of silence.


    Strangely it does this only on the first play. On the second play and subsequent plays the sound converts OK and sounds fine. This problem goes back to the fix posted in this thread almost 2 months ago. If you read back I reported it in January. Reported first here. RE: Librelec Nightly Dolby Digital transcoding bug


    I took a video of the first and second play uninterrupted. Posted to youtube.

    External Content youtu.be
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.


    I'm using RPI4 B with a JustBoom audio digihat which passes through via SPIFD to a Marantz amp.

    I uninstalled the "embuary.info" add on as suggested then upgraded to "LibreELEC-RPi4.arm-11.0-nightly-20220219-ae4b7da" without doing a new image. If it worked it would save me time reinstalling the argonone fan and button drivers.


    I also upgraded to the latest nightly LibreELEC-RPi4.arm-11.0-nightly-20220222-ae4b7da and that to seems stable.


    There is no crashlog so I assume it's OK. if it crashes I'll post the log her


    Thanks for your assistance and for your time.


    regards


    chook

    RPI4B 2Gb.

    I tried another update from Feb12 release (stable) to Feb17 release. Same Problems. Looks like it Kodi restarting.


    Crashlog

    http://ix.io/3PTn


    Code
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/usr/lib/libthread_db.so.1".
    Core was generated by `/usr/lib/kodi/kodi.bin --standalone -fs'.
    Program terminated with signal SIGSEGV, Segmentation fault.
    #0  0xf78dbefc in ?? () from /usr/lib/libpython3.9.so.1.0
    [Current thread is 1 (Thread 0xc7760280 (LWP 1330))]

    frakkin64 Thanks, I'm using RPi 3 stable, so I was just guessing. Let's see that log.


    OK is this an SSH command line or do I need to edit a file on the RPi or a file in the tar upgrade file? I'm willing to learn but it might be easier to burn to a SD drive.


    chook

    OK, I made the changes to config.txt but did not see anything other than bootid etc. in the Cmdline.txt file. I downloaded the latest nightly. LibreELEC-RPi4.arm-11.0-nightly-20220215-8a018bd.tar and tried an update. It looked OK for a while then kodi rebooted a few times before going into safemode.


    Log is http://ix.io/Removed.


    Chook

    Code
    Jan 18 22:05:43.554562 LibreELEC kernel: Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=DC:A6:32:27:3D:FB vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000  boot=UUID=2710-1204 disk=UUID=a4d75028-811f-4077-8e1e-6cd47fe5eefa quiet
    Jan 18 22:05:43.554617 LibreELEC kernel: Unknown kernel command line parameters "boot=UUID=2710-1204 disk=UUID=a4d75028-811f-4077-8e1e-6cd47fe5eefa", will be passed to user space.

    If you have the skills, edit the kernel params (error before "boot=UUID..."). Otherwise install that nightly from scratch.


    OK is this an SSH command line or do I need to edit a file on the RPi or a file in the tar upgrade file? I'm willing to learn but it might be easier to burn to a SD drive.


    chook

    Joe Average,


    Re ArgonOne

    Probably remnants of the many attempts to get it working. It's never been a problem put fair call. I'll disable it.


    Chook


    I'll past a bit of the 09_Journal log here.

    Says there was a Segmentation Fault.


    Feb 14 09:53:08 LibreELEC nmbd[880]:

    Feb 14 09:53:08 LibreELEC nmbd[880]: *****

    Feb 14 09:53:09 LibreELEC kernel: cam-dummy-reg: disabling

    Feb 14 09:53:09 LibreELEC kernel: vcc-sd: disabling

    Feb 14 09:53:09 LibreELEC kernel: cam1-reg: disabling

    Feb 14 09:53:15 LibreELEC systemd[1]: systemd-hostnamed.service: Deactivated successfully.

    Feb 14 09:53:50 LibreELEC kodi.sh[1022]: Segmentation fault (core dumped)

    Feb 14 09:53:53 LibreELEC kodi.sh[1022]: Crash report available at /storage/.kodi/temp/kodi_crashlog_20220214095350.log

    Feb 14 09:53:53 LibreELEC systemd[1]: kodi.service: Main process exited, code=exited, status=139/n/a

    Feb 14 09:53:53 LibreELEC systemd[1]: kodi.service: Failed with result 'exit-code'.

    Feb 14 09:53:55 LibreELEC systemd[1]: kodi.service: Scheduled restart job, restart counter is at 1.

    Feb 14 09:53:55 LibreELEC systemd[1]: Stopped Kodi Media Center.

    Feb 14 09:53:55 LibreELEC systemd[1]: Starting Kodi Media Center...

    Feb 14 09:53:55 LibreELEC systemd[1]: Started Kodi Media Center.

    Feb 14 09:53:56 LibreELEC kernel: hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19

    Feb 14 09:53:56 LibreELEC kernel: MAI: soc_pcm_open() failed (-19)

    Feb 14 09:53:56 LibreELEC kernel: hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19

    Feb 14 09:53:56 LibreELEC kernel: MAI: soc_pcm_open() failed (-19)

    Feb 14 09:53:56 LibreELEC kernel: bcm2835-i2s fe203000.i2s: I2S SYNC error!

    Feb 14 09:54:34 LibreELEC kodi.sh[1365]: Segmentation fault (core dumped)

    Feb 14 09:54:36 LibreELEC kodi.sh[1365]: Crash report available at /storage/.kodi/temp/kodi_crashlog_20220214095434.log

    Feb 14 09:54:37 LibreELEC systemd[1]: kodi.service: Main process exited, code=exited, status=139/n/a

    Feb 14 09:54:37 LibreELEC systemd[1]: kodi.service: Failed with result 'exit-code'.

    Feb 14 09:54:39 LibreELEC systemd[1]: kodi.service: Scheduled restart job, restart counter is at 2.

    Feb 14 09:54:39 LibreELEC systemd[1]: Stopped Kodi Media Center.

    Feb 14 09:54:39 LibreELEC systemd[1]: Starting Kodi Media Center...

    Feb 14 09:54:39 LibreELEC systemd[1]: Started Kodi Media Center.

    Feb 14 09:54:39 LibreELEC kernel: hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19

    Feb 14 09:54:39 LibreELEC kernel: MAI: soc_pcm_open() failed (-19)

    Feb 14 09:54:39 LibreELEC kernel: hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19

    Feb 14 09:54:39 LibreELEC kernel: MAI: soc_pcm_open() failed (-19)

    Feb 14 09:54:39 LibreELEC kernel: bcm2835-i2s fe203000.i2s: I2S SYNC error!

    Feb 14 09:55:17 LibreELEC kodi.sh[1542]: Segmentation fault (core dumped)

    Feb 14 09:55:20 LibreELEC kodi.sh[1542]: Crash report available at /storage/.kodi/temp/kodi_crashlog_20220214095517.log

    Feb 14 09:55:20 LibreELEC systemd[1]: kodi.service: Main process exited, code=exited, status=139/n/a

    Feb 14 09:55:20 LibreELEC systemd[1]: kodi.service: Failed with result 'exit-code'.

    Feb 14 09:55:22 LibreELEC systemd[1]: kodi.service: Scheduled restart job, restart counter is at 3.

    Feb 14 09:55:22 LibreELEC systemd[1]: Stopped Kodi Media Center.

    Feb 14 09:55:22 LibreELEC systemd[1]: Starting Kodi Media Center...

    Feb 14 09:55:22 LibreELEC systemd[1]: Started Kodi Media Center.

    Feb 14 09:55:23 LibreELEC kernel: hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19

    Feb 14 09:55:23 LibreELEC kernel: MAI: soc_pcm_open() failed (-19)

    Feb 14 09:55:23 LibreELEC kernel: hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19

    Feb 14 09:55:23 LibreELEC kernel: MAI: soc_pcm_open() failed (-19)

    Feb 14 09:56:01 LibreELEC kodi.sh[1738]: Segmentation fault (core dumped)

    Feb 14 09:56:03 LibreELEC kodi.sh[1738]: Crash report available at /storage/.kodi/temp/kodi_crashlog_20220214095601.log

    Feb 14 09:56:03 LibreELEC systemd[1]: kodi.service: Main process exited, code=exited, status=139/n/a

    Feb 14 09:56:03 LibreELEC systemd[1]: kodi.service: Failed with result 'exit-code'.

    Feb 14 09:56:05 LibreELEC systemd[1]: kodi.service: Scheduled restart job, restart counter is at 4.

    Feb 14 09:56:05 LibreELEC systemd[1]: Stopped Kodi Media Center.

    Feb 14 09:56:05 LibreELEC systemd[1]: Starting Kodi Media Center...

    Feb 14 09:56:05 LibreELEC systemd[1]: Started Kodi Media Center.

    Feb 14 09:56:06 LibreELEC kernel: hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19

    Feb 14 09:56:06 LibreELEC kernel: MAI: soc_pcm_open() failed (-19)

    Feb 14 09:56:06 LibreELEC kernel: hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19

    Feb 14 09:56:06 LibreELEC kernel: MAI: soc_pcm_open() failed (-19)

    Feb 14 09:56:44 LibreELEC kodi.sh[2054]: Segmentation fault (core dumped)

    Feb 14 09:56:46 LibreELEC kodi.sh[2054]: Crash report available at /storage/.kodi/temp/kodi_crashlog_20220214095644.log


    That kodi_crashlog mentions


    Using host libthread_db library "/usr/lib/libthread_db.so.1".

    Core was generated by `/usr/lib/kodi/kodi.bin --standalone -fs'.

    Program terminated with signal SIGSEGV, Segmentation fault.

    #0 0xf7517efc in ?? () from /usr/lib/libpython3.9.so.1.0

    [Current thread is 1 (Thread 0xcba2e280 (LWP 2202))]

    etc.




    Chook