• 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23
  • 56
[Windows] AudioEngine testers - Windows platform only
@PanDaMan - DaniellaE's branch will also be clipping, this is an existing issue, what's different is that AE reports it so we know when it occurs. We are currently working on a DRC patch that will help with this behaviour instead of just clamping the buffer. (We never output clipped audio, we have a soft clamper that performs a poor mans DRC to the samples when this occurs).
I am not scared of SVN - Cutting my hands open on the bleeding edge.
Reply
(2012-04-28, 09:43)wints Wrote: 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

Sorry to ask again but is this just happening to me? or is it a known problem? they used to play fine in the last build, cheers again

9.1 Cinema Room htpc with Kodi Matrix & emby server~Epson EH-TW9300~Homemade 8ft pj screen~AVR~Yamaha RX-A3070~Speakers~Monitor Audio RX6 Fronts & RX Centre~RXFX Surrounds~250's Rears~180's Front Presence~BK XXLS400 Sub~8033C AntiMode~HarmonyOne
 
Reply
Hi wints - if you're using the latest please post a log and I'll take a look - 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!
Reply
ok cheers DDDamian http://xbmclogs.com/show.php?id=2092
9.1 Cinema Room htpc with Kodi Matrix & emby server~Epson EH-TW9300~Homemade 8ft pj screen~AVR~Yamaha RX-A3070~Speakers~Monitor Audio RX6 Fronts & RX Centre~RXFX Surrounds~250's Rears~180's Front Presence~BK XXLS400 Sub~8033C AntiMode~HarmonyOne
 
Reply
Interesting - if unexpected - nothing too unusual, just a 48khz mp3. I have the same GPU on my main machine, so should be able to repro easily enough.

I'm on it Smile

EDIT: @wints - no issues here on video with mp3 48khz audio - log shows everything normal - is your volume up? Press "+" key? Do normal mp3's (music) play okay?
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!
Reply
(2012-04-30, 12:37)gnif Wrote: @PanDaMan - DaniellaE's branch will also be clipping, this is an existing issue, what's different is that AE reports it so we know when it occurs. We are currently working on a DRC patch that will help with this behaviour instead of just clamping the buffer. (We never output clipped audio, we have a soft clamper that performs a poor mans DRC to the samples when this occurs).

@gnif - Thanks. I did not hear any distortion with DaniellaE's, I also don't hear anything or get any clamping logged if I set the volume in guisettings to 0.999999 which should be close enough to 1.0 not to matter. See http://xbmclogs.com/show.php?id=2103
My C is very rusty, but wouldn't the missing 'f' suffix on line 939 in SoftAE.cpp mean it's being compared as a double rather than float and could the promotion be marginal making it think it needed to clamp when it didn't?

By "poor man's DRC" did you mean the tanh approximation? That looks well off for values |x| > 0.5 if I'm reading the plot here correctly: http://bit.ly/Jx4ULG Applying this only on blocks with values > 1.0 means there's additional non-linearity between blocks that get clamped and those that don't. That might also cause the distortion I was hearing.

Finally, the SSE clamp looks broken, implementing (x * (c1 + x^2)) / (c2 + x^2). c2 should just be 9.0f and an additional multiply operation is needed (x * (c1 + x^2)) / (c1 + (c2 * x^2))
Reply
hi DDDamian,
is it possible to initialize wasapi exclusive everytime a movie get start to prevent handshake errors?
because i ordered a pulseeight cec adapter and i am afraid to get more errors than success.
Reply
@Nimo - it is almost certain that each time you play a movie the wasapi device will be re-initialied. The reason is we default to 2ch 44.1khz pcm when no stream is playing as every windows-compatible audio device *must* support that format. As soon as you play anything different the device is re-initialized to match the format of the stream, whether its a passthrough format or another pcm format with a different bitdepth, channel layout or sample rate.

Unfortunately that is not the same as handshaking, which does not automatically occur when you reinitialize for a new format. This is controlled by the firmware in your hardware, whether receiver or TV, and a major failure of the HDMI specification implementation for many manufacturers. Sometimes the device itself needs to be powered off and on, sometimes just switching the input to another and back is enough. There is no way from the PC end to force this to happen.

@PanDaMan - nice analysis - needs looking into for sure. Haven't run across this yet even with very "hot" tracks unless downmixing, but without having had time to dig deeper certainly a float/double conversion alone can introduce tiny errors - fp math can return unexpected results with very small comparisons, e.g around 1.0 but not quite 1.0. Any soft-clipper will produce distortions by nature, and it is in there as the final blocker to hard-clipping. If you weren't downmixing there should be no values >1.0, so we need to re-check the math there. Thanks for pointing it out as we hadn't run across it at all.
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!
Reply
Hello again,

