Linux AudioEngine testers - Linux only

  Thread Rating:
  • 4 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
punglist Offline
Junior Member
Posts: 4
Joined: Apr 2012
Reputation: 0
Post: #61
Hi,
AE is not working fine anymore with my setup. On the new builds PCM (mp3/flac/wav files) is not working but non HD passthrough is fine (DTS).
Music used to work few days ago.
My setup:
- mac mini 4,1 Nvidia 320M core 2duo
- alsa-info output
- OS info:
Code:
Linux xbmc-Macmini 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 17:34:21 UTC 2012 i686 i686 i386 GNU/Linux
root@xbmc-Macmini:~/.xbmc/temp# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10 - XBMCbuntu"
- xbmc.log

Cheers and tanks for this amazing work!
More info: last version ok was compiled after "commit ed4ddd46e9"
(This post was last modified: 2012-04-21 19:43 by punglist.)
find quote
negge Offline
Fan
Posts: 461
Joined: Dec 2010
Reputation: 7
Location: Finland
Post: #62
This is my report from using gnif's AudioEngine branch.

Hardware:
GFX: Nvidia GT520
Reciever: Yamaha HTR-4063 (sound comes over HDMI)
Speaker configuration (in XBMC): 5.0

Software:
OS/Kernel: Debian 6.0 32-bit (2.6.32-5-686-bigmem)
GFX driver: Nvidia 295.40
ALSA: 1.0.25
Configure command:

Quote:./configure --with-cpu=athlon64 --disable-dvdcss --enable-debug --disable-joystick --disable-pulse --enable-rtmp --disable-samba --disable-nfs --disable-airplay --disable-airtunes --disable-hal --disable-avahi --disable-optical-drive --enable-libbluray --disable-libcec

Tests performed:
Dolby Digital 5.1 (384-640 kbps): OK
DTS 5.1 (768/1536 kbps): OK
MP3 (320 kbps): OK
FLAC 2.0 (44.1Khz): OK
FLAC 2.0 (88Khz): OK
FLAC 4.0 (96Khz): OK
Dolby TrueHD 7.1: OK (see observartions below)
DTS-HD MA 5.1: OK (see observartions below)
FLAC 5.1 (96/24): NOT OK (XBMC crashes). Full log from a typical crash: http://pastebin.com/YztiCtDU

Other observations:
The infamous 24p audio lag issue seems to be gone (only tested with DD5.1 audio so far)! As far as I can tell the sync is absolutely perfect.

During my testing I once noticed that the audio output device names had changed in XBMC. The correct ones should read something like "NVIDIA HDA - MEI on Panasonic TV", although one time it had switched to something ALSA-ish like "CARD=0DEV=1" or something like that. Dolby TrueHD and DTS-HD MA would only play correctly when the former name was available.
(This post was last modified: 2012-04-22 22:01 by negge.)
find quote
punglist Offline
Junior Member
Posts: 4
Joined: Apr 2012
Reputation: 0
Post: #63
Hello,
Last build is working better (music ok now) but

- sound is stuttering. I have this message appearing during each pause:

Code:
21:12:59 T:3074055024   DEBUG: CSoftAEStream::GetFrame - Underrun

- if xbmc crash or I relaunch it i have to reboot to get audio again. The HDMI device is not discovered after a second launch:

* first launch (sound ok, device discovered):

Code:
00:51:55 T:3077760784    INFO: Enumerated ALSA devices:
00:51:55 T:3077760784    INFO:     Device 1
00:51:55 T:3077760784    INFO:         m_deviceName      : hw:CARD=NVidia,DEV=0
00:51:55 T:3077760784    INFO:         m_displayName     : HDA NVidia
00:51:55 T:3077760784    INFO:         m_displayNameExtra: Cirrus Analog
00:51:55 T:3077760784    INFO:         m_deviceType      : AE_DEVTYPE_PCM
00:51:55 T:3077760784    INFO:         m_channels        : FL,FR,BL,BR
00:51:55 T:3077760784    INFO:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
00:51:55 T:3077760784    INFO:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE
00:51:55 T:3077760784    INFO:     Device 2
00:51:55 T:3077760784    INFO:         m_deviceName      : iec958:CARD=NVidia,DEV=0
00:51:55 T:3077760784    INFO:         m_displayName     : HDA NVidia
00:51:55 T:3077760784    INFO:         m_displayNameExtra: Cirrus Digital
00:51:55 T:3077760784    INFO:         m_deviceType      : AE_DEVTYPE_IEC958
00:51:55 T:3077760784    INFO:         m_channels        : FL,FR
00:51:55 T:3077760784    INFO:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
00:51:55 T:3077760784    INFO:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE
00:51:55 T:3077760784    INFO:     Device 3
00:51:55 T:3077760784    INFO:         m_deviceName      : hdmi:CARD=NVidia,DEV=2
00:51:55 T:3077760784    INFO:         m_displayName     : HDA NVidia
00:51:55 T:3077760784    INFO:         m_displayNameExtra: PIO SC-LX85 on HDMI
00:51:55 T:3077760784    INFO:         m_deviceType      : AE_DEVTYPE_HDMI
00:51:55 T:3077760784    INFO:         m_channels        : FL,FR,LFE,FC,BL,BR,SL,SR
00:51:55 T:3077760784    INFO:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
00:51:55 T:3077760784    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
00:51:55 T:3077760784  NOTICE: load settings...

