On 7/1/05, Bob Wiegand <[EMAIL PROTECTED]> wrote:
> I have a PVR-350 and have been using ivtv-0.3.6e which works
> fairly well (a few issues, but nothing serious).
> 
> I want to try newer software and the results weren't good.
> 
> I tried ivtv-0.3.6s and the result was that watching
> live TV gave me a black screen. The /var/log/messages text follows:
> 
> Jul  1 08:30:14 herman mythx: _cdim: --- not moved 0x0815da98 'mythfrontend'
> Jul  1 08:30:14 herman kernel: saa7115: decoder set picture bright=127 
> contrast=63 saturation=63 hue=0
> Jul  1 08:30:14 herman last message repeated 3 times
> Jul  1 08:30:14 herman kernel: saa7115: decoder set size
> Jul  1 08:30:14 herman kernel: ivtv: Allocate DMA encoder MPEG stream: 128 x 
> 32768 buffers (4096KB total)
> Jul  1 08:30:14 herman kernel: ivtv: Setup VBI API header 0x0000bd0d pkts 1 
> buffs 4 ln 24 sz 1456
> Jul  1 08:30:14 herman kernel: ivtv: Setup VBI start 0x002fea04 frames 4 fpi 
> 1 lines 0x000000f1
> Jul  1 08:30:15 herman kernel: saa7115: decoder disable output
> Jul  1 08:30:15 herman kernel: saa7115: decoder enable output
> Jul  1 08:30:16 herman kernel: ivtv: Allocate DMA decoder MPEG stream: 16 x 
> 65536 buffers (1024KB total)
> Jul  1 08:30:16 herman kernel: mythfrontend: page allocation failure. 
> order:4, mode:0xd0
> Jul  1 08:30:16 herman kernel:  [work_resched+13/22] dump_stack+0x1e/0x20
> Jul  1 08:30:16 herman kernel:  [page_cache_readahead+3/544] 
> __alloc_pages+0x2d3/0x300
> Jul  1 08:30:16 herman kernel:  [page_cache_readahead+78/544] 
> __get_free_pages+0x1e/0x40
> Jul  1 08:30:16 herman kernel:  [pageout+80/256] kmem_getpages+0x20/0xb0
> Jul  1 08:30:16 herman kernel:  [shrink_zone+160/208] cache_grow+0xb0/0x190
> Jul  1 08:30:16 herman kernel:  [balance_pgdat+124/640] 
> cache_alloc_refill+0x1dc/0x240
> Jul  1 08:30:16 herman kernel:  [install_page+257/448] __kmalloc+0x91/0xb0
> Jul  1 08:30:16 herman kernel:  [pg0+240352877/1069604864] 
> ivtv_init_buffer+0x3d/0x170 [ivtv]
> Jul  1 08:30:16 herman kernel:  [pg0+240353234/1069604864] 
> ivtv_init_queue_nolock+0x32/0x90 [ivtv]
> Jul  1 08:30:16 herman kernel:  [pg0+240353407/1069604864] 
> ivtv_init_queues_nolock+0x4f/0x80 [ivtv]
> Jul  1 08:30:16 herman kernel:  [pg0+240360256/1069604864] 
> ivtv_stream_alloc+0x140/0x230 [ivtv]
> Jul  1 08:30:16 herman kernel:  [pg0+240371555/1069604864] 
> ivtv_claim_stream+0x103/0x260 [ivtv]
> Jul  1 08:30:16 herman kernel:  [pg0+240379404/1069604864] 
> ivtv_v4l2_write+0x9c/0x180 [ivtv]
> Jul  1 08:30:16 herman kernel:  [bio_init+46/112] vfs_write+0xbe/0x140
> Jul  1 08:30:16 herman kernel:  [bio_alloc+267/480] sys_write+0x4b/0x80
> Jul  1 08:30:16 herman kernel:  [sys_rt_sigsuspend+185/192] 
> sysenter_past_esp+0x52/0x71
> Jul  1 08:30:16 herman kernel: ivtv: No memory on buffer alloc!
> Jul  1 08:30:16 herman kernel: ivtv: Buffer alloc failed!
> Jul  1 08:30:16 herman kernel: ivtv: Couldn't allocate buffers for decoder 
> MPEG stream
> Jul  1 08:30:18 herman ntpd[4179]: synchronized to LOCAL(0), stratum=10
> Jul  1 08:30:18 herman ntpd[4179]: kernel time sync disabled 0041
> 
> I also tried ivtv-0.3.6v which caused my machine to completely lock.
> 
> --
> Regards,
> Bob Wiegand
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> ivtv-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ivtv-devel
> 

I'd guess that this is probably responsable:
Jul  1 08:30:16 herman kernel: ivtv: No memory on buffer alloc!
Jul  1 08:30:16 herman kernel: ivtv: Buffer alloc failed!
Jul  1 08:30:16 herman kernel: ivtv: Couldn't allocate buffers for
decoder MPEG stream

You could try:
Troubleshooting
===============

1. If having memory allocation errors, try rebooting fresh, and putting this
   into /etc/sysctl.conf (or the corresponding /proc filessystem config
   under /proc/vm/min_free_kbytes doing 'echo 16384 >
/proc/vm/min_free_kbytes`)...

#for making ivtv happier with memory usage:
vm.min_free_kbytes=16384

Else it's something to do with the changed buffer allocation, I
haven't had to worry about that, so I can't really help at the moment.

Ant.


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to