On Fri, Sep 08, 2006 at 12:11:18PM +0100, Stuart Morris wrote:
> I have however noticed a few problems:
> 
> I am getting 60% cpu usage on a Duron900 however video frames are being
> dropped. Video 'jumps' occur aproximately every 10-20seconds.
> I have tried using a multimedia kernel and vdr running at nice -5 but
> I noticed only a small improvement.

Have you tried adding a usleep(1000) or usleep(2000) right before the
scrSurface->Flip() calls in cDFBVideoOut::ShowOSD() and cDFBVideoOut::YUV()?
The Flip() call is busy-waiting for MGA DMA engine ready.

The sleeps should free about 10% of the CPU for other processes or threads.
The right fix would be to introduce an ioctl() in the kernel that would
allow Flip() to sleep until the MGA DMA engine triggers an interrupt.

> If I exit from vdr and then run vdr with softdevice for a second time, the 
> system
> appears to lock up with no tv or monitor output, forcing a system reboot.
> It seems I can run softdevice only once before having to reboot the system.

Last night, I restarted vdr dozens of times without problem.

> Softdevice can only work with VDR run with root privelages. Is this correct?

No.  You probably need no-vt in /etc/directfbrc.  Here's my file in its
entirety:

matrox-crtc2
matrox-tv-standard=pal
matrox-cable-type=scart-rgb
primary-layer=2
hardware
mmx
no-banner
no-vt
linux-input-ir-only

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

Reply via email to