Linux DTS-HD random dropouts and glitchy sounds

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
tripkip Offline
Fan
Posts: 336
Joined: Aug 2010
Reputation: 2
Location: Belgium
Post: #11
(2013-05-20 21:41)FernetMenta Wrote:  Now you sacrifice video for audio. Without sync playback to display with video as master audio changes the clock rather than skip/drop audio packets. Now video has to adjust to a changing clock. It does so by dropping frames of displaying a frame twice. Same shit different flavor :)

Hey man, thanks for the clear explenation. How long do you think until I can enjoy XBMC with best of both worlds?
find quote
robo989 Offline
Senior Member
Posts: 176
Joined: Apr 2010
Reputation: 2
Post: #12
(2013-05-20 22:11)tripkip Wrote:  
(2013-05-20 21:41)FernetMenta Wrote:  Now you sacrifice video for audio. Without sync playback to display with video as master audio changes the clock rather than skip/drop audio packets. Now video has to adjust to a changing clock. It does so by dropping frames of displaying a frame twice. Same shit different flavor Smile

Hey man, thanks for the clear explenation. How long do you think until I can enjoy XBMC with best of both worlds?

Did you not read previous post, give that a go before writing anything off.

You're looking at 6 months+ before this stuff gets fixed in an official release.
find quote
tripkip Offline
Fan
Posts: 336
Joined: Aug 2010
Reputation: 2
Location: Belgium
Post: #13
(2013-05-20 22:09)robo989 Wrote:  I posted in another thread reporting exactly the same problem as here, dropped DTSMA audio for a few seconds and various pops and clicks etc.

