[Windows] AudioEngine testers - Windows platform only

  Thread Rating:
  • 3 Votes - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
sialivi Offline
Posting Freak
Posts: 950
Joined: Dec 2008
Reputation: 7
Location: Sweden
Post: #641
Which nightly build was the first to have the freezing problem?
find quote
atlind01 Offline
Member
Posts: 74
Joined: Dec 2010
Reputation: 0
Post: #642
(2012-08-17 23:21)liquidskin76 Wrote:  
(2012-08-17 22:45)DDDamian Wrote:  Everyone - sorry for the absence. Without going into details I was a little unhappy with how certain things got handled post-merge, and had to think long and hard about the time I was investing in development. As the merge went forward gnif and I had already begun developing the second release of AE.

It's been two months since that pull request was submitted PR #1074 including DSP's and many fixes to the initial AE release.

Some of that code has made it into master (primarily fixes, thx Memphiz and Davilla) but it seems a few things were broken along the way as well.

It will take me some time to reconcile my dev branch with current master due to these changes, but I will likely continue with AE development. First is to get a few more fixes in such as the freezing issue reported by ace20022 and others, then with the feature packs like DSPs and user-defined channel mapping. That said, I don't want it to consume as much real-world time as the huge effort prior to the merge.

Gnif is taking some time away from programming and that left me as the sole developer for AE; a job which got a little demanding when trying to support the users here as well.

So while I'll pick up where I left off again, forgive me if at times I have to balance the dev time with the support time - just not enough hours in the day lol.

Anyways - if some of you thread veterans care to give a summary of current issues that would be helpful.

Cheers, Damian

Hey Damian,

Really glad you're back and carrying on with AE. The work and time you have given to date is great! Wink

Only issue i have (using Frodo Alpha 3) is that wasapi is locking out audio when using external players. For example, i'm using Arcsoft TMT for 3D playback.

Is exclusive mode a requirement for HD audio bitstreaming? I believe there used to an option to enable/disable exclusive mode. Would resurecting that be a solution?

I've got a feeling this will be a major bug report on Frodo release, as obviously external players are widely used.

Cheers again for your dev and support time! Keep your chin up buddy.

Many thanks
Glad to see you back Damian, no need for any type of apology here. As reported by everyone the exclusive mode locking is the main issue which is happening even with the XBMC players. If XBMC is on, I can't switch and hear anything that is streaming thru the browser.
find quote
atlind01 Offline
Member
Posts: 74
Joined: Dec 2010
Reputation: 0
Post: #643
Additional issues that I noticed are that DTS / AC3 streams (not the DTS-HD / Dolby TrueHD) are not decoding.

Log is available at http://pastebin.com/7Arx5XiG

THIS ONE IS DVD ripped to mkv not working
17:23:41 T:3624 NOTICE: DVDPlayer: Opening: J:\Movies\English Movies\Gladiator.1992.dvd\Gladiator.1992.DVD.mkv
This one is bluray with DTS-HD ripped to mkv (WORKING FINE)
17:24:28 T:3624 NOTICE: DVDPlayer: Opening: J:\Movies\English Movies\Contagion.BluRay\Contagion.BluRay.mkv
This one is bluray with DTS ripped to mkv
17:25:05 T:3624 DEBUG: CGUIWindowVideoBase::OnPlayMedia J:\Movies\Tamil Movies\Chandramukhi.BDRip\Chandramukhi.BDRip.mkv

thanks
find quote
wints Offline
Senior Member
Posts: 146
Joined: Apr 2011
Reputation: 0
Post: #644
Just thought i would post this i'm having problems playing music when setting Wasapi HDMI in Audio output device it just sticks and XBMC crashes but if i set it to Directsound HDMI it will play ok all this is whilst having Passthrough output device set to Wasapi HDMI, but movies seem to play (or at least the ones i've watched of late) fine with both set to Wasapi HDMI. Don't know if this has already been posted or not. Glad to see you back Damian you've help me so much in the past with AE. Cheers

Cinema Room HTPC with XBMC Frodo RC1~Epson TW3200~Yamaha RX-V765~Sky+HD~Monitor Audio 250's Front & Centre~Monitor Audio RXFX Rears~BK XXLS400 Sub~Harmony-One


