[x86-64, LE 12.0.1] No analogue sound output through I/O

  • Hi,

    I repurposed an HP build of mine to be my HTPC. Until recently, I was running Windows 11 on it, but I figured that LE would be a way better alternative seeing it's way more lightweight.

    To my disappointment, after setting it up and trying to play my first movie, I found out that there is no audio being outputted by the TV. There is also no way for me to use HDMI audio, as there are literally no HDMI ports on the motherboard itself and I am using an iGPU.

    Running dmesg, I found out that the audio driver is the Realtek ALC221. Using alsamixer to crank everything to max didn't help either.

    I've attached a few screenshots which might help someone identify the cause of the problem.

    Thanks in advance!

  • There is also no way for me to use HDMI audio, as there are literally no HDMI ports on the motherboard itself and I am using an iGPU.

    You are telling us, what you don't use :S. Which type of port do you use to connect the TV?

    • DVI: By standard, DVI has no audio. In some cases, non-standard DVI audio exists as a BIOS option. So have a look at your BIOS.
    • DisplayPort:
      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
  • You are telling us, what you don't use :S. Which type of port do you use to connect the TV?

    • DVI: By standard, DVI has no audio. In some cases, non-standard DVI audio exists as a BIOS option. So have a look at your BIOS.
    • DisplayPort:
      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

    I use DVI -> HDMI adapter (DVI out, HDMI in). I couldn't find anything in my BIOS related to DVI audio.

    What's confusing me is that no front or rear I/O audio ports work, only the internal speaker does but it's inferior to the TV speakers

  • okay it turns out that when I plugged my headphones into the PC just to double check if the ports actually work or if the issue lies somewhere else, there is sound coming through my headphones but not through the TV. what's odd though is when I was using windows, there was sound through the TV using the exact same setup so I don't know what's gone wrong here

  • I'd guess the Windows drivers understand how to route audio signals to the DVI interface, and the Linux display drivers do not have the same capabilities; which is somewhat understandable as DVI hardware is not normally carrying audio signals.

    Please provide the debug log previously asked for. Also run "amixer contents | paste" and share the URL generated so we can see the audio mixer control options and settings.

  • I'd guess the Windows drivers understand how to route audio signals to the DVI interface, and the Linux display drivers do not have the same capabilities; which is somewhat understandable as DVI hardware is not normally carrying audio signals.

    Please provide the debug log previously asked for. Also run "amixer contents | paste" and share the URL generated so we can see the audio mixer control options and settings.

    paste.libreelec.tv/quality-zebra.log

    paste.libreelec.tv/content-collie.log

    also, regarding the Linux display drivers, I don't know if that's a Windows thing for it to send a signal through the cable that there's no HDMI audio available and therefore to try to get audio from the DVI audio in

    I can send a schematic of my TV's rear I/O if it helps clear up any misunderstandings

  • We don't support people, who are using banned software. Creative movie makers have a right to get payed.

    Read the forum rules:

    newphreak
    March 15, 2016 at 1:02 AM
  • We don't support people, who are using banned software. Creative movie makers have a right to get payed.

    Read the forum rules:

    newphreak
    March 15, 2016 at 1:02 AM

    Sorry, I missed that in the forum rules. I wouldn't mind removing the plugin in question as I've been planning on making a transition to SMB anyways

  • update: I ended up live-booting LM to try and troubleshoot what could be the problem and I had found this forum post which had ended up being the cause of my problem.

    When I booted into LE however, I was disappointed to see that xrandr isn't there. Is there a possible alternative?