View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Oct 05, 2007 2:02 pm 
Offline
Joined: Sat Feb 11, 2006 5:26 pm
Posts: 282
Location: Winnipeg - Canada
I've recently upgraded my motherboard, and am still seeing the same IOBOUND/Application not reading fast enough errors that I was running into several months ago.

I'm attempting to follow the directions listed at the following URL:
http://www.knoppmythwiki.org/index.php? ... imizeHowTo

The place I'm specifically running into an issue is in the "Increase buffer size for IVTV" section. I'm attempting to follow the steps for #4 (R5F20) as it is the newest version listed (though it's not the version I'm running).

I've succesfully placed the extra line of options into my /etc/mythtv/modules/ivtv file, but when I reboot and check for the increased allocation as indicated, I see nothing.

I do see a couple of entries in my syslog that seem to indicate that my mpg buffer size is still at 4mb though.

Code:
root@backend:/var/log# cat syslog | grep MPG
Oct  5 10:04:15 backend kernel: ivtv1: All encoder MPG stream buffers are full. Dropping data.
Oct  5 10:04:16 backend kernel: ivtv1: All encoder MPG stream buffers are full. Dropping data.
Oct  5 10:04:17 backend kernel: ivtv0: All encoder MPG stream buffers are full. Dropping data.
Oct  5 10:04:17 backend kernel: ivtv0: All encoder MPG stream buffers are full. Dropping data.
Oct  5 10:04:17 backend kernel: ivtv0: All encoder MPG stream buffers are full. Dropping data.
Oct  5 11:10:23 backend kernel: ivtv0: Registered device video0 for encoder MPG (4096 kB)
Oct  5 11:10:23 backend kernel: ivtv1: Registered device video1 for encoder MPG (4096 kB)
Oct  5 11:15:43 backend kernel: ivtv0: Registered device video0 for encoder MPG (4096 kB)
Oct  5 11:15:43 backend kernel: ivtv1: Registered device video1 for encoder MPG (4096 kB)
Oct  5 14:33:21 backend kernel: ivtv0: Registered device video0 for encoder MPG (4096 kB)
Oct  5 14:33:21 backend kernel: ivtv1: Registered device video1 for encoder MPG (4096 kB)
Oct  5 14:42:22 backend kernel: ivtv0: Registered device video0 for encoder MPG (4096 kB)
Oct  5 14:42:22 backend kernel: ivtv1: Registered device video1 for encoder MPG (4096 kB)
Oct  5 14:52:41 backend kernel: ivtv0: Registered device video0 for encoder MPG (4096 kB)
Oct  5 14:52:41 backend kernel: ivtv1: Registered device video1 for encoder MPG (4096 kB)


The last 2 entries in this are the 2 that were made after I had updated the ivtv file to include the extra buffers options.

Has the syntax changed with the current version of IVTV that we are using?

Code:
root@backend:/var/log# cat messages | grep ivtv | grep version
Oct  5 14:52:41 backend kernel: ivtv:  Start initialization, version 1.1.0


I don't know if anyone out there can shed any light on this for me, or at least help point me in the right direction, but i certainly hope so!




P.S. Happy Thanksgiving to any fellow Canucks out there.

_________________
Currently Running:
Too lazy to update this with my current hardware, I'll redo it during my next install =)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 05, 2007 3:02 pm 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
Rando, here is what I have in my R5F27 /etc/mythtv/modules/ivtv file
Code:
alias char-major-81 videodev
alias char-major-61 lirc_i2c
#options ivtv debug=1
#options tuner type=2
options msp3400 once=1
# options ivtv enc_ enc_ enc_ enc_
options ivtv enc_yuv_buffers=8 enc_mpg_buffers=32 enc_vbi_buffers=8 enc_pcm_buffers=8
install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa7115;  /sbin/modprobe --ignore-install  ivtv
remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -r saa7115 && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner

I can confirm that with R5F27 this does increase the IVTV buffer sizes. Might be useful if you posted exactly what you have in this file.

Marc


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 05, 2007 3:08 pm 
Offline
Joined: Sat Feb 11, 2006 5:26 pm
Posts: 282
Location: Winnipeg - Canada
here is my file

Code:
alias char-major-81 videodev
alias char-major-61 lirc_i2c
#options ivtv debug=1
#options tuner type=2
options msp3400 once=1
options enc_yuv_buffers=8 enc_mpg_buffers=32 enc_vbi_buffers=8 enc_pcm_buffers=8
install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa7115;  /sbin/modprobe --ignore-install  ivtv
remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -r saa7115 && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner


How is it that you are confirming this increases the buffer size? I'd like to very and confirm for certain that mine is being properly set.

_________________
Currently Running:
Too lazy to update this with my current hardware, I'll redo it during my next install =)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 05, 2007 6:15 pm 
Offline
Joined: Mon May 02, 2005 2:45 am
Posts: 8
rando wrote:
here is my file

Code:
alias char-major-81 videodev
alias char-major-61 lirc_i2c
#options ivtv debug=1
#options tuner type=2
options msp3400 once=1
options enc_yuv_buffers=8 enc_mpg_buffers=32 enc_vbi_buffers=8 enc_pcm_buffers=8
install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa7115;  /sbin/modprobe --ignore-install  ivtv
remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -r saa7115 && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner


How is it that you are confirming this increases the buffer size? I'd like to very and confirm for certain that mine is being properly set.


You are missing ivtv form the options line. It should be

options ivtv enc_yuv_buffers=8 enc_mpg_buffers=32 enc_vbi_buffers=8 enc_pcm_buffers=8


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 05, 2007 9:58 pm 
Offline
Joined: Sat Feb 11, 2006 5:26 pm
Posts: 282
Location: Winnipeg - Canada
gbutters wrote:
rando wrote:
here is my file

Code:
alias char-major-81 videodev
alias char-major-61 lirc_i2c
#options ivtv debug=1
#options tuner type=2
options msp3400 once=1
options enc_yuv_buffers=8 enc_mpg_buffers=32 enc_vbi_buffers=8 enc_pcm_buffers=8
install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa7115;  /sbin/modprobe --ignore-install  ivtv
remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -r saa7115 && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner


How is it that you are confirming this increases the buffer size? I'd like to very and confirm for certain that mine is being properly set.


You are missing ivtv form the options line. It should be

options ivtv enc_yuv_buffers=8 enc_mpg_buffers=32 enc_vbi_buffers=8 enc_pcm_buffers=8



Yes, I sure am. Thank you very much for pointing that out. I'm trying it right now. Fingers are crossed.

I swear I copy/pasted that line form the wiki (which is actually now reflecting R5F27 instead of R5F20 - so it seems someone has corrected this).

_________________
Currently Running:
Too lazy to update this with my current hardware, I'll redo it during my next install =)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 05, 2007 10:28 pm 
Offline
Joined: Sat Feb 11, 2006 5:26 pm
Posts: 282
Location: Winnipeg - Canada
Perfect! My buffers are now running at 32mb and recording two shows at once and filling my database yields no issues.

Thanks for spotting that gbutters!

_________________
Currently Running:
Too lazy to update this with my current hardware, I'll redo it during my next install =)


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 60 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu