[Linux] AudioEngine testers - Linux only - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: [Linux] AudioEngine testers - Linux only (/showthread.php?tid=128298)
RE: AudioEngine testers - Linux only - punglist - 2012-04-21 19:34
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.
- mac mini 4,1 Nvidia 320M core 2duo
- alsa-info output
- OS info:
Cheers and tanks for this amazing work!
More info: last version ok was compiled after "commit ed4ddd46e9"
RE: AudioEngine testers - Linux only - negge - 2012-04-22 14:44
This is my report from using gnif's AudioEngine branch.
GFX: Nvidia GT520
Reciever: Yamaha HTR-4063 (sound comes over HDMI)
Speaker configuration (in XBMC): 5.0
OS/Kernel: Debian 6.0 32-bit (2.6.32-5-686-bigmem)
GFX driver: Nvidia 295.40
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
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
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.
RE: AudioEngine testers - Linux only - punglist - 2012-04-22 15:14
Last build is working better (music ok now) but
- sound is stuttering. I have this message appearing during each pause:
- 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):
* second launch:
RE: AudioEngine testers - Linux only - gnif - 2012-04-22 18:13
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.
RE: AudioEngine testers - Linux only - negge - 2012-04-22 18:45
@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?
RE: AudioEngine testers - Linux only - negge - 2012-04-22 22:06
I have updated my post (http://forum.xbmc.org/showthread.php?tid=128298&pid=1083536#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.
RE: AudioEngine testers - Linux only - ScotchTape - 2012-04-24 15:03
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.
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.
E6750, 6GB Ram, P35 Chipset, Nvidia GT430, Onkyo TX-SR607 (DTS-HD/TrueHD-capable)
Ubuntu Natty (yaVDR 0.4) 64bit, Stock Alsa, nvidia 295, Pass-Trough.
Many thanks for the effort for making this great audio engine
RE: AudioEngine testers - Linux only - gfdsa - 2012-04-24 21:22
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:
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
RE: AudioEngine testers - Linux only - gnif - 2012-04-25 22:01
@gfdsa - Please paste the output of "aplay -l" (lower-case l)
RE: AudioEngine testers - Linux only - gfdsa - 2012-04-25 22:21
It's there in my post, last code block, below the -L output. Thanks
RE: AudioEngine testers - Linux only - Forsaken - 2012-04-26 20:25
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).
RE: AudioEngine testers - Linux only - gnif - 2012-04-27 19:43
@Forsaken - can you provide details of this bandwidth limiter?
RE: AudioEngine testers - Linux only - Forsaken - 2012-04-27 20:52
It's here: http://forum.xbmc.org/showthread.php?tid=96316&pid=954404#pid954404
It's the latest commit in his git.
RE: AudioEngine testers - Linux only - ingrimsch - 2012-04-27 21:34
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!
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_thx_terminator_2_lossless.part1.rar and http://www.trailerz.demo-world.eu/hd/hd_thx_terminator_2_lossless.part2.rar
All the files I tested were downloaded from http://www.demo-world.eu/trailers/high-definition-trailers.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.
RE: AudioEngine testers - Linux only - negge - 2012-04-29 14:01
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/5898135bc7158f9dc4013b0831c852de70faa7b4