On Sun, Sep 17, 2006 at 08:33:37PM +0300, Heikki Lindholm wrote:
> The included patch makes dfb:mgatv use YV12 colourspace for video and 
> the hardware subpicture layer for OSD. The patch is a prime example of 
> bad goal-oriented programming, but does what I wanted: improves 
> performance to the level that my 450 MHz P2 can now function as a DVB 
> box like no underpowered P2 has done before! Unfortunately, the patch 
> probably breaks everything else, but I'm too lazy to clean it up.

I'm very much interested in this.

You didn't get rid of the CPU-burning Flip() calls, did you?  At least
on my system, DirectFB spends about 10% of the CPU cycles waiting for
MGA engine ready.  Adding a usleep(2000) right before the Flip() call
reduces the CPU load but risks dropping frames.  I believe it would be
much more efficient if the Flip() method blocked the thread until the
hardware is ready.  That would require some new ioctl() in the kernel.

        Marko
_______________________________________________
Softdevice-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/softdevice-devel

Reply via email to