MEmerton
Posts: 9
Joined: Thu Dec 05, 2013 2:54 pm

Install DirectFB on Raspbian

Thu Dec 05, 2013 4:20 pm

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

MEmerton
Posts: 9
Joined: Thu Dec 05, 2013 2:54 pm

Re: Install DirectFB on Raspbian

Fri Dec 06, 2013 10:30 am

Or does anyone have a better install script?

MEmerton
Posts: 9
Joined: Thu Dec 05, 2013 2:54 pm

Re: Install DirectFB on Raspbian

Sat Dec 07, 2013 9:47 pm

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

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Install DirectFB on Raspbian

Sat Dec 07, 2013 10:30 pm

Perhaps OpenVG / OpenGL ES ?

http://github.com/ajstarks/openvg


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

User avatar
AndyD
Posts: 2334
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: Install DirectFB on Raspbian

Sun Dec 08, 2013 1:29 am

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.

User avatar
paddyg
Posts: 2541
Joined: Sat Jan 28, 2012 11:57 am
Location: UK

Re: Install DirectFB on Raspbian

Sat Dec 14, 2013 11:06 pm

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!
also https://groups.google.com/forum/?hl=en-GB&fromgroups=#!forum/pi3d

Return to “Troubleshooting”