find quote
wints Offline
Senior Member
Posts: 146
Joined: Apr 2011
Reputation: 0
Post: #645
ok after a bit more testing scratch the bit about movies playing fine anything with Dolby or DTS audio plays slowly and stutters like crazy

Cinema Room HTPC with XBMC Frodo RC1~Epson TW3200~Yamaha RX-V765~Sky+HD~Monitor Audio 250's Front & Centre~Monitor Audio RXFX Rears~BK XXLS400 Sub~Harmony-One


find quote
fat-tony Offline
Member
Posts: 82
Joined: Mar 2012
Reputation: 0
Location: Ireland
Post: #646
(2012-08-17 22:45)DDDamian Wrote:  ...

Anyways - if some of you thread veterans care to give a summary of current issues that would be helpful.

Cheers, Damian

Welcome back, Damian Big Grin

While you were away I got my hands on a suitable PS3 and have ripped the SACDs in my collection. I encountered a couple of issues with multichannel playback (reported way back in the "Support for AE on the Windows platform thread"), so I'll summarise here:


Playback of 5.0 (as opposed to 5.1) FLAC files doesn't work as AE can't find an exact match for the format.
Code:
4:25:37 T:1048   DEBUG: CFileCache::Open - opening <C:\transfers\Miles Davis\Kind Of Blue (SACD 5.0)\01 - So What.flac> using cache
14:25:37 T:3732  NOTICE: Thread CFileCache start, auto delete: false
14:25:37 T:1048    INFO: AudioDecoder: File is queued
14:25:37 T:1048    INFO: CSoftAE::MakeStream - AE_FMT_S24NE3, 88200, FL,FR,FC,BL,BR
14:25:37 T:392   DEBUG: CSoftAE::Run - Sink restart flagged
14:25:37 T:392   DEBUG: CAESinkWASAPI::IsCompatible: Formats Incompatible due to different :Channels:Sample Rates
14:25:37 T:392    INFO: CSoftAE::InternalOpenSink - sink incompatible, re-starting
14:25:37 T:392   DEBUG: CAESinkWASAPI::Initialize: Initializing WASAPI Sink Rev. 1.0.5
14:25:37 T:392   DEBUG: CAESinkWASAPI::InitializeExclusive: Checking IsFormatSupported with the following parameters:
14:25:37 T:392   DEBUG:   Sample Rate     : 88200
14:25:37 T:392   DEBUG:   Sample Format   : AE_FMT_FLOAT
14:25:37 T:392   DEBUG:   Bits Per Sample : 32
14:25:37 T:392   DEBUG:   Valid Bits/Samp : 24
14:25:37 T:392   DEBUG:   Channel Count   : 5
14:25:37 T:392   DEBUG:   Block Align     : 20
14:25:37 T:392   DEBUG:   Avg. Bytes Sec  : 1764000
14:25:37 T:392   DEBUG:   Samples/Block   : 24
14:25:37 T:392   DEBUG:   Format cBSize   : 22
14:25:37 T:392   DEBUG:   Channel Layout  : FL,FR,FC,BL,BR
14:25:37 T:392   DEBUG:   Channel Mask    : 55
14:25:37 T:392   DEBUG:   SubFormat       : KSDATAFORMAT_SUBTYPE_PCM
14:25:37 T:392   ERROR: CAESinkWASAPI::InitializeExclusive: IsFormatSupported failed (AUDCLNT_E_UNSUPPORTED_FORMAT) - trying to find a compatible format
14:25:37 T:392   DEBUG: WASAPI: Trying Sample Format    : AE_FMT_FLOAT
14:25:37 T:392   DEBUG: WASAPI: Trying Sample Rate      : 384000
14:25:37 T:392   DEBUG: WASAPI: Trying Bits/Sample      : 32
14:25:37 T:392   DEBUG: WASAPI: Trying Valid Bits/Sample: 32
14:25:37 T:392   DEBUG: WASAPI: Trying Sample Format    : AE_FMT_FLOAT
14:25:37 T:392   DEBUG: WASAPI: Trying Sample Rate      : 192000
14:25:37 T:392   DEBUG: WASAPI: Trying Bits/Sample      : 32
14:25:37 T:392   DEBUG: WASAPI: Trying Valid Bits/Sample: 32
14:25:37 T:392   DEBUG: WASAPI: Trying Sample Format    : AE_FMT_FLOAT
14:25:37 T:392   DEBUG: WASAPI: Trying Sample Rate      : 176400
14:25:37 T:392   DEBUG: WASAPI: Trying Bits/Sample      : 32
14:25:37 T:392   DEBUG: WASAPI: Trying Valid Bits/Sample: 32 ..........etc etc...

