[Windows] AudioEngine testers - Windows platform only

  Thread Rating:
  • 3 Votes - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Lightbulb  [Windows] AudioEngine testers - Windows platform only
Post: #1
UPDATED: Latest Build XBMC-AE-Final.exe

I have posted a compiled version of the AudioEngine branch for download >>XBMC-AE Final<<

The main source code by developer gnif is available here, under the branch "ae_rebase".

Any Windows-specific development not pushed to the main branch is here, under the branch "ae_rebase". The next release is being prepared under "ae_dsp".

The purpose of this thread is to gather test results and feedback for the branch for the Windows platform only.

The main AudioEngine thread is quite long now, and as the branch gets closer to release it will be difficult to keep track of test results on all platforms and debug effectively.

If you wish to be a tester please be aware that you must know: all details of your test platform including hardware and driver status, how to post a debug log and effectively troubleshoot issues, and be able to capture screenshots and post them. If you continue to use other versions of XBMC at the same time please know how to switch between different versions of advancedsettings.xml and guisettings.xml, via profiles or manually. Also please note that the library used by the AE branch may not be the library currently used by XBMC - if you add media please do so while using whatever your main XBMC version is.

This is not a support thread for those just wanting to try it and get help running it. If you are unsure of what is required or are not adept at setting up and troubleshooting XBMC in general please do not become a tester.

You do not need to "sign up" - feel free to post your comments at any time as long as you understand the above.


We look forward to your help and testing as the project prepares for integration.

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
(This post was last modified: 2012-05-10 20:52 by DDDamian.)
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #2
Current advancedsettings.xml tags for AE.

Code:
<advancedsettings>
  <audio>
    <resample>0</resample>
    <allowtranscode44100>0</allowtranscode44100>
    <forceDirectSound>0</forceDirectSound>
    <audiophile>0</audiophile>
    <audiosinkbufferdurationmsec>50</audiosinkbufferdurationmsec>
    <streamsilence>0</streamsilence>
  </audio>
</advancedsettings>

resample - force resampling of audio at a given frequency e.g. 48000 = 48khz
forceDirectSound - win-specific - will not use Wasapi API 0 = false, 1 = true
audiophile - forces playback of original format, will not down/upmix next song to match current, not compatible with cross-fading 0 = false, 1 = true
audiosinkbufferdurationmsec - win-specific, buffer time in msec, hard minimum of 50msec
allowtranscode44100 - allows 44100hz when trancoding for SPDIF devices 0=false, 1=true
streamsilence - if true uses original AE method of a constant (even silent) stream so receivers stay connected. If false (default) uses Eden-style releasing of audio sink and device to reduce power usage and release exclusive-mode lock on audio device 0=false, 1=true

