[mythtv-users] Backend drops frames at start of recording; add RAM?

Tony Lill ajlill at ajlc.waterloo.on.ca
Tue May 16 13:59:27 EDT 2006


"kanetse at gmail.com" <kane.tse at gmail.com> writes:

>>
>> No, the problem is probably the database activity. The same thread
>> that reads from the device also updates the database. On my system I got
>> dropped frames in the first minute of every recording. That was with
>> 1G memory and only allowing 1 job to run at the same time. I bet you're
>> getting those lovely ivtv messages abount your application being too
>> slow. Check out
>> http://svn.mythtv.org/trac/ticket/1660
>> There's two patches there, mine, which should apply to 0.19 clean and
>> works great, and an alternate against the head that I couln't get to
>> work right.
>
> This sounds exactly like the right fix for me, but I only installed my
> MythTV using atrpms and I know how to apply patches.
>
> Does it work like this?
>
> 1) Download source code from SVN (from
> http://svn.mythtv.org/svn/branches/release-0-19-fixes)
>
> - Will this get me a version of the source code to which the patch can
> be applied?
>
> 2) Apply patch
>
> When I did "patch < speedup.patch", I got a lot of file not found
> errors?  But it seemed to work when I just cut and pasted in the file
> name manually.

If you use patch -p0 < speedup.patch, it should figure out the files
properly, but since you've already done it by hand...

> 3) Compile MythTV

When you ran configure, did you use the --prefix=/usr option?

If yes, then the make install will overwrite the stuff installed by
the atrpms, and your start scripts and whatnot should be good
to go.

If not, then when you do a make install, it will install myth under
/usr/local. That's not necessarily a problem, but you will have to
change your startup scripts and whatnot to point to the correct
binaries, and make sure that you use the shared libraries in
/usr/local/lib instead of /usr/lib. It might be easier to do a make
distclean and start over with --prefix=/usr

Maybe someone who's switched from atrpms to self compiled will chime
in on the easiest way.
--
Tony Lill,                         Tony.Lill at AJLC.Waterloo.ON.CA
President, A. J. Lill Consultants        fax/data (519) 650 3571
539 Grand Valley Dr., Cambridge, Ont. N3H 2S2     (519) 241 2461
--------------- http://www.ajlc.waterloo.on.ca/ ----------------
"Welcome to All Things UNIX, where if it's not UNIX, it's CRAP!"


More information about the mythtv-users mailing list