• 1
  • 4
  • 5
  • 6
  • 7
  • 8(current)
OS X Mavericks - No sound after 2 or 3 days (debug log attached)
@FernetMenta ... this is the code now:

https://github.com/Memphiz/xbmc/commits/osxdevicereset

Will you PR the top most commit and i do the rest in a seperate PR? Or should we PR both in one?
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
can you submit both in one and relate the pr to this issue?
Reply
done

https://github.com/xbmc/xbmc/pull/4441
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
I'm also going to test this as I have a Mac Mini 2010, xbmc 12.3 and have tested the various versions except for this most recent one. The one where repstein said it originally fixed this issue seemed to fix it for me but for some reason made the dialog move from the center channel to the left and right rear channels. I'll post any findings i have as well. I don't post much but thank you guys for your diligence at finding a solution to this.
Reply
Ok same outcome. audio looks fixed as far as it plays after i turn my receiver back on.

Mac Mini Mid 2010
2.4 GHz Intel Core 2 Duo
6GB 1067Memory
Nvidia 320 256MB
OS X 10.9.2(13C64)

Receiver is Pioneer VSX522 w/ Bose Acousitmas 10
Skin is Aeon

Audio settings are

Default
5.1
1 Min

Dialog for movies with DTS 5.1 or higher has dialog coming out of the rear speakers instead of the center speaker.

debug
Reply
I will test on a mac mini that I just reformat and install osx 10.9.1
might help
Reply
I was testing with a 2.0 configuration. I can also test later with a 5.1 configuration and let you know.
Reply
log http://xbmclogs.com/show.php?id=152353
I got no sound on dts
my settings are mac mini osx 10.9.1 connected to pioneer vsx 921
hope the information cam help
if you need to try anything on this machine Im trying to help any test jut send my a guide and I well be happy to help you..
Reply
(2014-03-18, 15:06)Memphiz Wrote: Yes i have reenabled them for sure:

see https://github.com/Memphiz/xbmc/blob/osx...X.cpp#L296

In giganturs logs they didn't appear always - it was in repsteins logs where we saw them. (its a different story why those are not fired on giganturs setup - it seems the os doesn't think anything to the device list changed ...).

I suspect if I hard power off TV it will ..

As above - in my previous experience standy and power off are different - if i rebooted my previous gen mac with TV actually off versus standby (then turned TV on later) the mac was a train wreck in terms of graphics - at the time i found heaps of info on the web saying same thing ..
Reply
@all those who are chiming in here now - keep this thread on topic and don't post any other audio issues here.

Last comment in this thread from me for the offtopic things -

@ganbyt - you have set your defsult device to builtin output or optical or something. You need to set your speaker layout to 2.0 in that vase or switch to hdmi in OSX audio settings.

@crypticknight - make a new thread with a debug log (wiki) or switch your speakerlayout to 2.0

now stop threadjacking...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
(2014-03-19, 09:08)Gigantur Wrote:
(2014-03-18, 15:06)Memphiz Wrote: Yes i have reenabled them for sure:

see https://github.com/Memphiz/xbmc/blob/osx...X.cpp#L296

In giganturs logs they didn't appear always - it was in repsteins logs where we saw them. (its a different story why those are not fired on giganturs setup - it seems the os doesn't think anything to the device list changed ...).

I suspect if I hard power off TV it will ..

As above - in my previous experience standy and power off are different - if i rebooted my previous gen mac with TV actually off versus standby (then turned TV on later) the mac was a train wreck in terms of graphics - at the time i found heaps of info on the web saying same thing ..

Still ok with hard power off .. here is the debug

Steps:

Play
Pause
TV OFF
wait 3 minutes
TV ON
Play (ok)
Pause
upload debug

Log shows the following after the power off:

