Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Fix for UPT and 1. Rec Problem vdr-1.2.5



Hi,

since i got also this problems i do some changes in the code, so i can
do multiple recordings and the vdr don't restart if it starts the first
recording.

The problem is IMHO in a HW/SW combinations, because many people have a
working vdr.

My Setup
dvb-cvs driver from 20.09.2003
vdr-1.2.5
3 Sat-Cards, 1st Nexus 2.1, 2nd and 3rd (with connected Cam) 1.3
gcc 3.2
kernel 2.4.22pre2

Recording Problem.
This Problem occurs if the you watch and TV (1st Card) and 2nd/3rd Card
aren't used (no transfer mode). To avoid this i tune to a given channel,
before vdr switch to the CurrentChannel -> this is set in setup.conf.

UPT:
i don't know exactly where the problem is. I think its a problem with
multiple recordings and small buffers or a latency problem in driver.
Because i didn't know exactly i made the #defines
DO_REC_AND_PLAY_ON_PRIMARY_DEV and DO_MULTIPLE_RECORDINGS available as
setup option.

How to use it:
Apply the patch in the VDR directory (patch defaults are as in unpatched
VDR):
zcat vdr-1.2.5-upt.diff.gz | patch -p1
compile your vdr
start o restart it.

Before you change something in the Setup -> DVB Menu, you can also try
the following:
in the DVB/driver/av7110 directory change the insmod calling for
dvb-ttpci.o in the Makefile. Without parameter latency=0 will be used
when dvb-ttpci is insmod'ed. For me latency=128 works better than
latency=0.
from
insmod dvb-ttpci.o;
to
insmod dvb-ttpci latency=64;
or
insmod dvb-ttpci latency=128;

In the Setup Menu you have 5 new Settings available.
1. Do Multiple Recordings -> Yes/No
2. Record and Play 1st Card ->Yes/No
3. Reserve Buffer (for recordings)  -> No/Yes (this is not really a god
name for the entry, it solves a problem with transferbuffers with
AC3OverDVB Patch activate some code from Klaus in transfer.c).
4. Init Channels for Cards >2 -> No/Yes if set 5th entry will be used to
wich channel vdr will switch
5. Init Channel Programm Number -> default is 1 possible values at the
moment 1-250

If you still get transferbuffer problems (Live TV), you can try the
following:
change in transfer.c line 15
#define VIDEOBUFSIZE MEGABYTE(1)
to
#define VIDEOBUFSIZE MEGABYTE(5)

If you still get transferbuffer problems (Recordings), you can try the
following:
change in recorder.c line 17
#define VIDEOBUFSIZE MEGABYTE(5)
to
#define VIDEOBUFSIZE MEGABYTE(10)

i hope this will solve also the problems with UPT and buffer error
messages for you.


Gerald

Attachment: vdr-1.2.5-upt.diff.gz
Description: GNU Zip compressed data


Home | Main Index | Thread Index