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 - xamindar - 2015-03-03

(2015-03-03, 09:18)fritsch Wrote: @xamindar: bump - any news? Still interested.

I built git with the modification last night but that build of kodi would just segfault immediately. I haven't had time to try again yet but I will.

Thanks a lot for that info though, it helped.


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

Erm :-) That change does not do anything "segfault" related.


RE: PulseAudio Sink - xamindar - 2015-03-03

(2015-03-03, 09:53)fritsch Wrote: Erm :-) That change does not do anything "segfault" related.

Yeah I just assume it was something else changed in the bleeding edge git Wink Was too tired to investigate at that point.


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

(2015-03-03, 09:18)fritsch Wrote: @xamindar: bump - any news? Still interested.

The Kodi segfault was caused by my existing settings in ~/.kodi so I simply renamed the folder to start fresh with kodi-git.

I did some further testing and as you state, pulseaudio will not allow passthrough when I have it set to 7.1 audio. Both kodi and vlc will act like nothing is wrong and play videos while no sound comes out. If I switch my audio channels to stereo (2 channel) in pavucontrol then passthrough will magically start working from both kodi and vlc. So it is pretty safe to say this is a problem with pulseaudo.

I have been unable to get a straight answer from the pulse guys though. I have asked in the irc channel on freenode and they tell me passthrough should work and don't seem to understand my problem when I explain that it doesn't work when set to 7.1. I have asked on the mailing list as well but I am still awaiting a response there. They did confirm that HD audio does not pass through yet which I understand.

I'll keep the patch applied to allow passthrough in the hopes that I can get them to understand the problem and fix it. I have yet to find a valid reason for them to limit it this way, specially since their configuration tool (pavucontrol) seems to think it should work.


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

You can easily test passthrough from the command line, also - though - I developed the PA Sink and let it review by the PA people - just in case they (what I don't think) would tell you should use another way of testing.

Quote:gst-launch-0.10 filesrc location=/home/yourHome/www_lynnemusic_com_surround_test.ac3 ! ac3parse ! pulsesink device=0

Change the device=0 to your actual device. The test sample is here: http://www.lynnemusic.com/surround.html

you need to alter the device=0 to match your device. PA people might be interested in pulseaudio -vvv output, when you file that bugreport. Read arch's documentation on howto start PA server with increased verbose.


RE: PulseAudio Sink - muhaha - 2015-07-19

Hello, can anyone help me with pulseaudio and alsa setup on fresh install of ubunutu 15.04 server?
I have AM1 motherboard with spdif and hdmi.
Why i did:
sudo apt-get install pulseaudio pulseaudio-utils
sudo apt-get install libasound2 libasound2-plugins alsa alsa-utils alsa-oss alsa-tools

Im using only SPDIF -> Logitech Z906, but in audio output setting in KODI there isnt any SPDIF output, just HDMI, which is working (well, with crackling sound)


pactl list sinks
http://pastebin.com/6ETU859R

aplay -l
http://pastebin.com/mxfGZSjP

aplay -L
http://pastebin.com/uzdYxnZY,

lspci -v | grep -A7 -i "audio"
http://pastebin.com/Gh7LgjJS

Thanks


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

hello everybody,

i have no sound on elementary os (based on ubuntu 14.04) using isengard, too. i can't even hear the "clicks" when i select "movies" or "music" or another category in kodi.
i've read this thread, but i don't know if this problem even got worse - because i don't know how to handle alsa and pulseaudio: i'm a noob.

i have hdmi, but i want to use the 3.5 mm headphones port - nothing works, no sound. help appreciated.


here's my kodi.log:

http://pastebin.com/index/Afeyg4eR

THX in advance!


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

Log looks fine. Please provide: pactl list sinks | pastebinit and cat .kodi/userdata/guisettings.xml | pastebinit


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

Do you have a joystick connected? If yes - unplug it please.


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

ok, here we go:

pactl list sinks:

http://pastebin.com/dmkdinfn


cat .kodi/userdata/guisettings.xml:

http://pastebin.com/nKqhJ3UU



Viele Grüße nach KA!


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

All fine so far - did you unplug your joystick and restarted kodi?

Just to be sure: stop kodi and in your guisettings.xml change

Code:
<enablejoystick default="true">true</enablejoystick>

to

Code:
<enablejoystick default="false">false</enablejoystick>



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

I've never had a joystick connected to my computer; this is a fresh install of elementary os i have made in april (i was using kodi 14.2 ---> everything worked fine).
but now i've changed the lines in guisettings.xml ---> no solution! mmmh, strange?!?


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

might be the underlaying alsadevice is muted. click through the elementary OS sound devices / volume changing and verify that you get Audio within your OS first from that audio output device.


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

i listen to music since saturday on this computer, 'cause i can't watch a movie Wink
so, every audio output device works except in isengard...


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

Nice and not funny. I see no reason it should not work, make sure your default output device is set to the analog device and then try to change to the "default" device in kodi.