Kodi Community Forum
Linux PulseAudio Sink - 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 PulseAudio Sink (/showthread.php?tid=183436)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14


RE: PulseAudio Sink - fritsch - 2015-07-27

And btw. if we are at it. Please play some mp3 in kodi. Then alt tab to the desktop and while doing that, get me: pactl list sink-inputs | pastebinit


RE: PulseAudio Sink - kruppka - 2015-07-28

pactl list sink-inputs:

Senkeneingabe #4
Treiber: protocol-native.c
Besitzermodul: 10
Client: 16
Senke: 1
Sample-Spezifikation: float32le 2ch 44100Hz
Kanalzuordnung: front-left,front-right
Format: pcm, format.sample_format = "\"float32le\"" format.channel_map = "\"front-left,front-right\"" format.channels = "2" format.rate = "44100"
Corked: no
Lautlos: yes
Lautstärke: 0: 100% 1: 100%
0: 0,00 dB 1: 0,00 dB
Balance 0,00
Pufferlatenz: 125532 usec
Senkenlatenz: 49865 usec
Resample-Methode: copy
Eigenschaften:
media.name = "kodi audio stream"
application.name = "Kodi"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "28"
application.process.id = "2715"
application.process.user = "micha"
application.process.host = "sonne"
application.process.binary = "kodi.bin"
application.language = "C"
window.x11.display = ":0"
application.process.machine_id = "213e487547224b93f1810272552969e1"
application.process.session_id = "c2"
module-stream-restore.id = "sink-input-by-application-name:Kodi"


RE: PulseAudio Sink - fritsch - 2015-07-28

Quote:Lautlos: yes
^^


RE: PulseAudio Sink - fritsch - 2015-07-28

Get me pactl list sinks and pactl list sink-inputs while you are playing anything.

Press "+" in kodi to make sure volume is really maxed.


RE: PulseAudio Sink - kruppka - 2015-07-28

OK,

here is the output of pactl list sinks of my desktop playing "Oasis - Fade Away". Sounds whoohoo!

http://pastebin.com/WuGAZr2W

here is the output of pactl list sink-inputs playing "Oasis - Fade Away". Sounds whoohoo!

http://pastebin.com/rJWjnYCb


here's the output of pactl list sinks in Kodi playing "The Cure - Boys Don't Cry". Can't hear nothing in Kodi!

http://pastebin.com/TmtmfmRA

and finally here's the output of pactl list sink-inputs in Kodi playing "The Cure - Boys Don't Cry". Can't hear nothing in Kodi!

http://pastebin.com/1seZJZfH


Volume is really maxed to the top.

Thanks in advance.

Kruppka


RE: PulseAudio Sink - fritsch - 2015-07-28

The stream is again muted:

Quote: Lautlos: yes

Okay - play something in kodi. While playing open "pavucontrol" - find the kodi stream and change its volume - does that change something?


RE: PulseAudio Sink - kruppka - 2015-07-28

es ist zum davonlaufen...

mp3s work well now, but i can't listen to the sound of a movie - in one and the same session!


RE: PulseAudio Sink - fritsch - 2015-07-28

Same output again please, when you are watching this movie, please.

You can make a screenshot of pavucontrol if you want.

Also post kodi.log so I can see if it switches to a different device.


RE: PulseAudio Sink - kruppka - 2015-07-28

output of pactl list sinks - playing a movie - no sound

http://pastebin.com/tckukCJa

here's the output of pactl list sink-inputs - playing a movie - no sound

http://pastebin.com/xLwxwP8v

pavucontrol:


<a href="http://www.directupload.net/file/d/4062/xqaljgdw_png.htm" target="_blank"><img src="http://fs2.directupload.net/images/150728/temp/xqaljgdw.png" border="1" title="Kostenlos Bilder und Fotos hochladen"></a>

<a href="http://www.directupload.net/file/d/4062/8resbp6k_png.htm" target="_blank"><img src="http://fs2.directupload.net/images/150728/temp/8resbp6k.png" border="1" title="Kostenlos Bilder und Fotos hochladen"></a>




kodi.log:


http://pastebin.com/Pp9ZztqH


RE: PulseAudio Sink - fritsch - 2015-07-28

That movie's audio is broken. Decoding already fails!

Others work, right?


RE: PulseAudio Sink - kruppka - 2015-07-28

No, i bought this DVD - like hundreds of others.
I just wonder why it worked in 14.2?


RE: PulseAudio Sink - fritsch - 2015-07-29

"No" means: no other movie works? Or "this movie worked perfectly fine in 14.2?"

If you can, please test with a nightly kodi version - here we have updated ffmpeg to 2.7.x and that would reveal an ffmpeg bug.

Backup your .kodi directory:
Code:
cp -r ~/.kodi ~/kodi-backup-15

Add the nightly build:
Code:
sudo apt-add-repository ppa:team-xbmc/xbmc-nightly
sudo apt-get update
sudo apt-get dist-upgrade

If that fixes this issue, please file a bug at trac.kodi.tv cause that needs fixing. It's not a PulseAudio Sink issue but something else.


RE: PulseAudio Sink - fritsch - 2015-07-29

And please from now on, always provide a log with debugging turned on.

Edit: And to reduce your logspam a bit. Please disable VDPAU and VAAPI. Neither is suppoerted by your RS870 gpu.


RE: PulseAudio Sink - kruppka - 2015-08-03

oh, i'm sorry!
VDPAU and VAAPI disabled, debugging turned on - but now i can't post a log anymore, because a five minute session of running kodi 16 for testing purposes generates a ~ 19 MB kodi.log!

But not all movies are unplayable; a few mostly in xvid/mp3 encoded movies are watchable with sound. A new ripped & encoded movie (no sound in the nightly build again) needs more than one core (~150%) in kodi, but it has sound in 14.2, VLC, MPlayer and on my laptop.


RE: PulseAudio Sink - fritsch - 2015-08-03

As you are decoding on the CPU only ... it's quite clear that it needs a lot of cpu. Still interested in the Debug Log. You can tail it, please to see why it needs that much space?