On 12/11/06, Hans Verkuil <[EMAIL PROTECTED]> wrote:

On Monday 11 December 2006 05:55, Scott Harris wrote:
> > I've released new ivtv packages that fix the high CPU load on
> > the PVR350. There is no need to upgrade if you do not have a
> > PVR350 as nothing else was changed.
> >
> > As usual the sources are available from www.ivtvdriver.org.
>
> Howdy Hans,
>       I tested this release this evening and am getting the
> same cpu crippling effects still for a pvr-150.

Different problem, the fix was for PVR-350. You seem to have a huge load
with VBI handling. Turn off the VBI support in MythTV and I suspect the
problem will go away. Do you have a fast or slow CPU? Can you provide
the IVTV INIT messages?

        Hans

I'm seeing the same thing, only for me it started with 0.4.8 :
I have a 150 and a 350. Switching inputs doesn't change the high load on the
machine (the picture really stutters at first, and then becomes totally
unresponsive)

I'm running mythtv 0.20 -fixes from svn, on a sempron 2500+ with 512meg ram
with an Asrock Mainboard (with sis chip set). the modules get loaded without
any options.

The dmesg with VBI enabled is below:

[EMAIL PROTECTED]:~$ dmesg |grep ivtv
[17179586.600000] ivtv:  ==================== START INIT IVTV
====================
[17179586.600000] ivtv:  version 0.4.9 (tagged release) loading
[17179586.600000] ivtv:  Linux version: 2.6.15-27-386 preempt 486 gcc-4.0
[17179586.600000] ivtv:  In case of problems please include the debug info
between
[17179586.600000] ivtv:  the START INIT IVTV and END INIT IVTV lines, along
with
[17179586.600000] ivtv:  any module options, when mailing the ivtv-users
mailinglist.
[17179586.600000] ivtv0: Autodetected WinTV PVR 150 card (cx23416 based)
[17179586.600000] ivtv0: Unreasonably low latency timer, setting to 64 (was
32)
[17179586.680000] tveeprom: ivtv version
[17179586.680000] ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
[17179586.700000] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c
driver #0
[17179586.700000] ivtv0: i2c attach to card #0 ok [client=(tuner unset),
addr=61]
[17179586.856000] cx25840 1-0044: ivtv driver
[17179586.856000] cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver
#0)
[17179591.096000] ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
[17179591.128000] wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
[17179591.136000] ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
[17179591.156000] tda9887 1-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver
#0)
[17179591.156000] ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
[17179591.808000] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
[17179592.024000] ivtv0: Encoder revision: 0x02050032
[17179592.024000] ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768
buffers (4096KB total)
[17179592.024000] ivtv0: Allocate DMA encoder YUV stream: 161 x 12960
buffers (2048KB total)
[17179592.024000] ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers
(2048KB total)
[17179592.024000] ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608
buffers (2048KB total)
[17179592.024000] ivtv0: Create encoder radio stream
[17179592.024000] tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME
MK3)) by ivtv i2c driver #0
[17179592.112000] ivtv0: Initialized WinTV PVR 150, card #0
[17179592.116000] ivtv:  ======================  NEXT CARD
======================
[17179592.116000] ivtv1: Autodetected WinTV PVR 350 card (cx23415 based)
[17179592.116000] ivtv1: Unreasonably low latency timer, setting to 64 (was
32)
[17179592.220000] tveeprom: ivtv version
[17179592.220000] ivtv1: i2c attach to card #1 ok [client=tveeprom, addr=50]
[17179592.228000] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c
driver #1
[17179592.228000] ivtv1: i2c attach to card #1 ok [client=(tuner unset),
addr=61]
[17179592.388000] tda9887 2-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver
#1)
[17179592.388000] ivtv1: i2c attach to card #1 ok [client=tda9887, addr=43]
[17179592.448000] saa7115 2-0021: saa7115 found @ 0x42 (ivtv i2c driver #1)
[17179592.564000] ivtv1: i2c attach to card #1 ok [client=saa7115, addr=21]
[17179592.616000] saa7127 2-0044: ivtv driver
[17179592.620000] saa7127 2-0044: saa7129 found @ 0x88 (ivtv i2c driver #1)
[17179592.620000] ivtv1: i2c attach to card #1 ok [client=saa7127, addr=44]
[17179592.684000] ivtv1: i2c attach to card #1 ok [client=MSP4418G-B3,
addr=40]
[17179593.320000] ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
[17179593.364000] ivtv1: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
[17179593.624000] ivtv1: Encoder revision: 0x02050032
[17179593.632000] ivtv1: Decoder revision: 0x02020023
[17179593.632000] ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768
buffers (4096KB total)
[17179593.632000] ivtv1: Allocate DMA encoder YUV stream: 161 x 12960
buffers (2048KB total)
[17179593.632000] ivtv1: Allocate DMA encoder VBI stream: 80 x 26208 buffers
(2048KB total)
[17179593.632000] ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608
buffers (2048KB total)
[17179593.632000] ivtv1: Create encoder radio stream
[17179593.632000] ivtv1: Allocate DMA decoder MPEG stream: 16 x 65536
buffers (1024KB total)
[17179593.632000] ivtv1: Allocate DMA decoder VBI stream: 512 x 2048 buffers
(1024KB total)
[17179593.632000] ivtv1: Create decoder VOUT stream
[17179593.632000] ivtv1: Allocate DMA decoder YUV stream: 20 x 51840 buffers
(1024KB total)
[17179593.876000] ivtv1: loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
[17179593.984000] tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME
MK3)) by ivtv i2c driver #1
[17179594.136000] ivtv1: Initialized WinTV PVR 350, card #1
[17179594.136000] ivtv:  ====================  END INIT IVTV
====================
[17179594.996000] ivtv1: i2c attach to card #1 ok [client=Hauppauge IR,
addr=18]
[17179618.056000] ivtv1-osd: Framebuffer module loaded (attached to ivtv
card id 1)
[17179618.132000] ivtv1-osd: screen coords: [0 0] -> [720 576]
[17179618.140000] ivtv1-osd: original global alpha = 208
[17179618.176000] ivtv1-osd: current OSD state = 39
[17179618.200000] ivtv1-osd: new global alpha = 208 (1 255 0)
[17179618.208000] ivtv1-osd: framebuffer at 0xc5510000, mapped to
0xde910000, size 1665k
[17179618.208000] ivtv1-osd: mode is 720x576x32, linelength=2880
[17179618.304000] ivtv1-osd: fb1: cx23415 TV out frame buffer device
[17179618.304000] ivtv1: Allocate DMA decoder OSD stream: 16 x 65536 buffers
(1024KB total)
[17179789.500000] ivtv1-osd warning: ivtvfb_check_var
[17179789.516000] ivtv1-osd warning: ivtvfb_check_var
[17179789.516000] ivtv1-osd warning: ivtvfb_set_par
[17179826.928000] ivtv-enc: page allocation failure. order:4, mode:0xd0
[17179826.928000]  [<dc9dcbdb>] ivtv_init_buffer+0x3b/0x180 [ivtv]
[17179826.928000]  [<dc9ddcd2>] enc_gather_free_buffers+0x192/0x280 [ivtv]
[17179826.928000]  [<dc9ebd9e>] ivtv_sched_DMA+0x55e/0x9b0 [ivtv]
[17179826.928000]  [<dc9ef781>] enc_work_handler+0x21/0x30 [ivtv]
[17179826.928000]  [<dc9f0c4e>] ivtv_enc_thread+0x12e/0x1d0 [ivtv]
[17179826.928000]  [<dc9f0b20>] ivtv_enc_thread+0x0/0x1d0 [ivtv]
[17179826.936000] ivtv0 warning: No memory on buffer alloc!
[17179826.936000] ivtv0 warning: Needed 16384 bufs for encoder MPEG stream,
received 0 (buffers free 0, dma 0, full 160)
[17179829.724000] ivtv1-osd warning: Need to adjust to width 720 src_w 720
dst_w 692 src_x 0 dst_x 14
[17179829.724000] ivtv1-osd warning: Need to adjust to height 576 src_h 576
dst_h 554 src_y 0 dst_y 12
[17179829.724000] ivtv1-osd warning: Source video: Interlaced
[17179829.744000] ivtv1 warning: Enable video output
[17179836.780000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179837.144000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179838.312000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179842.112000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179842.776000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179848.836000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179852.532000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179856.360000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179857.732000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179858.412000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179859.056000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179859.828000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179861.252000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179862.804000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179864.052000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179864.380000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179867.476000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179869.000000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179869.784000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179871.212000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179872.644000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179873.012000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179873.308000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179876.720000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179879.920000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179881.876000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179883.156000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179884.424000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179886.928000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179887.592000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179888.848000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179893.268000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179893.648000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179893.916000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179894.580000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed
[17179895.276000] ivtv1 warning: DMA_TO: REG_DMAXFER 2 wait failed


HTH,

regards,
Koen
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to