No sound on hdmi and laptop speakers
#1
Hey!

I have since my last post updated my setup, I now have a debain os on my laptop (instead of libreElec) and this is so that i can run a kvm with HAOS.
I can select any sound output there is not sound exepct there was some sound in a pair of aux headphones but now i cant replicate it. Kodi does not make any sound BUT I can ssh into the machine and run "speaker-test". Then it works.
Doing:
Code:
speaker-test -D hdmi:0,0 -c 2
works perfectly fine and sound is played on the TV but the kodi does not make any ui sounds what so ever. How can I fix this?
Debain 12, Kodi 20.2
Log with Audio compoent:
https://paste.kodi.tv/xemodexave.kodi
Reply
#2
Looking at the log it seams to me that:
Code:

2023-12-07 19:27:27.977 T:869 info <general>: Device 7 2023-12-07 19:27:27.977 T:869 info <general>: m_deviceName : hdmi:CARD=PCH,DEV=0 2023-12-07 19:27:27.977 T:869 info <general>: m_displayName : HDA Intel PCH 2023-12-07 19:27:27.977 T:869 info <general>: m_displayNameExtra: PHL 42PFL3604H on HDMI #0 2023-12-07 19:27:27.977 T:869 info <general>: m_deviceType : AE_DEVTYPE_HDMI 2023-12-07 19:27:27.977 T:869 info <general>: m_channels : FL, FR 2023-12-07 19:27:27.977 T:869 info <general>: m_sampleRates : 32000,44100,48000 2023-12-07 19:27:27.977 T:869 info <general>: m_dataFormats : AE_FMT_RAW,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_RAW 2023-12-07 19:27:27.977 T:869 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
is the right audio thing. The thing is tat the speaker test works perfectly with 48000Hz, which kodi says it has but the format S16_LE which is not listed here? Why is it not? Can I add it somehow?
Reply
#3
anyone who knows anything about this?
Reply
#4
You have a broken asound.conf in your system. Additionally you output in kodi through the "Analog" output not the "HDMI".
This: "HDA Intel PCH" is your HDMI port.

Any idea why you have such a messed up asound config in your system?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
I have no idea what would have messed it up, fresh install of Debain 12 without any window manager, installed lightdm and then running Home Assistant OS in a kvm. I was trying different things with pulseaudio and ALSA as well as this Kodi Bluetooth manager: https://github.com/wastis/BluetoothManager
Do you have any idea how to fix it? What is weird to me is that I can play sound on the tv through the commandline but not with kodi.
Reply

Logout Mark Read Team Forum Stats Members Help
No sound on hdmi and laptop speakers0