Erick Galassi wrote:
> Denis, 
> 
>   I´m not sure about the driver, but I can check it. There are any
> configuration file for DirectFB where I can change or set any memory related
> value ? Because I also get lots of "out of video memory" when I try to
> CreateSurfaces after a certain amount of surfaces created. 

You can only query the amount of video memory.

http://www.directfb.org/docs/DirectFB_Reference/IDirectFB_GetDeviceDescription.html

To change the amount you probably have to adjust some global memory
map or ask the driver vendor for support. If you're lucky you just have
to modify the frame buffer driver, but most likely you'd have to free
some space first, e.g. reduce amount of system memory.

>   My guess is that the available memory has something to do with the surface
> area, for example: If I try to create 3 surfaces with the dimention
> (720x480) , not considering the primary surface , I already get "out of
> video memory" before the third one was created. Otherwise I can create 10 ,
> 20 surfaces at the same time, with a smaller area , lets say: (200x70). 
> 
>   The total amount of printed areas before crash is around: 700000. By the
> way: It could be just my stupid assuption, but is the only constant that I
> found during this "out of video memory" occurencies. 

The more layers are enabled, each having a surface, the less free space
is left for other things.

>   Another thing that could help: I´m running DirectFB 0.9.24, and the system

That's fine.

> is a kernel 2.6 (gnu) over a MIPS architecture. I guess that this is the
> same release that LinuxTV project is using. 

I guess you're not talking about linuxtv.org... For some people the name
has a totally different history :)

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to