[XBMC] Audio problems (using Dolby/DTS and HD sources)[debug log posted]
#1
Hi,

I'm having trouble with XBMC(10 and/or 10.1) passing Dolby/DTS or HD audio through to my receiver.

Hardware SETUP:


HTPC(HDMI) -> Onkyo NR-TX807 -> LED TV

HTPC
AMD Athlon II X2 255 / 3.1 GHz - Socket AM3
ASRock 880GMH/USB3 R2.0
ASUS EAH5570 SILENT/DI/1GD2 - Radeon HD 5570

XBMC Setup:

XBMC 10 (also not working with 10.1)

Audio output: HDMI
Speaker configuration: 5.0
Boost volume level on downmix: checked
AC3 capable receiver: checked
DTS capable receiver: checked
Audio output device: DirectSound: ATI HD Audio rear output

At first Windows did not pass-through DTS and HD audio either... After changing the output settings in the ffdshow audio decoder (the pass-through HDMI settings were not checked) it worked fine. (tested with MediaPlayer Classic).

When trying to play a disc/file with Dolby/DTS or HD audio using XBMC the following error is displayed: Failed to initialize audio device. Check your audio settings.

All other audio is working fine in XBMC just not DTS and/or HD.

Debug log shows the following:

Quote:19:08:15 T:1712 M:1541287936 NOTICE: Creating audio device with codec id: 86021, channels: 2, sample rate: 48000, pass-through
19:08:15 T:1712 M:1541287936 DEBUG: CAudioContext::SetActiveDevice - SetActiveDevice from 2 to 4
19:08:15 T:1712 M:1541283840 DEBUG: CAudioContext::RemoveActiveDevice - Removing device 2
19:08:15 T:1712 M:1541283840 DEBUG: CGUIAudioManager:Big GrineInitialize
19:08:15 T:1712 M:1539739648 DEBUG: CWDSound::direct_sound_enumerator_member_callback - found Device: Primary Sound Driver
19:08:15 T:1712 M:1539739648 DEBUG: CWDSound::direct_sound_enumerator_member_callback - found Device: ATI HD Audio rear output
19:08:15 T:1712 M:1539739648 DEBUG: CAudioContext::SetActiveDevice - selecting ATI HD Audio rear output as output devices
19:08:15 T:3852 M:1539739648 INFO: ffmpeg[F0C]: [h264] Cannot parallelize deblocking type 1, decoding such frames in sequential order
19:08:15 T:3852 M:1538723840 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(42000.000000, 0)
19:08:15 T:1712 M:1532731392 DEBUG: CWin32DirectSound::Initialize: Packet Size = 12384. Avg Bytes Per Second = 192000.
19:08:15 T:1712 M:1532731392 DEBUG: CWin32DirectSound::Initialize: Couldn't create secondary buffer (DSERR_CONTROLUNAVAIL). Trying without LOCHARDWARE.
19:08:15 T:1712 M:1532731392 DEBUG: CWin32DirectSound::Initialize: Couldn't create secondary buffer (DSERR_CONTROLUNAVAIL). Trying without CTRLVOLUME.
19:08:15 T:1712 M:1532731392 ERROR: CWin32DirectSound::Initialize: cannot create secondary buffer (DSERR_UNSUPPORTED)
19:08:15 T:1712 M:1532731392 ERROR: Creating a Null Audio Renderer, Check your audio settings as this should not happen
19:08:15 T:1712 M:1532731392 DEBUG: CAudioContext::SetActiveDevice - SetActiveDevice from 4 to 2
19:08:15 T:1712 M:1532731392 DEBUG: CAudioContext::RemoveActiveDevice - Removing device 4
19:08:15 T:1712 M:1532755968 DEBUG: CWDSound::direct_sound_enumerator_member_callback - found Device: Primary Sound Driver
19:08:15 T:1712 M:1532755968 DEBUG: CWDSound::direct_sound_enumerator_member_callback - found Device: ATI HD Audio rear output
19:08:15 T:1712 M:1532755968 DEBUG: CAudioContext::SetActiveDevice - selecting ATI HD Audio rear output as output devices
19:08:15 T:3852 M:1534742528 NOTICE: fps: 23.976025, pwidth: 1920, pheight: 812, dwidth: 1919, dheight: 812
19:08:15 T:3852 M:1534742528 DEBUG: CDVDPlayerVideo::OutputPicture - change configuration. 1920x812. framerate: 23.98. format: YV12
19:08:15 T:1712 M:1534640128 DEBUG: CNullDirectSound::Initialize - Channels: 2 - SampleRate: 48000 - SampleBit: 16 - Resample false - IsMusic false - IsPassthrough true - audioDevice: ATI HD Audio rear output
19:08:15 T:1712 M:1534640128 DEBUG: CDVDPlayerAudio:: synctype set to 0: clock feedback
19:08:15 T:200 M:1534640128 DEBUG: CDVDPlayer::HandleMessages - player started 1
19:08:16 T:2760 M:1534169088 DEBUG: CAnnouncementManager - Announcement: PlaybackStarted from xbmc