* second launch:

Code:
21:17:19 T:3048601360    INFO: Enumerated ALSA devices:
21:17:19 T:3048601360    INFO:     Device 1
21:17:19 T:3048601360    INFO:         m_deviceName      : hw:CARD=NVidia,DEV=0
21:17:19 T:3048601360    INFO:         m_displayName     : HDA NVidia
21:17:19 T:3048601360    INFO:         m_displayNameExtra: Cirrus Analog
21:17:19 T:3048601360    INFO:         m_deviceType      : AE_DEVTYPE_PCM
21:17:19 T:3048601360    INFO:         m_channels        : FL,FR,BL,BR
21:17:19 T:3048601360    INFO:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
21:17:19 T:3048601360    INFO:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE
21:17:19 T:3048601360    INFO:     Device 2
21:17:19 T:3048601360    INFO:         m_deviceName      : iec958:CARD=NVidia,DEV=0
21:17:19 T:3048601360    INFO:         m_displayName     : HDA NVidia
21:17:19 T:3048601360    INFO:         m_displayNameExtra: Cirrus Digital
21:17:19 T:3048601360    INFO:         m_deviceType      : AE_DEVTYPE_IEC958
21:17:19 T:3048601360    INFO:         m_channels        : FL,FR
21:17:19 T:3048601360    INFO:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
21:17:19 T:3048601360    INFO:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE
21:17:19 T:3048601360  NOTICE: load settings...
(This post was last modified: 2012-04-22 15:31 by punglist.)
find quote
gnif Offline
Team-XBMC Developer
Posts: 442
Joined: Feb 2008
Reputation: 34
Location: Australia, Katoomba
Post: #64
Please don't decide what parts of logs are important and cut them out, almost every clip from logs pasted in here has been utterly useless as they are missing additional information I require to track these problems down. Debug information is included for a reason, we don't put it in there just to waste space.

Post a FULL log via a service such as pastebin if you want help.

Regarding broken playback of various formats, please pull my latest changes as of now, there has been a stack of fixes go in that should correct the problems. Also a long outstanding buffer delay calculation bug has been fixed which should correct most of the audio discontinuity errors people have been experiencing.

@negge - Please notice that those entries about AE_FMT_FLOAT are "INFO" lines, they are not an error or warning, the behaviour is correct. AE internally operates in AE_FMT_FLOAT and tries to open your output device in AE_FMT_FLOAT first. The enumerated format list on start-up is not used yet.

I am not scared of SVN - Cutting my hands open on the bleeding edge.
(This post was last modified: 2012-04-22 18:16 by gnif.)
find quote
negge Offline
Fan
Posts: 461
Joined: Dec 2010
Reputation: 7
Location: Finland
Post: #65
@gnif: I'll pull the latest changes and try all formats again, this time trying to provide a full log. I recently pulled commit c3780f61d0b133204e125fbbee2a3c1402fc1a3e and it made XBMC crash on 5.1 FLAC at 96kHz/24-bit while before it worked but dropped out intermittently. I'll do more testing later.

