(2012-04-16 01:01)Drae Wrote: The NVidia driver you're using 295.xx is a pita - try dropping to 290 or 280/285. I don't know if this is something Gnif et al can fix - that driver has caused various issues for peeps as far as I know, not just audio wise.

I've serious trouble with a soundblaster audigy2 zs analog output: when xbmc starts, audio level is EXTREMELY HIGH (damn!!!!) and with a very very distorted sound near to damage my studio monitors (arrrgghhhh!!!!).

May as well post this now, the information I have collected may be useful.
Trying to get True-HD and DTS-MA working, as that is the main reason for building this htpc.
Progress was reasonably good until trying to fix the final issue - HD sound.

I have done numerous builds and configurations with ubuntu 11.10, and now 12.04, and XBMC from 11.0 RC1 -> RC2 -> release, pulseaudio-patch, audioengine.
Several attempts to install drivers and alsa versions.
This configuration is the closest I have come to a working system:

Disable or enable VAAPI or VDPAU makes no difference.
Enable Sync playback to display causes some files to fail.
Menu sound also works now, never did before.
Now both menu and playback sound works simultaneously.

Sound does not work from other applications, when xbmc is running.
If Firefox is strted from xbmc, then there is no sound when playing videos or flash.
If xbmc is shut down, sound works again in other apps, such as Firefox.

Hi,
I'm using the last gnif's build and I downgraded to Nvidia driver 290.10 and it's working like a charm! No need of any custom device, alsa device enumeration is working very well (huge improvement!)
True HD and DTS MA/HD are not working: channels are detected by the amplifier but I hear the raw signal (displayed as PCM on the amplifier). It might be a limitation on my chipset (Nvidia 320M).
BTW I am using a Macmini 4,1 (2010 model) intel core2 + nvidia 320M.

Couple of comments on this thread ... I'm seeing a lot of general Linux sound issues, and not really AE issues. Can you guys first make sure that your configuration is sane on Eden before trying AE? FYI, once I got my audio configured correctly, I haven't had too much in the way of immediate, audio related problems ... Most of the issues are either merge based (my build from last Saturday has library management problems for instance), or issues that arise after a few hours of use switching between codecs.

Another thing is to make sure that you're building it correctly. We should make sure the OP is correct in terms of flags; I've always built with '--disable-pulse', as recommended in the core thread at one point. Everything has worked, but is that the correct method going forward?

(2012-04-17 16:10)OkvOkv Wrote: Disable or enable VAAPI or VDPAU makes no difference.
Enable Sync playback to display causes some files to fail.
Menu sound also works now, never did before.
Now both menu and playback sound works simultaneously.

Do the TrueHD/DTSMA tracks work in mplayer or equivalent?

(2012-04-17 19:49)oo_void Wrote: Couple of comments on this thread ... I'm seeing a lot of general Linux sound issues, and not really AE issues. Can you guys first make sure that your configuration is sane on Eden before trying AE? FYI, once I got my audio configured correctly, I haven't had too much in the way of immediate, audio related problems ... Most of the issues are either merge based (my build from last Saturday has library management problems for instance), or issues that arise after a few hours of use switching between codecs.

Another thing is to make sure that you're building it correctly. We should make sure the OP is correct in terms of flags; I've always built with '--disable-pulse', as recommended in the core thread at one point. Everything has worked, but is that the correct method going forward?

There have been several people that stated their audio environment worked in Eden and did not in AE. I actually would argue that people need to make sure they have a sane ALSA environment by testing via the ALSA tools as well as via an ffmpeg based player like mplayer before proclaiming that it is AE that does not function properly.

Also, I run a source-based distro. I am pretty sure my compile instructions are right.

Edit:
I updated the first post to reflect the nVidia drivers situation. I also added the information about pulse being disabled by default. If those of you who are having issues with the 295.x drivers could keep this thread updated if you get them to work I'd appreciate it. It will be difficult for me to know when they are "working" since those drivers are currently working properly for me.

A heap of changes went in last night to the effect of audio configuration under Linux, DDDamian is working hard to make Windows work just as well and Fneufneu should have OSS updated also so BSD works again.

AE is now able to detect the correct HDMI output device if you have ALSA 1.0.25 or later, or a 3.3 kernel. Custom output device has been removed as AE can accurately determine what devices you now have and their capability, here is the log output from my HTPC for example:

@wingrunr21 - DTSHD and TrueHD have been working in mplayer with AE for quite some time now, but the code there is a little unstable and breaks from system to system, we are still trying to sort this out.

I'm not still able to test AE with my environment (always working until recently) and xbmc crash while I'm trying to choose audio device output from system>system>audio output>audio output device. Crash log http://pastebin.com/5NtqVe1w