[Windows] AudioEngine testers - Windows platform only

  Thread Rating:
  • 3 Votes - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ix400 Offline
Senior Member
Posts: 193
Joined: Aug 2010
Reputation: 0
Location: Germany
Post: #271
... Do you think it's worth experimenting with

<cachemembuffersize>

in the advancedsettings?

unRAID Server, Pioneer VSX-LX52, Panasonic 65VT30, Marusys VU+ Duo, Zotac AD10
(This post was last modified: 2012-04-27 20:37 by ix400.)
find quote
gnif Offline
Team-XBMC Developer
Posts: 442
Joined: Feb 2008
Reputation: 34
Location: Australia, Katoomba
Post: #272
@ix400 - I do not think so, I believe AE is failing to determine that the sink is open in the correct format on your system.

I am not scared of SVN - Cutting my hands open on the bleeding edge.
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #273
gnif - you are short on sleep - Memphiz is OSx lol - but I got the ping Wink

he keeps getting a sink flagged for restart msg - often prefixed by:
Code:
06:20:41 T:4028 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
06:20:42 T:2600 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
06:20:42 T:2948   DEBUG: CSoftAEStream::GetFrame - Underrun
06:20:42 T:2600    INFO: CDVDPlayerVideo - Stillframe detected, switching to forced 29.970030 fps

ix400 - can you disable stereo upmix in your gui setttings under System>Audio Output? see if that's borking it.

EDIT: tried on mine - stereo upmix wasn't causing an issue, nor should it on passthrough, just noticed it on and it's still a little raw. Still digging.

EDIT2: you say it happens with the file copied locally as well?

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-04-27 22:06 by DDDamian.)
find quote
ix400 Offline
Senior Member
Posts: 193
Joined: Aug 2010
Reputation: 0
Location: Germany
Post: #274
I will do some more tests with locally stored files tomorrow.

Chris

unRAID Server, Pioneer VSX-LX52, Panasonic 65VT30, Marusys VU+ Duo, Zotac AD10
find quote
Nimo Offline
Senior Member
Posts: 224
Joined: Nov 2011
Reputation: 3
Location: Germany
Post: #275
i have a problem with switching hdmi devices. switching off tv and start music with android phone for just listening music causes a windows error. i often get these error after resuming from s3 when i start htpc at first and then amp and tv. with right start order it works. in xbmc.log i found

ERROR: CAEsinkWASAPI::AddPackets: Endpoint buffer timed out
ERROR: CAEsinkWASAPI::AddPackets: GetBuffer failed due to AUDCLNT_E_DEVICE_INVALIDATED

same problem after resume tv standby.

A/V: Sony KDL52W5500|Yamaha RX-V471|Elac Cinema XL Center|4x Elac Cinema 2 Sat|REL Strata II|Elac Sub 101 ESP
HTPC: Realan E-Q8|ASRock Z77E-ITX|iMon inside mod|i3-3225+HD4k|8GB 2133 RAM|60GB Vertex3|120W Pico PSU|Harmony 650|p8 USB-CEC|Win7 x64|XBMC 12alpha|Skin CE v2 SVN
Server: Raid 5 - 8x 2TB WD AV-GP|Win7 x64|HighPoint 2680
(This post was last modified: 2012-04-27 23:33 by Nimo.)
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #276
@nimo - yes, we need to add code to react if you shut off a device - AUDCLNT_E_DEVICE_INVALIDATED means the device is no longer available, whether turned off or unplugged. Right now we just log the error until you change the output device.

It's on the list Wink

HDMI is supposed to handshake properly, and doesn't - unfortunately that's a manufacturer issue. All we can do is fall back to another device - we can't force anything to do a handshake again.

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-04-28 00:14 by DDDamian.)
find quote
ix400 Offline
Senior Member
Posts: 193
Joined: Aug 2010
Reputation: 0
Location: Germany
Post: #277
Damian and Gnif,

I did a little more research. Here the results:

1. I tried to directly play high bit rate DTS-MA tracks from the SSD on which Win7 is installed. Works without any flaws, no buffering.