Can anyone point me in the right direction as to why XBMC is not able to pass-through DTS and HD-Audio to my receiver?

Thank you in advance.
Reply
#2
Typically a full debug log posted on pastebin.com is requested.

Oh, also, at the moment XBMC only passes LPCM from the HD audio codecs. It sounds exactly the same, but it won't light up the pretty light on the receiver. I'm honestly not sure why dts isn't being passed. A dev might know the answer, though you'd get more help from them if you posted a full debug log.
Reply
#3
Herewith the full Debug Log while trying to play a mkv file with dolby digital sound.

http://pastebin.com/aecjhuBf
Reply
#4
Can anyone tell me how i can check which device XBMC is using as the pass-through device?

Is the audio output device the same as the pass-through device?

Audio output: HDMI
Speaker configuration: 5.0
Boost volume level on downmix: checked
AC3 capable receiver: checked
DTS capable receiver: checked
Audio output device: DirectSound: ATI HD Audio rear output
Reply
#5
overcast83 Wrote:Can anyone tell me how i can check which device XBMC is using as the pass-through device?

Is the audio output device the same as the pass-through device?

Audio output: HDMI
Speaker configuration: 5.0
Boost volume level on downmix: checked
AC3 capable receiver: checked
DTS capable receiver: checked
Audio output device: DirectSound: ATI HD Audio rear output
Wish I could read these damn logs Big Grin, but I can't so can only offer user advice - similar set-up to yours (onkyo 807, ATI HD5670).

Firstly do you have other options in 'Audio Output Device'. If so, try the WASAPI option (I have never been able to get DTS sound using the Direct Sound option) - don't know why, never asked. It works for me in WASAPI mode therefore happy camper.

The second thing you might want to check is the Sound set-up in Windows - Control Panel\Sound\AMD HDMI Output - configure button bottom left of the panel and make sure it is set for 5.1 (options are 2.0, 5.1 and 7.1).
Reply
#6
After hours of googling i finally decided to reinstall the machine using Windows 7 instead of Windows XP.

After configurating ffdshow as descibed in: http://www.mediasmartserver.net/2010/02/...pc-part-i/ everything(Dolby/DTS/DTS-MA/Dolby True-HD) works like a charm.

I'm still not sure why XBMC wasn't able to process DTS etc from XBMC to my receiver but Windows 7 solved it...
Reply
#7
Don' think the problem was XBMC per se, but your OS (XP - had missed that) - others are, and have had problems getting bitstreaming of anything (DD/DTS or DTS-MA/True HD) with an XP/ATI 5xxx series combo.

Though I'm assuming that you're no longer using xbmc, given that your bitstreaming HD Audio.
Reply
#8
I do use XBMC.

XBMC on Windows 7 works now like a charm for me!
Somehow bitsteaming from XBMC using Windows XP didn't seem to work for me.

Glad it worked out with Windows 7.
Reply
#9
Are you using DSPlayer?

overcast83 Wrote:I do use XBMC.

XBMC on Windows 7 works now like a charm for me!
Somehow bitsteaming from XBMC using Windows XP didn't seem to work for me.

Glad it worked out with Windows 7.
Reply
#10
As machro has suggested you won't be bitstreaming HD Audio because at this moment xbmc doesn't natively bitstream HD Audio codecs and the build in your log isn't a DSPlayer build. Unless your using an external player.

Your certainly not using xbmc if you followed Damian's tut - its for Windows and uses ffdshow and mpc. xbmc doesn't use any external codecs in its native form, therefore if you are bitstreaming DTS-MA and Dolby True HD its not with xbmc.
Reply

Logout Mark Read Team Forum Stats Members Help
[XBMC] Audio problems (using Dolby/DTS and HD sources)[debug log posted]0