Kodi Community Forum
Linux No sound in kodi when autostart on ubuntu 16.04 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Linux No sound in kodi when autostart on ubuntu 16.04 (/showthread.php?tid=303864)



No sound in kodi when autostart on ubuntu 16.04 - marcaurellexxx - 2017-01-12

Hi guys ,

just a small problem after a fresh install of Ubuntu 16.04 with kodi 16.1 :
Actually I ve no sound when I follow this part :
http://forum.kodi.tv/showthread.php?tid=282593
Just I don't use openbox , I ve made a script with systemctl to start kodi as a service and autologin with the user kodi.

When I log with my default user on ubuntu I ve sound and when I launch kodi , I ve sound too (but not passtrough through the option of kodi , weird , but it s another problem)

Do u have an idea why no sound when autostart ?

thank u very much for your helo


RE: No sound in kodi when autostart on ubuntu 16.04 - marcaurellexxx - 2017-01-12

my graphic card is GT620 connected through HDMI
when I tape the line :
inxi -A
Audio: Card NVIDIA GF108 High Definition Audio Controller
driver: snd_hda_intel
Sound: Advanced Linux Sound Architecture v: k4.4.0-59-generic


RE: No sound in kodi when autostart on ubuntu 16.04 - marcaurellexxx - 2017-01-12

here s a log from my kodi :
http://pastebin.com/MnuV7Rat


RE: No sound in kodi when autostart on ubuntu 16.04 - marcaurellexxx - 2017-01-12

it s solved ,
must disable pulseaudio for user kodi Wink

http://kodi.wiki/view/PulseAudio/HOW-TO:_Disable_PulseAudio_and_use_ALSA_(without_removing_PulseAudio)_for_Ubuntu
and Now I have passthrough !!!


RE: No sound in kodi when autostart on ubuntu 16.04 - fritsch - 2017-01-12

If you would have read the complete page you would have seen that EAC3, AC3, DTS is possible with pulseaudio, too.


RE: No sound in kodi when autostart on ubuntu 16.04 - marcaurellexxx - 2017-01-12

yep , but when I let pulsaudio enabled , no sound in kodi Sad
So i must autospawn = no in .config/pulse/client.conf

I think it s caused my kodi autostart directly


RE: No sound in kodi when autostart on ubuntu 16.04 - theghost3131 - 2018-08-01

Hi

It's close of my issue, so I ask here.
I'm running under Kodi 17 with Ubuntu 16.04.

Do you have any idea how to configure my pulseaudio to have passthrought sound available under Kodi ? 

When I disable pulseaudio, I have the passthrought tab available but no sound under Kodi. 
When I enable pulseaudio, I have the sound but the passthrought tab in Kodi is empty :/

Thank you in advance for your help


RE: No sound in kodi when autostart on ubuntu 16.04 - fritsch - 2018-08-01

https://kodi.wiki/view/PulseAudio#Passthrough_Mode


RE: No sound in kodi when autostart on ubuntu 16.04 - theghost3131 - 2018-08-02

Thank you : it's working