Re: Buffer overflows recording HDTV with saa7146 and mantis DVB-C tuners

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hello Klaus,

Am 08.11.24 um 04:35 schrieb schorpp:
Am 07.11.24 um 21:36 schrieb Klaus Schmidinger:
On 06.11.24 04:57, schorpp wrote:
Hello,

I've build a new VDR with h.264 xineliboutput plugin software decoding

and got a problem now with

buffer overruns and distorted recordings on all HD channels:

...
Nov  5 05:32:03 vdr2 vdr: [32753] ERROR: 47231 ring buffer overflows (8879240 bytes dropped)
Nov  5 05:32:09 vdr2 vdr: [32753] ERROR: 31042 ring buffer overflows (5835896 bytes dropped)
Nov  5 05:32:15 vdr2 vdr: [32753] ERROR: 47325 ring buffer overflows (8897100 bytes dropped)
Nov  5 05:32:21 vdr2 vdr: [32753] ERROR: 28306 ring buffer overflows (5321528 bytes dropped)
Nov  5 05:32:27 vdr2 vdr: [32753] ERROR: 14033 ring buffer overflows (2638204 bytes dropped)
...

This occurs with both saa7146 and mantis pci tuner cards.

This has not occured with the old VDR system using Broadcomm's crystalhd decoder in libxine.


I've FIXED it.

Not yet. It occurs again after some days system uptime.


Nov  9 18:25:33 vdr2 vdr: [5318] buffer stats: 178600 (3%) used
Nov  9 18:25:33 vdr2 vdr: [5337] TS buffer on device 1 thread started (pid=4621, tid=5337, prio=high)
Nov  9 20:12:00 vdr2 vdr: [8367] TS buffer on device 2 thread started (pid=4621, tid=8367, prio=high)
Nov  9 21:57:57 vdr2 vdr: [11332] TS buffer on device 3 thread started (pid=4621, tid=11332, prio=high)
Nov  9 23:13:00 vdr2 vdr: [5337] TS buffer on device 1 thread ended (pid=4621, tid=5337)
Nov  9 23:13:00 vdr2 vdr: [5335] buffer stats: 500268 (9%) used
Nov  9 23:13:00 vdr2 vdr: [13456] TS buffer on device 1 thread started (pid=4621, tid=13456, prio=high)
Nov  9 23:13:01 vdr2 vdr: [4621] buffer stats: 0 (0%) used
Nov  9 23:30:00 vdr2 vdr: [4621] buffer stats: 222968 (1%) used
Nov  9 23:37:52 vdr2 vdr: [4621] buffer stats: 474136 (2%) used
Nov  9 23:37:52 vdr2 vdr: [11332] TS buffer on device 3 thread ended (pid=4621, tid=11332)
Nov  9 23:37:52 vdr2 vdr: [11331] buffer stats: 233872 (11%) used
Nov  9 23:37:53 vdr2 vdr: [14185] TS buffer on device 3 thread started (pid=4621, tid=14185, prio=high)
Nov 10 00:37:14 vdr2 vdr: [4621] buffer stats: 0 (0%) used

Cause was HW unsupported pci hotplug damaged motherboard pci bridge and/or removed antenna signal amplififier.

No. dd write speed test showed a regression in the 3.12.40 AHCI SATA driver, HDD write performance dropped down from 60MB/s to 4MB/s on the which is too slow for HDTV or multiple recordings.

After reboot full speed is back. I've upgraded the kernel to the last longterm 4.19.324 stable version to check if this resolves the issue or it is a hardware issue of the

# lspci -vvv -s 00:1f.2
00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0]) Subsystem: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin B routed to IRQ 32
	Region 0: I/O ports at f0d0 [size=8]
	Region 1: I/O ports at f0c0 [size=4]
	Region 2: I/O ports at f0b0 [size=8]
	Region 3: I/O ports at f0a0 [size=4]
	Region 4: I/O ports at f060 [size=32]
	Region 5: Memory at f7e36000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
		Address: fee08004  Data: 4022
	Capabilities: [70] Power Management version 3
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=00000004
	Capabilities: [b0] PCI Advanced Features
		AFCap: TP+ FLR+
		AFCtrl: FLR-
		AFStatus: TP-
	Kernel driver in use: ahci

SATA HBA or WDC Drive Firmware.

y
tom




[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux