PDA

View Full Version : Linux with DirectFB



noeska
25-11-2007, 04:15 PM
Is anyone here familiar with the http://www.directfb.org/ project?

As for my efika powerpc board is running out of resources when in xorg is running and thus providing low fps this looks like the solution for that as it allows opengl on linux without xorg.

But for now i cannot seem to get it to compile.

JSoftware
25-11-2007, 11:48 PM
Interesting find!

I'm trying to writing my own os atm and even though I'm not at the point where I can start to think about graphics I'll probably save the driver portion of the website for later :D

noeska
26-11-2007, 07:09 PM
I discovered that suse comes with the 2d part of directfb precompiled. But that is without opengl support.

Looking on the mesa site i discovered the following: http://www.mesa3d.org/fbdev-dri.html Currently i am compiling that one.

Only i am hoping that i do not have to compile the drm modules as suse should have them already is i can use 3d in x already. If i have to compile that part i will have to ask again as the readme states that there should be a ./configure but that is non existent for drm.

noeska
27-11-2007, 07:47 PM
Unfortunately fdev-dri is unmaintained and does not compile.
A build log can be found here: http://www.noeska.net/downloads/logfbdevmesagl.txt

noeska
06-12-2007, 08:12 PM
Ok i got it to work (but software mode only)
firt i compiled directfb 1.1 and installed that.

I got the mesa source from git and compiled that with make linux-directfb and installed that with make linux-directfb-install.

Using directfbrc in /etc i said it to use 640x480 with 24 delpth and rgb24 . When running df_gears it goes using RGB16 ?
Also i suspect it to be using software only?

If i do not use directfbrc the screen goes black and nothing happens until i do a reset.

I though it could use dri drivers, but those are not build by mesa? And where do i configure what gfx/dri driver to use?

My graphics card is an ati9250 that is correctly detected as an ati9200. My pc is an powerpc (efika).

Thanks for your answers in advance.