Kodi Community Forum

Full Version: [Solved] no chrome sound under Ubuntu server 16.04
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
suite de
http://forum.kodi.tv/showthread.php?tid=...pid2329596

Chrome installed into Kodi using plugin.program.chrome.launcher-1.1.5.zip
Ubuntu server install following fritsch how-to guide

Sounds from movies, tvshows in kodi works great but nothing in chrome.

Code:
cat /home/kodi/.asoundrc
pcm.!default {
  type plug
  slave {
    pcm "hw:0,3"
    rate 48000
    }
}
it doesn't work

but using this command
Code:
sudo aplay -D plughw:0,3 sample14.wav
IT WORKS !

anyone ?
Yes, you are right fritsch !!! oops from my part .... not using sudo.
This is why I made some progress but not yet working
Same if you exit kodi and start chrome directly?
Same if you exit kodi and do: aplay -D plughw:0,3 sample14.wav

from the fluxbox UI?
When leaving kodi I am not login as kodi but with my own ID.
then I launched google-chrome and have a "cannot open display"

When playing my sample14 it does work with my ID

...fluxbox.... Nice word for Scrabble but it is the first time I'm hearing this.... Smile let me check what it is.
.
Fluxbox is Nice.... a bit slow but working....
But still no sound on chrome.
K I found my issue why it wasnt starting using my Id and receiving cannot open display..
Xinit google-chrome fixed it.
But now I have no video.... and no audio.
I see the video seconds progressing but no video.
(2016-05-06, 22:56)morstef4 Wrote: [ -> ]suite de
http://forum.kodi.tv/showthread.php?tid=...pid2329596

Chrome installed into Kodi using plugin.program.chrome.launcher-1.1.5.zip
Ubuntu server install following fritsch how-to guide

Sounds from movies, tvshows in kodi works great but nothing in chrome.

[code]
cat /home/kodi/.asoundrc
pcm.!default {
type plug
slave {
pcm "hw:0,3"
rate 48000
}
}
IT WORKS !

anyone ?
How bout
pcm.!default {
type plug;
slave.pcm "hw:0,3";
}
Thank you for your input.
After I installed fluxbox and reboot I juste realised now it work! !!

Doing some investigation .....
Getting fishy

Rebooted again and wasn't working

I launched my ssh remotly and from my own Id I ran:
aplay -D plughw:0,3 sample14.wav
Like before it work.

Now from my kodi gui I launched chrome and I have sound !!

....
from the past few days I rebooted and the vast majority of the time it worked without a aplay -D plughw:0,3 sample14.wav

Will start a debug log and will try again tonight few time so that I can catch something.
This is not a kodi issue, if you have general audio issues with ubuntu configuration then ubuntuforums is the place to go - they can help you much better, we are kodi specific here.
yes your are right, closing

Anyhow after many reboots it did worked everytime.