--- Pontus Frendin <[EMAIL PROTECTED]> wrote:
> > > Is there any way to tell IVTV not to change the latency timer
> > > (preferably without manipulating source code)?
> >
> > If you can demonstrate that ivtv works for you after changing the source
> > not to set the latency to 64, then I'm happy to add a module option for
> > that. At this moment you have to change the source. It's the first time
> > that I've heard of a problem like this, though.
> >
> > > Will the driver not
> > > work with latency timer < 64?
> >
> > I think it will work, but it may increase the chance of DMA problems. It
> > might even be no longer necessary anymore. It's been in the driver for
> > a long time, but the DMA implementation in the driver has been much
> > improved since.
>
> I commented out the if clause on line 911 in ivtv-driver.c like this:
>
> /*
> Removed the following if clause due to problems with capturing
> when latency timer > 32
>
> if (pci_latency < 64) {
> IVTV_INFO("Unreasonably low latency timer, "
> "setting to 64 (was %d)\n", pci_latency);
> pci_write_config_byte(dev, PCI_LATENCY_TIMER, 64);
> pci_read_config_byte(dev, PCI_LATENCY_TIMER, &pci_latency);
> }
> */
>
> ...and presto! It seems like it did the trick. At least I'm now able
> to capture video with both my tuners without causing computer crashes.
> I have not yet done any extensive tests but at a first glance
> everything looks fine. Perhaps I will run in to some problems later
> due to the relative low latency timer setting (lets hope not) and
> there might be some other/better solution but I'll give this a shoot.
>
> I have read other forums where people with problems similar to mine
> (but in a Windows environment) have been sugested to lower the latency
> timer. As mentioned in my original post there seems to be some problem
> with the PVR-500 and certain VIA based motherboards. I do not know how
> common it is but there could be others interested in the possibility
> to freely choose latency timer settings without intervention from the
> IVTV driver?
>
> Now I'm of to installing MythTV. Wish me luck! :-)
>
> Thanks for the help!
> /Pontus
>
I have the same symptoms with a much older via board and a brand new PVR-500. I
do
remember that I get the low latency warning. If I get time I will try this and
see
if it solves my problem.
Thanks,
John
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users