LibreELEC-S905.aarch64-7.0.2.006 audio troubleshooting

  • log-2016-08-23-18.59.52.ziplog-2016-08-23-19.02.00.ziplog-2016-08-23-19.14.59.zip

    Hi kszaq

    Congratulations and thanks for S905 LE. !

    As requested I create a separate thread for potential bug troubleshooting.

    I have the MiniMX-G (16/2)GB

    Basically, when going from 005 to 006, SPDIF audio stopped working and Bluetooth stutters.

    I created 3 log ZIPs

    (1) log-2016-08-23-18.59.52.zip
    Taken right after boot (with audio out set to HDMI and Bluetooth off)
    and having played a song. By the way HDMI audio works (but my iiyama
    monitor has not so good sound)

    (2) log-2016-08-23-19.02.00.zip
    Taken after setting audio out to pulse: Bluetooth/SPDIF and trying to
    play same song. No SPDIF sound. By the way, SPDIF gets transformed to
    3.5 jack which plugs into UE Boom 2 speaker.

    I see no spdif related issues in log.
    Perhaps alsa needs to be unmuted? I tried so (but maybe not correctly).

    (3) log-2016-08-23-19.14.59.zip
    Taken after turning Bluetooth on and trying to connect to Bluetooth
    speakers ('Belkin I6' and 'UE Boom 2'), Belkin connected easily but UE
    not (because some device was already connected). Finally it
    connected, but audio stutters.

    you may find 'Skipping ... pulseaudio ...' in logs

    Note that previously I had managed to 006 crash kodi but I had already
    removed the crashinfo files from .cache/cores hoping to reproduce
    another crash. So far that, I think, did not succeed to crash again into gdb.

    Still I do see 'Thread ' stack traces in kodi logs...

    Please let me know how I can contribute troubleshooting audio.

    Thanks

    have a nice day

    Edited once, last by Nofan Tasi (August 23, 2016 at 10:03 PM).


  • For S/PDIF can you try using device tree with other name: gxbb_p200_2G_iNepo_Q?

    Thanks for kind follow up!
    ... toothpick boot from external sdcard with gxbb_p200_2G_iNepo_Q as dtb.img went just fine.
    And next plain reboot as well.
    But audio artifact symptoms I experienced are similar as with gxbb_p200_2G_mini_mxg_2_16
    - spdif does not work
    - bluetooth stutters
    I am very modestly at your disposal to debug further!
    Also, I notice live dvb-t video/bluetooth audio drifts away more and more (need to check with gxbb_p200_2G_mini_mxg_2_16 too).
    Not being expert I nevertheless feel like there is an audio alsa/pulseaudio/bluetooth issue to be checked.

    Edited once, last by Nofan Tasi (August 24, 2016 at 1:17 AM).

  • Could it be that audio issue is caused as leftover from previous boots with wrong dtb.img (gxbb_p200_minimx.dtb)?
    is there a shell command or log to check which dtb.img is effective?
    Thanks for your valuable time. Tonight I will reboot into 7.0.2.005 to verify that firmware still works, and next I'll reboot into 7.0.2.006 again. Keep you informed.

    Edited once, last by Nofan Tasi (August 24, 2016 at 3:30 PM).

  • If you use SD card to boot, it always picks dtb.img that is currently on SD card. If it is not present, it uses dtb from internal partition (= when you still have Android on internal partition with old device tree LE won't boot). I am preparing a next build with slight changes to device trees and audio system that might solve your issues. Will be out this week.


  • If you use SD card to boot, it always picks dtb.img that is currently on SD card. If it is not present, it uses dtb from internal partition (= when you still have Android on internal partition with old device tree LE won't boot). I am preparing a next build with slight changes to device trees and audio system that might solve your issues. Will be out this week.

    Thanks for patiently explaining the dtb.img mechanics! It is clear to me now. I will certainly provide feedback on your upcoming adjustments. Please take the valuable time you need. ...

    Edited once, last by Nofan Tasi (August 24, 2016 at 4:25 PM).