OK, this is what I found after more careful testing. When set to Analog in Settings-System- Audio Hardware all stereo sources work. In order for 5.1 video tracks to work both output and passthrough devices have to be set to custom and custom string to hdmi:CARD=NVidia. Then have to switch digital-analog- digital while playing the file.
I had a problem with whole XBMC freezing, which I sought was unrelated, but I noticed it only happens in digital audio mode. Pausing occurs when I pause playback. Happens all the time, not an intermittent issue. I enabled debug in XBMC, below are two examples of last messages:
Code:
19:59:10 T:3078911888 M:1388134400 NOTICE: Created m_glPixmapTexture (2)
19:59:13 T:2999622512 M:1387487232 DEBUG: CPullupCorrection: detected pattern of length 24: 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00
19:59:19 T:2999622512 M:1378996224 DEBUG: CPullupCorrection: pattern lost
19:59:20 T:2968521584 M:1377218560 DEBUG: Thread 2968521584 terminating (autodelete)
19:59:21 T:3078911888 M:1377218560 INFO: CheckIdle - Closing session to http://www.google.com (easy=0xa147c40, multi=(nil))
19:59:22 T:2999622512 M:1377140736 DEBUG: CPullupCorrection: detected pattern of length 24: 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00
19:59:30 T:3078911888 M:1376616448 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmc/system/ImageLib-i486-linux.so)
19:59:30 T:3078911888 M:1376616448 DEBUG: Unloading: ImageLib-i486-linux.so
19:59:35 T:3078911888 M:1376116736 DEBUG: SDLKeyboard: scancode: 172, sym: 0, unicode: 0, modifier: 0
19:59:35 T:3078911888 M:1376116736 DEBUG: OnKey: 61619 pressed, action is 12
19:59:35 T:3078911888 M:1376116736 DEBUG: CGUIAudioManager::Initialize
19:59:35 T:3078911888 M:1376116736 DEBUG: ------ Window Init (DialogSeekBar.xml) ------
19:59:35 T:3078911888 M:1376116736 DEBUG: Alloc resources: 0.03ms (0.00 ms skin load)
19:59:39 T:3078911888 M:1376079872 DEBUG: SECTION:UnloadDelayed(DLL: libmad.so.0)
19:59:39 T:3078911888 M:1376079872 DEBUG: Unloading: libmad.so.0
19:59:39 T:3078911888 M:1376079872 DEBUG: SECTION:UnloadDelayed(SECTION: LCODE)
19:59:43 T:3078911888 M:1375969280 DEBUG: SDLKeyboard: scancode: 172, sym: 0, unicode: 0, modifier: 0
19:59:43 T:3078911888 M:1375969280 DEBUG: OnKey: 61619 pressed, action is 12
19:59:43 T:3078911888 M:1375969280 DEBUG: CGUIAudioManager::DeInitialize
19:59:43 T:2947545968 M:1375969280 DEBUG: CDVDPlayerAudio:: Discontinuty - was:129045852.714114, should be:147510910.431228, error:18465057.717113
19:59:49 T:2947545968 M:1375805440 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
Code:
21:29:06 T:3077760912 M:1354485760 DEBUG: GL: Creating YUV NPOT texture of size 1920 x 400
21:29:06 T:3077760912 M:1354485760 DEBUG: GL: Creating YUV NPOT texture of size 960 x 200
21:29:06 T:3077760912 M:1354485760 DEBUG: GL: Creating YUV NPOT texture of size 960 x 200
21:29:06 T:3077760912 M:1354461184 NOTICE: Created m_glPixmapTexture (64)
21:29:07 T:2874145648 M:1354448896 NOTICE: (VDPAU) Didnt find a Video Surface Available (Total: 6). Creating a new one. TRY #1
21:29:08 T:3077760912 M:1351659520 DEBUG: ------ Window Deinit (DialogSeekBar.xml) ------
21:29:09 T:2874145648 M:1351311360 DEBUG: CPullupCorrection: detected pattern of length 24: 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00
21:29:11 T:3077760912 M:1351188480 DEBUG: SDLKeyboard: scancode: 172, sym: 0, unicode: 0, modifier: 0
21:29:11 T:3077760912 M:1351188480 DEBUG: OnKey: 61619 pressed, action is 12
21:29:11 T:3077760912 M:1351188480 DEBUG: CGUIAudioManager::Initialize
21:29:11 T:3077760912 M:1350901760 DEBUG: ------ Window Init (DialogSeekBar.xml) ------
21:29:11 T:3077760912 M:1350901760 DEBUG: Alloc resources: 0.35ms (0.00 ms skin load)
21:29:13 T:2985290608 M:1350995968 DEBUG: Thread 2985290608 terminating (autodelete)
21:29:13 T:3077760912 M:1350995968 INFO: CheckIdle - Closing session to http://www.google.com (easy=0xbbdada8, multi=(nil))
21:29:14 T:2993683312 M:1350877184 DEBUG: Thread 2993683312 terminating (autodelete)
21:29:16 T:3077760912 M:1350885376 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmc/system/ImageLib-i486-linux.so)
21:29:16 T:3077760912 M:1350885376 DEBUG: Unloading: ImageLib-i486-linux.so
21:29:22 T:3077760912 M:1350631424 DEBUG: SDLKeyboard: scancode: 172, sym: 0, unicode: 0, modifier: 0
21:29:22 T:3077760912 M:1350631424 DEBUG: OnKey: 61619 pressed, action is 12
21:29:22 T:3077760912 M:1350631424 DEBUG: CGUIAudioManager::DeInitialize
21:29:22 T:2950683504 M:1350631424 DEBUG: CDVDPlayerAudio:: Discontinuty - was:631096602.803555, should be:631126180.244448, error:29577.440893
21:29:28 T:2950683504 M:1344548864 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
I hope these files provide some useful troubleshooting information.