[MERGED] XBMC Digital Output / SoundBlaster Problems
#1
Lightbulb 
THIS THREAD IS A MERGE OF ALL KNOWN 5.1 OUTPUT / SOUNDBLASTER PROBLEM THREADS...THE ORDER OF POSTS MAY NOT MAKE SENSE, BUT ALL ARE RELATED TO THE SAME BUG FIXED IN SVN REV 18705 - Phi2039


Hi all,

I'm having video playback issue's in all recent svn's the last working one i have is 17558 of februari 3rd. When i start a mkv file with digital audio enabled the file starts in fast forward speed and my receiver continuously flips from analogue to digital. If i select analogue audio there are no playback issue's.

I'm on XP SP3 using the 2_18_0008 creative driver (X-fi xtreme gamer). other info: Nvidia gpu with 181.22 whql driver, amd cpu.
Reply
#2
My reciever doesn't notice any difference i nthe audio part but video (all that i got) plays like at 4x speed. Uninstalled rightaway.

Can anyone reccomend a somehow good latest svn release?
Reply
#3
The debug log of most recent (17742) build:

http://pastebin.com/m9e57c7e
Reply
#4
This is a debug log of the working build 17558:

http://pastebin.com/m13b8f24b
Reply
#5
hi
got same playback issues with all latest builds on xp sp3 with xfi elite pro 2.18.0008 and geforce 8800gtx with 182.05 drivers
analog sound works very well but ac3 or dts flickers and video playback starts fast than slows down and so on
Reply
#6
Code:
549.17:21:39 T:1092 M:2940252160   DEBUG: Surface::CSurface::Flip - missed requested swap
550.17:21:39 T:3852 M:2940252160 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
551.17:21:39 T:1092 M:2940248064   DEBUG: Surface::CSurface::Flip - missed requested swap
552.17:21:39 T:1092 M:2940248064   DEBUG: Surface::CSurface::Flip - missed requested swap
553.17:21:39 T:3852 M:2940252160   DEBUG: CDVDPlayerAudio:: Discontinuty - was:13708333.333333, should be:13575729.171594, error:-132604.161739
554.17:21:39 T:3852 M:2940252160 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
555.17:21:39 T:1092 M:2940248064   DEBUG: Surface::CSurface::Flip - missed requested swap
556.17:21:39 T:3852 M:2940248064 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
557.17:21:39 T:1092 M:2940248064   DEBUG: Surface::CSurface::Flip - missed requested swap
558.17:21:39 T:3852 M:2944442368   DEBUG: CDVDPlayerAudio:: Discontinuty - was:13747729.171594, should be:13717333.333333, error:-30395.838261
559.17:21:39 T:3852 M:2944442368 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
560.17:21:39 T:3852 M:2944696320 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
561.17:21:39 T:1092 M:2944688128   DEBUG: Surface::CSurface::Flip - missed requested swap
562.17:21:39 T:1092 M:2944696320   DEBUG: Surface::CSurface::Flip - missed requested swap
Reply
#7
Same playback issues here (I'm on XP SP3 using the 2_18_0008 creative driver (X-fi xtreme music). other info: Nvidia gpu with 178 whql driver, amd cpu.)

Found out that if i untick DTS and AC3, Digital can be set and it won't compromise playback.
Is this same as having it set to Analog (Digital/no AC3/no DTS)?
 
  • Intel NUC Kit DN2820FYKH ~ Crucial DDR3L SO-DIMM 4GB ~ SanDisk ReadyCache 32GB SSD ~ Microsoft MCE model 1039 RC6 remote
Reply
#8
I'm afraid so xbx08, i dropped a ticket at the trac: http://trac.xbmc.org/ticket/5937 lets hope someone picks it up pretty soon.
Reply
#9
try upgrading to the newest forceware 182.06 .. it fixed these problems at least on my side!
Reply
#10
upgrade to 182.06 didnt work for me
Reply
#11
pregi Wrote:upgrade to 182.06 didnt work for me

Same here, there has been progress on the ticket though.
Reply
#12
Question 
All,

I am running XBMC 8.10 (11/13/08) on a new Dell Optiplex 755 (Win XP SP3, Intel E8600 3.33Ghz, 2GB RAM, ATI Radeon HD 2400 Pro driver v9.2, Soundblaster x-fi xtreme audio PCI-express soundcard driver v5.10.0.203 12/08.) The x-fi xtreme audio card has a toslink out jack on the back and it is stated in the documentation that it passes through dolby digital AC3 and DTS. The sound card is connected to my Yamaha RX-v2095 receiver via optical cable. The receiver decodes Dolby Digital/AC3 and DTS.

When I play a ripped DVD movie with the audio hardware output set to analog (default,) the video play smoothly, and I get stereo sound with my receiver showing that a PCM stream is coming in. I tried changing the XBMC audio hardware output setting from Analog (default) to Digital in hopes that I can get 5.1 Dolby Digital or DTS surround sound out of my Yamaha receiver. Unfortunately, when I switch to the Digital output setting, XBMC plays movies choppy and even seems to lock up.

I've played the same ripped DVDs on the same computer with Power DVD set to 'use SPDIF' and the surround sound signal comes through just fine. My receiver even says that it's a Dolby Digital or DTS stream. Is this an issue with XBMC, the sound card, or something elseHuh I will submit a debug log this evening when I get home. Any help is appreciated.

Thank You
Pasqual
Reply
#13
You might check to see if "Adjust Refresh Rate" has been selected under video player settings. If it is selected, try unselecting it. That's helped me in the past.
Reply
#14
Pasqualz: Thank you for a very well-written description. This level of detail is what really helps nail things down and makes it much more likely that someone will work to resolve your problem.

I have discovered the source of this problem, however, I have not identified what I think is the best fix. This issue is related to the way the soundcard (SB X-Fi in this case) driver handles its mix-ahead buffer. The driver requires a minimum amount of valid data between the play cursor (current 'read' location) and the write cursor (next safe 'write' position). This amount is fixed (as far as I have been able to tell) for each output data type, but varies by soundcard and output configuration, making it difficult to use a constant value. It appears that the hard-coded chunk length (minimum buffer write size) is enough to satisfy most existing hardware, however, the X-Fi series uses a much (5x) larger window (write - read) for encoded AC3 and DTS streams. There is no way to query the card for this window length prior to starting playback (that I have found), so it creates a bit of a mess. Hard coding a larger chunk length would increase latency unnecessarily for all other stream types/hardware.

I know this is a long answer, but I wanted to capture the information somewhere. I happen to have this soundcard and want to fix this issue, so you can expect that I will keep plugging away at it until I find an acceptable solution.

-C
Reply
#15
What version of XBMC are you using?

Sometimes XBMC has hard time to find out the digital out sound device.
Builds from this year has new setting that lets you select the output sound device.

Try Ikons or Jesters builds if you are using XBMC version from 2008.
http://forum.xbmc.org/showthread.php?tid=35452
Asus P5N7A-VM|Win7 32bit|Intel C2D E8400|2GB|integrated nVidia 9300-HDMI|Integrated Audio-Optical SPDIF| 50" plasma 3DTV (Samsung PS50C7705)
Reply

Logout Mark Read Team Forum Stats Members Help
[MERGED] XBMC Digital Output / SoundBlaster Problems0