Works fine if I use DirectSound instead of WASAPI

Link to original post here - http://forum.xbmc.org/showthread.php?tid...pid1136056

Album navigation causes reset of WASAPI sink - sometimes:

I have found another issue with the AE code when playing multichannel FLAC audio files. If I start playing an album, xbmc recognises the format (usually 6 channel, 24 bit at 88.2kHz) and sets the WASAPI sink accordingly. If I leave the album play through normally all is ok. However, if I use the up and down arrow keys on my remote in order to skip to a specific track, xbmc will sometimes determine that there has been a change in the number of audio channels or sampling rate and will initialise the WASAPI sink back to 44.1kHz, two channels momentarily, then re-initialise WASAPI back to 88.2kHz, six channels and play the song. This cause a "click" in the relay on my Onkyo AVR and sometimes results in the first milliseconds of the song being missed. This does not happen on stereo (2.0) FLACs, only multichannel (5.1) and then only sometimes. Foobar on the same machine does not exhibit this WASAPI re-initialisation problem at all.

Link to original post here - http://forum.xbmc.org/showthread.php?tid...pid1137745

No stable support for Realtek HDMI drivers

Like many others I have been using the Realtek HDMI drivers (in place of the MS ones) in order to get a full 24 bit 192kHz six channel experience on my AMD/ATI based Fusion motherboard. AE + Realtek HDMI drivers = unbelievable video stutter.

I fixed it by removing the Realtek drivers completely and installed the specific drivers from the ATI Catalyst package. Flanger216 has made some comments on Realtek drivers earlier in this thread - http://forum.xbmc.org/showthread.php?tid...pid1141969

High CPU utilisation when playing audio


Normal CPU utilisation when playing live TV or video files, but it goes up >70% if you play regular stereo or multichannel FLAC.

Asus AT5IONT-I motherboard - HDMI connection to Onkyo SR875 Receiver (5.1) - HDMI connection to Panasonic 42" plasma HDTV - Monitor Audio Bronze 5.1 speakers
find quote
liquidskin76 Offline
Skilled Skinner
Posts: 1,288
Joined: Aug 2009
Reputation: 16
Location: UK
Post: #647
(2012-08-17 23:21)liquidskin76 Wrote:  
(2012-08-17 22:45)DDDamian Wrote:  Everyone - sorry for the absence. Without going into details I was a little unhappy with how certain things got handled post-merge, and had to think long and hard about the time I was investing in development. As the merge went forward gnif and I had already begun developing the second release of AE.

It's been two months since that pull request was submitted PR #1074 including DSP's and many fixes to the initial AE release.

Some of that code has made it into master (primarily fixes, thx Memphiz and Davilla) but it seems a few things were broken along the way as well.

It will take me some time to reconcile my dev branch with current master due to these changes, but I will likely continue with AE development. First is to get a few more fixes in such as the freezing issue reported by ace20022 and others, then with the feature packs like DSPs and user-defined channel mapping. That said, I don't want it to consume as much real-world time as the huge effort prior to the merge.

Gnif is taking some time away from programming and that left me as the sole developer for AE; a job which got a little demanding when trying to support the users here as well.

So while I'll pick up where I left off again, forgive me if at times I have to balance the dev time with the support time - just not enough hours in the day lol.

Anyways - if some of you thread veterans care to give a summary of current issues that would be helpful.

Cheers, Damian

Hey Damian,

Really glad you're back and carrying on with AE. The work and time you have given to date is great! Wink

Only issue i have (using Frodo Alpha 3) is that wasapi is locking out audio when using external players. For example, i'm using Arcsoft TMT for 3D playback.

Is exclusive mode a requirement for HD audio bitstreaming? I believe there used to an option to enable/disable exclusive mode. Would resurecting that be a solution?

I've got a feeling this will be a major bug report on Frodo release, as obviously external players are widely used.

Cheers again for your dev and support time! Keep your chin up buddy.

Many thanks

Hi Damian,

Just seen this post in another thread... http://forum.xbmc.org/showthread.php?tid...pid1173601

