[mythtv-users] Lacking TV Signal

Per Jørgensen myth at pbj-design.dk
Tue Apr 8 18:15:24 UTC 2008


Well - Have some serious problems with my MythTV. It's lacking the 
signal all the time.
And having got a clue about what going on:

I have a backend server running - No errors in the log on that.
I have a frontend running ind the livingroom (another machine)
after starting mythfrontend with mythfrontend -v all >  frontend.log  
where I get this error as the only error - but this error is constantly 
even when the signal ain't lacking for 2 -3 min! !
2008-04-08 19:59:13.082 AFD: audio timecode 14442848 14442848 160476 160500
2008-04-08 19:59:13.082 GetAudiotime now=1207677553.82687, 
set=1207677553.80749, ret=1, audt=159352 sf=1
2008-04-08 19:59:13.082 AO: _AddSamples samples=1152 bytes=4608, 
used=201217, free=1334783, timecode=160476 needsupmix 0
2008-04-08 19:59:13.083 AFD: audio timecode 14445008 14445008 160500 160524
2008-04-08 19:59:13.083 GetAudiotime now=1207677553.83209, 
set=1207677553.80749, ret=2, audt=159352 sf=1
2008-04-08 19:59:13.083 AO: _AddSamples samples=1152 bytes=4608, 
used=205825, free=1330175, timecode=160500 needsupmix 0
2008-04-08 19:59:13.083 AFD: audio timecode 14447168 14447168 160524 160548
2008-04-08 19:59:13.083 GetAudiotime now=1207677553.83566, 
set=1207677553.80749, ret=2, audt=159352 sf=1
2008-04-08 19:59:13.083 AO: _AddSamples samples=1152 bytes=4608, 
used=210433, free=1325567, timecode=160524 needsupmix 0
2008-04-08 19:59:13.084 AFD: audio timecode 14449328 14449328 160548 160572
2008-04-08 19:59:13.084 GetAudiotime now=1207677553.84149, 
set=1207677553.80749, ret=3, audt=159352 sf=1
2008-04-08 19:59:13.084 AO: _AddSamples samples=1152 bytes=4608, 
used=215041, free=1320959, timecode=160548 needsupmix 0
2008-04-08 19:59:13.084 AFD: audio timecode 14451488 14451488 160572 160596
2008-04-08 19:59:13.084 GetAudiotime now=1207677553.84541, 
set=1207677553.80749, ret=3, audt=159352 sf=1
2008-04-08 19:59:13.084 AO: _AddSamples samples=1152 bytes=4608, 
used=219649, free=1316351, timecode=160572 needsupmix 0
2008-04-08 19:59:13.085 AFD: audio timecode 14453648 14453648 160596 160620
2008-04-08 19:59:13.085 GetAudiotime now=1207677553.85117, 
set=1207677553.80749, ret=4, audt=159352 sf=1
2008-04-08 19:59:13.085 AO: _AddSamples samples=1152 bytes=4608, 
used=224257, free=1311743, timecode=160596 needsupmix 0
2008-04-08 19:59:13.085 SetAudiotime set=1207677553.85881, audt=159357 
atc=160620 tb=242560 sb=13696 eds=4800000 abps=4 sf=1
2008-04-08 19:59:13.085 AO: audio waiting for space on soundcard: have 
2656 need 4096
2008-04-08 19:59:13.091 SetAudiotime set=1207677553.91702, audt=159363 
atc=160620 tb=241472 sb=12608 eds=4800000 abps=4 sf=1
2008-04-08 19:59:13.091 AO: audio waiting for space on soundcard: have 
3776 need 4096
2008-04-08 19:59:13.096 SetAudiotime set=1207677553.96886, audt=159368 
atc=160620 tb=240448 sb=11584 eds=4800000 abps=4 sf=1
2008-04-08 19:59:13.096 GetAudiotime now=1207677553.96941, 
set=1207677553.96886, ret=0, audt=159368 sf=1
2008-04-08 19:59:13.096 AO: Broadcasting free space avail
2008-04-08 19:59:13.097 SetAudiotime set=1207677553.97035, audt=159368 
atc=160620 tb=240448 sb=15680 eds=4800000 abps=4 sf=1
2008-04-08 19:59:13.097 AO: audio waiting for space on soundcard: have 
704 need 4096
2008-04-08 19:59:13.102 SetAudiotime set=1207677553.102126, audt=159373 
atc=160620 tb=239456 sb=14688 eds=4800000 abps=4 sf=1
2008-04-08 19:59:13.102 AO: audio waiting for space on soundcard: have 
1696 need 4096


The setup:
Backend server
Dell GX620 P4 3.2 HP - 4GB RAM 2TB harddisc and a Hauppauge PVR500 
(dualtuner)
Frontend server:
Shuttle XPS AMD64 - 1,5GB RAM and running TVC from backend.
The Network is GB LAN so what could this be.