2. Playing the same files from my NAS causes buffering.

3. Testing with other high bit rate files, containing regular DTS or AC3, also results in buffering during playback.

4. Sometimes, for no obvious reason, it starts working without buffering.

As a non AE test build for cross testings I used Daniella's second latest build, which can play all files from my NAS without any buffering issues.

Hence, to me it looks like a "Frodo-NAS-access-performace"-issue that hasn't been present in the final Eden builds.

Chris

unRAID Server, Pioneer VSX-LX52, Panasonic 65VT30, Marusys VU+ Duo, Zotac AD10
(This post was last modified: 2012-04-28 06:59 by ix400.)
find quote
DanielaE Offline
Team-XBMC Member
Posts: 78
Joined: Dec 2011
Reputation: 30
Location: Germany
Post: #278
Chris,

as you may have noticed, I've released a HD audio patched build derived from current master which should be pretty much on par with AE when it comes to XBMC's codebase. I've done that to provide a testing sidekick to AE. If you happen to see similar issues on both builds then there's a good chance that it's origin is in base XBMC code.

ciao, Dani

AMD Fusion E-350/Win 8/custom XBMC, Yamaha RX-V1900, Pioneer DV-LX50, custom speakers
(This post was last modified: 2012-04-28 08:02 by DanielaE.)
find quote
wints Offline
Senior Member
Posts: 174
Joined: Apr 2011
Reputation: 0
Post: #279
Hi guys and girl great work hdmi switching problem is sorted for me but i now have no audio in tv series what are mp3? cheers for any advice

[Image: all-thin-fanart.jpg]
7.1 Cinema Room HTPC with XBMC Gotham~Epson TW3200~Homemade 7ft pj screen~AVR~Yamaha RX-A2020~Speakers~Monitor Audio RX6 Fronts & RX Centre~RXFX Surrounds~180's Rears~BK XXLS400 Sub~8033C AntiMode~HarmonyOne


find quote
TRaSH Offline
Fan
Posts: 534
Joined: Jul 2011
Reputation: 1
Location: Holland, The Netherlands
Post: #280
i did a few test with the latest build,
seems that the issues i had are solved.
tested
AC3 2.0
AC3 5.1
DTS 5.1
DTS-HD MA 5.1
TRUE-HD 5.1
LPCM 5.1

also i'm able to choose in the system-settings "use exclusive mode"
somehow that wasn't possible for me with the old version.

will do some more testing later this day.

for now i must say it works great

Windows 7, 64-bit | XBMC Frodo | Aeon Nox | MONEUAL 320B | Intel® Core™ i5 CPU 661 | Sapphire HD 6570 1GB DDR3
Onkyo TX-SR875 | Teufel System 5 THX Cinema 5.1
HP Microserver N40L WHS 2011 8TB
[Image: all-banner@2x.jpg]
find quote
loekf Offline
Junior Member
Posts: 41
Joined: Apr 2012
Reputation: 0
Location: Netherlands
Post: #281
@DDDamian

I fixed the playback of this Star Wars EP1 1080p MKV with DTS-ES. Turned out exclusive mode was off. Now all is ok.

I would suggest to enable exclusive mode as soon as someone selects WASAPI.

HTPC: MS-Tech MC-1200 | Asus F1A75-M | AMD A6 3650 | OCZ Agility3 120GB | Corsair Vengeance 2x4GB DDR3| LiteOn iHOS104 BDR | Win7 x64 (Catalyst 12.4) | XBMC 12.0-ALPHA2 Git:20120512-694a759
Home AV: Philips 37PFL5603 | UPC Mediabox | Philips BDP7600/12 | Onkyo TX-NR609 | Sony PS3 Slim | Logitech Harmony One | Sonos audio | Apple TV | 5.1 speakers (TMA, Phonar)
find quote
TRaSH Offline
Fan
Posts: 534
Joined: Jul 2011
Reputation: 1
Location: Holland, The Netherlands
Post: #282
i just did a few more testing and found a little glitch.
when listening a MP3 on the last 10 secs there's a audio glitch like it looses the audio for a 1/10 secs.
it happens on all MP3's.
tried it with upmixing and without
DEBUG LOG

