Posts by alton

    Hi - I've installed Kodi 12.2 (Generic) onto a Dell Wyse 3040 (Intel Atom x86 x5 Z-8350 Quad core) and there is no HDMI audio to my TV (Toshiba). I've scoured the various groups and tried all of tips with no success, so any help would be great. Other than the audio issue the install is perfect and the video over HDMI is working.

    What have I tried?

    * Atom - Different version of LibreElec 12.0 (both generic and legacy). Also the latest daily build and an old version 9.2. They all have the same issue.

    * Atom - Changing the settings for pass-through and also TV settings for CEC enable/disable. No change.

    * Atom - Connecting to a different HDMI TV (Samsung) works fine, which proves the install / hardware is good.

    * Using another device LibreElec (RPI5) with the Toshiba TV also works fine.

    It looks to be compatibility issue between the Atom /Dell Wyse 3040 and the Toshiba TV. Within Kodi I can see all of the HDMI sinks listed including the Toshiba TV name, so the CEC is working, but none of them work and deliver sound. What's interesting is that 'speaker-test' utility does work, so the connection / cables are all ok and I suspect it's a configuration issue within LibreElec / Kodi. The Atom /Dell Wyse 3040 has two display ports, which both have the same issue, and the displayport to HDMI cables are fully working.

    I've included the relevant Kodi log file entries, which indicate an error opening the audio sink.

    Initialization at startup

    2025-08-27 11:53:33.470 T:814 warning <general>: Pulseaudio module module-allow-passthrough not loaded - opening PT devices might fail
    2025-08-27 11:53:33.473 T:814 info <general>: Found 2 Lists of Devices
    2025-08-27 11:53:33.473 T:814 info <general>: Enumerated ALSA devices:
    2025-08-27 11:53:33.473 T:814 info <general>: Device 1
    2025-08-27 11:53:33.473 T:814 info <general>: m_deviceName : default
    2025-08-27 11:53:33.473 T:814 info <general>: m_displayName : Default (Intel HDMI/DP LPE Audio Intel HDMI/DP LPE Audi)
    2025-08-27 11:53:33.473 T:814 info <general>: m_displayNameExtra:
    2025-08-27 11:53:33.473 T:814 info <general>: m_deviceType : AE_DEVTYPE_PCM
    2025-08-27 11:53:33.473 T:814 info <general>: m_channels : FL, FR, BL, BR, FC, LFE, SL, SR
    2025-08-27 11:53:33.473 T:814 info <general>: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000
    2025-08-27 11:53:33.474 T:814 info <general>: m_dataFormats : AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
    2025-08-27 11:53:33.474 T:814 info <general>: m_streamTypes : No passthrough capabilities
    2025-08-27 11:53:33.474 T:814 info <general>: Device 2
    2025-08-27 11:53:33.474 T:814 info <general>: m_deviceName : sysdefault:CARD=Audio
    2025-08-27 11:53:33.474 T:814 info <general>: m_displayName : Intel HDMI/DP LPE Audio
    2025-08-27 11:53:33.474 T:814 info <general>: m_displayNameExtra: Intel HDMI/DP LPE Audi
    2025-08-27 11:53:33.474 T:814 info <general>: m_deviceType : AE_DEVTYPE_PCM
    2025-08-27 11:53:33.474 T:814 info <general>: m_channels : FL, FR, BL, BR, FC, LFE, SL, SR
    2025-08-27 11:53:33.474 T:814 info <general>: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000
    2025-08-27 11:53:33.474 T:814 info <general>: m_dataFormats : AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
    2025-08-27 11:53:33.474 T:814 info <general>: m_streamTypes : No passthrough capabilities
    2025-08-27 11:53:33.474 T:814 info <general>: Device 3
    2025-08-27 11:53:33.474 T:814 info <general>: m_deviceName : hdmi:CARD=Audio,DEV=0
    2025-08-27 11:53:33.474 T:814 info <general>: m_displayName : Intel HDMI/DP LPE Audio
    2025-08-27 11:53:33.474 T:814 info <general>: m_displayNameExtra: TSB 55UHD_LCD_TV on HDMI #0
    2025-08-27 11:53:33.474 T:814 info <general>: m_deviceType : AE_DEVTYPE_HDMI
    2025-08-27 11:53:33.474 T:814 info <general>: m_channels : FL, FR, BL, BR, FC, LFE, SL, SR
    2025-08-27 11:53:33.474 T:814 info <general>: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000
    2025-08-27 11:53:33.474 T:814 info <general>: m_dataFormats : AE_FMT_RAW,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_RAW
    2025-08-27 11:53:33.475 T:814 info <general>: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_MA,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHD
    2025-08-27 11:53:33.475 T:814 info <general>: Device 4
    2025-08-27 11:53:33.475 T:814 info <general>: m_deviceName : hdmi:CARD=Audio,DEV=1
    2025-08-27 11:53:33.475 T:814 info <general>: m_displayName : Intel HDMI/DP LPE Audio
    2025-08-27 11:53:33.475 T:814 info <general>: m_displayNameExtra: HDMI #1
    2025-08-27 11:53:33.475 T:814 info <general>: m_deviceType : AE_DEVTYPE_HDMI
    2025-08-27 11:53:33.475 T:814 info <general>: m_channels : FL, FR, BL, BR, FC, LFE, SL, SR
    2025-08-27 11:53:33.475 T:814 info <general>: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000
    2025-08-27 11:53:33.475 T:814 info <general>: m_dataFormats : AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_RAW
    2025-08-27 11:53:33.475 T:814 info <general>: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_MA,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHD
    2025-08-27 11:53:33.475 T:814 info <general>: Device 5
    2025-08-27 11:53:33.475 T:814 info <general>: m_deviceName : hdmi:CARD=Audio,DEV=2
    2025-08-27 11:53:33.475 T:814 info <general>: m_displayName : Intel HDMI/DP LPE Audio
    2025-08-27 11:53:33.475 T:814 info <general>: m_displayNameExtra: HDMI #2
    2025-08-27 11:53:33.475 T:814 info <general>: m_deviceType : AE_DEVTYPE_HDMI
    2025-08-27 11:53:33.475 T:814 info <general>: m_channels : FL, FR, BL, BR, FC, LFE, SL, SR
    2025-08-27 11:53:33.476 T:814 info <general>: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000
    2025-08-27 11:53:33.476 T:814 info <general>: m_dataFormats : AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_RAW
    2025-08-27 11:53:33.476 T:814 info <general>: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_MA,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHD
    2025-08-27 11:53:33.476 T:814 info <general>: Enumerated PULSE devices:
    2025-08-27 11:53:33.476 T:814 info <general>: Device 1
    2025-08-27 11:53:33.476 T:814 info <general>: m_deviceName : Default
    2025-08-27 11:53:33.476 T:814 info <general>: m_displayName : Default
    2025-08-27 11:53:33.476 T:814 info <general>: m_displayNameExtra: Bluetooth Audio (PULSEAUDIO)
    2025-08-27 11:53:33.476 T:814 info <general>: m_deviceType : AE_DEVTYPE_PCM
    2025-08-27 11:53:33.476 T:814 info <general>: m_channels : FL, FR
    2025-08-27 11:53:33.476 T:814 info <general>: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
    2025-08-27 11:53:33.476 T:814 info <general>: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
    2025-08-27 11:53:33.476 T:814 info <general>: m_streamTypes : No passthrough capabilities
    2025-08-27 11:53:33.476 T:814 warning <general>: ValidateOutputDevices: audio output device setting has been updated from 'Default' to 'ALSA:default|Default (Intel HDMI/DP LPE Audio Intel HDMI/DP LPE Audi)'
    2025-08-27 11:53:33.477 T:814 warning <general>: ValidateOutputDevices: passthrough output device setting has been updated from 'Default' to 'ALSA:hdmi:CARD=Audio,DEV=0|Intel HDMI/DP LPE Audio'
    2025-08-27 11:53:33.477 T:815 info <general>: CActiveAESink::OpenSink - initialize sink
    2025-08-27 11:53:33.478 T:815 info <general>: CAESinkALSA::Initialize - Attempting to open device "default"
    2025-08-27 11:53:33.488 T:815 info <general>: CAESinkALSA::Initialize - Opened device "default"
    2025-08-27 11:53:33.489 T:815 info <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
    2025-08-27 11:53:33.489 T:815 info <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE4
    2025-08-27 11:53:33.493 T:815 info <general>: CAESinkALSA::Initialize - Attempting to open device "default"
    2025-08-27 11:53:33.502 T:815 info <general>: CAESinkALSA::Initialize - Opened device "default"
    2025-08-27 11:53:33.503 T:815 info <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
    2025-08-27 11:53:33.503 T:815 info <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE4
    2025-08-27 11:53:33.506 T:815 error <general>: CActiveAESink::OpenSink - no sink was returned
    2025-08-27 11:53:33.506 T:814 error <general>: ActiveAE::InitSink - returned error

    The log file is then full of this repeated sequence - 3 x times per second.

    2025-08-27 14:53:17.693 T:815 info <general>: CActiveAESink::OpenSink - initialize sink
    2025-08-27 14:53:17.694 T:815 info <general>: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=Audio,DEV=0"
    2025-08-27 14:53:17.704 T:815 info <general>: CAESinkALSA::Initialize - Opened device "hdmi:CARD=Audio,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00"
    2025-08-27 14:53:17.704 T:815 info <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
    2025-08-27 14:53:17.704 T:815 info <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE4
    2025-08-27 14:53:17.706 T:815 info <general>: CAESinkALSA::Initialize - Attempting to open device "default"
    2025-08-27 14:53:17.716 T:815 info <general>: CAESinkALSA::Initialize - Opened device "default"
    2025-08-27 14:53:17.717 T:815 info <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
    2025-08-27 14:53:17.717 T:815 info <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE4
    2025-08-27 14:53:17.720 T:815 error <general>: CActiveAESink::OpenSink - no sink was returned
    2025-08-27 14:53:17.720 T:814 error <general>: ActiveAE::InitSink - returned error
    2025-08-27 14:53:18.222 T:815 info <general>: CActiveAESink::OpenSink - initialize sink
    2025-08-27 14:53:18.223 T:815 info <general>: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=Audio,DEV=0"
    2025-08-27 14:53:18.233 T:815 info <general>: CAESinkALSA::Initialize - Opened device "hdmi:CARD=Audio,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00"
    2025-08-27 14:53:18.233 T:815 info <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
    2025-08-27 14:53:18.233 T:815 info <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE4
    2025-08-27 14:53:18.236 T:815 info <general>: CAESinkALSA::Initialize - Attempting to open device "default"
    2025-08-27 14:53:18.245 T:815 info <general>: CAESinkALSA::Initialize - Opened device "default"
    2025-08-27 14:53:18.246 T:815 info <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
    2025-08-27 14:53:18.246 T:815 info <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE4
    2025-08-27 14:53:18.249 T:815 error <general>: CActiveAESink::OpenSink - no sink was returned
    2025-08-27 14:53:18.249 T:814 error <general>: ActiveAE::InitSink - returned error

    I don't understand enough about Alsa and Pulseaudio to know where to look next. There is an error about pulseaudio (see below) but I'm unsure if this is relevant

    2025-08-27 11:53:33.470 T:814 warning <general>: Pulseaudio module module-allow-passthrough not loaded - opening PT devices might fail

    Running "aplay -l" shows the following

    **** List of PLAYBACK Hardware Devices ****
    card 0: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: Audio [Intel HDMI/DP LPE Audio], device 1: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: Audio [Intel HDMI/DP LPE Audio], device 2: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

    Running "pact list" lists bluez/ generic / dummy modules but there is no HDMI connection listed. Interestingly Kodi is listed as a Client in the list. Does this mean Kodi is using Pulseaudio as a client? which if there are no HDMI sinks listed could be the problem.

    Client #1
    Driver: protocol-native.c
    Owner Module: 0
    Properties:
    application.name = "KodiDriver"
    native-protocol.peer = "UNIX socket client"
    native-protocol.version = "35"
    application.process.id = "806"
    application.process.user = "root"
    application.process.host = "LibreELEC"
    application.process.binary = "kodi.bin"
    application.language = "C"
    application.process.machine_id = "2caa9e80cd4a054e873b933868aeaa5d"

    Any help would be very appreciated as LibreElec is awesome and I'd love to get it working.

    Thanks - Dalton :)