• 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 54
Linux AudioEngine testers - Linux only
#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"
Reply
#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.
Reply
#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...
Reply
#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.
Reply
#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?
Reply
#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.
Reply
#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
Home AV[/b]: Panasonic TX-P42ST33 Plasma | Onkyo TX-NR636 | Teufel 5.1 THX- Speakers | ATV2 | Wetek Core| DN2820FYK LibreElec | Harmony One Remote

Image
Reply
#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
Reply
#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.
Reply
#70
@gnif
It's there in my post, last code block, below the -L output. Thanks
Reply
#71

Hi,

HD audio pass-through is not working for me at least, DTS-MA gives no sound and TrueHD is just noise.

Had a similar issue when testing cbxbiker61's HD audio pass-through branch, he had to add a "maxbandwidth" limiter otherwise things didn't work.

Intel HD3000 (Core i3 540).
Reply
#72
@Forsaken - can you provide details of this bandwidth limiter?
I am not scared of SVN - Cutting my hands open on the bleeding edge.
Reply
#73
(2012-04-27, 19:43)gnif Wrote: @Forsaken - can you provide details of this bandwidth limiter?

It's here: http://forum.xbmc.org/showthread.php?tid...#pid954404

It's the latest commit in his git.
Reply
#74
Hey everybody,

I wanted to try the AudioEngine branch for quite some time now and today I finally had some spare time to try out a shitload of testfiles. ;-) So far I'm very impressed with what you guys have archieved here, mad props to gnif and DDDamian for keeping up this complex work making XBMC even better!

My Setup:
Nvidia GT430 Card, Ubuntu 11.10 x86, Nvidia 180 Drivers, Denon 4310

Successfully tested (at least 2 different files for each format):
--
Dolby True HD 5.1
Dolby True HD 7.1
DTS-HD HR 7.1
DTS-HD MA 5.1
DTS-HD MA 7.1
FLAC Stereo 96kHz
FLAC Stereo 192kHz
FLAC 5.1 96kHz

All played flawlessly, no stuttering, no drops and no sync/signal loss.


I had problems playing
--
Dolby Digital Plus (DD+) 7.1 (tried two files, both stutter/video plays *very* slow and no audio output at all). I'm not even sure if that format is used anywhere, but I had two files to test. Debug log playing both DD+ 7.1 files can be found here: http://paste2.org/p/1997876

DTS-HD MA 5.1 Terminator Demo (stuttering/slow playing, distorted video; stuttering audio that stop later on). Full debug log can be found here: http://paste2.org/p/1997892 and the Demo/Sample can be downloaded from http://www.trailerz.demo-world.eu/hd/hd_....part1.rar and http://www.trailerz.demo-world.eu/hd/hd_....part2.rar

All the files I tested were downloaded from http://www.demo-world.eu/trailers/high-d...ailers.php excluding the FLAC files, I found those on another site hosting a few High-Res SACD conversions: http://www.2l.no/hires/index.html

Apart from the sample/demo files I tried Tron: Legacy and the LOTR Trilogy for a nice DTS-HD MA experience - both kick some serious a$$ soundwise! ;-)

Hope this feedback helps in a way and thanks again for bringing XBMC's audio output to the HD age.
Reply
#75
I updated to the latest revision from gnif's branch but I'm still having problems with FLAC audio (decoded to LPCM). The following is a list of what works and what doesn't:

FLAC 2.0 16-bit/44.1KHz: OK
FLAC 2.0 24-bit/88.2Khz: OK
FLAC 5.1 24-bit/48Khz: OK
FLAC 5.1 24-bit/96KHz: Crashes (either immediately or after about 0.5 seconds of audio)

I did some experimenting and it seems like 24-bit/96KHz files play just fine if I set the speaker configuration to 2.0 (in XBMC). Raising it from that point crashes XBMC immediately. Here is a full debug log: http://pastebin.com/PG04AuKT and here's the crash log http://pastebin.com/skgfSU8N. Note that the same underruns happen every now and then when playing 24-bit/48KHz files as well, although at least they don't crash the whole thing.

Is there some buffer setting I can change somewhere? Is there anything else I can provide to help debug this issue?

Edit: added crash log
Edit 2: Note that I'm using DVDPlayer to play FLACs (had to do it before to get 5.1 output properly) but the crash also happens when using PAPlayer.
Edit 3: The 5.1 FLAC issue has been fixed! I suspect this is the commit that did the trick: https://github.com/gnif/xbmc/commit/5898...de70faa7b4
Reply
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 54

Logout Mark Read Team Forum Stats Members Help
AudioEngine testers - Linux only4