an XMBC team member in another thread suggested someone try the xbva builds to correct a problem similar to this...(could have been this, it's on front page as of posting this). Anyway, I went and removed the standard 12.2 frodo xbmc.bin and the repo source and added the xbva one and update/upgrade and followed the steps there...took 5 mins to swap installs and skins etc carry over.

First try didn't work and was even worse (Using the xbva frodo 12.2 build), DTSMA would literally just scratch and pop continuously as if a speaker was broken and the source light on receiver would flicker intermittently, I assume this is because I was using "audio clock" for sync.

Anyways...again.

Then used the xbva 13.0 gotham repo...and presto.

DTSMA works perfectly, no skipping, no dropped frames, no dropped audio...at least for the 20 mins I checked.


This had one adverse effect of tvheadend no longer working, but just had to do a command line update/upgrade and all was well as the tvheadend client addon then got update to a version that works with gotham.

Sounds promising. And you have Sync Playback to Display enabled?
I was confused because I thought that build is for AMD video cards but apparently it includes general improvements for Nvidia as well (http://forum.xbmc.org/showthread.php?tid=116996). I rather wait for a more generic stable solution (hopefully in Gotham) for my living room setup.

ASUS AT5IONT-I | Yamaha V673 | Dali Zensor 5 5.1 | LG 50PK950
CouchPotato client iOS
Twitter
find quote
robo989 Offline
Senior Member
Posts: 176
Joined: Apr 2010
Reputation: 2
Post: #14
(2013-05-21 11:32)tripkip Wrote:  
(2013-05-20 22:09)robo989 Wrote:  I posted in another thread reporting exactly the same problem as here, dropped DTSMA audio for a few seconds and various pops and clicks etc.

an XMBC team member in another thread suggested someone try the xbva builds to correct a problem similar to this...(could have been this, it's on front page as of posting this). Anyway, I went and removed the standard 12.2 frodo xbmc.bin and the repo source and added the xbva one and update/upgrade and followed the steps there...took 5 mins to swap installs and skins etc carry over.

First try didn't work and was even worse (Using the xbva frodo 12.2 build), DTSMA would literally just scratch and pop continuously as if a speaker was broken and the source light on receiver would flicker intermittently, I assume this is because I was using "audio clock" for sync.

Anyways...again.

Then used the xbva 13.0 gotham repo...and presto.

DTSMA works perfectly, no skipping, no dropped frames, no dropped audio...at least for the 20 mins I checked.


This had one adverse effect of tvheadend no longer working, but just had to do a command line update/upgrade and all was well as the tvheadend client addon then got update to a version that works with gotham.

Sounds promising. And you have Sync Playback to Display enabled?
I was confused because I thought that build is for AMD video cards but apparently it includes general improvements for Nvidia as well (http://forum.xbmc.org/showthread.php?tid=116996). I rather wait for a more generic stable solution (hopefully in Gotham) for my living room setup.

Think it was aimed at AMD initially but does indeed have improvements for nvidia too. I've tinkered around with versions of it in the past when master didn't have the new AudioEngine. I used to have all my films in FLAC for audio which has always worked fine but found even with the new AudioEngine it didn't sound quite right to my ears. So went back and decoded->encoded all that material to DTS-HD lossless.

Didn't realize this would cause any problems but obviously audioengine/xbmc isn't quite there on master for this kind of thing...maybe a "perfect" xorg would fix it but I'm doubtful personally.

I really would give it a go mate, I have literally no linux skills, if you want to give it a quick try out (fully reversible).

It's as simple as this, note I had a pretty advanced "Aeon MQ3" skin active with zero problems.

sudo apt-get remove xbmc xbmc-bin
sudo add-apt-repository ppa:wsnipex/xbmc-xvba
sudo apt-get update
sudo apt-get install xbmc xbmc-bin
sudo apt-get upgrade

Or you can follow the instructions here, but if you've already got an XBMCBuntu install done the above is all you should need.

http://forum.xbmc.org/showthread.php?tid...light=xvba

To reverse or if you get any errors etc...

sudo apt-get remove xbmc xbmc-bin
sudo add-apt-repository -r ppa:wsnipex/xbmc-xvba

then just add your old repo you were using before followed by.

sudo apt-get update
sudo apt-get install xbmc xbmc-bin
sudo apt-get upgrade

It's pretty basic even for a total noob Tongue like myself.

Should take you all of 10 minutes to install test and decide if you like it, I've got a tvserver on same box and not noticed any issues...

Still, there's always a chance of a problem obviously but if you do a quick backup with TrueImage or similar first, it's worth a go as this solved my problem instantly.

Yes this is with
"sync playback to display" on Smile of course, if it wasn't. I wouldn't bother with it.

No stuttering, no glitching, no dropped frames. This is on some very high bit-rate scene video up to 75mbps for periods of time on a GT430.
find quote
tripkip Offline
Fan
Posts: 336
Joined: Aug 2010
Reputation: 2
Location: Belgium
Post: #15
(2013-05-21 11:57)robo989 Wrote:  Should take you all of 10 minutes to install test and decide if you like it, I've got a tvserver on same box and not noticed any issues...

Still, there's always a chance of a problem obviously but if you do a quick backup with TrueImage or similar first, it's worth a go as this solved my problem instantly.

Yes this is with
"sync playback to display" on Smile of course, if it wasn't. I wouldn't bother with it.

No stuttering, no glitching, no dropped frames. This is on some very high bit-rate scene video up to 75mbps for periods of time on a GT430.

Thanks! Cool

I'm using Openelec at the moment so I'll look into it and might switch to XBMCbuntu for this.

ASUS AT5IONT-I | Yamaha V673 | Dali Zensor 5 5.1 | LG 50PK950
CouchPotato client iOS
Twitter
find quote
wsnipex Offline
Team-XBMC packaging monkey
Posts: 1,821
Joined: Jun 2011
Reputation: 51
Post: #16
don't bother, OE has the same codebase already.
find quote
tripkip Offline
Fan
Posts: 336
Joined: Aug 2010
Reputation: 2
Location: Belgium
Post: #17
(2013-05-21 14:55)wsnipex Wrote:  don't bother, OE has the same codebase already.

Thanks snipes, spares me some useless testing Tongue

ASUS AT5IONT-I | Yamaha V673 | Dali Zensor 5 5.1 | LG 50PK950
CouchPotato client iOS
Twitter
find quote
Post Reply