<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 13/04/2009, at 6:27 PM, criggie wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Steven Ellis wrote:<br><blockquote type="cite">On 13/04/2009, at 4:17 PM, criggie wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Hey all - I'm still having video corruption from my PVR-150 cards.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I was kinda hoping the 0.21 upgrade and a matching kernel upgrade would<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">have fixed it.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I've saved some stills and they're at<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://criggie.dyndns.org/pictures/?gallery=pvr150">http://criggie.dyndns.org/pictures/?gallery=pvr150</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Here's an exported video showing the problem - 1.5 MB<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://criggie.dyndns.org/mythtv/TV1-second.avi">http://criggie.dyndns.org/mythtv/TV1-second.avi</a><br></blockquote></blockquote>...<br><br><blockquote type="cite">Are you getting any errors in the system log while this corruption <br></blockquote><blockquote type="cite">is occurring, or just before?<br></blockquote><br><br>Next weekend I will drop a windows HD in the machine and see what it <br>sees. Otherwise I need to swap around drives to free up a PCI slot and <br>then fit a DVB-T card.<br><br><br>Yes - I sometimes get this, but its not correlated with channel playback <br>or anything. The video stream corruption is ongoing as long as the <br>channel is watched/recorded.<br><br>Apr 13 17:26:36 bt kernel: ivtv0: All encoder VBI stream buffers are <br>full. Dropping data.<br>Apr 13 17:26:36 bt kernel: ivtv0: Cause: the application is not reading <br>fast enough.<br><br></div></blockquote><br></div><div>You need to tweak a couple of buffer settings</div><div><br></div><div>Try putting the following in /etc/sysctl.conf</div><div><br></div><div><div>vm.min_free_kbytes=16384</div><div><br></div><div>Also how many analogue cards do you have as you might want to double the value to 32768.</div><div><br></div><div>The ivtv driver tries to compensate for a lot of bugs in the dma chips on the 150/500 series cards but sometimes it isn't enough. When it gets really bad a reboot is generally recommended.</div><div><br></div><div>Steve</div></div><div><br></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Steven Ellis - Technical Director<br>OpenMedia Limited<br>email - <a href="mailto:steven@openmedia.co.nz">steven@openmedia.co.nz</a><br>website - <a href="http://www.openmedia.co.nz/">http://www.openmedia.co.nz</a><br></div></div></span> </div><br></body></html>