Linux AudioEngine testers - Linux only

  Thread Rating:
  • 4 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
joethefox Offline
Team-XBMC Member
Posts: 958
Joined: Nov 2010
Reputation: 15
Post: #51
(2012-04-18 15:58)gnif Wrote:  @joethefox: can you please provide a stack-trace, your crash log doesn't have one, be sure you have debug enabled
here is the log running from within gdb
Code:
(gdb)
xbmc.bin: Utils/AEChannelInfo.cpp:191: void CAEChannelInfo::operator+=(AEChannel): Assertion `(rhs > AE_CH_NULL && rhs < AE_CH_MAX)' failed.

Program received signal SIGABRT, Aborted.

and the output of the command "thread apply all bt" http://pastebin.com/YBdBBzkU
find quote
gnif Offline
Team-XBMC Developer
Posts: 442
Joined: Feb 2008
Reputation: 34
Location: Australia, Katoomba
Post: #52
@joethefox - please compile with debug and optimizations disabled, the trace doesn't contain enough info. Also I only need a back-trace of the current thread in this instance.

I am not scared of SVN - Cutting my hands open on the bleeding edge.
find quote
nirmv Offline
Junior Member
Posts: 19
Joined: Nov 2010
Reputation: 0
Post: #53
(2012-04-18 12:04)erhnam Wrote:  
(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!

Just noticed it. Really awesome indeed!
My own problem is that this feature broke my other Eden xbmc version that I run in parallel for pvr (because probably the same configuration is used by both), but I will manage.
Great feature, I was waiting for it for long time. I think hdmi audio configuration was something that never worked for me out of the box before.
(This post was last modified: 2012-04-18 23:51 by nirmv.)
find quote
joethefox Offline
Team-XBMC Member
Posts: 958
Joined: Nov 2010
Reputation: 15
Post: #54
@gnif, configure line
Code:
./configure --disable-vaapi --disable-crystalhd --with-cpu=x86_64 --enable-airplay --disable-pulse --enable-debug --disable-optimizations

but even with this options I haven't still back trace in the crashlog http://pastebin.com/Frh7RHn1
gdb backtrace http://pastebin.com/uFwN8j00

If can help in investigation, if left untouched this audio device previously selected from eden stable configuration (default alsa)
Code:
# cat /etc/asoundrc.conf
pcm.!default {
type hw
card Audigy2
}

ctl.!default {
type hw
card Audigy2
}

the audio is distorted and slowed down when playing both music and videos.
(This post was last modified: 2012-04-19 00:20 by joethefox.)
find quote
gnif Offline
Team-XBMC Developer
Posts: 442
Joined: Feb 2008
Reputation: 34
Location: Australia, Katoomba
Post: #55
@joethefox - I just pushed in a fix that should correct the behaviour, your p16v device has 16 channels available to it and AE was only designed to handle 8, since up till now we have never seen anything capable of more. ALSA have not defined the mapping of these extra 8 channels so we unfortunately cant use them, but you should no longer get a crash due to this.

Also, you dont need any asoundrc.conf for ALSA with AE, it handles everything now.

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: #56
that a great news, you rock! This evening I will try the fix.

I had always thought that the Audigy 2 ZS platinum pro was a future proof card Big Grin
Sounds strange to me too that my device has 16 channels, reading the device specifications, http://www.xbitlabs.com/articles/multime...-zs_2.html , it should support up to eight channels.
Can be something related to the Sigmatel 4-Speaker Stereo chip?

Also, just for curious and if it's related, from some time with xbmc mainline I had to manage the "list of thirty" device with my environment http://forum.xbmc.org/showthread.php?tid=122797

regards
find quote
joethefox Offline
Team-XBMC Member
Posts: 958
Joined: Nov 2010
Reputation: 15
Post: #57
bad news Sad Still no working AE here.
From last eden mainline configuration, at first start AE still output distorted high level noise.
While changing the audio device from system>system>audio output>audio output device seems that xbmc enter into an infinite loop, xbmc.log http://pastebin.com/wC1u5ctt

I've cutted the last lines because the last two are always the same and I've killed xbmc when xbmc.log size was growing up to 10MB. Same kind of error when trying to start a playback.
find quote
OkvOkv Offline
Junior Member
Posts: 13
Joined: Jan 2012
Reputation: 0
Post: #58
(2012-04-18 06:19)wingrunr21 Wrote:  Do the TrueHD/DTSMA tracks work in mplayer or equivalent?

When selecting the proper codec in mplayer, it works similar to xbmc.
No success in getting true hd sound from any player on this linux install;
Ubuntu 12.04 and Alsa 1.0.25.

What works, on hdmi:
PCM 2-ch, PCM 5.1, DD 5.1, DTS 5.1, DTS-HR 5.1 (96/24).

Does not work:
Dolby True HD 7.1, DTS-MA 7.1.
Receiver detects PCM 192K 7.1 signal, but is not able do decode.
Sound is noise only.

Video seems to work fine, as far as I can see.

My latest build is from yesterday, with the apr 19 commit.
Build after apr 18. now detects audio device correctly, as DENON on hdmi.
find quote
wingrunr21 Offline
Member
Posts: 61
Joined: Jan 2012
Reputation: 1
Post: #59
Alright, then this is either an FFMPEG issue (unlikely) or an ALSA issue. My guess is your ALSA driver module needs some configuration parameters set on modprobe to properly output the HD audio.

HTPC: Gentoo linux amd64 w/ xbmc merged with AE
find quote
joethefox Offline
Team-XBMC Member
Posts: 958
Joined: Nov 2010
Reputation: 15
Post: #60
about p16v device, could be useful this code? http://www.cs.fsu.edu/~baker/devices/lxr...0k1/p16v.c
find quote
Post Reply