after I figured out that you need something called PAP (Protected Audio Path) as a feature on your graphics card to bitstream the HD sound things I tried testing with my Desktop Computer(ATI Radeon HD5750). Obviously the GF9300 of my HTPC does not support PAP :-(
Here are the results:

Selecting WASAPI: Realtek HDMI (ATI HDMI) in Options got me no sound, so i tried it with Directsound: Realtek HDMI (ATI HDMI) and it worked
Tested the following files, of which none was working:
  • DTSHD-MA 7.1 sample track from here (hd_dts_sfx_long_lossless.m2ts):
    Very low framerate during the whole clip (about 6 fps), on the first try the Receiver got a DTSHD-MA signal after 2 seconds but there was no sound(besides from some clicking noise every 0.5 seconds)
    On second try, 10 minutes later the receiver stayed blinking 'HDMI' the whole clip, no detection of the correct DTSHD-MA audio.
    Third try there was the correct signal again, but still only the clicking noise (like the first time)
  • Dolby TrueHD 7.1 sample track from demo-world as well (hd_dolby_spheres_lossless.m2ts):
    Same very low framerate, receiver stayed on AllChStereo and there was a very disturbing technical scratch noise on all of my speakers (don't know how to describe it better :-P ) I stopped the clip immediately.
  • MKV with DTSHD-MA 5.1 track (8 Blickwinkel - 1080p (DTSHD-MA Deutsch).mkv):
    Same problems like the first sample file. I switched to english sound which is normal dolby and it worked correctly with the correct framerate. Back to the german DTSHD-MA and it juddered again.

So here is my debug log, i hope it helps you:
http://xbmclogs.com/show.php?id=2124
Reply
@Hasu0bs - PAP is meant more for adding in third-party software as DSPs and other sound-processing elements into the Windows audio layer, an ideal place for a virus and thus the protected status. The GF9300 is not hardware-compatible with bitstream formats.

You cannot bitstream HD audio formats through DirectSound - it is only capable of spdif formats like AC3 (Dolby).

Your HD5750 will bitstream just fine. You don't mention the driver version/date for the RealTek driver, but I'd start by removing that in the Control Panel under Device Manager, then downloading the latest Catalyst Control Center v12.3 and installing it. Be sure that the driver now listed in Device Manager is the AMD/ATI HDMI High Definition Device, and that you have set it's properties correctly, especially checking the two boxes on the Advanced tab and disabling any enhancements.

Select this as your audio device in XBMC-AE and everything should work fine. Again, do not use DirectSound for TrueHD/DTS-MA - it won't work.
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!
Reply
(2012-05-01, 19:20)DDDamian Wrote: @Hasu0bs - PAP is meant more for adding in third-party software as DSPs and other sound-processing elements into the Windows audio layer, an ideal place for a virus and thus the protected status. The GF9300 is not hardware-compatible with bitstream formats.

You cannot bitstream HD audio formats through DirectSound - it is only capable of spdif formats like AC3 (Dolby).

Your HD5750 will bitstream just fine. You don't mention the driver version/date for the RealTek driver, but I'd start by removing that in the Control Panel under Device Manager, then downloading the latest Catalyst Control Center v12.3 and installing it. Be sure that the driver now listed in Device Manager is the AMD/ATI HDMI High Definition Device, and that you have set it's properties correctly, especially checking the two boxes on the Advanced tab and disabling any enhancements.

Select this as your audio device in XBMC-AE and everything should work fine. Again, do not use DirectSound for TrueHD/DTS-MA - it won't work.

Ah thanks, i got it now! So far I got no glitches, this is perfect!!
Reply
(2012-05-01, 21:28)DDDamian Wrote:
(2012-05-01, 20:46)DDDamian Wrote:
(2012-05-01, 19:58)wints Wrote: Hi yeah volume is up using "+" key and no music mp3s dont play either

Ah hah! You might have a hang-over from a rather useless setting causing the issue here. Open your guisettings.xml file with NotePad or NotePad++. Search for the following entries:

Code:
<passthroughmp1>false</passthroughmp1>
<passthroughmp2>false</passthroughmp2>
<passthroughmp3>false</passthroughmp3>

Ensure they are all false. If the mp3 one is true it will cause exactly what you are seeing.
They all read as true can i just edit them to false?
Yep - just edit and save Smile
D'oh still the same no sound on mp3 files Sad

Did you restart XBMC? This is the only cause I can see for that issue, and it would certainly cause that. You might want to do a full search from Windows Explorer and make sure that is the only guisettings.xml on your system. I have the same card and mp3's play fine here as both audio and video soundtracks.

Cheers DDDamian did a search and found another guisettings.xml so deleted it started XBMC again it had changed all settings and skin back to default re-did the settings and pow all is fine again many thanks for taking the time to sort this lets all goes well for the merge Smile
9.1 Cinema Room htpc with Kodi Matrix & emby server~Epson EH-TW9300~Homemade 8ft pj screen~AVR~Yamaha RX-A3070~Speakers~Monitor Audio RX6 Fronts & RX Centre~RXFX Surrounds~250's Rears~180's Front Presence~BK XXLS400 Sub~8033C AntiMode~HarmonyOne
 
Reply
@Hasu0bs & @wints:

BlushBig GrinNodLaughBig Grin
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!
Reply
(2012-04-29, 09:39)ix400 Wrote: I think I found a bug in the recent AE build:

When I pause video playback and switch to a different receiver input (e.g. BD-Player) and then switch back to the XBMC-HDMI input, XBMC crashes.

http://db.tt/tNywT8jc

After quitting and re-starting XBMC afterwards, XBMC can't find the HDMI-output for audio anymore. In the settings it says then 'Error: No device found'.

Starting a new playback results in problems then:

http://db.tt/bxb3VhhI

Hope the log files help.

Chris

Chris, sorry missed responding to this. Unfortunately it's the classic handshaking issue. Your receiver should re-init a handshake when switching back to your HTPC - if it was then restarting XBMC would find the device.

The best we can do here (assuming there's no receiver firmware updates that fix this) is fail gracefully back to another device, but that may be of no use to many users e.g. switching to internal speakers, etc.

But once that handshake is lost and not re-initialized by the receiver there's nothing we can do to force it to happen.
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!
Reply
Thanks. I thought this is a bug, since it never happened in previous XBMC versions, including the patched Eden-HD version.

Chris
... Or might the problem be related to the one described in posts 214 / 215?
unRAID Server, Pioneer VSX-LX52, Panasonic 65VT30, Marusys VU+ Duo, Zotac AD10
Reply
  • 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23
  • 56

Logout Mark Read Team Forum Stats Members Help
[Windows] AudioEngine testers - Windows platform only3