OpenELEC Testbuilds for RaspberryPi (Kodi 16.0)
(2015-11-07, 13:53)popcornmix Wrote:
(2015-11-04, 00:07)popcornmix Wrote: The Advanced deinterlace at 1080i60 is expensive. It generates a lot of sdram traffic.
DVB USB dongles generate a lot of data, and depending on the driver, it may need to read prompty to avoid losing data.

The suspicion is that the heavy sdram traffic delays the USB driver occasionally and it loses a packet, causing corruption in the video.

Now there may be ways of working around this. Forcing the deinterlace to spread out its sdram accesses the right amount may solve this.
E.g. currently deinterlace might take 13ms every 16ms. If I were to make the deinterlace pause for 10us every 100us, it would still likely get it's job done,
and hopefully the USB driver won't be held up during the pauses.

Unfortunately it's not something I can test (I have encrypted cable at home, and too weak a terrestrial signal at both work and home).
I may be able to produce a test build that attempts this (perhaps with a config setting to tweak how frequent/long the pauses are).

@bagofcrap24 @polo_joe

I've added a test setting to see if we can fix the artefacts with advanced 1080i deinterlave and locally attached DVB dongle.
Use latest Milhouse build and add:
Code:
hvs_priority=0xN0000000

Replace the N with a hex digit from 0 to f (i.e. 0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f). That number determines how long to pause for, with 0 meaning no change in behaviour, to f means lots of pausing.
Start with 8, and if you still have artefacts then increase it, and if no artefacts then decrease it. Try to find the minimum setting that doesn't have artefacts.
Too high a setting will cause lagging of the video, as the deinterlace will take longer. Hopefully there will be a value that fixes artefacts and doesn't have lagging.

cannot test yet
haven't updated in about a week. Somewhere between 1029 & 1106 my DVB adapter no longer works on the Pi2.
It is seen in the TVH server however when I try to play any stream. I get a toast saying no signal.
I'll find the build where it stops working

[EDIT]
Last Working Build - #1101
upon updating to 1102 I get the popup toast saying no signal.
1101 all is well.
Using a "PCTV 292e Triplestick"

dmesg

TVHE log is full of this
Code:
2015-11-07 17:15:07.000 mpegts: 786MHz in DVB-T2 - tuning on Silicon Labs Si2168 : DVB-T #0

2015-11-07 17:15:07.001 subscription: 000B: "epggrab" subscribing to mux "786MHz", weight: 4, adapter: "Silicon Labs Si2168 : DVB-T #0", network: "DVB-T2", service: "Raw PID Subscription"

2015-11-07 17:15:07.002 subscription: 0005: No input source available for subscription "127.0.0.1 [ alex | Kodi Media Center ]" to channel "BBC NEWS HD"

2015-11-07 17:15:09.000 subscription: 0005: No input source available for subscription "127.0.0.1 [ alex | Kodi Media Center ]" to channel "BBC NEWS HD"

2015-11-07 17:15:11.000 subscription: 0005: No input source available for subscription "127.0.0.1 [ alex | Kodi Media Center ]" to channel "BBC NEWS HD"

2015-11-07 17:15:13.000 subscription: 0005: No input source available for subscription "127.0.0.1 [ alex | Kodi Media Center ]" to channel "BBC NEWS HD"


Messages In This Thread
Bluetooth on #1003 - by cdvreede - 2015-10-13, 11:08
Re: RE: Bluetooth on #1003 - by Milhouse - 2015-10-13, 13:24
RE: OpenELEC Testbuilds for RaspberryPi (Kodi 16.0) - by bagofcrap24 - 2015-11-07, 19:04
Logout Mark Read Team Forum Stats Members Help
OpenELEC Testbuilds for RaspberryPi (Kodi 16.0)10