No HDMI audio on Chattrery T8 (N100) box

  • Hi there,

    i am trying to get this working since 2 days but have no luck.

    Have testet the stable build and the nightly 13 build, no difference. At the moment i am on the lastest nightly build.

    When i end kodi with "systemctl kodi stop" i can at least play the kodi .wav files with aplay in the console

    aplay -Dplughw:0,3 /usr/share/kodi/addons/resource.uisounds.kodi/resources/notify.wav

    when i add pcm.!default "plughw:0,3" to /storage/.config/asound.conf

    i can also play it without the -D in the aplay command, just like it should.

    But i cant get any sound out of kodi, even when i get a "new" device in kodi when i use the asound.conf file

    Maybe anyone has an Idea what else i can do...


    Here are some outputs, if you need more please tell me what you need.

  • Check if kodi is muted or having low volume:

    Code
    xmlstarlet sel -t -c /settings/audio ~/.kodi/userdata/guisettings.xml

    Then I would start with TV settings of Audio quickstart guide

    LibreELEC1:~ # xmlstarlet sel -t -c /settings/audio ~/.kodi/userdata/guisettings.xml
    <audio>
    <mute>false</mute>
    <fvolumelevel>1.000000</fvolumelevel>
    </audio>LibreELEC1:~ #


    So that looks also good, i tried anything in the Kodi Settings but nothing works, it might be a linux/driver problem when i use kodi on windows 11 it works... but wants this :)

  • 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
  • Did a fresh install to be sure i did not destroy something myself during testing.

    Here the log :

    https://paste.libreelec.tv/equipped-skylark.log

    The TV is connected to another HDMI for testing but thats the only thing i changed.

    The hdmi-cable works fine with a rapi4/libreelec and win11/kodi with the same TV,so its at least not the cable :)

    One thing that i find odd, when i install the alsamixer, i get 4 SPDIF outputs on card 0 but no pcm ... seems to be something with

    the driver.

    Greetings

    Zig.

  • Start with tracking down BIOS and LSPCON firmware updates for the board and installing them (most will require Windows to run them from). If that doesn't fix anything I'm out of ideas as modern consumer Intel hardware is a mystery to me. It might need some kernel driver quirk applying; there are many to choose from in kernel drivers but I have no clue how you divine things.

  • Start with tracking down BIOS and LSPCON firmware updates for the board and installing them (most will require Windows to run them from). If that doesn't fix anything I'm out of ideas as modern consumer Intel hardware is a mystery to me. It might need some kernel driver quirk applying; there are many to choose from in kernel drivers but I have no clue how you divine things.

    I did all Bios Upadates, tried countless kernel options, tried that EDID thing, even updated my 2016 TV Firmware. Nothing.

    I still can play with aplay but no chance to get sound with kodi. alsamixer sees 4 spdif outputs and nothing more on the hdmi "card".

    Even did a last try with Manjaro and latest Kernel, also no chance to get any audio over hdmi at the desktop.

    So it seems you should never ever buy any Chatreyy N100 for Kodi/Libreelec, at least T8Plus and T9 will not work, tried from Kernel 6.1 to 6.15. As lil homeservers those Boxen are imho better than rpi5 but not for Kodi :(

    I might give it a try in a few months maybe it will work then.

    Till that i will use Kodi under Win10 LTSC IOT for that device and keep on Libreelec for my Raspis.

    Thanks to anyone who tried to help!


    Greetings

    Zig.

  • Even did a last try with Manjaro and latest Kernel, also no chance to get any audio over hdmi at the desktop

    That proves it's not an LE specific issue.

    alsamixer sees 4 spdif outputs and nothing more on the hdmi "card".

    See if adding /storage/.config/modprobe.d/blacklist.conf with the following content does anything?

    Code
    blacklist snd_hda_codec_realtek
    blacklist snd_hda_codec_sigmatel
    blacklist snd_hda_codec_cirrus
  • That proves it's not an LE specific issue.

    See if adding /storage/.config/modprobe.d/blacklist.conf with the following content does anything?

    Code
    blacklist snd_hda_codec_realtek
    blacklist snd_hda_codec_sigmatel
    blacklist snd_hda_codec_cirrus

    Nope :) that was one of the things i tried, also added the onboard usb device for testing,so that its out of the way but always the same.

    No its surely not LE specific, i had one of the Ubuntu 24.04 desktops that had sound on the desktop but honestly dont remember if it was kde,gnome,cinnemon or Mate. It seems to be a wild mix of kernel issues and / or something with alsa.

    What i also have seen in the alsamixer, is that the card is called ...something Alderlake-G, not Alderlanke-N what it is supposed to be. Maybe device 8086:46d1 is not known by some driver or alsa version.


    Greetings

    Zig.

  • Addendum :

    The "sof-hda-dsp" driver for alsa seems to be one very important module and somewhere i've read that pipewire should be used with the n100 hdmi audio.

    btw. how long does is take to write here/edit my own posts without an Mod ? Its a little annoying to wait and not be able to edit typos in my own posts :(

  • As far as I can see the ID's of the device are mapped to the right drivers and those have probed and loaded.

    I don't have anything to suggest, other than emailing the linux-asoc mailing list.

  • I am also completly out of ideas, it should work, no errors, nothing but it just doesn't.

    Maybe i give it a try again in a few weeks when i have more spare time and start with a minimal arch linux and see if i get the sound to work there, and if yes i come back here and we can try to make it work in LE. But at the moment i dont have any more ideas,time and honestly motivation. It works on Win10, not what i was wishing for but as long as it works... :)

    Many thanks for trying to help me!

    Greetings

    Zig.