XBMC PulseAudio passthrough support (including Nvidia) is available - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: XBMC PulseAudio passthrough support (including Nvidia) is available (/showthread.php?tid=96316) |
Latest git pull for pulseaudio seems broken - mightymouse2045 - 2012-02-24 Hi, I just did a git pull for the pulseaudio and when I run make it appends UNKNOWN.UNKNOWN for the version eg: libpulsecommon_UNKNOWN.UNKNOWN_la-poll.lo and tries to install the modules to /lib/modules/pulse-UNKNOWN.UNKNOWN The previous build etc was fine so not sure if something has changed to break this? Is there any way i can manually set the version to 1.1? EDIT: Output from ./configure -V pulseaudio configure UNKNOWN-dirty generated by GNU Autoconf 2.68 SOLVED: Just edited configure and replaced all instances of UNKNOWN-dirty with 1.1 and that fixed it - forall - 2012-02-24 mightymouse2045 Wrote:Hi, @mightymouse2045 - you are using xbmc under linux and have you dts truehd? - mightymouse2045 - 2012-02-25 forall Wrote:@mightymouse2045 - you are using xbmc under linux and have you dts truehd? Grrr I don't know what's going on - I had DTS HD working but no True HD, but then I upgraded Alsa to 1.0.25 because of a reason I can't remember now, and now I can't get DTS HD, I have Dolby and DTS only and I can't downgrade to Alsa 1.0.24 because it brakes Ubuntu. My movies are in DTS and Dolby only so I can be happy with that I guess It looks like I am in for a fresh install of Ubuntu which I am sort of dreading, I think I will just wait for Precise to be released and do it then. - cbxbiker61 - 2012-02-29 mightymouse2045 Wrote:Hi cbxbiker61, When a program puts the sound device in pass-through mode it blocks all other access to the device. That's the only way that "raw" data can be passed to the device. - cbxbiker61 - 2012-02-29 Sorry that I haven't been paying much attention to this thread lately. I will get back to it though. It seems that some others are answering some questions which is good. I've been working non-stop for weeks now getting my new Xilka distro ported to the CuBox. Since I do native compiles that can take a long time. I'm real close to having my distro for the CuBox online (any day now). The goal is to make the CuBox a top notch Xbmc platform. Solid-run is porting their kernel code into Linux-latest and making fast progress on that. My intent is to merge my Xbmc efforts on CuBox/x86. I've been waiting on my Cubox/Xilka port before continuing work on Xbmc, since Xilka is particularly good from a development standpoint. It allows you to build debug packages easily when they are useful. RE: XBMC PulseAudio passthrough support (including Nvidia) is available - Johnny569 - 2012-03-16 cbxbiker61, you did it!!! Excellent work on the DTS-HD MA!! Big Thank You. I understand Dolby TrueHD is still a work in progress. Waiting with anticipation. I'm on Ubuntu 11.10 64-bit and was able to watch the blu-ray Rise of the Planet of the Apes in DTS-HD MA 5.1 on xbmc with the plugin plugin.makemkvbluray.zip and MakeMKV streaming in the background. I have an NVidia GTX 560Ti and using a probe_mask. It played flawlessly and the whole time DTS-HD MSTR was showing on my receiver. I ran into several make,compile errors along the way, but through googling solved them all. Here's what I did. For the most part, I followed shadow's script from post# 41: 1)PATCH PULSEAUDIO Code: cd ~/Downloads Got the patch, saved as patchfile and put inside pulseaudio folder In patchfile, added a space in front of lines 4,5,13,18 to clear the malformed errors. Typo in patchfile in line 18, it's incomplete, through googling completed with what is most likely: @@ -3700,7 +3700,8 @@ static int mapping_verify(pa_alsa_mapping *m, const pa_channel_map *bonus) { Then patched with: Code: patch -p0 --ignore-whitespace < patchfile 2)INSTALL JSONC LIBRARY Code: wget http://ftp.debian.org/debian/pool/main/j/json-c/json-c_0.9.orig.tar.gz SATISFY PULSEAUDIO AND XBMC DEPENDENCIES, DOWNLOAD FILES Code: sudo apt-get build-dep pulseaudio xbmc 3)INSTALL PULSEAUDIO Code: cd pulseaudio At that point got error: E: [pulseaudio] main.c: Failed to kill daemon: No such process lauched command: ./src/pulseaudio -n -F src/default.pa -p $(pwd)/src/.libs/ Got about a dozen errors, mostly org.freedesktop.DBus.Error, unable to contact D-Bus session. Could not get pulseaudio started, no sound devices in Ubuntu's System Settings → sounds Skipped and continued on 4)INSTALL AUDIOFILTER lots of googling here. I'm on a 64-bit system, but building/compiling in 32-bit. To clear the missing bits/predefs.h error, and for proper 32-bit libc includes on a 64-bit system: Code: sudo apt-get install libc6-dev-i386 To tell g++ to take the 32-bit directory insteady of the 64-bit one and to clear error: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/libstdc++ Code: sudo apt-get install g++-multilib Then continued with: Code: cd /audiofilter/gnu 5) INSTALL XBMC Code: cd xbmc After running this last make command, magically all pulseaudio problems from previously got fixed and the Digital Surround 7.1 HDMI output appeared in Ubuntu's System Settings → Sounds. EDIT: on my Ubuntu 64-bit, launching xbmc from the shortcut doesn't work. But doing sudo xbmc from terminal works perfect each time. RE: XBMC PulseAudio passthrough support (including Nvidia) is available - Johnny569 - 2012-06-09 Confirmed that DTS-HD MSTR is still working on Ubuntu 12.04 with PulseAudio 2.0 The only thing still missing is Dolby TrueHD support. I did a clean install of Ubuntu 12.04 32-bit. I downloaded, compiled and installed audiofilter and xbmc from cbxbiker61's git repository. I did not modify PulseAudio or install the jsonc libraries. Still works the same as on Ubuntu 11.10 by selecting Digital Surround 5.1 PulseAudio Or by disabling PulseAudio with: Code: $ pulseaudio -k RE: XBMC PulseAudio passthrough support (including Nvidia) is available - mightymouse2045 - 2012-06-10 (2012-06-09, 22:36)Johnny569 Wrote: Confirmed that DTS-HD MSTR is still working on Ubuntu 12.04 with PulseAudio 2.0 You know that the main master git repo build supports all formats now, and has supprt for pass through options similar to cxbikers build? Including True HD, DTS MA, DTS HRA etc.... RE: XBMC PulseAudio passthrough support (including Nvidia) is available - Johnny569 - 2012-06-11 Thanks for the great tip. I went and compiled from the main master git repo. Indeed, Dolby Digital+, TrueHD and DTS-HD MSTR are supported. I can even select my receiver by model name as an output device. Impressive. Development has come a long way. RE: XBMC PulseAudio passthrough support (including Nvidia) is available - fritsch - 2014-02-12 Just to add something for new users: Pulseaudio does not have any bitstream audio support. It can only do AC3, DTS, EAC3 by itself. The success stories in this thread is cause of ALSA is used. Since Gotham we have a new PASink, that can do the supported formats itself. More info is in the wiki: http://wiki.xbmc.org/index.php?title=PulseAudio |