OS X Digital-Out breaks XBMC on Mountain Lion (10.8)
#1
Bug 
Hi Community

I have a couple of BIG issues with my XBMC 12.0-ALPHA5 Git:20120816-cb8adaa (or any other nightly build OR even 11.0) on 10.8 Mountain Lion. On 10.7 everything worked perfectly
If I download the application it starts perfectly - except there is no sound via the Digital Optical Output.
Normal OS X Sound or VLC or whatever works perfectly.

Then I set the audio to Digital Optical Out and the whole Application does never open again.

Is this a bug regarding 10.8 Audio Engine? Confused
Can anyone provide a fix or help on that - Please! Angel

This is the Startup log:
19:12:32 T:2888018472 NOTICE: -----------------------------------------------------------------------
19:12:33 T:2888018472 NOTICE: Starting XBMC (12.0-ALPHA5 Git:20120816-cb8adaa), Platform: Darwin OSX (12.0.0 x86_64, Version 10.8 (Build 12A269)). Built on Aug 17 2012
19:12:33 T:2888018472 NOTICE: special://xbmc/ is mapped to: /Applications/XBMC.app/Contents/Resources/XBMC
19:12:33 T:2888018472 NOTICE: special://xbmcbin/ is mapped to: /Applications/XBMC.app/Contents/Resources/XBMC
19:12:33 T:2888018472 NOTICE: special://masterprofile/ is mapped to: /Volumes/HD/user/Library/Application Support/XBMC/userdata
19:12:33 T:2888018472 NOTICE: special://home/ is mapped to: /Volumes/HD/user/Library/Application Support/XBMC
19:12:33 T:2888018472 NOTICE: special://temp/ is mapped to: /Volumes/HD/user/.xbmc/temp
19:12:33 T:2888018472 NOTICE: special://frameworks/ is mapped to: /Applications/XBMC.app/Contents/Frameworks
19:12:33 T:2888018472 NOTICE: The executable running is: /Applications/XBMC.app/Contents/MacOS/XBMC
19:12:33 T:2888018472 NOTICE: Local hostname: alpha.local
19:12:33 T:2888018472 NOTICE: Log File is located: /Volumes/HD/user/Library/Logs/xbmc.log
19:12:33 T:2888018472 NOTICE: -----------------------------------------------------------------------
19:12:33 T:2888018472 NOTICE: load settings...
19:12:33 T:2888018472 DEBUG: SECTION:LoadDLL(libcrystalhd.dylib)
19:12:33 T:2888018472 DEBUG: Loading: libcrystalhd.dylib
19:12:33 T:2888018472 ERROR: Unable to load libcrystalhd.dylib, reason: dlopen(libcrystalhd.dylib, 1): image not found
19:12:33 T:2888018472 DEBUG: Dll libcrystalhd.dylib was not found in path
19:12:33 T:2888018472 DEBUG: CrystalHD: broadcom crystal hd not found
19:12:33 T:2888018472 NOTICE: special://profile/ is mapped to: special://masterprofile/
19:12:33 T:2888018472 NOTICE: loading special://masterprofile/guisettings.xml
19:12:33 T:2888018472 NOTICE: Getting hardware information now...
19:12:33 T:2888018472 INFO: Using digital output
19:12:33 T:2888018472 INFO: AC3 pass through is enabled
19:12:33 T:2888018472 INFO: DTS pass through is enabled
19:12:33 T:2888018472 DEBUG: Error: Requested setting (audiooutput.passthroughaac) was not found. It must be case-sensitive
19:12:33 T:2888018472 INFO: AAC pass through is disabled
19:12:33 T:2888018472 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
19:12:33 T:2888018472 DEBUG: CPlayerCoreConfig::<ctor>: created player DVDPlayer for core 1
19:12:33 T:2888018472 DEBUG: CPlayerCoreConfig::<ctor>: created player oldmplayercore for core 1
19:12:33 T:2888018472 DEBUG: CPlayerCoreConfig::<ctor>: created player PAPlayer for core 3
19:12:33 T:2888018472 DEBUG: CPlayerSelectionRule::Initialize: creating rule: system rules
19:12:33 T:2888018472 DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtv
19:12:33 T:2888018472 DEBUG: CPlayerSelectionRule::Initialize: creating rule: hdhomerun/myth/rtmp/mms/udp
19:12:33 T:2888018472 DEBUG: CPlayerSelectionRule::Initialize: creating rule: lastfm/shout
19:12:33 T:2888018472 DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtsp
19:12:33 T:2888018472 DEBUG: CPlayerSelectionRule::Initialize: creating rule: streams
19:12:33 T:2888018472 DEBUG: CPlayerSelectionRule::Initialize: creating rule: flv/aacp/sdp
19:12:33 T:2888018472 DEBUG: CPlayerSelectionRule::Initialize: creating rule: mp2
19:12:33 T:2888018472 DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvd
19:12:33 T:2888018472 DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdfile
19:12:33 T:2888018472 DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdimage
19:12:33 T:2888018472 DEBUG: CPlayerSelectionRule::Initialize: creating rule: sdp/asf
19:12:33 T:2888018472 DEBUG: CPlayerSelectionRule::Initialize: creating rule: nsv
19:12:33 T:2888018472 NOTICE: Loaded playercorefactory configuration
19:12:33 T:2888018472 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
19:12:33 T:2888018472 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
19:12:33 T:2888018472 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
19:12:33 T:2888018472 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
19:12:33 T:2888018472 NOTICE: Default DVD Player: dvdplayer
19:12:33 T:2888018472 NOTICE: Default Video Player: dvdplayer
19:12:33 T:2888018472 NOTICE: Default Audio Player: paplayer
19:12:33 T:2888018472 NOTICE: Disabled debug logging due to GUI setting. Level 1.
19:12:33 T:2888018472 NOTICE: Log level changed to 1
19:12:33 T:2888018472 NOTICE: Loading media sources from special://masterprofile/sources.xml
19:12:33 T:2888018472 INFO: creating subdirectories
19:12:33 T:2888018472 INFO: userdata folder: special://masterprofile/
19:12:33 T:2888018472 INFO: recording folder:
19:12:33 T:2888018472 INFO: screenshots folder:
19:12:33 T:2888018472 INFO: thumbnails folder: special://masterprofile/Thumbnails
19:12:33 T:2888018472 INFO: load language info file: special://xbmc/language/English/langinfo.xml
19:12:33 T:2888018472 DEBUG: trying to set locale to en_DE.UTF-8
19:12:33 T:2888018472 INFO: global locale set to C
19:12:33 T:2888018472 INFO: load English language file, from path: special://xbmc/language/
19:12:33 T:2888018472 DEBUG: POParser: loaded 2257 strings from file /Applications/XBMC.app/Contents/Resources/XBMC/language/English/strings.po
19:12:33 T:2888018472 DEBUG: CCoreAudioHardware::FindAudioDevice: Searching for device - Built-in Digital.
19:12:33 T:2888018472 DEBUG: CCoreAudioDevice::Open: Opened device 0x002c
19:12:33 T:2888018472 DEBUG: CCoreAudioDevice::GetTotalOutputChannels: Found 0 channels in 0 buffers
19:12:33 T:2888018472 DEBUG: CCoreAudioHardware::FindAudioDevice: Device[0x002c] - Name: 'Built-in Line In', Total Ouput Channels: 0.
19:12:33 T:2888018472 DEBUG: CCoreAudioDevice::Close: Closed device 0x002c
19:12:33 T:2888018472 DEBUG: CCoreAudioDevice::Open: Opened device 0x0048
19:12:33 T:2888018472 DEBUG: CCoreAudioDevice::GetTotalOutputChannels: Found 0 channels in 0 buffers
19:12:33 T:2888018472 DEBUG: CCoreAudioHardware::FindAudioDevice: Device[0x0048] - Name: 'Built-in Digital', Total Ouput Channels: 0.
19:12:33 T:2888018472 DEBUG: CCoreAudioDevice::Close: Closed device 0x0048
19:12:33 T:2888018472 DEBUG: CCoreAudioDevice::Open: Opened device 0x0048
19:12:33 T:2888018472 ERROR: CCoreAudioDevice::SupportsMixing: Unable to get propertyinfo mixing support. Error = 'who?'
19:12:33 T:2888018472 ERROR: CCoreAudioDevice::SupportsMixing: Device mixing support : 'No'.
19:12:33 T:2888018472 ERROR: CCoreAudioUnit::SetCurrentDevice: Unable to set current device. Error = -10851
19:12:33 T:2888018472 DEBUG: CCoreAudioAEHALOSX::Initialize: Unable to initialize audio due a missconfiguration. Try 2.0 speaker configuration.
19:12:33 T:2888018472 INFO: CCoreAudioAE::Initialize:
19:12:33 T:2888018472 INFO: Output Device : Built-in Digital
19:12:33 T:2888018472 INFO: Sample Rate : 44100
19:12:33 T:2888018472 INFO: Sample Format : AE_FMT_FLOAT
19:12:33 T:2888018472 INFO: Channel Count : 2
19:12:33 T:2888018472 INFO: Channel Layout: FL,FR
19:12:33 T:2888018472 INFO: Frame Size : 8
19:12:33 T:2888018472 INFO: Volume Level : 1.000000
19:12:33 T:2888018472 INFO: Passthrough : 0
19:12:33 T:2888018472 DEBUG: CCoreAudioDevice::Close: Closed device 0x0048
19:12:33 T:2888018472 FATAL: CApplication::Create: Failed to start the AudioEngine
Reply
#2
Are both Audio Midi Setup and XBMC configured to use 2 channels?
Reply
#3
Yea right

