Kodi Community Forum
OpenELEC Testbuilds for RaspberryPi (Kodi 16.0) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
+---- Thread: OpenELEC Testbuilds for RaspberryPi (Kodi 16.0) (/showthread.php?tid=231092)



RE: OpenELEC Testbuilds for RaspberryPi (Kodi 16.0) - polo_joe - 2015-09-03

When tuning to 1080i50 tvchannel I get the following errors in tvheadend log.
I think this could cause my artefacts:

http://pastebin.com/5JMMbf73


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 16.0) - popcornmix - 2015-09-03

(2015-09-03, 18:54)polo_joe Wrote: When tuning to 1080i50 tvchannel I get the following errors in tvheadend log.
I think this could cause my artefacts:

http://pastebin.com/5JMMbf73

You said you get artefacts when advanced deinterlace is enabled.
You said you get artefacts from recordings.

So concentrate on the recordings.
Do the artefacts in recording appear only when advanced deinterlace is enabled?
If so then tvheadend is not to blame.
If a recording always has artefacts regardless of deinterlace settings then the problem is in the file (and is likely due to tvheader/tuner backend).


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 16.0) - erikoo - 2015-09-03

(2015-09-01, 14:29)popcornmix Wrote: Always post complete logs with debug enabled to a paste site (e.g. xbmclog.com).

Kodi is designed for file playback where data can be read faster than it is played out.

For live streams you may be better off playing through the PVR interface. The IPTV simple (Add-on:IPTV_Simple_Client) addon may be an option.

Don't you think the playback of files via an add on follow the same path? Its still the same player, not? But anyway, is there a way I can clone your source or can I just use openelec from github to figure this 'issue' out? Basically I think my problem is caused by the low bandwith (500kbit), because once it is streaming it streams very nice.


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 16.0) - polo_joe - 2015-09-04

(2015-09-03, 20:07)popcornmix Wrote:
(2015-09-03, 18:54)polo_joe Wrote: When tuning to 1080i50 tvchannel I get the following errors in tvheadend log.
I think this could cause my artefacts:

http://pastebin.com/5JMMbf73

You said you get artefacts when advanced deinterlace is enabled.
You said you get artefacts from recordings.

So concentrate on the recordings.
Do the artefacts in recording appear only when advanced deinterlace is enabled?
If so then tvheadend is not to blame.
If a recording always has artefacts regardless of deinterlace settings then the problem is in the file (and is likely due to tvheader/tuner backend).

Made a recording this night. Now playback shows no artefacts neighter with mmal-half, auto nor mmal-advanced. Artefacts are only when watching livetv and one special channel (servus tv). Last time I started recording via osd during livetv. Then the artefacts were in recording too.
Also interesting is, when watching servustv with mmal-half continuity counter is increasing slow in tvheadend webinterface. When changing to mmal-advanced the counter is increasing much faster.


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 16.0) - Forage - 2015-09-04

(2015-09-03, 10:47)querty1000 Wrote:
(2015-09-03, 01:14)Milhouse Wrote: [*]Include RPi 2 overlock mode preset (PR:4298, 1 commit, 1 file changed)

Hm, 500 for the SDRAM doesn't work for a lot of people, is it a good idea to insert this as the only overclocking setting for the Pi2? All other modes seems to fit only for the Pi1 because of overvoltage 6.
It is to match the modes recommended/provided by raspi-config.
Just having the other modes makes no sense if you only have a RPi2 ;-)
Maybe it would be better to create two separate sections, but the mode name tells you something as well.


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 16.0) - popcornmix - 2015-09-04

(2015-09-04, 06:27)polo_joe Wrote: Made a recording this night. Now playback shows no artefacts neighter with mmal-half, auto nor mmal-advanced. Artefacts are only when watching livetv and one special channel (servus tv). Last time I started recording via osd during livetv. Then the artefacts were in recording too.
Also interesting is, when watching servustv with mmal-half continuity counter is increasing slow in tvheadend webinterface. When changing to mmal-advanced the counter is increasing much faster.

Okay, that changes things. Where is the tvheadend backend/tuner? On the same Pi or somewhere else on network?


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 16.0) - polo_joe - 2015-09-04

tvheadend is on same pi!


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 16.0) - popcornmix - 2015-09-04

(2015-09-04, 12:59)polo_joe Wrote: tvheadend is on same pi!

Okay I'm back to thinking it's a power supply issue.
The advanced deinterlace is a pretty hefty amount of processing and will put a strain on the power supply.
If the USB dongle is using the same supply and the power supply you are using is dropping, it may cause corrupt data to be received from USB dongle.

Can you connect the USB dongle to a powered USB hub?
Do you have another power supply for the Pi you can try?


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 16.0) - polo_joe - 2015-09-04

the tvcard is tevii s660 it has separate power supply, but I may try another power supply for pi.
Current power supply for pi has 2000 mA.
As already written I had no discontinuity errors with this card with zbox ad02, only difference since then is a new tvheadend build from Milhouse.


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 16.0) - popcornmix - 2015-09-04

(2015-09-04, 13:18)polo_joe Wrote: the tvcard is tevii s660 it has separate power supply

What voltage is the power supply for the s660? If it's not 5V then it may still be drawing 5V from the USB connection (i.e. the Pi).


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 16.0) - polo_joe - 2015-09-04

Following this the power supply is 7.5 V http://www.linuxtv.org/wiki/index.php/TeVii_S660
I am not at home now so I can verify in the evening.

Is there a way to prevent power drawing from usb connection?


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 16.0) - popcornmix - 2015-09-04

(2015-09-04, 13:44)polo_joe Wrote: Following this the power supply is 7.5 V http://www.linuxtv.org/wiki/index.php/TeVii_S660
I am not at home now so I can verify in the evening.

Is there a way to prevent power drawing from usb connection?

Only by using a self powered USB hub.


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 16.0) - polo_joe - 2015-09-04

Is there a way to check power supply during livetv with voltmeter?


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 16.0) - popcornmix - 2015-09-04

(2015-09-04, 14:44)polo_joe Wrote: Is there a way to check power supply during livetv with voltmeter?

You can measure the 5V on the Pi2 itself. See here.
E.g. between pin2 and pin39 of gpio header. Do this when system is under load (e.g. running with advanced deinterlace and suffering from corruption issues).

You may be able to find somewhere on the s660 to probe. E.g. the pins on the USB socket here which would be a little more accurate as there will be some voltage drop from the USB cable.
A low quality cable between the Pi and s660 could make voltage drop problems worse.


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 16.0) - polo_joe - 2015-09-04

ok, I measured power supply pin2 and pin39 when watching livetv with advanced deinterlace = 5,00 V. So should be ok.
power supply of tv card is 7.7 V, I unassembled the tvcard to get to the USB socket. Then I saw pin 1 and 4 aren't connected via usb so tvcard can't draw power of pi. I also measured the usb cable from tvcard to pi, Pin 1 and 4 = 0,0 V.