Solved No Sound HDMI - Kodibuntu
#1
Since im not the best at Linux and wanted the set top box experience I downloaded Kodibuntu 14 helix from the kodi website and have done a apt-get upgrade to v15.2 Isengard. My Kodi setup works fine, however I have a issue with the sound not working if I swich into the Labuntu desktop, In Kodi the sound works fine (videos, gui sounds etc) but if I switch to thethe desktop and try open a MP3 with VLC the audio won't output. I've also tried streaming netflix and youtube via chrome and firefox, video works fine but again no sound. I like to point out that the sound is going out over HDMI to my TV. I've googled this and have had answers such as check alsamixer, everything appears to be OK here, check the order of the soundcards, there appear to be correct. I have Nvidia audio (this is the hdmi output on my nvidia 210 graphics card) and the second soundcard appears to do with my tvtuner. I even tried removing the TV tuner and still couldn't get it to work. Finally I read alot about downloading pulseaudio, however it appears labuntu doesn't support it.

Any help would be greatly appreciated.


Code:
cat /proc/asound/cards |pastebinit
http://paste.ubuntu.com/14360950/


Code:
aplay -L | pastebinit
http://paste.ubuntu.com/14360766/

Code:
dmesg | pastebinit
http://paste.ubuntu.com/14360806/
Reply
#2
AFAIK you'll need pulseaudio if you want sound inside your browser. This isn't installed by default, because the common use is not the browser and you will need ALSA for passthrough in Kodi.

But you can have both. Read this PulseAudio (wiki)
Reply
#3
You could also create a /etc/asound.conf

For the content of this file we might need the output of

Code:
aplay -l
Reply
#4
Thanks for the reply, that wiki article makes sense it looks like the kodibuntu download doesn't have pulse audio installed and looks like that what I need to make desktop sounds work, how do I do this? Do I need to remove alsa sound first?

Please see link below to what aplay -l returned
http://paste.ubuntu.com/14360766/
Reply
#5
Nice! Someone else is experiencing the same thing as me. Well, it's not so nice but it's nice to find out I'm not the only one. Smile

Thanks for starting this thread, Biggus.
Reply
#6
Instead of using Pulseaudio and as we got the aplay -l output now, you could create the file asound.conf in /etc

so do:

Code:
sudo nano /etc/asound.conf

and put the following in:

Code:
pcm.!default {
      type plug
      slave.pcm {
              type hw
              card 0
              device 3
      }
}

and reboot.

After that you should have sound in your browser, too

If you go this way, you don't need pulseaudio. And please DON'T remove ALSA, as you will need it for passthrough if you are using Kodi in the standard way.
Reply
#7
That worked Big GrinBig GrinBig Grin I've spent hours on this and took me 30seconds to apply your fix, thank you sir
Reply
#8
Glad I could help you...but I was pushed in the correct direction myself by another brilliant user Wink.

If you want to, you could edit your first posting and set it to 'fixed' or 'solved'.

Cheers
Reply
#9
Done :-)
Reply
#10
hello, I am a complete nub with linux but was intrigued by an easy setup for a tv box. i must say everything works great except sound through hdmi in browser. i tried putting in the codes listed above but not sure how to save the code i typed in. or if i even typed it in right since it will not let me paste in xterminal. any advice would be great.
Reply
#11
after the

Code:
sudo nano /etc/asound.conf

you are able to paste via: shift+ctrl+v in xterminal

after the and while still at nano editor: "crtl+o" and after "enter" to save the file. Then "ctrl+x" for exiting nano, done
Reply

Logout Mark Read Team Forum Stats Members Help
No Sound HDMI - Kodibuntu0