Linux AudioEngine testers - Linux only

  Thread Rating:
  • 4 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
pike Offline
Project Manager
Posts: 4,822
Joined: Sep 2003
Reputation: 28
Location: Sweden
Post: #41
I even posted about the fact that Pulse is now disabled by default...

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
(This post was last modified: 2012-04-18 00:00 by pike.)
find quote
Drae Offline
Member
Posts: 67
Joined: Sep 2009
Reputation: 2
Location: London, UK
Post: #42
(2012-04-17 23:59)pike Wrote:  I even posted about the fact that Pulse is now disabled by default...
But that would mean we have to actually have read the topic from the start ... and that takes time! 

* I did actually read the topic from the beginning soon after it was posted but completely forgot about your post, sorry! I only remembered the commit
find quote
wingrunr21 Offline
Member
Posts: 61
Joined: Jan 2012
Reputation: 1
Wink  RE: AudioEngine testers - Linux only Post: #43
(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.

The official XBMC linux compile docs do it the way I posted: http://wiki.xbmc.org/index.php?title=HOW...nd_install

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

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.

HTPC: Gentoo linux amd64 w/ xbmc merged with AE
(This post was last modified: 2012-04-18 06:22 by wingrunr21.)
find quote
gnif Offline
Team-XBMC Developer
Posts: 442
Joined: Feb 2008
Reputation: 34
Location: Australia, Katoomba
Post: #44
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:

Code:
15:26:58 T:3078527344   DEBUG: CAESinkALSA::EnumerateDevicesEx - Skipping HDMI device hdmi:CARD=NVidia,DEV=0 as it has no ELD data
15:26:58 T:3078527344   DEBUG: CAESinkALSA::EnumerateDevicesEx - Skipping HDMI device hdmi:CARD=NVidia,DEV=2 as it has no ELD data
15:26:58 T:3078527344   DEBUG: CAESinkALSA::EnumerateDevicesEx - Skipping HDMI device hdmi:CARD=NVidia,DEV=3 as it has no ELD data
15:26:58 T:3078527344    INFO: Enumerated ALSA devices:
15:26:58 T:3078527344    INFO:     Device 1
15:26:58 T:3078527344    INFO:         m_deviceName      : hdmi:CARD=NVidia,DEV=1
15:26:58 T:3078527344    INFO:         m_displayName     : HDA NVidia
15:26:58 T:3078527344    INFO:         m_displayNameExtra: ONK TX-SR508 on HDMI
15:26:58 T:3078527344    INFO:         m_deviceType      : AE_DEVTYPE_HDMI
15:26:58 T:3078527344    INFO:         m_channels        : FL,FR,LFE,FC,BL,BR,SL,SR
15:26:58 T:3078527344    INFO:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
15:26:58 T:3078527344    INFO:         m_dataFormats     : AE_FMT_LPCM,AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3,AE_FMT_DTSHD,AE_FMT_TRUEHD,AE_FMT_​S32NE,AE_FMT_S16NE

@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 am not scared of SVN - Cutting my hands open on the bleeding edge.
find quote
joethefox Offline
Team-XBMC Member
Posts: 958
Joined: Nov 2010
Reputation: 15
Post: #45
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

Code:
$ uname -a
Linux joehtpc 2.6.35-02063513-generic #201105160905 SMP Mon May 16 09:10:26 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Code:
$ dpkg-query -W| grep alsa
alsa-base    1.0.25+dfsg-0ubuntu1
alsa-utils    1.0.25-1ubuntu5
libsdl1.2debian-alsa    1.2.14-6.1ubuntu4

configure
Code:
./configure --disable-vaapi --disable-crystalhd --with-cpu=x86_64 --enable-airplay --disable-pulse

Please someone can point me to the right direction where to investigateConfused?
find quote
erhnam Offline
Team-XBMC Live Developer
Posts: 656
Joined: May 2009
Reputation: 2
Location: The Netherlands
Post: #46
(2012-04-18 07:48)gnif Wrote:  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:

This is really awesome. Thanks for your hard work!
find quote
wingrunr21 Offline
Member
Posts: 61
Joined: Jan 2012
Reputation: 1
Post: #47
(2012-04-18 07:48)gnif Wrote:  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.

Nice. And yes I realize that about mplayer, I want people to make sure ALSA works properly in mplayer before declaring AE is at fault. Those HDMI updates should help matters.

@joethefox: try building gnif's latest commits and see if that helps

@everyone: gnif's changes are working well on my system. Make sure you go in and update your audio settings when you relaunch XBMC (they will still say "custom").

HTPC: Gentoo linux amd64 w/ xbmc merged with AE
(This post was last modified: 2012-04-18 14:53 by wingrunr21.)
find quote
gnif Offline
Team-XBMC Developer
Posts: 442
Joined: Feb 2008
Reputation: 34
Location: Australia, Katoomba
Post: #48
@wingrunr21: sorry, I read that mplayer as dvdplayer as in, dvdplayer in XBMC Smile

@joethefox: can you please provide a stack-trace, your crash log doesn't have one, be sure you have debug enabled

I am not scared of SVN - Cutting my hands open on the bleeding edge.
find quote
joethefox Offline
Team-XBMC Member
Posts: 958
Joined: Nov 2010
Reputation: 15
Post: #49
thank you guys for your support. I will do a stack-trace as soon as possible (this evening).
find quote
P-I H Offline
Junior Member
Posts: 29
Joined: Feb 2012
Reputation: 0
Post: #50
Compiled today.
My audiocards was detected.
The Nvidia Geforce GT520 was set to HDA Nvidia, HGC *Harman_Avr* on HDMI
both in Audio Output device and Passthrough output device.
According to the log the hdmi card is identified as
Device name is :hdmi:CARD=Nvidia,DEV=3
Code:
11:19:03 T:140127018854272   DEBUG: CAESinkALSA::EnumerateDevicesEx - Skipping HDMI device hdmi:CARD=NVidia,DEV=0 as it has no ELD data
11:19:03 T:140127018854272   DEBUG: CAESinkALSA::EnumerateDevicesEx - Skipping HDMI device hdmi:CARD=NVidia,DEV=1 as it has no ELD data
11:19:03 T:140127018854272   DEBUG: CAESinkALSA::EnumerateDevicesEx - Skipping HDMI device hdmi:CARD=NVidia,DEV=2 as it has no ELD data
11:19:03 T:140127018854272    INFO: Enumerated ALSA devices:
11:19:03 T:140127018854272    INFO:     Device 1
11:19:03 T:140127018854272    INFO:         m_deviceName      : hdmi:CARD=NVidia,DEV=3
11:19:03 T:140127018854272    INFO:         m_displayName     : HDA NVidia
11:19:03 T:140127018854272    INFO:         m_displayNameExtra: HCG *Harman_AVR* on HDMI
11:19:03 T:140127018854272    INFO:         m_deviceType      : AE_DEVTYPE_HDMI
11:19:03 T:140127018854272    INFO:         m_channels        : FL,FR,LFE,FC,BL,BR,SL,SR
11:19:03 T:140127018854272    INFO:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
11:19:03 T:140127018854272    INFO:         m_dataFormats     : AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3,AE_FMT_TRUEHD,AE_FMT_DTSHD,AE_FMT_S16NE


Still some problems when playing.
In the log below I played a video with 2 audio streams PCM 2.0 and Dolby Digital 5.1.
The PCM stream just played a noice in high volume. The Dolby Digital stream played OK.
In other cases the PCM stream is played with distortion.
http://pastebin.com/QPsLtAMG

In the log below I first played a video with DTS HD Master Audio. The reciever showed DTS HD MA, but there was no sound. Then I played a video with DTS HD High Resolution and this one played OK except for I think one dropout.
http://pastebin.com/dEVX0QNU
find quote
Post Reply