Strange Momentary Freeze

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
m4xc4v413r4 Offline
Junior Member
Posts: 8
Joined: Feb 2015
Reputation: 0
Post: #1
Hi, i want to ask you guys for help figuring out what's causing my freezing problem.

It's a strange problem because it only happens once per boot (i can be wrong about this, it MAY be once per movie... i just realized i haven't tested this).

I replicated the issue by turning on my htpc, opening a movie (i'm streaming it, not using a local file) and let it run for a while.
Usually, around 5-10 min in i get a huge freeze, like 3-5 sec freeze of the image (sound keep going fine) and then the image speeds up to meet the timestamp it was suppose to be at.

I checked the time and then went into the log and exactly at that time i'm getting

Code:
14:15:11 T:140728588019456 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
14:15:17 T:140728588019456 WARNING: Previous line repeats 75 times.
14:15:17 T:140728588019456   DEBUG: CPullupCorrection: detected pattern of length 1: 41708.33, frameduration: 41708.333333

Before i saw this i thought it was something like the GPU HANG talked about here, so i updated the kernel and tested, still have the problem.

Here's the complete Logs:
Before Kernel update - HAS DEBUG ON
After Kernel update - HAS DEBUG OFF

You can see the same lines on both files and both of them are on time with the visual problem i witnessed.
If you want i'll take another after the kernel update with debug on.

Well, thanks in advance for any help.
If i forgot to give you some info you need sorry about that, i'll post it asap.
find quote
fritsch Offline
Team-Kodi Developer
Posts: 8,125
Joined: Aug 2011
Reputation: 183
Location: Karlsruhe
Post: #2
Upgrade your kernel to something >= 3.18.4. Don't forget to also update your linux-firmware package.

"Your most vocal users are not reflective of your userbase" J.M.

Audio Engine: SPDIF has only 2 pcm channels. DTS, AC3 are encoded via those 2 channels. It's obviously clear that you are not able to change Speaker Layout when running via SPDIF.
No help without a proper Debug Log No answer yet? http://www.catb.org/esr/faqs/smart-questions.html
find quote
m4xc4v413r4 Offline
Junior Member
Posts: 8
Joined: Feb 2015
Reputation: 0
Post: #3
(2015-03-01 09:21)fritsch Wrote:  Upgrade your kernel to something >= 3.18.4. Don't forget to also update your linux-firmware package.

As i said in the original post, i already did that, i followed your post about the GPU HANG (i said this on the original post).
Today i did it again, but instead of 3.18.4 i used 3.19.0, still have the issue. And yes i updated linux-firmware package also, as you instruct in that thread.

Still getting a single "few seconds long" freeze of the image.
As far as i can tell, it only happens once per session (as in from boot to shutdown of the htpc), i can watch how many movies i want, it will just happen once.
And at the time of the freeze the log shows that "WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer" every time.

I can't find the reason for that warning, the connection is working fine, everything buffers fast, RAM is never being used more than 20% or so, got plenty of free space on the HDD.

I'm using an old i3-530 as you can see on the logs. Could it be something with the iGPU?

I don't know what to think any more, it's not a big problem or anything, it's just annoying and would be great if i could get it fixed.

Thanks again for any help.
find quote
fritsch Offline
Team-Kodi Developer
Posts: 8,125
Joined: Aug 2011
Reputation: 183
Location: Karlsruhe
Post: #4
Can you retry with a very recent nightly build? A lot of stuff was changed - especially one change that leaves a lock when waiting for render buffers.

"Your most vocal users are not reflective of your userbase" J.M.

Audio Engine: SPDIF has only 2 pcm channels. DTS, AC3 are encoded via those 2 channels. It's obviously clear that you are not able to change Speaker Layout when running via SPDIF.
No help without a proper Debug Log No answer yet? http://www.catb.org/esr/faqs/smart-questions.html
find quote
m4xc4v413r4 Offline
Junior Member
Posts: 8
Joined: Feb 2015
Reputation: 0
Post: #5
A kodi nightly build or kernel?

Have to go sleep, tomorrow working early, but when i come back i'll try that out.

Thanks for your time man.
find quote
wsnipex Offline
Team-Kodi Member
Posts: 4,456
Joined: Jun 2011
Reputation: 99
Post: #6
kodi nightly
find quote