Kodi Community Forum

Full Version: Audio passtrough problems (HDMI) in Dharma
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,
on Mac Mini 2010 (SL 10.6.3 -10.6.6 same) still have problem with audio passtrough thru HDMI for DD and DTS. With previous XBMC version (9.11) passtrough works without any problem, but since Dharma release I have this wierd problems. PCM Multichannel working OK and its my workaround for multichannel sound from my AV receiver.

Here is some things related to audiomixer in my log with enable passtrough for DTS and DD:
21:27:29 T:2967797760 M:703324160 NOTICE: Creating audio device with codec id: 86020, channels: 2, sample rate: 48000, pass-through
21:27:29 T:2967797760 M:668364800 ERROR: CCoreAudioDevice::SetMixingSupport: Unable to set MixingSupport to 'Off'. Error = 0x65706f6e (nope)
21:27:29 T:2966167552 M:662564864 NOTICE: fps: 25.000000, pwidth: 1280, pheight: 528, dwidth: 1280, dheight: 528
21:27:29 T:2966167552 M:662564864 NOTICE: Display resolution DESKTOP : 1440x900 @ 75.00 - Full Screen (12)
21:27:29 T:2685904192 M:662560768 NOTICE: Using GL_TEXTURE_2D
21:27:29 T:2685904192 M:661241856 NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
21:27:29 T:2685904192 M:661237760 NOTICE: GL: NPOT texture support detected
21:27:29 T:2685904192 M:661237760 NOTICE: GL: Using GL_ARB_pixel_buffer_object
21:27:30 T:2685904192 M:657473536 NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
21:27:30 T:2685904192 M:657461248 NOTICE: GL: NPOT texture support detected
21:27:30 T:2685904192 M:657461248 NOTICE: GL: Using GL_ARB_pixel_buffer_object
21:28:01 T:2966167552 M:611012608 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
21:28:01 T:2966167552 M:611016704 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
21:28:02 T:2967797760 M:609435648 WARNING: Previous line repeats 12 times.
21:28:02 T:2967797760 M:609435648 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
21:28:02 T:2966167552 M:609435648 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
21:28:04 T:2966167552 M:592142336 WARNING: Previous line repeats 1 times.
21:28:04 T:2966167552 M:592142336 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
21:28:04 T:2967797760 M:600571904 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
21:28:04 T:2967797760 M:600571904 ERROR: AddPackets - failed to add leftover bytes to render
21:28:04 T:2966167552 M:600571904 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
21:28:06 T:2967797760 M:596803584 WARNING: Previous line repeats 15 times.
21:28:06 T:2967797760 M:596803584 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
21:28:08 T:2967797760 M:599244800 ERROR: Previous line repeats 1 times.
21:28:08 T:2967797760 M:599244800 ERROR: AddPackets - failed to add leftover bytes to render
21:28:10 T:2967797760 M:607776768 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
21:28:12 T:2967797760 M:607760384 ERROR: Previous line repeats 1 times.
21:28:12 T:2967797760 M:607760384 ERROR: AddPackets - failed to add leftover bytes to render
21:28:14 T:2967797760 M:607854592 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
21:28:16 T:2967797760 M:607440896 ERROR: Previous line repeats 1 times.
21:28:16 T:2967797760 M:607440896 ERROR: AddPackets - failed to add leftover bytes to render
21:28:19 T:2967797760 M:607494144 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
21:28:21 T:2967797760 M:606507008 ERROR: Previous line repeats 1 times.
21:28:21 T:2967797760 M:606507008 ERROR: AddPackets - failed to add leftover bytes to render
21:28:23 T:2967797760 M:606101504 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
21:28:25 T:2967797760 M:606121984 ERROR: Previous line repeats 1 times.
21:28:25 T:2967797760 M:606121984 ERROR: AddPackets - failed to add leftover bytes to render
21:28:27 T:2967797760 M:606150656 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
21:28:28 T:2966167552 M:597610496 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
21:28:29 T:2966167552 M:606035968 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
21:28:29 T:2967797760 M:606035968 WARNING: Previous line repeats 1 times.
21:28:29 T:2967797760 M:606035968 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
21:28:29 T:2967797760 M:606035968 ERROR: AddPackets - failed to add leftover bytes to render
21:28:29 T:2966167552 M:606023680 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
21:28:31 T:2967797760 M:608714752 WARNING: Previous line repeats 6 times.
21:28:31 T:2967797760 M:608714752 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
21:28:33 T:2967797760 M:608542720 ERROR: Previous line repeats 1 times.
21:28:33 T:2967797760 M:608542720 ERROR: AddPackets - failed to add leftover bytes to render
21:28:33 T:2966167552 M:608522240 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
21:28:35 T:2967797760 M:608530432 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
21:28:37 T:2967797760 M:608653312 ERROR: Previous line repeats 1 times.
21:28:37 T:2967797760 M:608653312 ERROR: AddPackets - failed to add leftover bytes to render
21:28:37 T:2685904192 M:608653312 NOTICE: CDVDPlayer::CloseFile()
21:28:37 T:2685904192 M:608665600 NOTICE: DVDPlayer: waiting for threads to exit
21:28:37 T:2963505152 M:608690176 NOTICE: CDVDPlayer::OnExit()
21:28:37 T:2963505152 M:608690176 NOTICE: DVDPlayer: closing audio stream
21:28:37 T:2963505152 M:608690176 NOTICE: Closing audio stream
21:28:37 T:2963505152 M:608690176 NOTICE: Waiting for audio thread to exit
21:28:37 T:2967797760 M:608690176 NOTICE: thread end: CDVDPlayerAudio::OnExit()
21:28:38 T:2963505152 M:608710656 NOTICE: Closing audio device
21:28:38 T:2963505152 M:608710656 ERROR: CCoreAudioDevice::Stop: Unable to stop device. Error = 0x76656421 (!dev).
21:28:38 T:2963505152 M:608927744 ERROR: CCoreAudioDevice::RemoveIOProc: Unable to remove IOProc. Error = 0x76656421 (!dev).
21:28:38 T:2963505152 M:608927744 ERROR: CCoreAudioStream::SetVirtualFormat: Unable to set physical format for stream 0x0135. Error = 0x72747321 (!str)
21:28:38 T:2963505152 M:608927744 ERROR: CCoreAudioDevice::SetHogStatus: Unable to release 'hog' status. Error = 0x76656421 (!dev)
21:28:38 T:2963505152 M:608911360 NOTICE: Deleting audio codec