Audio Midi is set to 2-channel 16bit 48000Hz
and
XBMC is set to Optical/Coax, 2.0 Channel

... no sound Sad
Reply
#4
XBMC 12.0-ALPHA5, too old, use a nightly, it's fixed in that.
Reply
#5
Since Eden doesn't work either it must the OSX audio setup. Click the "configure speakers" or whatever it's called in Midi Setup and make sure it's set to stereo. Also try 44.1kHz instead of 48kHz.
Reply
#6
Yea thanks

@toiva: Switching to 44.1kHz does NOT change the situation.

@davilla: I tried the nightly builds from today ...
xbmc-20120818-966b5a6-master-x86_64.dmg 19-Aug-2012 11:42 -> Opens but still no sound via Digital Out!
xbmc-20120818-966b5a6-master-i386.dmg 19-Aug-2012 10:17 -> Opens but still no sound via Digital Out!

I really think they changed something in 10.8 because 10.7 was working perfectly.
Reply
#7
Please help
Reply
#8
do you set both settings to optical/coax ?
Reply
#9
(2012-08-19, 21:40)davilla Wrote: do you set both settings to optical/coax ?

Yea I did - thanks for asking
Reply
#10
I'm digging deaper into the problem and I have found something I need your help with:

It is about THIS part of the log file:

