Solved Linux: Video smooth but jerk severely every 15 minutes?
#16
24hz xrandr output, TV showed 24hz, should point out HDMI goes through my Yamaha V2065 on the way to the TV (not sure if relevant)

http://paste.ubuntu.com/8226978/

will post next one later.
Reply
#17
still digging into this but i have some news:

If i turn passthrough off, it plays through perfectly in 24hz.
Turn it on it jerks at about 12:20

Any idea why passthrough would cause this?
Reply
#18
can you confirm that you see those lines in the log when the issue occurs?

22:05:52 T:140285359150848 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
22:05:56 T:140287542319040 WARNING: Previous line repeats 9 times.
Reply
#19
typically you can rebuild the nvidia module with
Code:
sudo dpkg-reconfigure nvidia-current
assuming you are using the nvidia-current package.
"PPC is too slow, your CPU has no balls to handle HD content." ~ Davilla
"Maybe it's a toaster. Who knows, but it has nothing to do with us." ~ Ned Scott
Reply
#20
Irusak - nice tip thanks mate.

FernetMenta - not at home at moment. Will check later - thanks.
Reply
#21
Yup same problem:

First i played it through with passthrough disabled, it was smooth all the way and no "vblanks, missed" found in the log once it got started properly (a few in the first second of initializing):

Then i played it through with passthrough enabled and it jumped really early on (just a few minutes in i think):

log chunk for entire 22:53 to23:08 : http://pastebin.com/dBhvzEML

here is the actual error:
Code:
22:53:18 T:140174744987392   DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
22:53:18 T:140173729822464   DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:869568.448000, should be:32000.000000, error:-837568.448000
22:53:18 T:140174744987392   DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
22:53:18 T:140174287591168   DEBUG: CVideoReferenceClock: Attaching glX context
22:53:18 T:140173729822464   DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:139349.140000, should be:32000.000000, error:-107349.140000
22:53:18 T:140174287591168   DEBUG: CVideoReferenceClock: detected 1 vblanks, missed 63, refreshrate might have changed
22:53:18 T:140174287591168   DEBUG: CVideoReferenceClock: Received RandR event 89
22:53:19 T:140174287591168   DEBUG: CVideoReferenceClock: output of nvidia-settings -nt -q RefreshRate3: 23.971 Hz
22:53:19 T:140174287591168   DEBUG: CVideoReferenceClock: Detected refreshrate by nvidia-settings: 23.971000 hertz, rounding to 24 hertz
22:53:19 T:140174287591168   DEBUG: CVideoReferenceClock: detected 5 vblanks, missed 9, refreshrate might have changed
22:53:24 T:140173740324608   DEBUG: CPullupCorrection: detected pattern of length 1: 41708.33, frameduration: 41708.333333
22:53:32 T:140173729822464   DEBUG: CDVDPlayerAudio:: Duplicating packet of 32 ms
22:53:36 T:140173086021376   DEBUG: Thread JobWorker 140173086021376 terminating (autodelete)
22:56:04 T:140173729822464   DEBUG: CDVDPlayerAudio:: Duplicating packet of 32 ms
23:06:09 T:140173740324608   DEBUG: Previous line repeats 4 times.
23:06:09 T:140173740324608   DEBUG: CVDPAU::DrawSlice - VdpDecoderRender long decoding: 324 ms, dec: 2, proc: 1, rend: 1
23:06:09 T:140173740324608   DEBUG: CVDPAU::DrawSlice - VdpDecoderRender long decoding: 322 ms, dec: 1, proc: 2, rend: 2
23:06:09 T:140173740324608 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
23:06:15 T:140173740324608   DEBUG: CPullupCorrection: detected pattern of length 1: 41708.33, frameduration: 41708.333333
23:06:18 T:140175237220288   DEBUG: Keyboard: scancode: 0xac, sym: 0x00b3, unicode: 0x0000, modifier: 0x0
23:06:18 T:140175237220288   DEBUG: OnKey: play_pause (0xf0bd) pressed, action is Pause
Reply
#22
I have a ID80 here wich is almost same spec as your board. It runs Ubuntu 14.04 with NVdia driver 340.32, lxdm with fluxbox as window manager. This morning I played Sintel.iso with AC3 passthrough: no problem at all.

can you try this version:
sudo apt-add-repository ppa:wsnipex/xbmc-fernetmenta-master
sudo apt-get update
sudo apt-get install xbmc xbmc-bin

EDIT: please don't do 2 steps at once. I would first upgrade NVidia driver, then try the different version of XBMC.
Reply
#23
FernetMenta - Well i will go to the foot of our stairs! (Its a Yorkshire saying lol).

That works perfectly, no jerk at all.

What the heck is the difference?

PS: should say that i went straight to your PPA version. Didn't update Nvidia as i'd tried that before.
Reply
#24
Great to hear Smile
I have bumped the number of render buffers in my repo. Looks like in mainline version vdpau render pipeline stalls. Will try get this change into 14.0 release. Thanks for bringing this up and testing ofc.
Reply
#25
Not sure, if you were running 13.x all the time there may be many reasons more. Did you?
Reply
#26
Yep XBMCUntu 13.2 all the time i think. Updated to latest repo from stable official xbmc.

No problem mate, so glad to get this fixed! Thanks so much!!
Reply
#27
Oops spoke too soon Smile

Can't seem to get sound to come out of the right speakers. I've tried implementing the EDID fix and asound.conf fixes from my previous post but to no avail:

post: http://forum.xbmc.org/showthread.php?tid=202519

Also tried removing /etc/asound.conf and ~/.asoundrc

Any ideas why it has stopped working?
Reply
#28
Debug Log will show. Also make yourself familiär with the settings hierarchy. In pa case please check the wiki for passthrough config.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#29
thanks fritsch will post debug log as soon as i can and will hit the wiki see what i can find.
Reply
#30
i think i am familiar with the settings hierarchy - if you mean the Settings screen Video/Audio etc?

Like i said i've re-done everything i've done previously but it hasnt worked this time.

debug log: http://paste.ubuntu.com/8253404/

thanks again.
Reply

Logout Mark Read Team Forum Stats Members Help
Linux: Video smooth but jerk severely every 15 minutes?0