23:03:41 T:4677230592 DEBUG: CActiveAE - device change event
23:03:41 T:4677767168 ERROR: CActiveAESink::OutputSamples - failed
23:03:41 T:4677767168 ERROR: CEngineStats::UpdateSinkDelay - inconsistency in buffer time
23:03:41 T:4677767168 ERROR: CCoreAudioDevice::Stop: Unable to stop device. Error = '!dev'
23:03:41 T:4677767168 ERROR: CCoreAudioDevice::RemoveIOProc: Unable to remove IOProc. Error = '!dev'
23:03:41 T:4434699024 DEBUG: CWinSystemOSX:Big GrinisplayReconfigured with flags 1
23:03:41 T:4434699024 DEBUG: CWinSystemOSX::AnnounceOnLostDevice
23:03:41 T:4677767168 DEBUG: CCoreAudioStream::Close: Couldn't remove property listener.
23:03:41 T:4677767168 DEBUG: Previous line repeats 1 times.
23:03:41 T:4677767168 DEBUG: CCoreAudioStream::Close: Restoring original physical format for stream 0x0045. ([lpcm] Mixable Interleaved 2 Channel 16-bit Signed Integer LE (48000Hz))
23:03:41 T:4677767168 ERROR: CCoreAudioStream::SetPhysicalFormat: Unable to set physical format for stream 0x0045. Error = '!obj'
23:03:41 T:4677767168 DEBUG: CCoreAudioStream::Close: Closed stream 0x0045.
23:03:41 T:4677767168 ERROR: CCoreAudioDevice::GetBufferSize: Unable to retrieve buffer size. Error = '!obj'
23:03:41 T:4677767168 ERROR: CCoreAudioDevice::SetBufferSize: Unable to set buffer size. Error = '!obj'
23:03:41 T:4677767168 ERROR: CCoreAudioDevice::GetBufferSize: Unable to retrieve buffer size. Error = '!obj'
23:03:41 T:4677767168 ERROR: CCoreAudioDevice::SetBufferSize: Buffer size change not applied.


Oddly, the log also shows a number of errors after the first play/pause (prior to turning the TV off):

23:00:05 T:4434699024 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPause
23:00:05 T:4434699024 DEBUG: ------ Window Init (DialogSeekBar.xml) ------
23:00:05 T:4434699024 DEBUG: Window DialogSeekBar.xml was already loaded
23:00:05 T:4434699024 DEBUG: Alloc resources: 0.17m
23:00:08 T:4939350016 DEBUG: CoreAudio: audiodevicelist changed - reenumerating
23:00:08 T:4939350016 DEBUG: CoreAudio: audiodevicelist changed - done
23:00:08 T:4677230592 DEBUG: CActiveAE - device change event
23:00:08 T:4677767168 ERROR: CActiveAESink::OutputSamples - failed
23:00:08 T:4677767168 ERROR: CEngineStats::UpdateSinkDelay - inconsistency in buffer time
23:00:08 T:4677767168 ERROR: CCoreAudioDevice::Stop: Unable to stop device. Error = '!dev'
23:00:08 T:4677767168 ERROR: CCoreAudioDevice::RemoveIOProc: Unable to remove IOProc. Error = '!dev'
23:00:08 T:4677767168 DEBUG: CCoreAudioStream::Close: Couldn't remove property listener.
23:00:08 T:4677767168 DEBUG: Previous line repeats 1 times.
23:00:08 T:4677767168 DEBUG: CCoreAudioStream::Close: Restoring original physical format for stream 0x0041. ([lpcm] Mixable Interleaved 2 Channel 16-bit Signed Integer LE (48000Hz))
23:00:08 T:4677767168 ERROR: CCoreAudioStream::SetPhysicalFormat: Unable to set physical format for stream 0x0041. Error = '!obj'
23:00:08 T:4677767168 DEBUG: CCoreAudioStream::Close: Closed stream 0x0041.
23:00:08 T:4677767168 ERROR: CCoreAudioDevice::GetBufferSize: Unable to retrieve buffer size. Error = '!obj'
23:00:08 T:4677767168 ERROR: CCoreAudioDevice::SetBufferSize: Unable to set buffer size. Error = '!obj'
23:00:08 T:4677767168 ERROR: CCoreAudioDevice::GetBufferSize: Unable to retrieve buffer size. Error = '!obj'
23:00:08 T:4677767168 ERROR: CCoreAudioDevice::SetBufferSize: Buffer size change not applied.

If these are not relevant then apols - will leave to the guys who know ..
Reply
Code:
23:00:08 T:4939350016 DEBUG: CoreAudio: audiodevicelist changed - reenumerating

Those errors are because something in the audiodevice list changed (maqybe an airplay target appeared or something like that). What caused it doesn't matter - the operating system clearly detected this and reported it to us. Nothing to see here.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
Cool (thanks). The only airplay target I could think of would be xbmc itself ..

The "unable to stop device" immediately after both normal pauses is the bit that seems odd to my eyes (coded under os7 or 8 about 20 years ago!) - as you say it works!

Kudos to you - a great win - will make a lot of people happy
Reply
The device we try to stop isn't valid anymore because something in the audiolist has changed. Still nothing to see here (whatever causes this callback from the operating system to fire - i have no clue).
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
Very cool. Thanks for you thanks in the write-up BTW. When do we expect it will be merged
Reply
  • 1
  • 4
  • 5
  • 6
  • 7
  • 8(current)

Logout Mark Read Team Forum Stats Members Help
Mavericks - No sound after 2 or 3 days (debug log attached)0