Mailing List Archive

More on saa7134 + v4l2
Here is an update on using v4l2-old + saa7134 with mythtv

I have managed to get a picture out of it (used v4lctl to set to
composite input), no code changes were necessary, defining V4L2 was
enough, however if have a couple of issues:

If I use 640x480 the picture is virtually live but it drops 3-5 frames a
second using both rtjpeg or mpeg4 (I have a Duron 1.2 and rtjpeg uses
less than 10%)

Using 320x240 I get no dropped frames but the picture lags the actual
feed by about 5 seconds.

X is running at 640x480 using the Nvidia NVdriver binary driver.

Specifying a resolution somewhere in between will cause a seg fault most
of the time, especially if the aspect is wrong.

I am using todays CVS.


Any suggestions are welcome.

--
Seeya...Q

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

_____ / Quinton Dolan - q@OntheNet.com.au
__ __/ / / __/ / /
/ __ / _/ / / Gold Coast, QLD, Australia
__/ __/ __/ ____/ / - / Ph: +61 419 729 806
_______ /
_\




http://careers.yahoo.com.au - Yahoo! Careers
- 1,000's of jobs waiting online for you!
Re: More on saa7134 + v4l2 [ In reply to ]
On Wednesday 06 November 2002 08:59 am, Q wrote:
> Here is an update on using v4l2-old + saa7134 with mythtv
>
> If I use 640x480 the picture is virtually live but it drops 3-5 frames a
> second using both rtjpeg or mpeg4 (I have a Duron 1.2 and rtjpeg uses
> less than 10%)
>
> Using 320x240 I get no dropped frames but the picture lags the actual
> feed by about 5 seconds.
>
> I am using todays CVS.
>
>
> Any suggestions are welcome.

Most likely, it's harddrive speed. You might not have DMA turned on, etc..
Check out the mailing list archives for what other's have done.

Isaac
Re: More on saa7134 + v4l2 [ In reply to ]
According to hdparm I am using UDMA5 (after following your suggestion
of using the -ac IDE patches)

But I might run a couple of benchmarks on the system to make sure it's
actually working.

Seeya...Q

Isaac Richards wrote:

>On Wednesday 06 November 2002 08:59 am, Q wrote:
>
>
>>Here is an update on using v4l2-old + saa7134 with mythtv
>>
>>If I use 640x480 the picture is virtually live but it drops 3-5 frames a
>>second using both rtjpeg or mpeg4 (I have a Duron 1.2 and rtjpeg uses
>>less than 10%)
>>
>>Using 320x240 I get no dropped frames but the picture lags the actual
>>feed by about 5 seconds.
>>
>>I am using todays CVS.
>>
>>
>>Any suggestions are welcome.
>>
>>
>
>Most likely, it's harddrive speed. You might not have DMA turned on, etc..
>Check out the mailing list archives for what other's have done.
>
>Isaac
>_______________________________________________
>mythtv-dev mailing list
>mythtv-dev@snowman.net
>http://www.snowman.net/mailman/listinfo/mythtv-dev
>
>
>

--
Seeya...Q

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

_____ / Quinton Dolan - q@OntheNet.com.au
__ __/ / / __/ / /
/ __ / _/ / / Gold Coast, QLD, Australia
__/ __/ __/ ____/ / - / Ph: +61 419 729 806
_______ /
_\




http://www.sold.com.au - SOLD.com.au
- Find yourself a bargain!
Re: More on saa7134 + v4l2 [ In reply to ]
FYI:

# hdparm -t -T -v /dev/hda

/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 1 (on)
readonly = 0 (off)
readahead = 8 (on)
geometry = 9729/255/63, sectors = 156301488, start = 0
Timing buffer-cache reads: 128 MB in 0.55 seconds =232.73 MB/sec
Timing buffered disk reads: 64 MB in 1.59 seconds = 40.25 MB/sec


How does this compare to a functional system?

Seeya...Q

Isaac Richards wrote:

