<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: New ivtv error from mythtv: ivtv0: All encoder MPEG stream buffers are full. Dropping data</title>
	<atom:link href="http://malformed.org/2006/01/31/new-ivtv-error-from-mythtv-ivtv0-all-encoder-mpeg-stream-buffers-are-full-dropping-data/feed/" rel="self" type="application/rss+xml" />
	<link>http://malformed.org/2006/01/31/new-ivtv-error-from-mythtv-ivtv0-all-encoder-mpeg-stream-buffers-are-full-dropping-data/</link>
	<description>blog blog blog</description>
	<pubDate>Wed, 08 Oct 2008 05:24:54 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: SirTalkalot</title>
		<link>http://malformed.org/2006/01/31/new-ivtv-error-from-mythtv-ivtv0-all-encoder-mpeg-stream-buffers-are-full-dropping-data/#comment-23</link>
		<dc:creator>SirTalkalot</dc:creator>
		<pubDate>Sun, 19 Feb 2006 15:08:10 +0000</pubDate>
		<guid isPermaLink="false">http://malformed.org/?p=36#comment-23</guid>
		<description>I experienced the exact same problem after a reboot of my mythtv system
(with PVR-250 &#38; PVR-500).

cat /dev/video0
(as well as for /dev/video1 &#38; /dev/video2) worked fine, but recording from mythtv (0.18.1-r2) resulted in the annoying errors:

ivtv1: All encoder MPEG stream buffers are full. Dropping data.
ivtv1: Cause: the application is not reading fast enough.

Upgrading from 0.4.2 to 0.4.3 did not change anything. Noticed that the bttv moduled had not been loaded (due to conflict with the tveeprom module), and hence the video_buf was not in use. Using the kernel tveeprom module (as opposed to the one from the ivtv project) fixed the problem with bttv, but still experienced problems with full stream buffers.

Checking the mythbackend.log I noticed several entries of the type:

Can't open file: 'recordedmarkup.MYI'. (errno: 145)

The last entry of that file had been added just prior to my reboot (after which the buffer errors started appearing). Now I seemed to be on the track of something! Checking the file:

myisamchk /var/lib/mysql/mythconverg/recordedmarkup.MYI

returned message about corrupt file. Fixing it:

myisamchk -r  /var/lib/mysql/mythconverg/recordedmarkup.MYI

and now my system seems to be back on track! No more buffer errors in dmesg and rewinding my mythtv recordings is instant.

I guess the corrupt file was a result of a recording filling the partition. I really should have gone for a separate '/var' partition ...</description>
		<content:encoded><![CDATA[<p>I experienced the exact same problem after a reboot of my mythtv system<br />
(with PVR-250 &amp; PVR-500).</p>
<p>cat /dev/video0<br />
(as well as for /dev/video1 &amp; /dev/video2) worked fine, but recording from mythtv (0.18.1-r2) resulted in the annoying errors:</p>
<p>ivtv1: All encoder MPEG stream buffers are full. Dropping data.<br />
ivtv1: Cause: the application is not reading fast enough.</p>
<p>Upgrading from 0.4.2 to 0.4.3 did not change anything. Noticed that the bttv moduled had not been loaded (due to conflict with the tveeprom module), and hence the video_buf was not in use. Using the kernel tveeprom module (as opposed to the one from the ivtv project) fixed the problem with bttv, but still experienced problems with full stream buffers.</p>
<p>Checking the mythbackend.log I noticed several entries of the type:</p>
<p>Can&#8217;t open file: &#8216;recordedmarkup.MYI&#8217;. (errno: 145)</p>
<p>The last entry of that file had been added just prior to my reboot (after which the buffer errors started appearing). Now I seemed to be on the track of something! Checking the file:</p>
<p>myisamchk /var/lib/mysql/mythconverg/recordedmarkup.MYI</p>
<p>returned message about corrupt file. Fixing it:</p>
<p>myisamchk -r  /var/lib/mysql/mythconverg/recordedmarkup.MYI</p>
<p>and now my system seems to be back on track! No more buffer errors in dmesg and rewinding my mythtv recordings is instant.</p>
<p>I guess the corrupt file was a result of a recording filling the partition. I really should have gone for a separate &#8216;/var&#8217; partition &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moses Leslie</title>
		<link>http://malformed.org/2006/01/31/new-ivtv-error-from-mythtv-ivtv0-all-encoder-mpeg-stream-buffers-are-full-dropping-data/#comment-20</link>
		<dc:creator>Moses Leslie</dc:creator>
		<pubDate>Thu, 09 Feb 2006 02:30:24 +0000</pubDate>
		<guid isPermaLink="false">http://malformed.org/?p=36#comment-20</guid>
		<description>FWIW, it didn't seem to help, but there's just some arguments to pass to ivtv to increase the buffers.  How you do it will depend on your distribution, but for me with knoppmyth I edited /etc/mythtv/modules/ivtv and added the line:

options ivtv yuv_buffers=32 mpg_buffers=16 vbi_buffers=16 pcm_buffers=16 dec_osd_buffers=2

those are the maximum amounts for all those buffers.

then run:

update-modules &#38;&#38; rmmod ivtv &#38;&#38; modprobe ivtv

although ivtv can't be in use, so that means that mythtv can't be recording.

If it works, instead of seeing:

ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)

you should see:

ivtv0: Allocate DMA encoder MPEG stream: 512 x 32768 buffers (16384KB total)</description>
		<content:encoded><![CDATA[<p>FWIW, it didn&#8217;t seem to help, but there&#8217;s just some arguments to pass to ivtv to increase the buffers.  How you do it will depend on your distribution, but for me with knoppmyth I edited /etc/mythtv/modules/ivtv and added the line:</p>
<p>options ivtv yuv_buffers=32 mpg_buffers=16 vbi_buffers=16 pcm_buffers=16 dec_osd_buffers=2</p>
<p>those are the maximum amounts for all those buffers.</p>
<p>then run:</p>
<p>update-modules &amp;&amp; rmmod ivtv &amp;&amp; modprobe ivtv</p>
<p>although ivtv can&#8217;t be in use, so that means that mythtv can&#8217;t be recording.</p>
<p>If it works, instead of seeing:</p>
<p>ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)</p>
<p>you should see:</p>
<p>ivtv0: Allocate DMA encoder MPEG stream: 512 x 32768 buffers (16384KB total)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barbex</title>
		<link>http://malformed.org/2006/01/31/new-ivtv-error-from-mythtv-ivtv0-all-encoder-mpeg-stream-buffers-are-full-dropping-data/#comment-19</link>
		<dc:creator>barbex</dc:creator>
		<pubDate>Wed, 08 Feb 2006 20:34:35 +0000</pubDate>
		<guid isPermaLink="false">http://malformed.org/?p=36#comment-19</guid>
		<description>Ok, I know I could probably find it when I start digging through the ivtv wiki but I'll just ask you: How do you increase the mpeg buffers?
Cause I have the same message in dmesg 35 times!
Maybe I should just throw more RAM at this thing.</description>
		<content:encoded><![CDATA[<p>Ok, I know I could probably find it when I start digging through the ivtv wiki but I&#8217;ll just ask you: How do you increase the mpeg buffers?<br />
Cause I have the same message in dmesg 35 times!<br />
Maybe I should just throw more RAM at this thing.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
