Hi Marc.

/dev/fb0 and X use the hardware in the same way.
It's not that X is using /dev/fb0.
Both fb and X normally use MMIO to access the registers on your graphics 
card directly,
and use a plug-in (or 'drivers' for DirectFB) system to do this.
DirectFB is using fb however, for basic (non-accelerated) operations 
such as:
open, close, housekeeping, mmap'ing.
This  also means you shouldn't run directfb-on-fb alongside X (you can 
of course run DirectFB on top of X).

I don't know what's giving you issues.
dfblayer gets it's default info normally from xxxInitLayer(), e.g. in 
case of a i810 this would be called ovlInitLayer() and result in 640x480 
until you change it (via DirectFB).
You can always try to see if you can change the layer size with e.g. 
dfblayer -m 1024x768.

hth.
Niels

marc doz wrote:
> I suppose that X use my graphic controller driver and not /dev/fbo 
> because the graphic card controller is fastest than /dev/fb0, it is 
> exact ?
> I have disabled gdm of my current runlevel. Now i am in text mode 
> without graphic interface. The resolution is the resolution of the 
> bootparam vga.
> I can use directFB. If i start gdm ... I have again the problem 
> described in the last mail
> I will study directFB and i will search why i can't use directFB and 
> gdm afterward.
>
> I have a last question
> I suppose that my framebuffer has a resolution of 1280x1024 thanks the 
> boot param "vga"
>
> # fbset -s
>
> mode "1280x1024-77"
>     # D: 131.096 MHz, H: 80.328 kHz, V: 76.649 Hz
>     geometry 1280 1024 1280 1024 32
>     timings 7628 160 32 16 4 160 4
>     rgba 8/16,8/8,8/0,0/0
> endmode
>
> but when I test :
> # sudo dfblayer
>
> FBDev Primary Layer
>
> Width       640
> Height      480
> Format      RGB32
> Buffermode  BACKSYSTEM
>
> can you explain me why i have this result ?
>
> best regards
> ------------------------------------------------------------------------
>
> _______________________________________________
> directfb-users mailing list
> directfb-users@directfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>   


-- 

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

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to