[Windows] AudioEngine testers - Windows platform only - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: [Windows] AudioEngine testers - Windows platform only (/showthread.php?tid=124600)
RE: [Windows] AudioEngine testers - Windows platform only - DDDamian - 2012-04-07 16:26
@wints - thanks for joining in (there's a lot more people downloading than commenting which isn't that helpful lol). Both you and Martijn have reported a crash switching to optical/coax for the first time. It appears that when first run the audio output device string may be gibberish, and when switching to optical it tries to load a device that is just garbage data. I'll take a look at the initialization code and force it to "Default" if the device doesn't match what Windows reports is available.
It sounds like once a device is selected everything carries on okay, so in the meantime I think the workaround is to select an output device first, then the output type, but it's something I'll fix. Thanks for confirming that and let me know how it works for you now that the device is set!
@Martijn - that sucks. See my comments to @wints about the optical selection crash. I believe once you're past that it runs okay though, correct? Just the DTS files with the x264 L5 encoding were off/choppy?
RE: [Windows] AudioEngine testers - Windows platform only - DDDamian - 2012-04-07 17:06
(2012-04-07 13:38)Aemstel Wrote:(2012-04-06 21:19)DDDamian Wrote: @Aemstel - for sure get that skin out and re-check your logs to make sure you don't see any sign of that spam-bug (pvr.anything) as it will affect playback.
This is curious - especially the line:
That means the details supplied about the audio stream don't meet the spec for DTS-MA formatting or your card/driver doesn't support DTS-MA/TrueHD. Could you let me know what card and driver version you have?
Also check that DTS-HD and Dolby TrueHD show up in your driver settings as in the first picture below. In the second picture make sure the two check-boxes are ticked to enable WASAPI exclusive which is required for these formats.
Also everyone, pls post full logs as they give me the whole picture. There's a great new addon to make this easier - see thread here.
RE: [Windows] AudioEngine testers - Windows platform only - DDDamian - 2012-04-07 17:28
For anyone experiencing the switching bug:
I was hoping the change to the older header format would fix this - have only heard back from one person so far, so not sure yet if it helped. I am beginning to suspect that because we are using the most advanced of the WASAPI output modes (event-driven exclusive) older hardware does not have drivers which support this relatively new and fairly advanced dual-buffering system.
This was changed from the more common push-mode method a few months ago, and obviously works well for many, including myself.
So far the only concrete data I have is from ix400 that it happens on an older ATI 6310, and not sure yet if this new build fixes his yet, but I also note that he had troubles way back in Sept 2011 per this post here, which was before we switched to the event-driven mode, making me think it's his older card causing the issue. Hopefully we'll hear back from him with the new build.
If I'm going to track this down it is imperative that I get your full "clean" Debug Log, meaning open XBMC with debugging already enabled. wait 30sec for start-up tasks to finish, reproduce the issue and exit without a lot of extra activity.
I also need to know the audio driver date (go to the windows audio panel, select properties of the device, properties again then "Driver") to make sure you have the latest version.
Without those details I'm really just guessing and that defeats the purpose of this thread, not to mention doesn't lead to a fix!
RE: [Windows] AudioEngine testers - Windows platform only - ix400 - 2012-04-07 17:51
DDDamian, I will test the new build on monday (I'm on a short vacation right now). I will post a clean debug log then.
You mentioned my September post. I would like to add that at that time I used a different system: Sandy Bridge i7, a Z68 board from Asrock and a Powercolor 6970.
Btw, does DanielA's patch use a different WASAPI output mode?
Have a good weekend,
RE: [Windows] AudioEngine testers - Windows platform only - Aemstel - 2012-04-07 18:00
These are my audio properties:
I also have those 2 boxes ticked in the advanced tab.
I have a GeForce GTX 560 Ti graphics card with HDMI output. Tried driver version 290.53 and updated to latest 296.10 (this comes with HD audio driver 22.214.171.124). Same results.
Also, DanielaE's patched version runs all HD audio formats that I've tried just fine.
Here's a full log when running a DTS MA with the switch bug: http://pastebin.com/J3Mp2Jbd
RE: [Windows] AudioEngine testers - Windows platform only - wints - 2012-04-07 18:28
(2012-04-07 17:06)DDDamian Wrote: Also everyone, pls post full logs as they give me the whole picture. There's a great new addon to make this easier - see thread here.
DDDamian, ive done a debug log and used the addon you suggested dont know if you want it or not but this is the link i got emailed http://xbmclogs.com/show.php?id=1270 hope i've done it right lol
RE: [Windows] AudioEngine testers - Windows platform only - DDDamian - 2012-04-07 18:43
Hey - awesome all of you - that's what i need! Give me some time to review.
@ix400 - great - I thought your system was different then - have a great holiday and look forward to your results
The main output difference between AE and Daniela's patch for DTS-MA is that AE uses the more advanced event-driven WASAPI mode, so it's sounding more and more like we need to accomodate both this mode and the older push method. That is something I can add back in with a bit of effort. Not easy, but the indications so far are that not all GPU's / sound-cards / drivers are supporting this.
If a review of all your info supports this conclusion I'll add that pull-method in at the next build.
RE: [Windows] AudioEngine testers - Windows platform only - ix400 - 2012-04-07 18:58
I tried a lot to find a perfect XBMC system... Haven't found it yet. My Pioneer receiver seems to be a real show stopper. I also tested the AMD MacMini for a short time: Same problem with AE builds running on Win 7.
RE: [Windows] AudioEngine testers - Windows platform only - DDDamian - 2012-04-07 19:41
@ix400 - Chris, beyond what I posted above, not sure if it's the event-driven mode, your GPU or your receiver which is the issue. Looks like you've had a couple of GPU's so i think we can rule that out. I can't test or rule out your receiver, but it seems like the issue was the same with both event-driven and non-event driven modes, on two different GPU's.
If you're still in the search for a perfect card, I can endorse the ATI 6450 as perfect for A/V sync on 24p content and for flawless support for HD audio. That and they're dirt cheap right now
Also, DanielaE's patch is built on the existing XBMC audio system, which uses the pull-mode of Wasapi, and AE uses the event-driven mode. The early versions of AE used pull-mode, but that was changed on Jan. 26th of this year to event-driven. If a someone who has this switching issue volunteers to test with the old pull-method I'd be happy to do a custom build - PM me. If that confirms it then I'll make it user-selectable, if it still happens I can rule that out.
RE: [Windows] AudioEngine testers - Windows platform only - Mav78g - 2012-04-08 11:05
My first post so be gentle....
i tried the latest build and the previous build and it plays most type of HD and multichannel music i throw at it but having an issue with DTS stream 24bit music,. It appears to play the track but i get no sound and the track time counter appears to be accelorated i.e. it counts faster than normal/ These music types play fine in the latest HD branch.build.
Mediainfo reports the .dts file as
Container and general information
Wave 44.6 MiB, 4mm 25s
1 audio stream: DTS
First Audio Stream
1 411.2 Kbps, 44.1Khz, 24 bits, 6 channels, DTS (LE/14)
my rig is intel based with core 2 duo and Nvidia Geforce GT 520 HDMI to onkyo amp
RE: [Windows] AudioEngine testers - Windows platform only - DDDamian - 2012-04-08 17:26
@Mav78g - I'm pretty newb-friendly lol - welcome to the forums. It looks like you're playing a DTS-wav (DTS-CD) file, and we just haven't added support for that format yet - one of the next things on the list to do.
Could you please let me know what other formats you've tested and the results on those? Thanks.
RE: [Windows] AudioEngine testers - Windows platform only - abudabi - 2012-04-08 18:25
Thanks for all the windows work DDDamian. Might persuade me to ditch lilnux for a bit Do you know if the windows/linux builds are in sync?
RE: [Windows] AudioEngine testers - Windows platform only - DDDamian - 2012-04-08 18:31
Hi abudabi - the Linux code is a bit behind right now as gnif (the main dev of AE) has been away for a bit. If you like you can try to compile his code from https://github.com/gnif/xbmc and post your comments in the main AE thread linked in the first post of this one.
With gnif being away and the main thread being quite large already I started this thread for testing of my contributions which are genrally Windows related and so progress could (hopefully) continue unabated
My branch will compile okay in Linux, but it would have only a few advantages over gnif's right now.
RE: [Windows] AudioEngine testers - Windows platform only - abudabi - 2012-04-08 20:20
Cool... will attempt it. I'm not a linux guru by any stretch of the imagination so have to figure out how to have 2 versions of xbmc on my machine 1st (and oh yeah.. compile my 1st program ).
Keep up the good work!
RE: [Windows] AudioEngine testers - Windows platform only - liquidskin76 - 2012-04-08 21:34
Just got round to quickly testing your latest build.
Strange one... some TrueHD and DTS-HD movies are spot on for AV sync (when running 'match refresh rate' at 24p). However some others are about 100ms out. Not sure why some are fine and others are out? Any ideas? All are blu-ray backups. Sync is good under normal playback circumstances on other players. Haven't tested sync yet with 'match refresh rate' off yet on your ae build.
Also, seeking is getting good! However there's still a short period where there's no audio after seek. Happens with buffer set to 50ms or the 120ms default. Only happens on hd audio bitstream by the way.
Do you need debug logs for any of these?
Otherwise all is looking great. Using your ae as my default install now!