Can you help me please?
Thanx for any advice or solution :-)
Stanik
2 things:

1. Post Media Info summary of file in question
2. If you can post a sample, that would be even better

I, personally, am not having trouble with anything except for DolbyTrureHD. Everything else works fine over HDMI on my setup.
Maybe i dont wrote this issue correctly, but this is not problem with some files.

Its general problem with every file with DTS or DD sound included. DTS or Dolby Digital not working since upgrade my Mac Mini to Dharma. Normal audio (PCM) working without any problem.

Stanik
The point I was making, is that I have ran many svns since 9.11 and beyond 10.0; and I'm not having this problem. So, the first thing I would do is try a previous nightly to see if its your install. Basically, its not universal. I trust you made the setting changes to support DTS and DD.
I have this problem from Dharma RC1 till official release 10.0

Its looking like my special problem. Maybe I will try reinstall whole SL on my Mac Mini :-(
stanik Wrote:I have this problem from Dharma RC1 till official release 10.0

Its looking like my special problem. Maybe I will try reinstall whole SL on my Mac Mini :-(

Don't reinstall SL, it's a waste of time, OSX is not windows where you try and cure something by reinstalling the os.
Hope so :-)

But I tried almost everything :-(
Some progress :-)

DTS sound working now, but Dolby Digital not.
Its looking like a bigger problem. I found on xbmc forum many users with exactly same problem like me and with different OS (WIN,Live CD - Linux, ...).

DTS passtrough working Dolby Digital / AC3 not - no sound.

For complete info. I have Harman Kardon AVR 255 receiver connected thru HDMI to Mac Mini.

acribb

It's a problem with only your setup.

Dolby Digital AC3 and DTS pass through over HDMI work fine.
Hi Acribb,

how you know :-) ??

So here is my congig (from guisettings.xml):
<ac3passthrough>false</ac3passthrough>
<audiodevice>HDMI</audiodevice>
<channellayout>9</channellayout>
<dontnormalizelevels>true</dontnormalizelevels>
<dtspassthrough>true</dtspassthrough>
<mode>2</mode>
<passthroughaac>false</passthroughaac>
<passthroughmp1>false</passthroughmp1>
<passthroughmp2>false</passthroughmp2>
<passthroughmp3>false</passthroughmp3>

maybe you see something wrong in this setup. Any hint?
Umm...how about turning on AC3 passthrough. I asked you about your setting earlier on...
You need to enable passthrough otherwise how is this supposed to work?

acribb

<ac3passthrough>true</ac3passthrough>
set output to toslink instead of HDMI even if you have HDMI and then see if it works
Pages: 1 2