Solved HD Audio bitstreaming troubleshooting guide
#1
I help a lot of people with their home theater systems, HTPCs and XBMC setups and lately I've run into a lot of issues with bitstreaming HD Audio (DTS-HD MA and Dolby TrueHD).

Some of the problems are because people are misinformed about how HD Audio works, some issues are hardware related, and some are driver related.

I thought I'd post this troubleshooting guide as general starting point for anybody dealing with HD audio bitstreaming and trying to understand how to make it work.

The first thing you need to understand about the HD Audio formats is how they are encoded and how and why they are different from normal 5.1 AC-3 and DTS.

DTS-HD Master Audio (MA)

DTS chose to encode their HD format using what is known as a Core+Extension scheme. Essentially the Lossless HD audio stream contains a Lossy DTS 5.1 audio stream at it's core which is wrapped in the additional, extension, audio data. Together the lossy core + the extension provide enough information that it's possible for a decoder to get back to a Lossless reproduction of the audio.

The bonus about this audio scheme (and probably part of the reason why it's more popular than Dolby TrueHD) is that in theory you only ever need to have 1 audio stream in your movie file, the HD one. This is because any older player should be able to extract the 5.1 Core audio from that and only play the normal 5.1 DTS if it cannot handle the full Lossless HD audio track. This backward compatability is by design. Some older players don't quite get this right, but in principle that's what is supposed to happen.

Dolby TrueHD

Unlike DTS, Dolby do NOT employ a Core+Extension packaging scheme for TrueHD. If your audio playback device cannot handle TrueHD then your movie file MUST have an additional audio stream that it can handle available in order for you to get any audio. And in fact, the Blu-Ray standard dictates that any Blu-Ray movie with a Dolby TrueHD audio track MUST also include a normal 5.1 Dolby AC-3 audio track for backward compatibility.

That means that technically speaking, if a movie has a TrueHD track, it should ALWAYS have at least 2 audio streams embedded in it.

And that's pretty much the long and short of what the story is with the HD audio formats, at a high level.


Requirements for bitstreaming HD audio successfully


1. You MUST be bitstreaming over HDMI. You cannot bitstream HD audio over S/PDIF. Period, no exceptions.

2. Your A/V receiver / audio playback device must natively support decoding of the HD audio formats. This may seem obvious, but people will try to send HD audio to devices that don't support it time and again.

3. The audio chipset in the PC that is sending the HD Audio bitstream to your audio playback device of choice must be capable of:

a. Negotiating properly with your audio playback device over HDMI and correctly interpreting the EDID's received over HDMI. Some older audio chipsets had problems with this that caused various issues.

b. Capable of actually bitstreaming HD audio. All modern ones should be as far as I know, but here again it pays to confirm against official specs and not assume things.

4. If you are attempting to play HD Audio from XBMC then:

a. You MUST use the WASAPI audio filters and NOT DirectShow.

b. You must enable HD Audio format support in the System-->Hardware-->Audio page of the XBMC settings.


5. If you are attempting to play HD Audio via another media player besides XBMC then:

a. You must make sure that you have DirectShow, LAV Audio Filters, or both installed.

b. You must make sure that either DirectShow or the LAV Audio Filters have been configured to pass through all the various Audio formats, including the HD Audio formats, depending on which one you are using.

c. You must make sure that whatever Splitter you are using (LAV, Haali, etc.) is invoking the Audio filter library (DirectShow, LAV Audio, etc.) that you think it is. Watch your windows tray to see what gets invoked when you play a movie.


And that's pretty much the high level requirements list for bitstreaming HD Audio.

The 4 most common reasons for HD Audio bitstreaming NOT working

1. The audio playback device of choice actually does NOT support it. Sometimes the spec for the device says it does, but it still actually does not.

2. There is a problem with the drivers for the audio chipset you are using.

3. You somehow have the audio getting output to the wrong Audio output on your PC (S/PDIF instead of HDMI for example). Possibly because you don't have the HDMI out set as the system default.

4. The HDMI cable. Try a different HDMI cable. Even if the HDMI cable works with other devices, still try a different one. There have been cases where people have got Blu-Ray players passing through audio on a cable that does NOT do the same from the PC, but they try a different audio cable and suddenly the problems go away. Sometimes it doesn't even make sense why, but certain cables work and others don't and certain cables work with certain devices. It is always a good idea to try a few different HDMI cables to make sure it's not the cable.

And while we are on the subject of HDMI cables, please note that all HDMI cables are NOT made equal. There different revisions of the cables. In this day and age you need to make sure you have at least an HDMI v1.3 rated cable, and preferably an HDMI v1.4 rated cable.


Common Symptoms of HD Audio not working

1. You simply get no audio. You get video playing fine, but no audio at all.

2. You get video, but it's choppy and stutters, and no audio.

3. You get choppy video and you get choppy audio. I'm not sure about this scenario but I think some people have experienced this.

When attempting to play HD Audio in XBMC via DirectShow instead of WASAPI, you will experience one of the above symptoms, even if your audio playback device (receiver) is capable of playing HD Audio.


How to do low level diagnostics of your playback hardware

During all the troubleshooting that I've done related to HD audio, I came across a very useful utility that is capable of interrogating the equipment you have connected to the HDMI output of your PC and will tell you what that equipment should be able to support in terms of both Video Resolutions / Modes and Audio formats.

You can get it here: http://www.entechtaiwan.com/util/moninfo.shtm - Download link top left of page.

What that app does is it interrogates the chain of hardware connected to the HDMI out of your PC and interprets the EDID data that is sent back to it by your hardware.

The EDID data is a big blob of information that tells you everything about what the connected hardware can support and is capable of (among other things).

On my personal system, about 3/4 of the way down the report that MonInfo generates, I see this:

CE audio data (formats supported)
LPCM 2-channel, 16/20/24 bit depths at 32/44/48/88/96/176/192 kHz
LPCM 8-channel, 16/20/24 bit depths at 32/44/48/88/96/176/192 kHz
AC-3 6-channel, 640k max. bit rate at 32/44/48 kHz
DTS 7-channel, 1536k max. bit rate at 32/44/48/88/96 kHz
SACD 6-channel at 44 kHz
DD+ 8-channel at 44/48 kHz
DVD-A 8-channel at 48/96/192 kHz
DTS-HD 8-channel, 16-bit at 48/96/192 kHz



NOTE: The entry in the list of devices in the top left panel that you want to be looking at is the entry with the words "Real Time ..." in brackets next to it. That is the ONLY entry that seems to return a full combined EDID package that INCLUDES audio information.

You may see various devices in that list that identify your TV or A/V Receiver separately, but those entries may not contain audio information. In my case, I see separate entries for my Samsung TV and my Yamaha A/V Receiver, and neither of those entries contains any audio information. ONLY the entry with "Real Time ..." next to it returns the audio information shown above.

What is particularly useful about this is:

1. If you have your PC connected to your A/V receiver via HDMI, and then your A/V receiver connected to your TV via HDMI (Video passthru), then the EDID package that comes back is effectively a combination of information about BOTH of those devices merged together.

2. The EDID information is low level and direct from the source devices. This means that it should give you a VERY accurate picture of what Audio formats are supported by your hardware, without things like audio chipset drivers confusing the issue.

The bottom line is, if you run this app and it tells you that the connected devices do NOT support DTS-HD MA and / or Dolby TruSurround, then you can be fairly sure you've got compatibility issues with your playback hardware and NOT with your PC at source.

----------------------------------------------------------------------

And that's all there is to it, at a high level.

Most of the issues experienced are either simply bad configuration or outright lack of compatibility of certain hardware involved.

XBMC actually does a very good job of playing HD Audio via WASAPI if all of your hardware is compliant and your drivers are up to date and installed correctly.

HD Audio bitstreaming FAQ

1. Q: Why does the manual for my A/V receiver say that it supports DTS-HD MA and TruSurround, but it refuses to work ?

A: Possible explanations (assuming everything else is set correctly and the receiver just refuses to play HD Audio) are:

a. Although the manual for your receiver says it supports those formats, what it actually means is that it will fall back to the Core track (for DTS) or mandatory AC-3 audio track for TrueHD automatically and will play you 5.1 audio. In other words, it doesn't actually PLAY HD audio, it just supports it from the point of view that it won't play nothing, it will fall back to what it can play.

b. The manual is lying and it does not support those formats.

c. It supports those formats if they are coming off of a Blu-Ray disc (all-in-one Blu-Ray Player / Receiver combo) but NOT if they are sent to it over HDMI as a bitstream.

The MoInfo app I gave a link for earlier in this article will help a lot to clarify if this is the case and determine what the device on the other end of the HDMI cable can ACTUALLY handle.


2. Q: In XBMC, what do I do if my hardware does not support the HD Audio formats ? Does this mean I can't get any surround sound ?

A: Absolutely no problem. Simply go to the Settings --> Hardware --> Audio page in the XBMC settings and disable support for DTS-HD and Dolby TrueHDand make sure you are using the WASAPI filters for all audio output.

That should guarantee that XBMC always extracts the 5.1 Core for DTS and will attempt to play a different audio track to the TrueHDtrack in the case of TrueHD, automatically.

In other words, you should still be able to get discrete DTS or Dolby 5.1 audio (assuming your audio playback hardware at least supports that) even if your audio playback hardware does not support the HD audio formats at all.

NOTE: If you have a movie that has Dolby TrueHD and NOT other audio stream embedded, and your audio playback hardware does not support TrueHD, you will NOT get any audio unfortunately, because in that case no Core audio can be extracted like it can for DTS, and another separate non-HD audio stream is required.

3. Q: When I run MonInfo (Monitor Asset Manager) I can see my devices listed top left and I see an entry for "Real Time ..." but none of those entries return any audio information. Why not ?

A: Good question ! One possible explanation for this is that you have your A/V receiver set to pass thru Audio as well as Video. In that case it is possible that your A/V receiver gets ignored completely during the HDMI hand shaking process and no information specific to audio is returned in the EDID package.

To rectify this, you should check the settings on your receiver itself and see if there is a setting to control pass thru. Make sure you do not have it set to pass thru Audio, ONLY Video. Your receiver should NOT pass thru audio, it should consume the audio itself and play it and ONLY pass thru the video to your display device.
Reply
#2
OK, I loaded the Monitor Asset Manager 2.7 and ran it, but all I'm seeing is video info, nothing on audio whatsoever. I've run it several times, and it correctly identifies my monitor and AV receiver, but just video specs. What am I doing wrong?
Reply
#3
@Hurricane51:

It's not my software, so I can't speak with great authority here, but I'll try help.

First of all, what do you mean by "it correctly identifies my monitor AND AV receiver" ?

Please explain how your devices are physically connected. It should not be identifying 2 devices ? It should be returning ONE EDID package with combined data ?

How many HDMI cables are involved and what, exactly is connected to what, and with what kind of cable for each connection ? Be very specific please.

To see the audio data you need to scroll right down and it typically appears towards the bottom of the full list of data that it returns. There IS a lot of Video related information before you get to the audio stuff.

On my system, about 3/4 of the way down the report that it generates, I see this:

CE audio data (formats supported)
LPCM 2-channel, 16/20/24 bit depths at 32/44/48/88/96/176/192 kHz
LPCM 8-channel, 16/20/24 bit depths at 32/44/48/88/96/176/192 kHz
AC-3 6-channel, 640k max. bit rate at 32/44/48 kHz
DTS 7-channel, 1536k max. bit rate at 32/44/48/88/96 kHz
SACD 6-channel at 44 kHz
DD+ 8-channel at 44/48 kHz
DVD-A 8-channel at 48/96/192 kHz
DTS-HD 8-channel, 16-bit at 48/96/192 kHz
Reply
#4
In the upper left hand pane is a list of Display IDs. The first one is my correct monitor, but if I scroll down I find my Yamaha AV receiver list as well, although as a monitor. No matter which ID I select, the main window (Asset information) displays nothing but video info. It is not that long of a list. I see nothing like what you see.

My graphics card is connected via one HDMI cable to the AV receiver (which is DTS HD Master Audio capable). The output on my AV receiver goes to the monitor; the audio is handled by the receiver. So there's a very simple path. No other input devices and no other output devices.

As far as I can tell only the DTS HD MA is affected. I can play high-bitrate (96 KHz) PCM audio tracks just fine.

Maybe you have a different version of the software? The description of the software says nothing about providing audio information, and my display matches the screenshot on the vendor's page.
Reply
#5
I've just taken another good look at what it looks like on my HTPC.

The ONLY entry in the list at the top left that is relevant is the entry that has "Real Time ..." in brackets next to it. It should be the very first entry right at the top.

On my system, I also have entries below that for both my Yamaha Receiver and my Samsung TV, and neither of those entries have audio data either.

ONLY the "Real Time ..." entry gives you the full combined EDID package on the right, and in my case ONLY that entry has the audio data included.

Also note that the software DOES refer to A/V Receivers as displays because they accept Video signals and pass through video signals. It is misleading, but it does actually interrogate the receivers correctly.

I am running exactly the same software as you, I can assure you.

The software simply captures any EDID packages that come back from ANY device on the other end of the HDMI cable that responds. Normally that would be a display of some sort, but A/V receivers are sort of a special case because they hand shake over HDMI like a display does and return a valid EDID package, even though they are not actually displays.
Reply
#6
I've been using the Real-time ID. Here's my complete results:

Monitor
Model name............... Panasonic-TV
Manufacturer............. Panasonic
Plug and Play ID......... MEIA0AA
Serial number............ n/a
Manufacture date......... 2010, ISO week 0
Filter driver............ None
-------------------------
EDID revision............ 1.3
Input signal type........ Digital
Color bit depth.......... Undefined
Display type............. RGB color
Screen size.............. Undefined or variable
Power management......... Not supported
Extension blocs.......... 1 (Reserved - 0x00)
-------------------------
DDC/CI................... Not supported

Color characteristics
Default color space...... Non-sRGB
Display gamma............ 2.20
Red chromaticity......... Rx 0.640 - Ry 0.345
Green chromaticity....... Gx 0.291 - Gy 0.635
Blue chromaticity........ Bx 0.163 - By 0.093
White point (default).... Wx 0.288 - Wy 0.296
Additional descriptors... None

Timing characteristics
Horizontal scan range.... 15-68kHz
Vertical scan range...... 23-61Hz
Video bandwidth.......... 150MHz
CVT standard............. Not supported
GTF standard............. Not supported
Additional descriptors... None
Preferred timing......... Yes
Native/preferred timing.. 1280x720p at 50Hz (16:9)
Modeline............... "1280x720" 74.250 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
Detailed timing #1....... 1280x720p at 60Hz (16:9)
Modeline............... "1280x720" 74.250 1280 1390 1430 1650 720 725 730 750 +hsync +vsync

Standard timings supported

Report information
Date generated........... 1/1/2014
Software revision........ 2.70.0.989
Data source.............. Real-time 0x0100
Operating system......... 6.1.7601.2.Service Pack 1

Raw data
00,FF,FF,FF,FF,FF,FF,00,34,A9,AA,A0,01,01,01,01,00,14,01,03,80,00,00,78,0A,DA,FF,A3,58,4A,A2,29,
17,49,4B,00,00,00,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,1D,00,BC,52,D0,1E,20,B8,28,
55,40,BA,88,21,00,00,1E,01,1D,00,72,51,D0,1E,20,6E,28,55,00,BA,88,21,00,00,1E,00,00,00,FC,00,50,
61,6E,61,73,6F,6E,69,63,2D,54,56,0A,00,00,00,FD,00,17,3D,0F,44,0F,00,0A,20,20,20,20,20,20,01,9B
Reply
#7
Interesting. It seems to be completely ignoring your A/V receiver in that report.

You say the PC is connected to the receiver and the Panasonic TV is connected to the HDMI out of the receiver, so video is passing through the receiver ?

I think I may know what the problem is. Those receivers have different pass-thru modes. If you have your receiver set to pass video AND audio through to the TV, then I think your receiver gets ignored.

You need to go into the settings on your receiver itself and find the audio settings under HDMI Control (I think it's called that on the Yamahas) and make sure you are NOT passing audio through.

Typically there are 3 modes: Amp only, Amp + TV, TV only. Make sure you are set to "Amp Only".
Reply
#8
Another good test is to connect a separate display to the PC, on a different cable (eg. VGA or DVI) and ONLY have the A/V receiver connected on the HDMI cable without anything connected to the receivers HDMI out.

Then run MonInfo again and see if the results differ when the receiver is the only thing connected and is therefore effectively the last thing in the HDMI chain.

@Hurricane51:

Another important thing to note here is that it is VERY likely that your actual problem (assuming all your hardware CAN support DTS-HD MA) is the driver for your audio chipset.

If you have an Intel audio chipset this is a known problem and you need the very latest HD Audio chipset driver to correct DTS-HD bitstreaming issues.

If yours is Intel, I strongly recommend that you go to the Intel website and download ALL driver updates available for your motherboard / machine model.

You will need to do that manually. Do NOT rely on Windows automatic updates or any other automatic updates. Manually download the latest drivers.

Also note that you MUST download ALL available drivers, not just the audio drivers, when it comes to the Intel systems. Things like the Intel Management Interface driver and even the Intel Graphics drivers (believe it or not) can have an effect on your audio bitstreaming.

I just recently helped someone who purchased and setup a brand new Intel NUC HTPC and also couldn't get DTS-HD MA to bitstream to a Yamaha amp, and in the end the problem was his drivers and now it works perfectly.
Reply
#9
Bump.
Reply
#10
I'm waiting for a response from ASUS as to whether the card supports DTS HD MA. Apparently the simple question, "Does this card support DTS HD Master Audio" confused them greatly.
Reply
#11
Does MonInfo still return no audio information for you ? Because if so, that represents a problem too.

You should definitely be getting audio info back in the EDID package in your case.
Reply
#12
It was crashing so I deinstalled it and reinstalled it but still no audio info.
Reply
#13
Did you check the settings on your amp and make sure that you are not passing audio through ?
Reply
#14
Yes.
Reply
#15
Ok i signed up just to thank you. Clean post,clear steps,solved my problem.Thanx a lot.Alex
Reply

Logout Mark Read Team Forum Stats Members Help
HD Audio bitstreaming troubleshooting guide0