Page 1 of 1

Install DirectFB on Raspbian

Posted: Thu Dec 05, 2013 4:20 pm
by MEmerton
Hi guys,

I am trying to install DirectFB http://directfb.org/ onto my fresh pi installation of Raspbian.

I am following these instructions: http://directfb.org/raspbian/README

I get as far as "sudo insmod fusion.ko"

I have used "wget http://www.directfb.org/raspbian/fusion.ko" before issuing this command.

however I now get:

Error: could not insert module fusion.ko: Invalid module format

I can see that others have got this working, and so would appreciate any help

Kind regards

Michael

Re: Install DirectFB on Raspbian

Posted: Fri Dec 06, 2013 10:30 am
by MEmerton
Or does anyone have a better install script?

Re: Install DirectFB on Raspbian

Posted: Sat Dec 07, 2013 9:47 pm
by MEmerton
Alternatively, does anyone know of an alternative graphics library which I can call from C, without starting X?

I would need to be able to plot bitmaps.

I am new to C and linux programming, as my roots are in RISC OS with BASIC.

Cheers

Re: Install DirectFB on Raspbian

Posted: Sat Dec 07, 2013 10:30 pm
by ghans
Perhaps OpenVG / OpenGL ES ?

http://github.com/ajstarks/openvg


ghans

Re: Install DirectFB on Raspbian

Posted: Sun Dec 08, 2013 1:29 am
by AndyD
If you are interested in using python you could try pi3d. I haven't used it myself, but it looks very interesting. The README says it can do 2D and 3D rendering.

Re: Install DirectFB on Raspbian

Posted: Sat Dec 14, 2013 11:06 pm
by paddyg
Michael,

Don't know if you've sorted this or what exactly you mean by plot bitmaps. Pi3d can open bitmap files and display them as 2D layers (the Pillow python imaging library can open bmp with header size 12, 40, 64 not the larger ones) but would not be ideal for plotting graphic primitives to a bitmap. Python is probably less of a traumatic move from BASIC than C would be!