Excellent... great to see you're on the case. Wink

Many thanks Big Grin

Welo... a skin for XBMC

HTPC: Streacom FC1 Evo Case | Asus P8H77-I ITX | Intel Core i3 3220T | Kingston HyperX SSD | Kingston DDR3 RAM
Home AV: Sony KDL-40HX723 | Sky+HD | Sony BDP-S480 BD Player | Sony STR-DH820 AV Receiver | Sony Speaker System | Sony PS3 Slim | Logitech Harmony Touch
find quote
garysday Offline
Junior Member
Posts: 19
Joined: Sep 2009
Reputation: 0
Location: Dubai
Post: #648
Guys,

Quick Q.. I have a Zotac ID41+ which has the NVIDIA ION GPU, this apparently doesn't support Bitstreaming of HD, however does support 8 Channel LPCM, is there anyway I can use this machine to output DTS-Master Audio (DTS-HD) to my DTS-MA capable receiver or do i need to upgrade my box to one that supports the next gen Nvidia chipsets to support Bitstreaming of HD Audio ?

Thx

Gary
Guys,

Quick Q.. I have a Zotac ID41+ which has the NVIDIA ION GPU, this apparently doesn't support Bitstreaming of HD, however does support 8 Channel LPCM, is there anyway I can use this machine to output DTS-Master Audio (DTS-HD) to my DTS-MA capable receiver or do i need to upgrade my box to one that supports the next gen Nvidia chipsets to support Bitstreaming of HD Audio ?

Thx

Gary
(This post was last modified: 2012-08-22 17:31 by garysday.)
find quote
PatrickBateman Offline
Posting Freak
Posts: 1,643
Joined: Mar 2011
Reputation: 15
Location: Another Earth
Post: #649
(2012-08-22 17:30)garysday Wrote:  Guys,

Quick Q.. I have a Zotac ID41+ which has the NVIDIA ION GPU, this apparently doesn't support Bitstreaming of HD, however does support 8 Channel LPCM, is there anyway I can use this machine to output DTS-Master Audio (DTS-HD) to my DTS-MA capable receiver or do i need to upgrade my box to one that supports the next gen Nvidia chipsets to support Bitstreaming of HD Audio ?

Thx

Gary
Guys,

Quick Q.. I have a Zotac ID41+ which has the NVIDIA ION GPU, this apparently doesn't support Bitstreaming of HD, however does support 8 Channel LPCM, is there anyway I can use this machine to output DTS-Master Audio (DTS-HD) to my DTS-MA capable receiver or do i need to upgrade my box to one that supports the next gen Nvidia chipsets to support Bitstreaming of HD Audio ?

Thx

Gary

You will more than likely have to upgrade... I have ion boxes and ati boxes and iOS devices and I had to move my main HTPC away from ion due to the inability to bit stream HDAudio Sad

The ion will do TrueHD though, so it's not all bad.
I've jut bought another ati box (a newer version of the same box) and am currently testing that out also, but so far it bit streams all hd audio perfectly.. Albeit not on AE?

I had mad issues with Alpha 3...
I had a strange video anomalys where upon the top of my video would corrupt, I had constant crashes, slow DB navigation and inability to scroll my library...
Constant app crashes, hangs, audio drop outs etc and after only a few days had to drop back to Daniellas build.

So don't upgrade in a rush, it's still in the oven and won't be ready for some time yet Big Grin

But as an example of what to get,
Try the ACER REVO RL70 as currently it's about £170 and it's a fantastic little work horse and looks great!
4GB DDR 3 ram
Dual core 1.65ghz CPU
HD6420 GPU
Wireless KB&M
HDMI 1.4a
IR
Etc
Etc

All for £170ish...
Plus there are a few revo users on here so if you need any help at least you can ask those who have already suffered Big Grin (like me) lol
(This post was last modified: 2012-08-22 19:13 by PatrickBateman.)
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,023
Joined: Sep 2011
Reputation: 252
Location: Canada
Post: #650
Just submitted a PR to fix the external player issues with WASAPI exclusive mode
https://github.com/xbmc/xbmc/pull/1326

As it's a fix and not a feature I'll push it in before months-end and the next merge window - just giving a chance for some OSX/Linux dev's review.

@fat-tony & others - will respond shortly - the fix above was a priority Wink

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
Post Reply