OS X No passthrough on Gotham with USB soundcard, was good in Frodo
#1
I cannot get audio passthrough working via SPDIF with Gotham, in Frodo it worked fine (2ch PCM and AC3/DTS). I've got expert menu enabled, and there is no passthrough options available.

Is the SB X-Fi optical output not being seen as valid by Gotham? It's fine in Frodo/VLC.

Frodo:
Image

Gotham:
Image

Audio MIDI Settings:
Image

Any suggestions?
Reply
#2
debug log (wiki)
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
#3
Hey, thanks for taking a look, much appreciated. Let me know if you need more deets or for me to test something, I'd be happy to help out.

This is from a failed attempt at AC3 playback on Gotham (receiver defaulted to PCM). Also receiver flags up 96k mode, related to this prob?

http://xbmclogs.com/show.php?id=234214

This is the same file sucessfully played back in Frodo for reference:

http://xbmclogs.com/show.php?id=234215
Reply
#4
The problem with your device is, that it is an optical device which has formats which support more then 2 channels. Our assumption is that optical devices only support 2 pcm channels. Can you elaborate on what kind of transport this 6 channel configuration uses? (has it an hdmi output or are those 6 analog outputs or something?)

If you can rename the devicename in audio midisetup by any chance? If not - a workaround for you would be to add an aggregated device which only contains your 5.1 usb device and rename this aggregated device to something like "FAKEHDMI" (as long as the word hdmi is in the device name the device will be treated as hdmi and so the passthrough options will be visible for that device).
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
#5
For reference https://github.com/xbmc/xbmc/pull/4955
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
#6
Yep that device has 6ch analogue outputs, but I'm just using the optical and through that 2ch PCM or passthrough AC3/DTS.

FAKEHDMI aggregate device created, and as suggested the passthrough options are there - good start Smile However video playback stutters for first few secs, and no audio (no encoded passthrough or 2ch PCM - looking at the receiver). Receiver continues to say '96k'

Log of above: http://xbmclogs.com/show.php?id=234721

XBMC certianly kicks the receiver into '96k' mode (or so it says), which I've never seen it do before Gotham, it does that from starting XBMC up. There's another thread related to that at the moment, could it be related? If I force 48k then I do get 2ch PCM no probs, but then the passthrough options disappear. Looking at the manual for the receiver 96k playback only works for 2ch PCM, and nothing else.

Any more suggestions, we're getting close I hope?
Reply
#7
yes the 96k is a bug - the thing from the other thread ... pull request for your issue is up here https://github.com/xbmc/xbmc/pull/4955#i...t-47155709
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
#8
Mhhh the issue with your FAKEHDMI seems to reveal something additional i have no clue what the problem is here. Your receiver should be at 48000Hz based on that log file but there are alot of coreaudio calls failing when setting the physical format Sad - i can only guess using an aggregated device for passthrough (hog mode) is not possible.
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
#9
Could you try this testbuild and report back please? (if its not working then reply with a new debug log (wiki)

http://mirrors.xbmc.org/test-builds/osx/...x86_64.dmg

This should present your device as 2 dedicated devices (one with the optical device and one with the 6 channel analog).
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
#10
Brilliant, tried and tested and my issue is fixed Smile Thanks to you for your hard work, and the effort of all the XBMC devs.

Confirmed: no 96k
Confirmed: two sound card entries (external and speakers)
Confirmed: external optical out works with PCM, AC3 and DTS
Unconfirmed: anything from speaker out - I just don't use it that way

Thanks once more, your work here is done Wink
Reply
#11
*happy* thx for the Feedback
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

Logout Mark Read Team Forum Stats Members Help
No passthrough on Gotham with USB soundcard, was good in Frodo0