XBMC PulseAudio passthrough support (including Nvidia) is available

  Thread Rating:
  • 3 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
cbxbiker61 Offline
Senior Member
Posts: 148
Joined: Nov 2010
Reputation: 1
Post: #31
shadow Wrote:I was in /usr/local

Although I noticed that I I am only at 20 not 21. (stock ubuntu PA was 16)
Am I still having problems or did you miss type?

Recompiling xbmc now.

They must've lowered their protocol version in version.h. I see it at 20 in git now. Anyway I've lowered the required version. "git pull" on your xbmc source and you should be good to go after a recompile.
find quote
shadow Offline
Senior Member
Posts: 131
Joined: Jan 2011
Reputation: 0
Post: #32
I think I figured it out, you forgot to mention to change to the passthrough branch of the Pulse audio git. I am trying to compile that now.
find quote
cbxbiker61 Offline
Senior Member
Posts: 148
Joined: Nov 2010
Reputation: 1
Post: #33
shadow Wrote:I think I figured it out, you forgot to mention to change to the passthrough branch of the Pulse audio git. I am trying to compile that now.

Good catch! I use scripts to build my code....so I forgot that one minor detail.
find quote
shadow Offline
Senior Member
Posts: 131
Joined: Jan 2011
Reputation: 0
Post: #34
I have it giving me the Pulse options in xbmc but I am having another problem that stops the sound from working but is not likely your problem.

For some reason this version of PA is ignoring my custom "load-module module-alsa-sink device=hdmi:1,3" line in /etc/pulse/default.pa so I can't get audio going to the right pin.

Not even stereo sound from other audio that worked before.
find quote
cbxbiker61 Offline
Senior Member
Posts: 148
Joined: Nov 2010
Reputation: 1
Post: #35
shadow Wrote:I have it giving me the Pulse options in xbmc but I am having another problem that stops the sound from working but is not likely your problem.

For some reason this version of PA is ignoring my custom "load-module module-alsa-sink device=hdmi:1,3" line in /etc/pulse/default.pa so I can't get audio going to the right pin.

Not even stereo sound from other audio that worked before.

You probably want to use something along these lines to mask the available audio devices:

options snd-hda-intel probe_mask=-1,0xa in a file such as /etc/modprobe.d/snd_hda_intel.conf

You might want to google that to get the correct options for your config. That works with my internal audio and nvidia gtx460.
find quote
shadow Offline
Senior Member
Posts: 131
Joined: Jan 2011
Reputation: 0
Post: #36
It works! I could not find a probe_mask that works but I found out how to get that sink working in pulseaudio without the config file. I killed pulseaudio then loaded it with "pulseaudio --load="module-alsa-sink device=hdmi:1,3""

My receiver has reported "7.1ch DTS-HD MSTR" among others like one movie I clicked on reported "6.1ch DTS-HD HI RES"


I just have to figure out why PA doesn't use the config file or a way to have that command used at normal load instead of manually restarting PA.
find quote
cbxbiker61 Offline
Senior Member
Posts: 148
Joined: Nov 2010
Reputation: 1
Post: #37
AudioFilter git has been updated with a fix for a problem that could cause Xbmc to segfault. It also handles dts-hd better.
find quote
cbxbiker61 Offline
Senior Member
Posts: 148
Joined: Nov 2010
Reputation: 1
Post: #38
Philmatic Wrote:Those drop-outs are happening on Boxee's bitstreaming code too.. they haven't been fixed yet and they're proving to be quite hard to troubleshoot.

My latest update to AudioFilter seems to have eliminated it here.
find quote
cbxbiker61 Offline
Senior Member
Posts: 148
Joined: Nov 2010
Reputation: 1
Post: #39
Updated xbmc git with work-around to prevent drop-outs playing music. The drop-out problem doesn't happen with the same code on Dharma. I'd say it probably has to do with sleep time calculations.
find quote
shadow Offline
Senior Member
Posts: 131
Joined: Jan 2011
Reputation: 0
Post: #40
Is it possible until you have time to add TrueHD support to at least send the ac3 core? Whenever I try to watch a TrueHD movie my receiver only receives 2 channel pcm.
find quote
Post Reply