>On Wednesday 06 November 2002 08:59 am, Q wrote:
>
>
>>Here is an update on using v4l2-old + saa7134 with mythtv
>>
>>If I use 640x480 the picture is virtually live but it drops 3-5 frames a
>>second using both rtjpeg or mpeg4 (I have a Duron 1.2 and rtjpeg uses
>>less than 10%)
>>
>>Using 320x240 I get no dropped frames but the picture lags the actual
>>feed by about 5 seconds.
>>
>>I am using todays CVS.
>>
>>
>>Any suggestions are welcome.
>>
>>
>
>Most likely, it's harddrive speed. You might not have DMA turned on, etc..
>Check out the mailing list archives for what other's have done.
>
>Isaac
>_______________________________________________
>mythtv-dev mailing list
>mythtv-dev@snowman.net
>http://www.snowman.net/mailman/listinfo/mythtv-dev
>
>
>

--
Seeya...Q

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

_____ / Quinton Dolan - q@OntheNet.com.au
__ __/ / / __/ / /
/ __ / _/ / / Gold Coast, QLD, Australia
__/ __/ __/ ____/ / - / Ph: +61 419 729 806
_______ /
_\




http://careers.yahoo.com.au - Yahoo! Careers
- 1,000's of jobs waiting online for you!
Re: More on saa7134 + v4l2 [ In reply to ]
Don't think you are going to get much better than that.
I max out at about 40 MB per second as well.


On Wed, 2002-11-06 at 19:57, Q wrote:
> FYI:
>
> # hdparm -t -T -v /dev/hda
>
> /dev/hda:
> multcount = 16 (on)
> IO_support = 1 (32-bit)
> unmaskirq = 0 (off)
> using_dma = 1 (on)
> keepsettings = 1 (on)
> readonly = 0 (off)
> readahead = 8 (on)
> geometry = 9729/255/63, sectors = 156301488, start = 0
> Timing buffer-cache reads: 128 MB in 0.55 seconds =232.73 MB/sec
> Timing buffered disk reads: 64 MB in 1.59 seconds = 40.25 MB/sec
>
>
> How does this compare to a functional system?
>
> Seeya...Q
>
> Isaac Richards wrote:
>
> >On Wednesday 06 November 2002 08:59 am, Q wrote:
> >
> >
> >>Here is an update on using v4l2-old + saa7134 with mythtv
> >>
> >>If I use 640x480 the picture is virtually live but it drops 3-5 frames a
> >>second using both rtjpeg or mpeg4 (I have a Duron 1.2 and rtjpeg uses
> >>less than 10%)
> >>
> >>Using 320x240 I get no dropped frames but the picture lags the actual
> >>feed by about 5 seconds.
> >>
> >>I am using todays CVS.
> >>
> >>
> >>Any suggestions are welcome.
> >>
> >>
> >
> >Most likely, it's harddrive speed. You might not have DMA turned on, etc..
> >Check out the mailing list archives for what other's have done.
> >
> >Isaac
> >_______________________________________________
> >mythtv-dev mailing list
> >mythtv-dev@snowman.net
> >http://www.snowman.net/mailman/listinfo/mythtv-dev
> >
> >
> >
>
> --
> Seeya...Q
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> _____ / Quinton Dolan - q@OntheNet.com.au
> __ __/ / / __/ / /
> / __ / _/ / / Gold Coast, QLD, Australia
> __/ __/ __/ ____/ / - / Ph: +61 419 729 806
> _______ /
> _\
>
>
>
>
> http://careers.yahoo.com.au - Yahoo! Careers
> - 1,000's of jobs waiting online for you!
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-dev
Re: More on saa7134 + v4l2 [ In reply to ]
On 6 Nov 2002, Calvin Harrigan wrote:

> Don't think you are going to get much better than that.
> I max out at about 40 MB per second as well.

I missed this thread initially, but just FYI, I am using an SAA7134
chipset card (FlyVideo3000) with no problems (using the patch from
http://www.bytesex.org).

Doing 400x400 with no sweat.

- Justin

--
justin@hawkins.id.au | "Don't sweat it --
http://hawkins.id.au | it's only 1's and 0's"