OK - I think I have a stable configuration now, albeit weird.
- I upgraded the mobo BIOS to -latest, to no avail (hoping this would change
the MSI interrupt behaviour, but it only appears to add some more CPU
support. But you never know, BIOS changelogs haven't been well known for
being particularly verbose.)
- I set pci=nomsi - no change. Will change this back to default for the next
reboot
- I enlarged PLAYERBUFSIZE (and RECORDERBUFSIZE to be sure) to 50 megs, and
voilĂ , the setup has been stable for the last 4 days or so. I know this only
cures the symptom IF the buffer logic has an actual problem
OK, the WAF has been saved for now, but the fix still does not explain why the
buffer overrun problem only occurs when watching live TV with vnsiserver and
kodi, and can only be cured by rebooting the machine. So ... :-/
On Mon, Feb 01, 2016 at 08:20:06AM +0100, Harald Milz wrote:
> Hi all,
>
> over the weekend I upgraded to vdr-2.2.0, and I'm still seeing the same
> problems.
>
> - vdr-2.2.0 from ftp://ftp.tvdr.de/vdr/vdr-2.2.0.tar.bz2
> - vnsiserver from git (from yesterday)
> - dddvb-0.9.22 (loaded as ddbridge msi=0)
>
> Everything else is unchanged.
>
> Result: when the problem starts,
> 1. switching channels does not help
> 2. restarting VDR does not help
> 3. stopping VDR, reloading driver, and restarting VDR does not help
> 4. only restarting the machine seems to help so far, for some time, until the
>problem occurs again.
>
> This is after 3.:
>
> Feb 1 07:56:59 seneca vdr: [31887] VNSI: Client with ID 2 connected:
> 192.168.20.200:37103
> Feb 1 07:56:59 seneca vdr: [31939] VNSI: Welcome client 'XBMC Media Center'
> with protocol version '8'
> Feb 1 07:56:59 seneca vdr: [31939] VNSI: LiveStreamer::Close - close
> Feb 1 07:56:59 seneca vdr: [31939] VNSI: close video input ...
> Feb 1 07:56:59 seneca vdr: [31939] VNSI: Successfully found following
> device: 0x8aaee00 (2) for receiving
> Feb 1 07:56:59 seneca vdr: [31940] device 2 receiver thread started
> (pid=31867, tid=31940, prio=high)
> Feb 1 07:56:59 seneca vdr: [31939] VNSI: Successfully switched to channel 2
> - ZDF HD
> Feb 1 07:56:59 seneca vdr: [31939] VNSI: Started streaming of channel ZDF HD
> (timeout 10 seconds)
> Feb 1 07:56:59 seneca vdr: [31943] device 2 TS buffer thread started
> (pid=31867, tid=31943, prio=high)
> Feb 1 07:56:59 seneca vdr: [31942] cLiveStreamer stream processor thread
> started (pid=31867, tid=31942, prio=high)
> Feb 1 07:56:59 seneca vdr: [31941] VNSI: VideoInput: no pat/pmt within
> timeout, falling back to channel pids
> Feb 1 07:56:59 seneca vdr: [31941] VNSI: Video Input - new pmt, attaching
> receiver
> Feb 1 07:57:00 seneca vdr: [31942] VNSI: Created stream for pid=6110 and
> type=8
> Feb 1 07:57:00 seneca vdr: [31942] VNSI: Created stream for pid=6122 and
> type=1
> Feb 1 07:57:00 seneca vdr: [31942] VNSI: Created stream for pid=6120 and
> type=2
> Feb 1 07:57:00 seneca vdr: [31942] VNSI: Created stream for pid=6121 and
> type=2
> Feb 1 07:57:00 seneca vdr: [31942] VNSI: Created stream for pid=6123 and
> type=2
> Feb 1 07:57:00 seneca vdr: [31942] VNSI: Created stream for pid=6131 and
> type=9
> Feb 1 07:57:00 seneca vdr: [31942] VNSI: Created stream for pid=6130 and
> type=11
> Feb 1 07:57:02 seneca vdr: [31943] i/o throttle activated, count = 1
> (tid=31943)
> Feb 1 07:57:03 seneca vdr: [31943] buffer usage: 70% (tid=31940)
> Feb 1 07:57:03 seneca vdr: [31943] buffer usage: 60% (tid=31940)
> Feb 1 07:57:03 seneca vdr: [31943] buffer usage: 70% (tid=31940)
> Feb 1 07:57:04 seneca vdr: [31943] buffer usage: 80% (tid=31940)
> Feb 1 07:57:04 seneca vdr: [31943] buffer usage: 90% (tid=31940)
> Feb 1 07:57:05 seneca vdr: [31943] buffer usage: 100% (tid=31940)
> Feb 1 07:57:06 seneca vdr: [31943] buffer usage: 60% (tid=31940)
> Feb 1 07:57:06 seneca vdr: [31943] buffer usage: 70% (tid=31940)
> Feb 1 07:57:06 seneca vdr: [31943] buffer usage: 60% (tid=31940)
> Feb 1 07:57:06 seneca vdr: [31943] buffer usage: 70% (tid=31940)
> Feb 1 07:57:06 seneca vdr: [31943] buffer usage: 80% (tid=31940)
> Feb 1 07:57:07 seneca vdr: [31943] buffer usage: 90% (tid=31940)
> Feb 1 07:57:08 seneca vdr: [31943] buffer usage: 100% (tid=31940)
> Feb 1 07:57:09 seneca vdr: [31943] ERROR: driver buffer overflow on device 2
> Feb 1 07:57:19 seneca vdr: message repeated 6 times: [ [31943] ERROR: driver
> buffer overflow on device 2]
> Feb 1 07:57:20 seneca vdr: [31940] ERROR: skipped 123 bytes to sync on TS
> packet on device 2
> Feb 1 07:57:21 seneca vdr: [31943] ERROR: driver buffer overflow on device 2
> Feb 1 07:57:23 seneca vdr: [31943] ERROR: driver buffer overflow on device 2
> Feb 1 07:57:23 seneca vdr: [31943] buffer usage: 60% (tid=31940)
> Feb 1 07:57:23 seneca vdr: [31943] buffer usage: 70% (tid=31940)
> Feb 1 07:57:24 seneca vdr: [31943] buffer usage: 80% (tid=31940)
> Feb 1 07:57:25 seneca vdr: [31943] buffer usage: 90% (tid=31940)
>