Should I update my previous post or keep posting new replies?
find quote
negge Offline
Fan
Posts: 461
Joined: Dec 2010
Reputation: 7
Location: Finland
Post: #66
I have updated my post (http://forum.xbmc.org/showthread.php?tid...pid1083536). Everything I have tried so far (which is everything except DTS-HD HR) has worked except 6-channel FLAC.

@gnif: Is there anything else I can do to debug the multichannel FLAC issue? I have plenty of material to test with if necessary.

@punglist: I had that same problem (HDMI device disappearing after restarting XBMC). It shows up again if you wait for a while before starting XBMC.

Also if someone has a sample of DTS-HD HR audio, please send me a PM.
(This post was last modified: 2012-04-22 22:09 by negge.)
find quote
ScotchTape Offline
Junior Member
Posts: 22
Joined: Jun 2011
Reputation: 0
Location: northrhine-wesphalia
Post: #67
Hi,

I've tried my AE-build form GIT yesterday. Tested only Movies with DTS-MA, DTS, DTS-HR, Dolby TrueHD, AC3 with different bitrates. All where fine, but in all of them, except AC3, I had a few Dropouts, where my AV-Receiver lost sync. The movie played on fine. I rewound to the same spot - 1 minute and at the same position it didn't failed. It doesn't matter if the movies where stored on my NAS or local. I'll check again this evening after reverting nvidia to 290.10. or it's related, that I switch refresh rates and sync to audio-clock?

When it'll still happen I'll paste a log and update this post.

sidenotes:
Sync is perfect, regardless of 24p/25/50 or 60Hz when AE locked on the stream. After that sync-errors on codecinfo drops within 10 seconds to 0%. Also the refreshrate doesn't circle around 23.976Hz anymore, locked to 24.98Hz rock solid. Smile


My Hardware:
E6750, 6GB Ram, P35 Chipset, Nvidia GT430, Onkyo TX-SR607 (DTS-HD/TrueHD-capable)
Software:
Ubuntu Natty (yaVDR 0.4) 64bit, Stock Alsa, nvidia 295, Pass-Trough.

Many thanks for the effort for making this great audio engine Smile

HTPC: Antec Fusion MAX | Gigabyte P35-DS3P | Intel Core 2Duo 6750 | Intel 40GB SSD, WDEAS 1TB HD | 6GB DDR2 RAM | Palit GT430 | RC6 IR-Receiver | LiteOn iHOS104 BD-Rom | Imon display
Home AV: Panasonic TX-P42ST33 Plasma | Denon AVR-2312 | Teufel 5.1 THX- Speakers | Harmony One Remote & NYXBoard| Logitech DiNovo mini

[Image: widget]
(This post was last modified: 2012-04-24 15:58 by ScotchTape.)
find quote
gfdsa Offline
Junior Member
Posts: 7
Joined: Apr 2012
Reputation: 0
Post: #68
Hi,

cloned and compiled this morning. Device enumeration doesn't work for me. The hardware is a sony vaio notebook with Nvidia dedicated card. Eden and previous versions work fine as well as playing things pass-through with mplayer or just aplay.

Here are the details:

Code:
xbmc@vaio:~/xbmc-gnif$ head config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by xbmc configure 11.9.1, which was
generated by GNU Autoconf 2.68.  Invocation command line was

  $ ./configure --prefix=/opt/gnif --disable-pulse

Code:
xbmc@vaio:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"

Code:
xbmc@vaio:~$ uname -a
Linux vaio 3.2.0-23-generic-pae #36-Ubuntu SMP Tue Apr 10 22:19:09 UTC 2012 i686 i686 i386 GNU/Linux

Code:
xbmc@vaio:~$ dpkg-query -W '*alsa*'
alsa    
alsa-base    1.0.25+dfsg-0ubuntu1
alsa-oss    
alsa-utils    1.0.25-1ubuntu5
bluez-alsa

Code:
$ grep GeForce /var/log/Xorg.0.log
[   242.373] (II) NVIDIA(0): NVIDIA GPU GeForce 8400M GT (G86M) at PCI:1:0:0 (GPU-0)
[   242.373] (--) NVIDIA(0): Connected display device(s) on GeForce 8400M GT at PCI:1:0:0

Code:
xbmc@vaio:~$ aplay -L
default
    Playback/recording through the PulseAudio sound server
sysdefault:CARD=Intel
    HDA Intel, STAC92xx Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, STAC92xx Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, STAC92xx Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, STAC92xx Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, STAC92xx Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, STAC92xx Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, STAC92xx Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=Intel,DEV=0
    HDA Intel, STAC92xx Digital
    HDMI Audio Output
dmix:CARD=Intel,DEV=0
    HDA Intel, STAC92xx Analog
    Direct sample mixing device
dmix:CARD=Intel,DEV=3
    HDA Intel, STAC92xx Digital
    Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
    HDA Intel, STAC92xx Analog
    Direct sample snooping device
dsnoop:CARD=Intel,DEV=3
    HDA Intel, STAC92xx Digital
    Direct sample snooping device
hw:CARD=Intel,DEV=0
    HDA Intel, STAC92xx Analog
    Direct hardware device without any conversions
hw:CARD=Intel,DEV=3
    HDA Intel, STAC92xx Digital
    Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
    HDA Intel, STAC92xx Analog
    Hardware device with all software conversions
plughw:CARD=Intel,DEV=3
    HDA Intel, STAC92xx Digital
    Hardware device with all software conversions

xbmc@vaio:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: STAC92xx Digital [STAC92xx Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

xbmc log: here


Visually, when I go to the audio settings I only see the front:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog as main audio device and "no device found" as pass-through.

Is there anything more I can do to help with it? I hear the merge with the master is close, don't want to be left behind all alone Sad
(This post was last modified: 2012-04-24 21:24 by gfdsa.)
find quote
gnif Offline
Team-XBMC Developer
Posts: 442
Joined: Feb 2008
Reputation: 34
Location: Australia, Katoomba
Post: #69
@gfdsa - Please paste the output of "aplay -l" (lower-case l)

I am not scared of SVN - Cutting my hands open on the bleeding edge.
find quote
gfdsa Offline
Junior Member
Posts: 7
Joined: Apr 2012
Reputation: 0
Post: #70
@gnif
It's there in my post, last code block, below the -L output. Thanks
find quote
Post Reply