Linux Sound in Kodi but no sound with Kodi off
#1
I built a mini pc to act as a video/audio streamer for my TV. My hardware is as follows: ASRock AM1H-ITX mobo with 5.1 audio, AMD Athlon 5350, Sandisk 128GB SSD & 4GB RAM. I'm using Lubuntu 17.10. I use an HDMI cable from the pc to my home theater receiver. The receiver is connected to my TV by HDMI. When Kodi is running the sound is fine whether I'm watching video or listening to audio. My problem is that when Kodi isn't running I have no sound. Examples: watching a how to video on Youtube or playing audio file with Audacious. Is there a way to fix this? Thanks.
Reply
#2
Depends. No Debug Log - no issue - no idea if you use pulseaudio or if just your default ALSA sound device is set wrong? (Kodi enumerates all devices and allows the user to choose, if the system is configured wrong, applications like firefox that use the default device won't make sound -> kodi.log gives all the info about your sys audio devices)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
I'm using ALSA. I'll post a debug log tomorrow when I get time.
Reply
#4
Thanks.
Reply
#5
I was wrong. I'm using pulseaudio. I was previously using Mint on this pc and decided to use Lubuntu as it is lighter on resources. I foolishly assumed Lubuntu used pulse as well and installed pavcontrol and evidently pulse as well. Here is a partial kodi.log listing the devices. I see it's messed up but I don't know enough to fix it.
08:38:49.853 T:140599857310080  NOTICE: Found 1 Lists of Devices
08:38:49.853 T:140599857310080  NOTICE: Enumerated PULSE devices:
08:38:49.853 T:140599857310080  NOTICE:     Device 1
08:38:49.853 T:140599857310080  NOTICE:         m_deviceName      : Default
08:38:49.853 T:140599857310080  NOTICE:         m_displayName     : Default
08:38:49.853 T:140599857310080  NOTICE:         m_displayNameExtra: Default Output Device (PULSEAUDIO)
08:38:49.853 T:140599857310080  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
08:38:49.853 T:140599857310080  NOTICE:         m_channels        : FL,FR
08:38:49.853 T:140599857310080  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
08:38:49.853 T:140599857310080  NOTICE:         m_dataFormats     : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
08:38:49.854 T:140599857310080  NOTICE:         m_streamTypes     : No passthrough capabilities
08:38:49.854 T:140599857310080  NOTICE:     Device 2
08:38:49.854 T:140599857310080  NOTICE:         m_deviceName      : alsa_output.pci-0000_00_01.1.hdmi-surround
08:38:49.854 T:140599857310080  NOTICE:         m_displayName     : Built-in Audio Digital Surround 5.1 (HDMI)
08:38:49.854 T:140599857310080  NOTICE:         m_displayNameExtra: HDMI / DisplayPort (PULSEAUDIO)
08:38:49.854 T:140599857310080  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
08:38:49.854 T:140599857310080  NOTICE:         m_channels        : FL,FR,BL,BR,FC,LFE
08:38:49.854 T:140599857310080  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
08:38:49.854 T:140599857310080  NOTICE:         m_dataFormats     : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
08:38:49.854 T:140599857310080  NOTICE:         m_streamTypes     : No passthrough capabilities
08:38:49.854 T:140599857310080  NOTICE:     Device 3
08:38:49.854 T:140599857310080  NOTICE:         m_deviceName      : alsa_output.pci-0000_00_14.2.iec958-stereo
08:38:49.854 T:140599857310080  NOTICE:         m_displayName     : Built-in Audio Digital Stereo (IEC958)
08:38:49.854 T:140599857310080  NOTICE:         m_displayNameExtra: Digital Output (S/PDIF) (PULSEAUDIO)
08:38:49.854 T:140599857310080  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
08:38:49.854 T:140599857310080  NOTICE:         m_channels        : FL,FR
08:38:49.854 T:140599857310080  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
08:38:49.854 T:140599857310080  NOTICE:         m_dataFormats     : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
08:38:49.854 T:140599857310080  NOTICE:         m_streamTypes     : No passthrough capabilities
Reply
#6
That's okay. Now the browser should just use pulseaudio. You can use paprefs to set the default device.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#7
(2017-12-31, 16:14)fritsch Wrote: That's okay. Now the browser should just use pulseaudio. You can use paprefs to set the default device.
 I still don't have sound in Chromium or when I play a song with Audacious. Should I uninstall ALSA? I'm ignorant when it comes to paprefs. I'll look it up.
Reply
#8
No ... pulseaudio uses alsa under the hood. Please ask in the forum of your distribution on how to repair your setup, as your issue has nothing to do with kodi.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#9
(2017-12-31, 16:33)fritsch Wrote: No ... pulseaudio uses alsa under the hood. Please ask in the forum of your distribution on how to repair your setup, as your issue has nothing to do with kodi.
ok, I will. Thanks for you help.
Reply

Logout Mark Read Team Forum Stats Members Help
Sound in Kodi but no sound with Kodi off0