On Sun, Dec 22, 2002 at 08:24:14PM -0500, [EMAIL PROTECTED] wrote: > On Sun, Dec 22, 2002 at 07:58:22PM +0200, Ville Syrj�l� wrote: > > > > 1600x1200 > > Excellent!
The bad thing is that I can't have many windows open when I start mplayer or DirectFB can't allocate video memory when blitting. I think the surface manager should throw out less used stuff but this doesn't seem to happen consistently. Perhaps the other windows are really busy somehow or video memory may be too fragmented. This is problem happens @ 32bpp with a 32MB card. With a 16 MB card I can't even run XDirectFB @ 32bpp since there won't be enough memory left for the CRTC2 buffers. > > I've attached a patch againgst the latest cvs > > mplayer. The patch has my pthread vsync stuff included too > > What's the idea behind putting the vsync stuff in a thread? It allows mplayer to do something useful while we wait for the vsync. Unfortunately this doesn't help as much as I'd like. Flip() waits for the card to become idle before flipping and since we do Blit() and Flip() in this order the blit will keep the card busy for some time. The wait for idle function polls the status register in a tight loop which keeps my CPU busy. Perhaps it would work better with a dual CPU machine. -- Ville Syrj�l� [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