I have normally a satelite reciever connected to RGB - but hoped that 
changing to SVIDEO would help - but it didn't. It still lacking sometimes.

This error have been there all the times _ But cannot find anywhere to 
change this settings:
2008-04-08 20:09:15.257 MPEGRec(/dev/v4l/video0) Warning: Audio sample 
rate 32000 Hz
            is not supported by ivtv driver, using 48000 Hz instead.
2008-04-08 20:09:15.261 AutoExpire: CalcParams(): Max required Free 
Space: 2.0 GB w/freq: 15 min
 *********************** WARNING ***********************
 ivtv drivers prior to 0.10.0 can cause lockups when   
 reading VBI. Drivers between 0.10.5 and 1.0.3+ do not 
 properly capture VBI data on PVR-250 and PVR-350 cards.

So have tested as I was tol earliere - look for interrupts:
 cat /proc/interrupts
           CPU0       CPU1      
  0:        162          0   IO-APIC-edge      timer
  1:          2          0   IO-APIC-edge      i8042
  7:          0          0   IO-APIC-edge      parport0
  8:          0          0   IO-APIC-edge      rtc0
  9:          0          0   IO-APIC-fasteoi   acpi
 12:          4          0   IO-APIC-edge      i8042
 14:      62274          0   IO-APIC-edge      libata
 15:          0          0   IO-APIC-edge      libata
 16:    1875265          0   IO-APIC-fasteoi   eth0
 18:      43183          0   IO-APIC-fasteoi   libata
 19:          3          0   IO-APIC-fasteoi   uhci_hcd:usb1, ehci_hcd:usb5
 20:          0          0   IO-APIC-fasteoi   uhci_hcd:usb2
 21:     289496          0   IO-APIC-fasteoi   uhci_hcd:usb3, ivtv0
 22:         55          0   IO-APIC-fasteoi   uhci_hcd:usb4, Intel ICH7
 23:       5502          0   IO-APIC-fasteoi   ivtv1
NMI:          0          0   Non-maskable interrupts
LOC:     251326     372664   Local timer interrupts
RES:        607       3670   Rescheduling interrupts
CAL:         50        322   function call interrupts
TLB:        354       2275   TLB shootdowns
TRM:          0          0   Thermal event interrupts
SPU:          0          0   Spurious interrupts
ERR:          0
MIS:          0

When running a top from a console - I got over 1GB memory free - and no 
used for swap!

So what could this problem be?

Cheers
Per Jørgensen


Well.
There's no messages in the syslog regarding to MythTV at all.

Unfortunably I'm leaving home for the weekend - So I'll look into it 
monday - and post the messages in here !
Thanks for the suggestons - I'll hope it'll solve the problem!

Per Jørgensen 

Nick Morrott skrev:

> On 05/03/2008, Per Jørgensen <myth at pbj-design.dk> wrote:
>   

> >> Nick Morrott skrev:
> >>
> >>     
>   
>> >>> On 04/03/2008, Per Jørgensen <myth at pbj-design.dk> wrote:
>> >>>       
>>     
> >>  >
> >>  > <snipped log>
> >>  >
> >>  >
> >>  >>  But 1time pr 2minuts - the Signal Freezes - for 2-3 sec and then
> >>  >>  continues ??
> >>  >>
> >>  >>  What can that be - and what can I do to solve this problem!
> >>  >>
> >>  >
> >>  > Are there any ivtv messages in the syslog (DMA issues maybe)? Perhaps
> >>  > you could bring up a terminal and run 'top' whilst recording to see
> >>  > what your system load is doing.
> >>  >
> >>
> >> No errors in syslog at all with anything that have somthing to do with
> >>  MythTV on the backend Machine
> >>
> >>     
>   
>> >>> Are your MythTV database and recording directory located on the same partition?
>> >>>       
>>     
> >>  >
> >>  >
> >>
> >> No. I have a root partition for OS sys, and mounted 3 different discs in
> >>  /storage --> music,movies and records.
> >>  So they shouldn't be bothering each other?
> >>     
>   
>
> In that case, it's much less likely you would see IO issues between
> writing to the DB and to your storage disc.
>
> Some other things you can try:
>
> i) with mythbackend stopped, run something like 'cat /dev/video0 >
> mplayer' to display a realtime feed from the PVR card (repeat it for
> both inputs) and see if there are any breakups/pauses in the video
> stream
>
> ii) check 'cat /proc/interrupts' to see if there may be devices
> conflicting with the PVR card.
>
> iii) bring up a terminal and run 'top' whilst recording to see how
> your system load varies
>
> iv) are you connecting your receivers to the PVR-500 using only
> composite/S-Video video output. As far as I know, the PVR-500 does not
> accept RGB video directly.





More information about the mythtv-users mailing list