Hi
I have a project with directFB.
(I have ALREADY tested directFB with an ARM ambedded project without X and
without problem)
Now, I Use Ubuntu 8.04 and I would like build an interface with directFB but
I don't have the node /dev/fb0.
Can you explain how X are able to refresh the framebuffer without /dev/fb0 ?


If i add "vga=971" (which will set the Framebuffer resolution to 1024x768 at
16 bits) in the linux boot param, the node /dev/fb0 is created. I can
refresh the framebuffer.
My problem is that When i use directFB, i constat that the display config
change but my graphic controler read the framebuffer with the last or bad a
config : :bad number of pixel by line, bad number of line by panel.

I have this error message :
(!) DirectFB/FBDev: Panning display failed (x=0 y=0 ywrap=0 vbl=0)!
    --> Invalid argument

Moreover, i have the same configuration problem if i press CTR+ALT +F1,

I test with this tutorial :
http://www.directfb.org/docs/DirectFB_Tutorials/simple.html

fbset -s

mode "1024x768-76"
    # D: 78.653 MHz, H: 59.949 kHz, V: 75.694 Hz
    geometry 1024 768 1024 768 16
    timings 12714 128 32 16 4 128 4
    rgba 5/11,6/5,5/0,0/0
endmode

this command don't change the number of pixel and the number of line
fbset -fb /dev/fb0 -xres 800 -yres 400

can you help me ?
Can you explain how X are able to refresh the framebuffer without /dev/fb0
?

.marc

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

Reply via email to