[RPi4] No Audio on LE 11 and LE 12

  • chewitt

    I have a big problem with upgraded to 12.0.2 version last night. (kodi 19.5 and libreelec 10 were working fine - I have to upgrade libreelec, because skyshowtime plugin dont work properly).
    I upgraded copying to .update folder .tar repository.

    I have RPI4B, LibreELEC (official): 12.0.2 (RPi4.aarch64)

    On HDMI0 sound is not available.
    I tried to set on HDMI1 HDMI but the resolution is setting to VGA.

    If I run command: speaker-test -c 2 -D hw:0,0
    the sound is only HDMI1

    My configs looks like:

    Config file:

    cat /flash/distroconfig.txt

    Code
    arm_boost=1
    arm_64bit=1
    kernel=kernel.img
    dtoverlay=vc4-fkms-v3d,cma-512
    disable_overscan=1
    
    fkms because my TV not support kms

    cat /flash/cmdline.txt

    Code
    boot=UUID=1510-0749 disk=UUID=d96b0c6c-5cf0-4af9-9dae-dcd489a67035 quiet


    LOGS:

    dmesg | grep -i "hdmi\|audio\|sound"

    Code
    [ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 cgroup_disable=memory snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 clk_ignore_unused snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x1080M@60 video=HDMI-A-2:1920x1080M@60D smsc95xx.macaddr=E4:5F:01:05:CF:3C vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 boot=UUID=1510-0749 disk=UUID=d96b0c6c-5cf0-4af9-9dae-dcd489a67035 quiet
    [ 0.041718] Advanced Linux Sound Architecture Driver Initialized.
    [ 1.380707] No soundcards found.
    [ 6.149320] bcm2835_audio bcm2835_audio: card created with 4 channels
    [ 6.149995] bcm2835_audio bcm2835_audio: card created with 4 channels
    [ 6.458555] usbcore: registered new interface driver snd-usb-audio

    cat /storage/.kodi/temp/kodi.log | grep -i "error\|audio\|sound"


    I tried to download from test.libreelec.tv .tar file, but this version is not available.

    Please tell me what is wrong, what I done wrong.
    Thank YOU.

    Arkadiusz

  • No clue. Update firmware. Check cables. Check ports. Usual stuff .. and don't assume I'm your personal support person. I'm not.

    I checked all.. before update everything was working fine :)
    I downloaded new 13.0 version and install from SD CARD, the same
    I changed to new RPI4 device.. the same

    I know, you are not my perosnal support person. I thought you are libreelec specialist, I saw You support comment so I thought you are the best person who could know what is wrong in libreelec code :/ so I was wrong.

    Moreover If You will find a solution please share with us.

  • Hi LibereElec support Team,

    Did You have any idea, how to fix sound cards in HDMI0?
    I installed LibreElec v.11 and its the same problem.

    On v.10 problem not exist. It's look like sth was broken from v.11.0

    I appreciate your work ;)

  • Note that fkms has long been deprecated and is not supported any longer.

    Don't use it to try to workaround whatever problem you have.

    Start with using the current LE13 nightly with unmodified config.txt and make sure your bootloader is up-to-date (Settings->LibreELEC->Updates, reboot after enabling the update).

    If this doesn't work remove the SD card, powerup your RPi and check the "display line" of the diagnostics screen.

    Next to DISP0: HDMI you should see HPD=1 and EDID=ok.

    If you see HPD=0 this means the hotplug detect line isn't working which is usually caused by a broken case (esp Argon One are well known for this problem), HDMI cable or HDMI adapter or HDMI port on the TV.

    Test without the case, with a different HDMI cable and a different HDMI port on your TV.

    so long,

    Hias

  • Dear HiassofT

    very thank You for Your message.

    I downloaded newest RPI4 raspberry PI os, install on SD card and updated bootloader too.

    As You Can see HDMI0 and HDMI1 is available.

    Then I check config and set like:

    Then check tservice log

    So, my TV support CEA (1) mode (16) - its prefered mode.

    RPI on TV showing display and sound.

    Then I back to my libreelec 12.0.2 version (updated from 10.0) and set up config like:

    And distroconfig

    I tried to install tvservice but without success...

    But I have pastekodi log: https://paste.libreelec.tv/polished-pig.log

    I see screen, but audio is unavailable:

    When I connect to HDMI1 (second input) I have blank screen.

    Do You have any idea how return sound back?

    I would be incredibly grateful for your advice ;)



    Updated 5/04/2025 02:17 UTC/Warsaw:

    I removed mbebe repository new log: https://paste.libreelec.tv/polished-pig.log
    I created new card on `/storage/.asoundrc```

    Code
    pcm.!default {
        type hw
        card 0
        device 0
    }
    ctl.!default {
        type hw
        card 0
    }

    and when I run command:

    Code
    speaker-test -D hw:0,0 -c 2 -t sine

    TV speaker played sine signal, but in sound settings I didnt saw hw:0,0 sound option.
    So I change guisettings.xml to:

    Code
    <audiooutput>
        <ac3passthrough>false</ac3passthrough>
        <audiodevice>ALSA:hw:0,0</audiodevice>
        <channels>2</channels>
        ...
    </audiooutput>

    after reboot sound still are not playing.

    Edited 2 times, last by osflake (April 5, 2025 at 1:17 AM).

  • Remove all banned add-ons and repos. Otherwise you don't get further support.

    newphreak
    March 15, 2016 at 1:02 AM
  • As You Can see HDMI0 and HDMI1 is available.

    The image shows "EDID=none" and whatever causes no EDID to be read is the source of your problem as Kodi determines HDMI audio capabilities using EDID data from the HDMI connection at startup. No EDID = No audio.

    The config.txt and distroconfig.txt files are full of changes from known-working defaults; although most are #commented out and are legacy items which are no longer supported, there are also other items present which will change behaviour.

    In short, this is not the clean install that you were asked to make (it looks like an upgrade from an older LE9 install) and there is so much config mess from you guessing at things that it's not clear what change(s) might be involved. Please go make a true clean install. Unless there is a self-inflicted problem with bad cables or HDMI adaptors (or an Argon case) it should then "just work" like a normal RPi4 install.