Default values are shown above in the code box.

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
(This post was last modified: 2012-09-09 03:14 by DDDamian.)
find quote
GreenEyez Offline
Senior Member
Posts: 109
Joined: Aug 2011
Reputation: 0
Post: #3
Sign me up Smile. Great to hear that you guys are so close with Audio Engine. I`m going to try it out tonight, when nobody is using the machine.

Test machines : Intel G620 with HD2000 graphics and AMD E350 APU , both with Windows 7 32bit , no AV software on both machines, UAC disabled. Will post results and debug logs ASAP tonight.
(This post was last modified: 2012-03-04 12:39 by GreenEyez.)
find quote
liquidskin76 Offline
Skilled Skinner
Posts: 1,366
Joined: Aug 2009
Reputation: 17
Location: Arkham, Gotham City
Post: #4
hey dddamian,

i'll test this asap, and report back. i tried it gnif's ae a short while back and had truehd issues, however will check again.

cheers

HTPC: Streacom F1C | Asus H87I-Plus ITX | Intel Core i5-4670T | Kingston HyperX SSD | Kingston DDR3 RAM
Home AV: Sony KDL-40HX723 | Sky+HD | Sony BDP-S480 BD Player | Sony STR-DH820 AV Receiver | Sony 5.1 Speaker System | Sony PS3 Slim | Logitech Harmony Touch
find quote
Dixon Butz Offline
Senior Member
Posts: 260
Joined: Dec 2010
Reputation: 3
Location: Hershey Highway
Post: #5
I have both installed using portable mode. I don't know what the difference is between the two.
Only thing I have noticed in my limited testing is that the AE branch plays static when playing multi channel DTS flacs. Is that expected?
find quote
P-I H Offline
Junior Member
Posts: 41
Joined: Feb 2012
Reputation: 0
Post: #6
I have made some tests.
DTS
DTS 96/24
Dolby Digital
plays OK on my hardware.
there are audio drop outs on Dolby True HD and DTS HD MA.
There is a log when playing Dolby True HD on http://pastebin.com/TFcQD1tb
Drop outs are at about 14.15, 14.16, 14.17 and 14.19.

The tested media plays OK with the Windows patch version, but in this case there are problems to switch audio streams.

Configuration:
Reciever Harman Kardon AVR 355
Graphic and Audio: AMD Radeon 5450 with Catalyst 12.1
OS: Window Vista Basic
CPU: Intel Pentium E5200

Made some more testing and if
<multichannellpcm>true</multichannellpcm>
is set to false on my configuration xbmc will crash.
(This post was last modified: 2012-03-04 19:57 by P-I H.)
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #7
Great to see we have some testers! When you find an issue please make as clean a debug log as you can: open XMBC-AE, wait 10sec for start-up tasks to complete, then duplicate the problem with a minimum of actions and post the log. This makes reading through them as easy as possible.

Also please make sure you are using the version linked in the first page, or built from my GitHub source. This avoids confusion between build dates and versions.

If you do build it yourself please ensure that you are building a "release" version and have enabled optimizations. Debug versions are slower by nature and unoptimized builds or debug builds can show performance hits easily construed as bugs. Any build I place in the downloads area will be optimized and a release version.

@P.I.H. - thanks for the log. Question - do you have Sync Playback to Display enabled? If so, can you disable and retry? Would like to see if that clears up the discontinuities.

@Dixon Butz - portable mode is fine for testing. I haven't tried a DTS FLAC on my end yet - will have to create a sample. That's a good catch - can you post a log?

@Liquidskin76 - great! please use my build/git as it has a few bug-fixes in it compared to gnif's right now,

@greeneyez - glad you want to help Smile

Thx to those posting their system info as well - helps to know the platform details and we need a wide range for a comprehensive test.

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
find quote
P-I H Offline
Junior Member
Posts: 41
Joined: Feb 2012
Reputation: 0
Post: #8
@DDDamian
I have tried with different settings, but mostly with "Sync playback to Display" disabled. I have the dropouts in both cases.
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #9
P-I H Wrote:Made some more testing and if
<multichannellpcm>true</multichannellpcm>
is set to false on my configuration xbmc will crash.

Was that when playing back a multichannel FLAC or trying to decode a movie? Multichannel LPCM is the fallback if you disable TrueHD passthrough, but needs to fail gracefully if it can't. Please let me know what you tried to play that led to the crash. Thx.

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
find quote
P-I H Offline
Junior Member
Posts: 41
Joined: Feb 2012
Reputation: 0
Post: #10
I got the crash without playing anything, when I used the GUI to change the reciever's Audio settings in System/Settings/System/Audio/Reciever supports LPCM to false. Xbmc crashed when I did the change and did not accept the change.

However I was able to do the change when playing a non HD folder. After the change I closed xbmc. After this xbmc crashed immediatly at start up. I then change the setting to true in the xml file and was able to start xbmc again.
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #11
Thanks PIH - made a note to investigate. Things like that are exactly what we're looking to discover.

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
find quote
liquidskin76 Offline
Skilled Skinner
Posts: 1,366
Joined: Aug 2009
Reputation: 17
Location: Arkham, Gotham City
Post: #12
Hey dddamian,

Tested on both on an ATI 6450 and NVidia GT 520. I'm not switching refresh rate or syncing to display for those tests.

TrueHD... intermittently hangs for a short while whilst seeking
http://pastebin.com/RUgJzmw5

DTS-HD... intermittently hangs for a short while whilst seeking
http://pastebin.com/87JUgyns

FLAC files appear to be ok.

Not sure why but i can't get it to misbehave whilst in debug, so those logs are standard. Hopefully they will be enough.

Believe there's CAESinkWASAPI errors at the seeks.

Cheers Wink

HTPC: Streacom F1C | Asus H87I-Plus ITX | Intel Core i5-4670T | Kingston HyperX SSD | Kingston DDR3 RAM
Home AV: Sony KDL-40HX723 | Sky+HD | Sony BDP-S480 BD Player | Sony STR-DH820 AV Receiver | Sony 5.1 Speaker System | Sony PS3 Slim | Logitech Harmony Touch
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #13
Thx LiquidSkin76 - when you say hangs intermittently on seeks, is that kind of a lag in the audio starting again after the picture starts?

From the log it looks like the sink gets re-initialized with null values for some reason after a seek, but can you just describe what you did and what you saw for me?

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
find quote
liquidskin76 Offline
Skilled Skinner
Posts: 1,366
Joined: Aug 2009
Reputation: 17
Location: Arkham, Gotham City
Post: #14
DDDamian Wrote:Thx LiquidSkin76 - when you say hangs intermittently on seeks, is that kind of a lag in the audio starting again after the picture starts?

From the log it looks like the sink gets re-initialized with null values for some reason after a seek, but can you just describe what you did and what you saw for me?

When it seeks ok, yes, there is a short lag in the audio coming back, so video starts for a few seconds without audio.

However the hanging is slightly different. Both video and audio hangs for a short while. Can happen on standard short seeks (30 secs) and MKV chapter seeks, however it tends to be intermittent.

Hope that helps.

Thanks for your hard work. Seriously looking forward to AE hitting the nightlies! gnif has worked wonders, and now it's great he has help on the Windows front. Good man!

Cheers Wink

HTPC: Streacom F1C | Asus H87I-Plus ITX | Intel Core i5-4670T | Kingston HyperX SSD | Kingston DDR3 RAM
Home AV: Sony KDL-40HX723 | Sky+HD | Sony BDP-S480 BD Player | Sony STR-DH820 AV Receiver | Sony 5.1 Speaker System | Sony PS3 Slim | Logitech Harmony Touch
find quote
P-I H Offline
Junior Member
Posts: 41
Joined: Feb 2012
Reputation: 0
Post: #15
I made some more testing.
The previous test was made on an xbmc installed on top of the Windows Patch version. This time I uninstalled xbmc and checked the field to remove all settings. Then installed the HE version.
This time xmbc behaved much better. There were occasional audio dropouts, but much less frequent.
I still got the crash when Multichannel LPCM capable reciever was unchecked.
Played an mkv file with DTS HD MA which worked fine.
Played some .ts files with recorded HD TV programs, that also worked fine
To use the "scale" to move back and forth in media with non HD audio works fine, but in media with HD audio there are long delays before picture and audio recover and sometimes audio will not come back at all.
find quote
Post Reply