18:43:48 T:2888018472 DEBUG: CCoreAudioHardware::FindAudioDevice: Searching for device - Built-in Line Out.
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::Open: Opened device 0x0028
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::GetTotalOutputChannels: Found 0 channels in 0 buffers
18:43:48 T:2888018472 DEBUG: CCoreAudioHardware::FindAudioDevice: Device[0x0028] - Name: 'Built-in Line In', Total Ouput Channels: 0.
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::Close: Closed device 0x0028
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::Open: Opened device 0x0044
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::GetTotalOutputChannels: Found 0 channels in 0 buffers
18:43:48 T:2888018472 DEBUG: CCoreAudioHardware::FindAudioDevice: Device[0x0044] - Name: 'Built-in Digital', Total Ouput Channels: 0.
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::Close: Closed device 0x0044
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::Open: Opened device 0x003d
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::GetTotalOutputChannels: Found 2 channels in 1 buffers
18:43:48 T:2888018472 DEBUG: CCoreAudioHardware::FindAudioDevice: Device[0x003d] - Name: 'Built-in Output', Total Ouput Channels: 2.
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::Close: Closed device 0x003d
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::Open: Opened device 0x0034
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::GetTotalOutputChannels: Found 2 channels in 1 buffers
18:43:48 T:2888018472 DEBUG: CCoreAudioHardware::FindAudioDevice: Device[0x0034] - Name: 'Built-in Line Ou', Total Ouput Channels: 2.
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::Close: Closed device 0x0034
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::Open: Opened device 0x0030
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::GetTotalOutputChannels: Found 2 channels in 1 buffers
18:43:48 T:2888018472 DEBUG: CCoreAudioHardware::FindAudioDevice: Device[0x0030] - Name: 'Built-in Digital', Total Ouput Channels: 2.
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::Close: Closed device 0x0030
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::Open: Opened device 0x0048
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::GetTotalOutputChannels: Found 0 channels in 0 buffers
18:43:48 T:2888018472 DEBUG: CCoreAudioHardware::FindAudioDevice: Device[0x0048] - Name: 'Logitech Camera', Total Ouput Channels: 0.
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::Close: Closed device 0x0048
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::Open: Opened device 0x004c
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::GetTotalOutputChannels: Found 0 channels in 0 buffers
18:43:48 T:2888018472 DEBUG: CCoreAudioHardware::FindAudioDevice: Device[0x004c] - Name: 'Premiere Pro 5.0', Total Ouput Channels: 0.
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::Close: Closed device 0x004c
18:43:48 T:2888018472 WARNING: CCoreAudioAEHALOSX::Initialize: Unable to locate configured device, falling-back to the system default.
18:43:48 T:2888018472 DEBUG: CCoreAudioDevice::Open: Opened device 0x0034
18:43:48 T:2888018472 ERROR: CCoreAudioDevice::SupportsMixing: Unable to get propertyinfo mixing support. Error = 'who?'
18:43:48 T:2888018472 ERROR: CCoreAudioDevice::SupportsMixing: Device mixing support : 'No'.
18:43:48 T:2888018472 ERROR: CCoreAudioGraph::Stop: Audio graph not running. Error = -50
18:43:48 T:2888018472 ERROR: CCoreAudioGraph::Close: Error unitialize. Error = -50
18:43:48 T:2888018472 ERROR: CCoreAudioGraph::Close: Error close. Error = -50
18:43:48 T:2888018472 ERROR: CCoreAudioGraph::Close: Error dispose. Error = -50
18:43:48 T:2888018472 DEBUG: CCoreAudioUnit::SetCurrentDevice: Current device 0x00000034
...
...
18:43:57 T:2888018472 DEBUG: CCoreAudioUnit::RemoveRenderProc: Remove RenderProc 0xa2d0cc for unit 0x88dbf05c
18:43:57 T:2888018472 DEBUG: CCoreAudioDevice::Close: Closed device 0x0034
18:43:57 T:2888018472 INFO: CCoreAudioAEHALOSX:Big Grineinitialize: Audio device has been closed.
18:43:57 T:2888018472 INFO: CCoreAudioAE:Big Grineinitialize: Audio device has been closed.
18:43:57 T:2888018472 DEBUG: CCoreAudioHardware::FindAudioDevice: Searching for device - Built-in Digital.
18:43:57 T:2888018472 DEBUG: CCoreAudioDevice::Open: Opened device 0x0028
18:43:57 T:2888018472 DEBUG: CCoreAudioDevice::GetTotalOutputChannels: Found 0 channels in 0 buffers
18:43:57 T:2888018472 DEBUG: CCoreAudioHardware::FindAudioDevice: Device[0x0028] - Name: 'Built-in Line In', Total Ouput Channels: 0.
18:43:57 T:2888018472 DEBUG: CCoreAudioDevice::Close: Closed device 0x0028
18:43:57 T:2888018472 DEBUG: CCoreAudioDevice::Open: Opened device 0x0044
18:43:57 T:2888018472 DEBUG: CCoreAudioDevice::GetTotalOutputChannels: Found 0 channels in 0 buffers
18:43:57 T:2888018472 DEBUG: CCoreAudioHardware::FindAudioDevice: Device[0x0044] - Name: 'Built-in Digital', Total Ouput Channels: 0.
18:43:57 T:2888018472 DEBUG: CCoreAudioDevice::Close: Closed device 0x0044
18:43:57 T:2888018472 DEBUG: CCoreAudioDevice::Open: Opened device 0x0044
18:43:57 T:2888018472 ERROR: CCoreAudioDevice::SupportsMixing: Unable to get propertyinfo mixing support. Error = 'who?'
18:43:57 T:2888018472 ERROR: CCoreAudioDevice::SupportsMixing: Device mixing support : 'No'.
18:43:57 T:2888018472 ERROR: CCoreAudioUnit::SetCurrentDevice: Unable to set current device. Error = -10851
18:43:57 T:2888018472 DEBUG: CCoreAudioAEHALOSX::Initialize: Unable to initialize audio due a missconfiguration. Try 2.0 speaker configuration.
18:43:57 T:2888018472 INFO: CCoreAudioAE::Initialize:
18:43:57 T:2888018472 INFO: Output Device : Built-in Digital
18:43:57 T:2888018472 INFO: Sample Rate : 44100
18:43:57 T:2888018472 INFO: Sample Format : AE_FMT_FLOAT
18:43:57 T:2888018472 INFO: Channel Count : 2
18:43:57 T:2888018472 INFO: Channel Layout: FL,FR
18:43:57 T:2888018472 INFO: Frame Size : 8
18:43:57 T:2888018472 INFO: Volume Level : 1.000000
18:43:57 T:2888018472 INFO: Passthrough : 0

