Thank you for your donation


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem: Tv-Stream from Mediaportal freezes peridiodically for ~18s
11th Jan, 2014, 10:38 AM
Post: #1
Tv-Stream from Mediaportal freezes peridiodically for ~18s
Software
XBian version: 1.0Beta2
XBMC version:XBMC Git:12.2 Git:20131125-d1002b4
Overclock settings: Xbian default and turbo(to test)
RPI Firmware: Linux xbian 3.10.18+ #68 Sat Nov 16 00:50:06 CET 2013 armv6l GNU/Linux
GPU Firmware: Oct 1 2013 00:37:09 Copyright © 2012 Broadcom
version a421d4b2cee544ec22bd4eee75080248f18fc20b (tainted) (release)

I've tested raspbmc to with the same problem. I've changed the Server OS and Hardware to from Windows Server 2012 to Windows 8.

Hardware
Power supply rating: 5V 1A and i tested 5V 2,5A too
RPi model (model A/B 256mb/512mb): B 512
SD card size and make/type:i've tested: Transcend 8GB Class 10, Kingston 2GB Class ?, Kingston 2GB Class ? only as boot + USB Stick
Network (wireless or LAN): tested on wireless and wired lan
Connected devices (TV, USB, network storage, etc.): TV

Logile
http://ul.to/c9o5apyb
*.rar and *.log dont work as attachment


Problem description:
After a fresh install i updated the system wie sudo apt-get update/upgrade. I set the resolution to 1280*720p and the gui to 720p. Then i install the pvr plugin for Mediaportal and configure it.

I can watch SD TV and SD Recordings, but HD TV and HD Recordings freezes every ~30s for ~18s. Normal mkv over network(smb) works fine, so do HD Recordings over nfs.

I changed the cache in the advancedsettings.xml to(<pvr>). I've changed the Server OS and Hardware to from Windows Server 2012 to Windows 8.Whatever i have tried, there was no improvement.

But HD TV should work according to other users.

How to reproduce:
Every time i start HD TV or HD Recording over Mediaportal pvr plugin.
Find all posts by this user
Quote this message in a reply
12th Jan, 2014, 05:47 AM
Post: #2
RE: Tv-Stream from Mediaportal freezes peridiodically for ~18s
From Xbian - can you do vmstat 5 50 and post the results. Also dmesg via pastebin.

When the HD is playing, take a screenshot of the video information "Press O" whilst it is playing - or not as the case may be.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
13th Jan, 2014, 02:02 AM
Post: #3
RE: Tv-Stream from Mediaportal freezes peridiodically for ~18s
Scrennshots 1 and 2 are before it freezes, 3 and 4 while it freezes and 5 after it freezed.

dmesg
http://pastebin.com/gzR9W3FR

vmstat 5 50 while the pi is idle
http://pastebin.com/3x4Nsky1

vmstat while the pi is playing the file
http://pastebin.com/T8wEK7vt


I notice while the stream is playing, the pi transfers about 600-700 KB/s over eth0. I think this is to low, while im playing the stream over nfs(without the pvr plugin which do not support nfs) the pi transfers about 1200 KB/s, but i dont know why smb wont gain more speed.


Attached File(s) Thumbnail(s)
                   
Find all posts by this user
Quote this message in a reply
13th Jan, 2014, 05:56 AM
Post: #4
RE: Tv-Stream from Mediaportal freezes peridiodically for ~18s
Very strange.

Screenshots show 100% CPU yet vmstat doesn't - I believe the latter.

NFS is faster than SMB but not that much.

I would check your Windoze settings first as it's obviously a buffering issue.

Can you post the output from xbmc.log a dmesg via pastebin.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
13th Jan, 2014, 05:58 AM
Post: #5
RE: Tv-Stream from Mediaportal freezes peridiodically for ~18s
Not strange, maybe they dont match. Ill make a new one, and make sure theyll match.

"Can you post the output from xbmc.log a dmesg via pastebin."

I dont understand that, sorry. I should post the output of xbmc.log via pastebin. But what should i do with dmesq?
Find all posts by this user
Quote this message in a reply
13th Jan, 2014, 06:14 AM
Post: #6
RE: Tv-Stream from Mediaportal freezes peridiodically for ~18s
Match? what are you talking about.

I'm trying to help, but you have an issue.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
19th Jan, 2014, 09:17 AM
Post: #7
RE: Tv-Stream from Mediaportal freezes peridiodically for ~18s
"Match? what are you talking about."

Nevermind

But i found the Problem. Its the auto negotiation of the pi/network/server. If i set the network speed on my server to 100Mps, all works fine. If i set it to auto negotiation, the stream freezes.

I dont know if it could be fixed. But i think, i buy me a second network card only for the pi and set it fix to 100Mps.

Thanks for your help.
Find all posts by this user
Quote this message in a reply
19th Jan, 2014, 09:44 AM
Post: #8
RE: Tv-Stream from Mediaportal freezes peridiodically for ~18s
@Dracul

a bit similar = I have such problem with RPI to one specific server if there is NIC set to Jumbo frames (9000bytes / packet). With Jumbo I can make 70-80MB/s between servers, but then RPI works for 10minutes, later packet loss until finally can't connect.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
8th Mar, 2014, 04:28 PM
Post: #9
RE: Tv-Stream from Mediaportal freezes peridiodically for ~18s
Streaming is very necessary to catch the channels.
Quote this message in a reply
Post Reply 


Forum Jump: