Re: Quad HDHR single tuner freezing.
Posted: Sun Jan 29, 2023 3:51 pm
Hi Klaas,
I had been considering an 'external scheduler' to alter start and end times to avoid simulaneous starts and ends but I agree
it would be better to try and fix the underlying problem. I'll certainly try to provoke it artificially with a bit of perl/api
code as you suggest.
A few observations:
1. I find that two simultaneous recordings on a single tuner do not appear to have the 10 second stagger described above.
This recording of 'News Quiz' (on a radio channel) and 'Take a Hike' (TV) are both in the BBC multiplex id=2 and chose tuner 11.
They seem to start together. My mythtv (frontend) version is v32 + fixes.202301212105.71d44affc3~ubuntu22.04.1
2. HD Homerun kit is pretty popular - it is a bit strange that nobody else is reporting this.
Phil
I had been considering an 'external scheduler' to alter start and end times to avoid simulaneous starts and ends but I agree
it would be better to try and fix the underlying problem. I'll certainly try to provoke it artificially with a bit of perl/api
code as you suggest.
A few observations:
1. I find that two simultaneous recordings on a single tuner do not appear to have the 10 second stagger described above.
This recording of 'News Quiz' (on a radio channel) and 'Take a Hike' (TV) are both in the BBC multiplex id=2 and chose tuner 11.
They seem to start together. My mythtv (frontend) version is v32 + fixes.202301212105.71d44affc3~ubuntu22.04.1
Code: Select all
Jan 20 18:25:30 I TVRecEvent tv_rec.cpp:1648 (HandlePendingRecordings) TVRec[18]: ASK_RECORDING 18 148 0 0
Jan 20 18:25:30 I TVRecEvent tv_rec.cpp:1648 (HandlePendingRecordings) TVRec[19]: ASK_RECORDING 19 148 0 0
Jan 20 18:26:00 I TVRecEvent tv_rec.cpp:1077 (HandleStateChange) TVRec[11]: Changing from None to RecordingOnly
Jan 20 18:26:00 I TVRecEvent mythdbcon.cpp:423 (PurgeIdleConnections) New DB connection, total: 14
Jan 20 18:26:00 I TVRecEvent tv_rec.cpp:3600 (TuningFrequency) TVRec[11]: TuningFrequency
Jan 20 18:26:00 I TVRecEvent recorders/hdhrstreamhandler.cpp:393 (Connect) HDHRSH[11](1252CD2F): Added 4 devices from 1252CD2F
Jan 20 18:26:00 I TVRecEvent recorders/hdhrstreamhandler.cpp:410 (Connect) HDHRSH[11](1252CD2F): Connected to device(1252CD2F-1)
Jan 20 18:26:00 I Scheduler scheduler.cpp:2899 (HandleRecordingStatusChange) Tuning recording: "The News Quiz":"Andy Zaltzman quizzes the week's news": channel 10704 on cardid [11], sourceid 1
Jan 20 18:26:00 I TVRecEvent tv_rec.cpp:1077 (HandleStateChange) TVRec[17]: Changing from None to RecordingOnly
Jan 20 18:26:00 I TVRecEvent mythdbcon.cpp:423 (PurgeIdleConnections) New DB connection, total: 14
Jan 20 18:26:00 I TVRecEvent tv_rec.cpp:3600 (TuningFrequency) TVRec[17]: TuningFrequency
Jan 20 18:26:00 I Scheduler scheduler.cpp:2899 (HandleRecordingStatusChange) Tuning recording: "Take a Hike": channel 10002 on cardid [17], sourceid 1
Jan 20 18:26:00 I CoreContext scheduler.cpp:717 (UpdateRecStatus) Updating status for "The News Quiz":"Andy Zaltzman quizzes the week's news" on cardid [11] (Tuning => Recording)
Jan 20 18:26:00 I CoreContext scheduler.cpp:717 (UpdateRecStatus) Updating status for "Take a Hike" on cardid [17] (Tuning => Recording)
Jan 20 18:26:00 I TVRecEvent tv_rec.cpp:4146 (TuningNewRecorder) TVRec[11]: rec->GetPathname(): '/var/lib/mythtv/recordings/10704_20230120182600.ts'
Jan 20 18:26:00 I TVRecEvent tv_rec.cpp:4179 (TuningNewRecorder) TVRec[11]: TuningNewRecorder - CreateRecorder()
Jan 20 18:26:00 I TVRecEvent tv_rec.cpp:4146 (TuningNewRecorder) TVRec[17]: rec->GetPathname(): '/var/lib/mythtv/recordings/10002_20230120182600.ts'
Jan 20 18:26:00 I CoreContext mythsystemevent.cpp:314 (customEvent) MythSystemEventHandler: Starting thread for command 'sleep 10 && /usr/local/bin/checkfilm.pl -v --chanid=10704 --desc=The News Quiz>> /var/log/mythtv/checkfilm.log 2>&1'
Jan 20 18:26:07 W TFWWrite threadedfilewriter.cpp:547 (DiskLoop) TFW(/var/lib/mythtv/recordings/10704_20230120182600.ts:82): write(65424) cnt 14 total 902964 -- took a long time, 6205 ms
Jan 20 18:26:07 I TVRecEvent tv_rec.cpp:4179 (TuningNewRecorder) TVRec[17]: TuningNewRecorder - CreateRecorder()
Phil