On Sonntag, 1. August 2004 01:36, Ville Syrj�l� wrote:
> On Wed, Jul 28, 2004 at 09:23:09PM +0200, Stefan Lucke wrote:

[ .. ]

> I'm not sure what's going on. Nothing in the matrox driver changes should 
> cause a segfault.

with that code:

        try
        {
          fprintf (stderr, " area = %d %d %d %d ",sxoff, syoff, swidth, sheight);
          videoLayer->SetSourceRectangle (sxoff, syoff, swidth, sheight);
          fprintf (stderr, " OK !!\n");
        }
        catch (DFBException *ex)
        {
          fprintf (stderr,"Caught: action=%s, result=%s\n",
                   ex->GetAction(), ex->GetResult());
        }

I get (1st call):
[dfb] (re)configuring Videolayer to 720 x 576 (720x576)
area = 0 0 720 576 Caught: action=IDirectFBDisplayLayer::SetSourceRectangle(int, int, 
int, int), result=Invalid area present!

(2nd call):
[dfb] (re)configuring Videolayer to 720 x 576 (720x576)
 area = 0 0 720 576  OK !!

(or 3rd call using source rect):
[dfb] (re)configuring Videolayer to 720 x 576 (540x576)
 area = 90 0 540 576  OK !!

Which acts as a NOOP (full area is displayed and not 540 pixels with xoffset 90).

> 
> > Is it a memory limitation somwhere ? I noticed that directfb only recognized
> > 16 of my 32M G550.
> 
> You didn't use the matroxfb-full-memory patch.

Thanks, thats now fixed:
[dfb] RAM: 33554432 bytes

-- 
Stefan Lucke



Reply via email to