[mythtv-users] mythbackend, mythfrontend, ivtv problems...

Gerald Schepens schepens at shaw.ca
Wed Jun 16 03:45:19 EDT 2004


It seems as though my system has some issues still.  Hopefully someone 
has some insight to what's going on here.  This all seemed to start on 
the weekend but I can't pinpoint what the actual event was. 

Mythbackend (I think it's mythbackend) won't shut down when I go to 
restart my computer -- the service fails to stop, and my computer hangs 
at "sending all processes the TERM signal...".  I have to hit the reset 
button, and when I do that it seems to clobber the recordedmarkup table 
in mysql.  This, in turn, causes recordings to use approximately 100% of 
the cpu on the machine.

Aside from that, the actual .nuv files of the recordings are watchable 
-- the video and audio are fine.  That is, so long as I watch the 
recording on my monitor with alsa sound.  My capture card is a pvr350, 
though, and I'd rather watch the recording on TV.  However, for some 
reason, I get at most a second or thereabouts of audio/video out of the 
pvr350 before the video locks up and the sound locks up like a skipping 
CD, only the loop is much shorter.  Sort of like the interrupt doesn't 
happen correctly and mythtv doesn't cue up the next data in time.  I 
generally have to do a kill to get rid of the mythfrontend at this point 
because it's locked up.

Other information:  here is some stuff from dmesg | grep ivtv.

ivtv: version 0.1.9 (0.1.10pre2-ck77b) loading
ivtv: User selected cardtype 3 for card #0
ivtv: Autodetecting cardtype for card #1
ivtv: Autodetecting cardtype for card #2
ivtv: Autodetecting cardtype for card #3
ivtv: Autodetecting cardtype for card #4
ivtv: Autodetecting cardtype for card #5
ivtv: Autodetecting cardtype for card #6
ivtv: Autodetecting cardtype for card #7
ivtv: Autodetecting cardtype for card #8
ivtv: User specified pvr350
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv (i2c)= 0xe0a048c0
tuner: probing ivtv i2c driver #0 i2c adapter [id=0x10005]
saa7127: Configuring encoder...<6>saa7114.c: starting probe for adapter 
ivtv i2c driver #0 (0x10005)
ivtv: Encoder revision: 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Registered v4l2 device, minor 0
ivtv: Registered v4l2 device, minor 32
ivtv: Registered v4l2 device, minor 224
ivtv: Registered v4l2 device, minor 24
ivtv: Registered v4l2 device, minor 16
ivtv: Registered v4l2 device, minor 240
ivtv: Registered v4l2 device, minor 64
ivtv: Registered v4l2 device, minor 48
ivtv: Creating Stream 0 size 200
ivtv: Creating Stream 1 size 200
ivtv: Creating Stream 2 size 40
ivtv: Creating Stream 3 size 100
ivtv: Creating Stream 4 size 64
ivtv: Creating Stream 5 size 40
ivtv: Creating Stream 6 size 0
ivtv: Creating Stream 7 size 200
ivtv: loaded
ivtv: ivtv_dec_thread: pid = 1685, itv = 0xe0a048c0
ivtv-fb: Framebuffer module loaded (attached to ivtv card id 0)
ivtv-fb: screen coords: [0 0] -> [720 480]
ivtv-fb: original global alpha = 208
ivtv-fb: new global alpha = 208
ivtv-fb: current OSD state = 35
ivtv-fb: Good video_base is inside valid allocated space.
ivtv-fb: framebuffer at 0xe9510000, mapped to 0xe2a91000, size 1665k
ivtv-fb: mode is 720x480x32, linelength=2880
ivtv: needed 2 bufs, received 0 differ by (2) bufs
ivtv: DMA buffer DeQueue failed! got 1, want 3
ivtv: SCHED: free_q: 0 elements
ivtv: SCHED: dma_q: 0 elements
ivtv: SCHED: full_q: 100 elements
ivtv: ENC: Buffer Overflow, freeing 3
ivtv: needed 2 bufs, received 0 differ by (2) bufs
ivtv: DMA buffer DeQueue failed! got 1, want 3
ivtv: SCHED: free_q: 0 elements
ivtv: SCHED: dma_q: 0 elements
ivtv: SCHED: full_q: 100 elements
ivtv: needed 2 bufs, received 0 differ by (2) bufs
ivtv: DMA buffer DeQueue failed! got 1, want 3
ivtv: SCHED: free_q: 0 elements
ivtv: SCHED: dma_q: 0 elements
ivtv: SCHED: full_q: 100 elements
ivtv: ENC: Buffer Overflow, freeing 3
ivtv: needed 2 bufs, received 0 differ by (2) bufs
ivtv: DMA buffer DeQueue failed! got 1, want 3
ivtv: SCHED: free_q: 0 elements
ivtv: SCHED: dma_q: 0 elements
ivtv: SCHED: full_q: 100 elements
ivtv: ENC: Buffer Overflow, freeing 3
ivtv: needed 2 bufs, received 0 differ by (2) bufs
ivtv: DMA buffer DeQueue failed! got 1, want 3
ivtv: SCHED: free_q: 0 elements
ivtv: SCHED: dma_q: 0 elements
ivtv: SCHED: full_q: 100 elements
ivtv: ENC: Buffer Overflow, freeing 3
ivtv: needed 2 bufs, received 0 differ by (2) bufs
ivtv: DMA buffer DeQueue failed! got 1, want 3
ivtv: SCHED: free_q: 0 elements
ivtv: SCHED: dma_q: 0 elements
ivtv: SCHED: full_q: 100 elements
ivtv: ENC: Buffer Overflow, freeing 3
ivtv: needed 2 bufs, received 0 differ by (2) bufs
ivtv: DMA buffer DeQueue failed! got 1, want 3
ivtv: SCHED: free_q: 0 elements
ivtv: SCHED: dma_q: 0 elements
ivtv: SCHED: full_q: 100 elements
ivtv: ENC: Buffer Overflow, freeing 3

I don't know what this means but I bet it's not good.  The ivtv buffers 
were set up in my modules.conf to be a larger number than the default, 
so I don't think this is the problem.  I wonder whether something was 
updated over the weekend that disagreed with my setup.  Anyway, I'd be 
ecstatic if someone could point me in the right direction to getting my 
machine running decently again.






More information about the mythtv-users mailing list