Posts by Da Flex

    But then while I was looking at the logs, and about 10 minutes had passed, the center & LFE returned.

    So it's not related to Windows, and happens randomly. I still think that DAC buffer size is wrong, or not initialized at all.

    Linux driver issue is my bet. Here is a link for a bug report: https://www.alsa-project.org/wiki/Mailing-lists

    I was hoping your AVR shows sampling rate etc., just hearing isn't enough to estimate data rate differences. However, since we know that it's not Windows-related, it doesn't matter.

    If the log becomes too large, upload by pastekodi doesn't work anymore. Then you can only copy & paste from /storage/.kodi/temp.

    Next, I disconnected the USB DAC, hooked it up to a Windows PC briefly just to perform a sound test on the center channel (successful, no problem), and then I moved it back to LibreELEC. After this, the center & LFE again are operational.

    Theory: An increased buffer value is set inside of the DAC by Windows, but not by Linux (LE, Ubuntu etc.). Due to the increased buffer value, the out-of-sync error is gone, and all channels play.

    So the Linux driver for that DAC seems to be incomplete. It should set an appropriate buffer value first. We don't write Linux drivers. I guess some sort of a bug report is necessary elsewhere. /shrug

    Go to the forums main page, click on the magnifier icon, and search for "T620". Obviously it's working with LE, so a dongle issue seems to be the right guess. If you want to know for sure...

    Please provide a full debug log.

    How to post a log (wiki)

    1. Enable debugging in Settings>System Settings>Logging
    2. Restart Kodi
    3. Replicate the problem
    4. Generate a log URL (do not post/upload logs to the forum)

    use "Settings > LibreELEC > System > Paste system logs" or run "pastekodi" over SSH, then post the URL link

    Maybe an out-of-sync error...

    ...and the auto-adjusted out-of-sync latency due to self-learning was still in the 42-45 ms range.

    • "Allowing max Out-Of-Sync Value of 35 ms"

    Thanks for helping, though it's really not about the connection to my NAS...

    Code
    2023-10-26 02:36:55.423 T:1060    debug <CWebserver[8080]>: request received for /jsonrpc?Application.GetProperties
    2023-10-26 02:36:55.439 T:1057     info <CWebserver[8080]>: Skipped 13 duplicate messages..
    2023-10-26 02:36:55.439 T:1057    debug <CWebserver[8080]>: request received for /jsonrpc?Player.GetActivePlayers
    2023-10-26 02:36:55.471 T:1038     info <general>: Skipped 31 duplicate messages..
    2023-10-26 02:36:55.471 T:1038    error <general>: Unable to lookup host: 'TRUENAS'

    Please try with a thumb drive anyway. I want to rule that out, before we dig deeper.

    USB device and channel layout are looking good on the log.

    • I'm not sure whether LE can play that "Microsoft variant" codec. Maybe you'll find another test file with a different 5.1 codec.
    • It might also be a slow NAS connection ("Allowing max Out-Of-Sync Value of 35 ms"). So try to play from a thumb drive instead.

    Foreword: As written at the Waveshare site, LE is not supported. You are experimenting on your own risk.

    That display needs some software settings. You can only use the dtoverlay line at config.txt. All HDMI options have to go to cmdline.txt, which needs a different syntax.

    Which of the above settings do you currently have in use for your 5 inch display?

    **** List of PLAYBACK Hardware Devices ****

    card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0]

    Subdevices: 1/1

    Subdevice #0: subdevice #0

    The output shows a DAC chip (PCM5102A), which you don't have. Your board has a digital-to-digital chip.

    I think your HiFiBerry Digi2 Pro is broken. It's not detected correctly by HiFiBerryOS.