It seem to me my Mac Pro's (Early 2008) Audiocard get recognised TWICE. The first time it is a hoax (0x0044) and the second is the real one. (0x0030)
But the 0x0030 is NOT selectable from the menu!!! That's might be the solution.

Can someone explain that - or even better fix it (with me or in the nightly).
Reply
#11
Any help on that? Still no change in today nightly build ...
Reply
#12
Still no change in next pretty sure Wink. Stay low - be patient. Finding bugs and fixing is not like baking cakes.
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
#13
OK thanks - good to know it is on the agenda - somewhere Smile
Reply
#14
Digital out plays fine on my setup

Optical out, 2 speakers to DAC to reciever in OSX
2 speaker out set in XBMC

Build:xbmc-20120824-2a4e36a-master-i386.dmg
platform mac mini 2009, 4GB RAM Nvidia 9500M Mountain Lion 10.8.0
VDA on
Sync to screen on 24Hz
Panasonic 42" plasma
default skin
MBP late 2009 - TimeCapsule 2TB - Harmony One+ - Readynas NV+ 8TB RAID5 - Mac Mini late 2009 with 10.9.0 and VDA - Panasonic TX-PG420ES -
Reply
#15
Hey thanks - luck you!
I just tried todays nightly xbmc-20120824-2a4e36a-master-i386.dmg - still no luck ... I tried 2.0 and 5.1 no luck

I can provide a full debug log if this is helpful in this case....
Reply
 
Thread Rating:
  • 2 Vote(s) - 4.5 Average



Logout Mark Read Team Forum Stats Members Help
Digital-Out breaks XBMC on Mountain Lion (10.8)4.52
This forum uses Lukasz Tkacz MyBB addons.