Windows 7, 64-bit | XBMC Frodo | Aeon Nox | MONEUAL 320B | Intel® Core™ i5 CPU 661 | Sapphire HD 6570 1GB DDR3
Onkyo TX-SR875 | Teufel System 5 THX Cinema 5.1
HP Microserver N40L WHS 2011 8TB
[Image: all-banner@2x.jpg]
find quote
ix400 Offline
Senior Member
Posts: 193
Joined: Aug 2010
Reputation: 0
Location: Germany
Post: #283
(2012-04-28 07:52)DanielaE Wrote:  Chris,

as you may have noticed, I've released a HD audio patched build derived from current master which should be pretty much on par with AE when it comes to XBMC's codebase. I've done that to provide a testing sidekick to AE. If you happen to see similar issues on both builds then there's a good chance that it's origin is in base XBMC code.

Right now, I'm performing a complete re-install of win7. I have to say that the Zotac AD10 is a really slow machine, and maybe all the problems are caused by the fact that running win7 on it is borderline. Even with 4GB of RAM and a Crucial M4 it's really slow.

Originally I bought this little fellow for running openelec on it, and this has always worked without any buffering issues.

It might be that I have to wait till AE has found it's way into openelec.

Chris

unRAID Server, Pioneer VSX-LX52, Panasonic 65VT30, Marusys VU+ Duo, Zotac AD10
find quote
Salem Offline
Junior Member
Posts: 39
Joined: Mar 2011
Reputation: 0
Post: #284
(2012-04-28 14:13)ix400 Wrote:  Right now, I'm performing a complete re-install of win7. I have to say that the Zotac AD10 is a really slow machine, and maybe all the problems are caused by the fact that running win7 on it is borderline. Even with 4GB of RAM and a Crucial M4 it's really slow.

Have you ever tried DanielaE's patch? She uses a Fusion e-350 machine not dissimilar to yours; runs Win8 and enables sync w/audio reclock. I have several machines, one of which is an AD04 with Fusion e-450 on Win7, works w/o issue; slow compared to my i5, but plays everything without question.
(This post was last modified: 2012-04-28 16:13 by Salem.)
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #285
Hi all -- glad things are clearing up a bit for most of you.

A few answers/comments:

- we (both AE and Daniela's patch) are currently based off master or post-Eden code, in our case anyways because there are a few nice improvements (notably the ffmpeg version bump with 10bit video support), but mostly because we had to re-base on the latest code for review and merge. Any bugs in both AE and Daniela's patch are, as she mentioned, most likely from XBMC master, so you would probably see them with a fresh pull of master. In the case of Chris's (ix400's) buffering there's something very wrong if low-bitrate files like DD are buffering, and let's hope the re-install of Win helps. Unless there is a new bug in XBMC AE should not affect buffering/caching, and recent builds by Daniela should show the same problem. If her recent builds (post-Eden) exhibit the same issue but earlier ones don't, let us know as it means a recent bug in master.

- Exclusive mode is absolutely necessary for HD bitstreaming. Loekf - glad you are good now. I've come to the conclusion that Wasapi share mode is just not worth supporting, and plan on removing support for it in the next day or two, along with the GUI button. It's just going to cause more user issues like Loekf had. It offers none of the advantages of Exclusive mode nor any of the compatibilty of DirectSound, and with our event-based methods it does not support the preferred pull mode, only push. Short answer - it's out of there and won't be missed Smile

- @trash - glad most things are working. The audio glitch at the end of an mp3 is a known issue mentioned in the post for this release, along with a crash I was getting on DVD menus. You may notice some odd behaviour on crass-fading too. Thx for the log and the report - it's now officially on the to-do list Smile

- another added to the list is support for GUI sounds is not consistent across skins - but that one is a little further down the priority list, so bear with us.

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-04-28 19:03 by DDDamian.)
find quote
Post Reply