Kodi Community Forum
No Sound with Pulseaudio anymore - 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: No Sound with Pulseaudio anymore (/showthread.php?tid=228988)

Pages: 1 2 3 4 5


RE: No Sound with Pulseaudio anymore - Manko10 - 2015-06-08

pulseaudio -vvvvv > pulseaudio.log 2>&1
pacmd unload-module module-stream-restore
kodi

http://xbmclogs.com/psrfoov6w


RE: No Sound with Pulseaudio anymore - fritsch - 2015-06-08

Oki,

can you edit this line: https://github.com/xbmc/xbmc/blob/master/xbmc/cores/AudioEngine/Sinks/AESinkPULSE.cpp#L607

and remove | PA_STREAM_ADJUST_LATENCY

please? Does that help?


RE: No Sound with Pulseaudio anymore - Manko10 - 2015-06-08

In the patched or unpatched version?


RE: No Sound with Pulseaudio anymore - fritsch - 2015-06-08

Does not matter.


RE: No Sound with Pulseaudio anymore - Manko10 - 2015-06-08

Tried both, still no sound. The patched version is lagging a bit when starting a video but I guess that is to be expected.


RE: No Sound with Pulseaudio anymore - fritsch - 2015-06-08

What was "the patched version"?

The one, that was working with my "insane" workaround?


RE: No Sound with Pulseaudio anymore - Manko10 - 2015-06-08

The one with the latest "combined" patch, i.e. the one with more verbose logging but no sound.


RE: No Sound with Pulseaudio anymore - fritsch - 2015-06-08

That will always stutter, as it falls back to the NULL sink. The verbose logging + combine has no effect on this.

Btw. I can't solve this issue. It needs to be escalated and fixed in pulseaudio server.

If you can do me a real favor: Can you install Ubuntu 15.04? Onto a usb stick, add the kodi ppa, and install Version 14.2 and revisit the issue?

The two logfiles would be great again.


RE: No Sound with Pulseaudio anymore - Manko10 - 2015-06-08

I guess installing it into a VM isn't the same, right?
I can do that, but not today I'm afraid.


RE: No Sound with Pulseaudio anymore - fritsch - 2015-06-08

VM would work (as a test) - but at the end would be nice to compare it on your very own hw.


RE: No Sound with Pulseaudio anymore - fritsch - 2015-06-08

Btw. - as we now have "trial and error time". Could you add tsched=0 to the udev section in default.pa like described in kodi wiki and retry?


RE: No Sound with Pulseaudio anymore - Manko10 - 2015-06-08

I already tried tsched=0 before when debugging some other issue. Tried it again now, no difference.


RE: No Sound with Pulseaudio anymore - fritsch - 2015-06-08

Oki -> please file a bug with arch linux then.

Important thing: the return value of pulseaudio server for minreq. That looks so insane that "I feel" some compiler / linking misbehaviour.


RE: No Sound with Pulseaudio anymore - fritsch - 2015-06-09

Another idea:

Code:
PULSE_LATENCY_MSEC=30 ./kodi.bin

What happens?


RE: No Sound with Pulseaudio anymore - fritsch - 2015-06-09

And that you don't feel boring, please also install libcec2 - so that the CEC error in your log goes away, please.