[SOLVED] LibreELEC-S905.aarch64-7.0.2.007 audio troubleshooting

  • log-2016-09-08-02.23.37.zipkodi.gdb.gz

    thanks for 'Almost there' build !

    I installed it on my Mini MX-G p200_2G (16GB/2GB/1Mbps)

    This is follow up on similar 006 report.
    LibreELEC

    Basically: some progress

    - SPDIF output does not work (regardless of system/audio/output settings)
    - I could make bluetooth output work sometimes on EU BOOM 2
    * and it did not stutter nor lag behind live DVB-T video anymore
    * but next attempts say 'error' when connecting (resource temporary unavailable)
    * if I forget and pair (+trust) again it works again (for some time)
    - When play bluetooth via Belkin I65 it does stutter and lag behind live DVB-T video
    perhaps the fact that there are 2 bluetooth outputs near does confuse LE?

    When disabling/enabling bluetooth sometimes I can crash kodi.

    I include gdb on core which basically seems to have infinite stack of PyEval_EvalFrameEx (I only show few)

    Thanks for your great work and for looking into this

    PS: I first tried with keeping previous gxbb_p200_2G_mini_mxg_2_16.dtb and,
    next by toothpick replacing it with new gxbb_p200_1Gbit.bin but no difference ...
    I also tried aml_autoscript from 7.0.2.007

    Let me know what I can do to troubleshoot and I would be very happy to help.
    (maybe I should enable debug logging and/or verbose logging for audio component?)

    Edited once, last by Nofan Tasi (September 9, 2016 at 1:28 AM).

  • For all clarity, I do not have a SPDIF capable audio system.
    Instead, I have a 'SPDIF to 3.5" jack' converter and I plug the jack end into the 'UE Boom 2' loudspeaker.
    This gives nice audio in Android but, somehow, not in 006-007 LibreELEC.
    It did work nicely in 005 LibreELEC.
    maybe some settings need to be adjusted (I tried some of course).
    Still very much at your disposal for testing/troubleshooting.

    UPDATE

    Believe it or not, but now SPDIF suddenly works !
    I wish I could tell why. I tried so many things...
    For one thing the audio output is ALSA:AML-M8AUDIO,HDMI now.

    I can say, I did toothpick boot another time, reboot several times, even turned on/off audio and debug log and also un-paired re-paired 'UE Boom 2' loudspeaker bluetooth. So not sure what exactly did the trick.
    In any case : sooooo happy now

    Edited once, last by Nofan Tasi (September 9, 2016 at 1:28 AM).