Hi,
When I record channel with subtitle, VDR brutally restart.
Here is the content of the syslog, just before restarting :
Nov 4 20:59:42 vdrbox vdr: [7700] buffer usage: 70% (tid=7706) Nov 4 20:59:43 vdrbox vdr: [7700] buffer usage: 80% (tid=7706) Nov 4 20:59:44 vdrbox vdr: [7700] buffer usage: 90% (tid=7706) Nov 4 20:59:45 vdrbox vdr: [7700] buffer usage: 100% (tid=7706) Nov 4 20:59:45 vdrbox vdr: [7700] ERROR: 1 ring buffer overflow (65 bytes dropped) Nov 4 20:59:51 vdrbox vdr: [7700] ERROR: 18184 ring buffer overflows (3418592 bytes dropped) Nov 4 20:59:57 vdrbox vdr: [7700] ERROR: 19567 ring buffer overflows (3678596 bytes dropped) Nov 4 21:00:03 vdrbox vdr: [7700] ERROR: 19802 ring buffer overflows (3722776 bytes dropped) Nov 4 21:00:07 vdrbox vdr: [7705] ERROR: video data stream broken Nov 4 21:00:07 vdrbox vdr: [7705] initiating emergency exit Nov 4 21:00:07 vdrbox vdr: [7423] emergency exit requested - shutting down
When I look at without recording, I have messages in the syslog :
Nov 4 21:12:45 vdrbox vdr: [7810] buffer usage: 70% (tid=7809) Nov 4 21:12:46 vdrbox vdr: [7810] buffer usage: 80% (tid=7809) Nov 4 21:12:46 vdrbox vdr: [7810] buffer usage: 90% (tid=7809) Nov 4 21:12:46 vdrbox vdr: [7809] clearing transfer buffer to avoid overflows Nov 4 21:12:46 vdrbox vdr: [7810] buffer usage: 0% (tid=7809) Nov 4 21:26:07 vdrbox vdr: [7810] buffer usage: 70% (tid=7809) Nov 4 21:26:08 vdrbox vdr: [7810] buffer usage: 80% (tid=7809) Nov 4 21:26:08 vdrbox vdr: [7810] buffer usage: 90% (tid=7809) Nov 4 21:26:08 vdrbox vdr: [7809] clearing transfer buffer to avoid overflows Nov 4 21:26:08 vdrbox vdr: [7810] buffer usage: 0% (tid=7809) Nov 4 21:32:42 vdrbox vdr: [7810] buffer usage: 70% (tid=7809) Nov 4 21:32:42 vdrbox vdr: [7810] buffer usage: 80% (tid=7809) Nov 4 21:32:43 vdrbox vdr: [7810] buffer usage: 90% (tid=7809) Nov 4 21:32:43 vdrbox vdr: [7809] clearing transfer buffer to avoid overflows
But when I look at, VDR not restarting, I just pause the image of 2 seconds.
I use a vanilla version of VDR with no plugins. My hardware is a card full DVB-S and a budget DVB-T.
The problem comes with the DVB-T. I didn't stream with subtitles on the DVB-S.
Thanks for your help.
Michaël
On Sunday 04 Nov 2007, NIVAL Michaël wrote:
Hi,
When I record channel with subtitle, VDR brutally restart.
Here is the content of the syslog, just before restarting :
Nov 4 20:59:42 vdrbox vdr: [7700] buffer usage: 70% (tid=7706) Nov 4 20:59:43 vdrbox vdr: [7700] buffer usage: 80% (tid=7706) Nov 4 20:59:44 vdrbox vdr: [7700] buffer usage: 90% (tid=7706) Nov 4 20:59:45 vdrbox vdr: [7700] buffer usage: 100% (tid=7706) Nov 4 20:59:45 vdrbox vdr: [7700] ERROR: 1 ring buffer overflow (65 bytes dropped) Nov 4 20:59:51 vdrbox vdr: [7700] ERROR: 18184 ring buffer overflows (3418592 bytes dropped) Nov 4 20:59:57 vdrbox vdr: [7700] ERROR: 19567 ring buffer overflows (3678596 bytes dropped) Nov 4 21:00:03 vdrbox vdr: [7700] ERROR: 19802 ring buffer overflows (3722776 bytes dropped) Nov 4 21:00:07 vdrbox vdr: [7705] ERROR: video data stream broken Nov 4 21:00:07 vdrbox vdr: [7705] initiating emergency exit Nov 4 21:00:07 vdrbox vdr: [7423] emergency exit requested - shutting down
I see exactly the same problem, but only when using my old Hauppauge Nova-T card. The newer Twinhan one doesn't generate these messages.
Also the problem only seems to occur when recording, not when watching live TV.
Dave
Hi!
2007/11/5, Dave P vdr@pickles.me.uk:
On Sunday 04 Nov 2007, NIVAL Michaël wrote:
Hi,
When I record channel with subtitle, VDR brutally restart.
Here is the content of the syslog, just before restarting :
I'm having exactly the same problem! VDR does an emergency exit every 2-10 minutes when recording a program with subtitles (currently, a documentary about atomic weapons on YLE 2).
I'm on VDR-1.5.11 currently, have one DVB-C (budget) card and a dxr3 card. I haven't noticed this before, and I'm not sure actually if this is the same problem, since I haven't used TV a lot recently because of being busy... but I quicly checked recent recordings, and all of them are ruined because of this constant restarting (well, perhaps not ruined but nevertheless have ugly gaps / missing a few seconds every few minutes). I don't know if I've done any recordings without subtitles recently, but I'll check if they're OK when I have the time.
In my syslog, I got exactly similar entries as Michael, like so:
Nov 21 00:15:33 VillenVDRdevil vdr: [6900] buffer usage: 70% (tid=6899) Nov 21 00:15:33 VillenVDRdevil vdr: [6900] buffer usage: 80% (tid=6899) Nov 21 00:15:35 VillenVDRdevil vdr: [6900] buffer usage: 90% (tid=6899) Nov 21 00:15:35 VillenVDRdevil vdr: [6899] clearing transfer buffer to avoid overflows Nov 21 00:15:35 VillenVDRdevil vdr: [6900] buffer usage: 0% (tid=6899) Nov 21 00:15:35 VillenVDRdevil vdr: [6899] dxr3: audiodecoder: sample rate=48000 Nov 21 00:15:35 VillenVDRdevil vdr: [6899] dxr3: audiodecoder: channels=2 Nov 21 00:15:37 VillenVDRdevil vdr: [6899] dxr3: audiodecoder: sample rate=48000 Nov 21 00:15:37 VillenVDRdevil vdr: [6899] dxr3: audiodecoder: channels=2 Nov 21 00:15:39 VillenVDRdevil vdr: [6900] buffer usage: 70% (tid=6906) Nov 21 00:15:40 VillenVDRdevil vdr: [6900] buffer usage: 80% (tid=6906) Nov 21 00:15:41 VillenVDRdevil vdr: [6907] dxr3: cSPUEncoder::Flush: OSD data size: 8288 Nov 21 00:15:42 VillenVDRdevil vdr: [6900] buffer usage: 90% (tid=6906) Nov 21 00:15:43 VillenVDRdevil vdr: [6900] buffer usage: 100% (tid=6906) Nov 21 00:15:43 VillenVDRdevil vdr: [6900] ERROR: 1 ring buffer overflow (65 bytes dropped) Nov 21 00:15:44 VillenVDRdevil vdr: [6907] dxr3: cSPUEncoder::Flush: OSD data size: 8623 Nov 21 00:15:49 VillenVDRdevil vdr: [6900] ERROR: 10186 ring buffer overflows (1914968 bytes dropped) Nov 21 00:15:49 VillenVDRdevil vdr: [6907] dxr3: cSPUEncoder::Flush: OSD data size: 4947 Nov 21 00:15:52 VillenVDRdevil vdr: [6907] dxr3: cSPUEncoder::Flush: OSD data size: 7312 Nov 21 00:15:55 VillenVDRdevil vdr: [6900] ERROR: 13027 ring buffer overflows (2449076 bytes dropped) Nov 21 00:15:56 VillenVDRdevil vdr: [6907] dxr3: cSPUEncoder::Flush: OSD data size: 7863 Nov 21 00:15:59 VillenVDRdevil vdr: [6905] ERROR: video data stream broken Nov 21 00:15:59 VillenVDRdevil vdr: [6905] initiating emergency exit Nov 21 00:15:59 VillenVDRdevil vdr: [6835] emergency exit requested - shutting down
I believe only the last three lines are significant.
Is there a workaround for this? I remember seeing someone with a patch that prevented this (IMHO idiotic) emergency exits, but OTOH the patches could have been for a different issue.
On 11/20/07 23:26, Ville Aakko wrote:
Hi!
2007/11/5, Dave P vdr@pickles.me.uk:
On Sunday 04 Nov 2007, NIVAL Michaël wrote:
Hi,
When I record channel with subtitle, VDR brutally restart.
Here is the content of the syslog, just before restarting :
I'm having exactly the same problem! VDR does an emergency exit every 2-10 minutes when recording a program with subtitles (currently, a documentary about atomic weapons on YLE 2).
I'm on VDR-1.5.11 currently, have one DVB-C (budget) card and a dxr3 card. I haven't noticed this before, and I'm not sure actually if this is the same problem, since I haven't used TV a lot recently because of being busy... but I quicly checked recent recordings, and all of them are ruined because of this constant restarting (well, perhaps not ruined but nevertheless have ugly gaps / missing a few seconds every few minutes). I don't know if I've done any recordings without subtitles recently, but I'll check if they're OK when I have the time.
In my syslog, I got exactly similar entries as Michael, like so:
Nov 21 00:15:33 VillenVDRdevil vdr: [6900] buffer usage: 70% (tid=6899) Nov 21 00:15:33 VillenVDRdevil vdr: [6900] buffer usage: 80% (tid=6899) Nov 21 00:15:35 VillenVDRdevil vdr: [6900] buffer usage: 90% (tid=6899) Nov 21 00:15:35 VillenVDRdevil vdr: [6899] clearing transfer buffer to avoid overflows Nov 21 00:15:35 VillenVDRdevil vdr: [6900] buffer usage: 0% (tid=6899) Nov 21 00:15:35 VillenVDRdevil vdr: [6899] dxr3: audiodecoder: sample rate=48000 Nov 21 00:15:35 VillenVDRdevil vdr: [6899] dxr3: audiodecoder: channels=2 Nov 21 00:15:37 VillenVDRdevil vdr: [6899] dxr3: audiodecoder: sample rate=48000 Nov 21 00:15:37 VillenVDRdevil vdr: [6899] dxr3: audiodecoder: channels=2 Nov 21 00:15:39 VillenVDRdevil vdr: [6900] buffer usage: 70% (tid=6906) Nov 21 00:15:40 VillenVDRdevil vdr: [6900] buffer usage: 80% (tid=6906) Nov 21 00:15:41 VillenVDRdevil vdr: [6907] dxr3: cSPUEncoder::Flush: OSD data size: 8288 Nov 21 00:15:42 VillenVDRdevil vdr: [6900] buffer usage: 90% (tid=6906) Nov 21 00:15:43 VillenVDRdevil vdr: [6900] buffer usage: 100% (tid=6906) Nov 21 00:15:43 VillenVDRdevil vdr: [6900] ERROR: 1 ring buffer overflow (65 bytes dropped) Nov 21 00:15:44 VillenVDRdevil vdr: [6907] dxr3: cSPUEncoder::Flush: OSD data size: 8623 Nov 21 00:15:49 VillenVDRdevil vdr: [6900] ERROR: 10186 ring buffer overflows (1914968 bytes dropped) Nov 21 00:15:49 VillenVDRdevil vdr: [6907] dxr3: cSPUEncoder::Flush: OSD data size: 4947 Nov 21 00:15:52 VillenVDRdevil vdr: [6907] dxr3: cSPUEncoder::Flush: OSD data size: 7312 Nov 21 00:15:55 VillenVDRdevil vdr: [6900] ERROR: 13027 ring buffer overflows (2449076 bytes dropped) Nov 21 00:15:56 VillenVDRdevil vdr: [6907] dxr3: cSPUEncoder::Flush: OSD data size: 7863 Nov 21 00:15:59 VillenVDRdevil vdr: [6905] ERROR: video data stream broken Nov 21 00:15:59 VillenVDRdevil vdr: [6905] initiating emergency exit Nov 21 00:15:59 VillenVDRdevil vdr: [6835] emergency exit requested - shutting down
I believe only the last three lines are significant.
Is there a workaround for this? I remember seeing someone with a patch
Try version 1.5.12.
that prevented this (IMHO idiotic) emergency exits,
They have saved quite a few recordings for me. But since they are so "idiotic" (which, I guess, makes me the idiot, since I've implemented them), I'll make them configurable soon. Just don't know what's more important ATM - this, or H.264/HDTV...
Klaus
2007/11/21, Klaus Schmidinger Klaus.Schmidinger@cadsoft.de:
They have saved quite a few recordings for me. But since they are so "idiotic" (which, I guess, makes me the idiot, since I've implemented them), I'll make them configurable soon.
Oh, sorry, I didn't mean it personally (really!). I was just a bit mad at the time of writing.
The automatic restarts might be good for some situations (like bad drivers) but definately not for others, like this. And, if there is something wrong, _primarily_ one should seek out why and what is wrong, not start restarting applications... but as you stated for some situations that might be a workaround for some situations (albeit temporary until there's a real fix for the cause). Overall, VDR is a very nice project! And, one must remember that 1.5.x is the development branch (IIRC).
Anyways, I think there's something else going on, too. I checked my syslogs, and I haven't had this problem before 18.11.2007 (my syslogs range back some weeks-months, and I do recordings of certain programmes with and without subtitles weekly). On 18.11. I upgraded to 1.5.11 from 1.5.10, and afterwards, ALL recordings with subtitles have had these restarts. I get no such problems if I'm recording a channel without subtitles or just watch a program with subtitles (or without).
But, I need to verify this. I've had too few regordings after 18.11. (maybe 2-4), it could have been just bad transmissions (weirdly coincidentally, if they were just now and on several channels). Though, I'm quite busy on these few days / weeks but I'll get back when I've done some more investigations and testings what is going on. In the meantime, just wanted to drop a note here, in case someone is hit by a similar problem =).
And, Klaus, keep up the work with VDR!
- Ville
Hi,
Ville Aakko schrieb:
On 18.11. I upgraded to 1.5.11 from 1.5.10, and afterwards, ALL recordings with subtitles have had these restarts. I get no such problems if I'm recording a channel without subtitles or just watch a program with subtitles (or without).
Release 1.5.11 fixed one subtitling issue and caused the issue you are seeing. In 1.5.12, the offending change has been reverted and the subtitling issue has been fixed by a different approach.
Bye.
2007/11/21, Reinhard Nissl rnissl@gmx.de:
Ville Aakko schrieb:
On 18.11. I upgraded to 1.5.11 from 1.5.10, and afterwards, ALL recordings with subtitles have had these restarts. I get no such problems if I'm recording a channel without subtitles or just watch a program with subtitles (or without).
Release 1.5.11 fixed one subtitling issue and caused the issue you are seeing. In 1.5.12, the offending change has been reverted and the subtitling issue has been fixed by a different approach.
I'm going to downgrade to 1.5.10 since it used to work for me (1.5.12 isn't in the Gentoo vdr-1.5 overlay I'm using currently, so upgrading is not an option).
Though, I did some investigations into this on my own. AFAICT, the subtitle changes that were also discussed here were added to the ebuild 1.5.11-r1 on the overlay on 11.11. (vdr-1.5.11-ringbuffer-remux.diff). Are other patches besides vdr-1.5.11-ringbuffer-remux.diff needed? I tried adding vdr-1.5.11-subtitle_fixes.diff but it didn't fix this, I still get the emergency exits (or, if I uncomment that feature, then all recordings end prematurely, and I believe that the picture jerks in live views but there hasn't been anything interesting enough to capture my attention for the required 5-10 minutes during testing to verify that).
OTOH I don't see anyone mentioning anything about emergency exits in the "vdr-1.5.11 & subtitling problems". Maybe what I encountered was a different problem, after all?
- Ville