On 06/09/06, Marko Mäkelä <[EMAIL PROTECTED]> wrote:
>
> ...
>
> Now I only have one wishlist item left for DirectFB on Matrox cards:
> get rid of that busy-waiting in IDirectFBSurface::Flip() by implementing
> some ioctl() calls to make it interrupt-driven.

Is that a lot of work?

> Meanwhile, this patch
> seems to substantially reduce the CPU consumption on my system:
>
> ...
>
> According to "top", the vdr process consumes 52 to 67 per cent of CPU
> (900 MHz Celeron).
>

With my underclocked barton (running at 1350 MHz) the following
results were got from 'top'.
[I just took the value for the vdr process with the highest value,
don't know if this is misleading].

Unpatched:
-vo dfb:mgatv  = ~40%
-vo dfb:  = ~21% ( a lovely figure!)

Patched:
-vo dfb:mgatv = ~29% (great patch)
-vo dfb: = ~29%

These were all taken during 10 minute period of BBC News 24 so I could
look out for artifacts. the bbc streams are full bitrate I seem to
remember, so for instance if I changed to something altogether more
low-fi, such as _sky news_, the cpu dropped to as low as 12% with
unpatched softdevice running with '-vo dfb:' (bloody amazing!)

With results like that, and with Matrox hardware scaled interlaced
output working in 'VGA' mode, I could nearly run vdr on my old AMD K6
500mhz relic.

> I plan to make some OProfile measurements this weekend.  At the very least,
> I will measure the impact of colour space transformation (i.e., let
> -vo dfb:mgatv show wrong colours by pretending it uses the native output
> colour space of ffmpeg).

I remember you saying your cable didn't work with "-vo dfb:" because
that option didn't generate a composite sync signal - well I don't
think I made it clear enough that I _did_ see a picture of comparable
(slightly sharper) quality using "-vo dfb:" & the cable from the
diagram we both used. When I was testing -vo dfb: and latest CVS
DirectFB the only problem was the OSD that was double sized and had
horizontal lines, oh and the squashed image above the horizontal bars.
I'm fairly sure you know that already but on reading back I don't
think I made it clear to anyone reading this, and there must be other
folk out there with the same problem.

Basically, latest DirectFB CVS with softdevice option '-vo dfb:' seems
to generate a composite signal just like '-vo dfb:mgatv' does. The
only noticeable difference is that the image quality is sharper with
'vga' out as opposed to 'TV' out, and that the interlacing artifacts
are still visible with & without Stefan's patch.

Seems to me that maybe scaled interlaced output could work with '-vo
dfb:' someday, I just don't know if that's what they're aiming for
with these modifications. I'll need to read their mailing list.

regards,

-- 
A l a s d a i r   C a m p b e l l

r a g a w u @ g m a i l . c o m
_______________________________________________
Softdevice-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/softdevice-devel

Reply via email to