Posts by chook55

    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.

    offbeat - message from the PR - so looking like the addons, etc.

    ==

    crashes are skin related (estuary mod v2), I contacted author.

    _Originally posted by @polojoe in https://github.com/LibreELEC/Libr…ent-1045970954_

    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

    I tried the recent nightly LibreELEC-RPi4.arm-11.0-nightly-20220213-fcba5db and notice it's rebooting every 20s or so.


    I've Upgraded to previous nightly 20220212 in order to see logs but that to crashed also and has gone into safe mode. I'll paste the log.

    Log is http://ix.io/3Pyu

    Chook

    Update 15 Feb 2022

    I just updated to LibreELEC-RPi4.arm-11.0-nightly-20220215-8a018bd from LibreELEC-RPi4.arm-11.0-nightly-20220212-d203600.

    I'm seeing similar to LibreELEC-RPi4.arm-11.0-nightly-20220213-fcba5db.

    Kodi is rebooting every minute or so and eventually going into safe mode.

    I've pasted another log link here. http://ix.io/3PDH

    Chook


    Rasberry Pi4B 2GB








    How did you do it? I can't get video out of that case no matter what I did. Spent 10 hours trying with the help of the forum. Is your Argon case a V2? Do you have an SSD?

    By default video is from HDMI port 0 which is the one nearest the edge. Make sure the connector "clicks" in. Some cable connectors are a bit short and don't fit due to the case thickness. Try another cable if you have one. If you have trouble you can try loosen the circuit board and push while re-tightening to get it as close to the cable hole as possible. You may get the 0.5mm required to make it work. I bought an expensive cable which had a bulky connector housing and was making intermittent contact. I wasted hours sorting it out. I ended up filing a hole in the housing to accommodate the connector molding.

    I did notice something odd when playing AAC 5.1 first. The audio was crackling and interrupted. If I play an E-AC3 or AC3 first and return to the AAC 5.1 file it plays fine. These files are all Dolby Digital Sample files which were converted from AC3 to AAC and E-AC3. I replicated this with the latest update today. I have H264 and H265 mkv videos.

    I've attached a shortcut to the logfile. http://ixio/3MDd

    chook

    Hi Chook,

    Yes I do have pi and system tools installed along with adafruit libraries.

    I uninstalled the script and done it again using the above method but still not working no fan control. The script says it installed fine but there is an error that says "too many errors from stdin" after installing the script.

    Any ideas?

    I assume you edited the argononed.config file.

    Mine looks like this.

    # Argon One Fan Speed Configuration

    #

    # Min Temp=Fan Speed

    42=12.5

    44=25

    46=50

    48=100

    chook


    You should do this by jimmyneutron.


    1. Edit the argonone-config file on line 35, 36, and 37 to reflect:

    echo 55"="10 >> $daemonconfigfile

    echo 60"="55 >> $daemonconfigfile

    echo 65"="100 >> $daemonconfigfile

    2.Edit the argononed.py line 75 to reflect:

    /storage/.config directory

    fanconfig = ["65=100", "60=55", "55=10"]

    2. Create a sh file and name it autostart.sh and in that file copy and paste this script and save:

    place file in /storage/.config directory

    #!/bin/sh

    (

    python /storage/.config/argononed.py

    ) &

    3. Edit the argononed.service file in the /storage/.config/system.d directory and add this command to line 8:

    ExecStart=/bin/sh -c ". /etc/profile; exec /usr/bin/python /storage/.config/argononed.py"

    4. Go to terminal and test by running ./argononed-config

    5. Fan will run at those values.



    It was a long process getting it working. I feel your frustration.

    I am not a coder. but a long time xbmc user.