Questions tagged [directfb]

stands for Direct Frame Buffer. It is a software library for GNU/Linux/Unix-based operating systems, designed with embedded systems in mind.

It is a software library for GNU/Linux/Unix-based operating systems with a small memory footprint that provides graphics acceleration, input device handling and abstraction layer, and integrated windowing system with support for translucent windows and multiple display layers on top of the Linux framebuffer without requiring any kernel modifications. DirectFB is free software licensed under the terms of the GNU Lesser General Public License (LGPL).

The library allows developers an alternative to a full X Window System (X11) server used in Unix-like operating systems. DirectFB allows applications to talk directly to video hardware through a direct API, speeding up and simplifying graphic operations.

Goals of DirectFB

  • Small memory Footprint
  • Maximize utilities of hardware acceleration
  • Support of advanced graphics operations such as multiple alpha blending modes
  • No kernel modifications
  • No library dependencies, except for libc
  • Meet the requirements of MHP specifications

Graphics operations supported through DirectFB

  • Rectangle Filling/Drawing
  • Triangle Filling/Drawing
  • Line Drawing
  • Blit
  • Alpha Blending (texture alpha, alpha modulation)
  • Porter/Duff
  • Colorizing
  • Source Color Keying
  • Destination Color Keying
  • Integrated Window System
  • A subset of OpenGL API (Mesa)

Sources:

Wikipedia (DirectFB)

DirectFB - eLinux.org

60 questions
1
vote
1 answer

How do I get the ID of the X Window created by DirectFB?

I'm developing for a program that uses DirectFB and GStreamer-0.10. I'm using gst_x_overlay_set_xwindow_id() from the gstxoverlay library of GStreamer to tell GStreamer to render to the window created by DirectFB. gst_x_overlay_set_xwindow_id()…
Alex
  • 109
  • 11
1
vote
1 answer

DirectFB tutorial invalid argument

I don't seem to be able to launch DirectFB so that it would start without problems. I get "invalid argument" when ever I try to access functions after DFBCHECK (DirectFBCreate (&dfb)); I try to run simple example from tutorials. Code is bellow: …
user2771538
  • 103
  • 1
  • 10
1
vote
1 answer

How to run this DFB image example on Ubuntu 12.04 64-bit with DirectFB 1.6.3?

This same example runs with no problem in my older Ubuntu 10.10 with DirectFB 1.4.11 and shows a yellow line in the center of the black screen: #include #include #include #include using namespace…
The Student
  • 27,520
  • 68
  • 161
  • 264
1
vote
1 answer

What's wrong with this DirectFB Blit example?

I got the directfb image example, and I'm trying to blit an image, as stated here. So, this is my code: #include #include #include static IDirectFB *dfb = NULL; static IDirectFBSurface *primary = NULL; static int…
The Student
  • 27,520
  • 68
  • 161
  • 264
1
vote
1 answer

FATAL: Module fusion not found

I am trying to build Linux Fusion for DirectFB. I downloaded it from directfb.org . The steps are described in README. They are asking for modprobe fusion after make and make install. When i run this command i get the error: Module Fusion not…
Radha
  • 53
  • 1
  • 8
1
vote
1 answer

why the code return 23

In the tutorials of directfb, the link is Simple fullscreen application that draws a horizontal line My question is why it return 23? in ASCII, 23 means ETB, what's the reason to return ETB? It confuses me. Thanks.
nonocast
  • 517
  • 4
  • 14
1
vote
0 answers

Mesa3D Without X

I've spent the past 2 days searching this topic and I haven't found any up-to-date answers. I have a test project that is being based on the latest development LFS (based on Kernel 3.4.1) but without installing the X server. And I'd like to build an…
0
votes
1 answer

SDL app using DirectFB error: No available video device

I'm hoping this is something simple. I am writing an app for an embedded linux platform from my Ubuntu linux desktop. The app itself works fine under X11. I can also get it to work using the fbcon driver and /dev/fb0. However, if I…
Jamie Carl
  • 1,206
  • 14
  • 22
0
votes
1 answer

from xserver to xdirectfb

Hi Is it possible to uninstall xserver and use xdirectfb with a tiny window manager - like awesome ? Do I need to compile from source every appllication I want to use with xdirectfb ? From these links, it isn't clear to me…
Massimo
  • 3,171
  • 3
  • 28
  • 41
0
votes
0 answers

When "dfb_gfxcard_stretchblit" will go the software render flow at cobalt 19?

My platform doesn't have gpu, so it uses directfb to draw UI and handle event. It works fine at Cobalt 11.153049. But after I upgrade it from cobalt 11 to cobalt19.lts.3, the directfb will go the software render flow. The API …
Devin
  • 1
  • 2
0
votes
1 answer

Emulate keyboard in linux

I need to emulate a key into a particular process running, i have no control about it's source code and Xserver isn't running, I believe the proc is using directfb to handle keyboard inputs.
user615741
  • 43
  • 5
0
votes
1 answer

Cobalt video Punchthrough not working with DirectFB

We are currently using the cobalt 13.108984 build and are using the DirectFB implementation for a MIPS STB platform. We are currently implementing our starboard player and we are using kSbPlayerOutputModePunchOut. Currently we are not getting the…
0
votes
1 answer

Directfb 1.6.3 Could not set the gamma ramp --> Invalid argument

I am trying to run an application on a Debian Machine. The application is written in C and is using DirectFb. But the directfb part is not working. It gives an error saying "Could not set the gamma ramp --> Invalid argument".I have attached the…
user3909276
  • 61
  • 1
  • 7
0
votes
0 answers

directfb driver not found when using static embedded qt

I want to build static embedded qt. So I performed these steps: 1- In qt-everywhere-opensource-src-4.8.0/mkspecs/qws/linux-arm-gnueabi-g++/qmake.conf file, I added directfb as below: QT_CFLAGS_DIRECTFB = -I${DIRECTFB_DIR}/include/directfb…
ARM
  • 363
  • 1
  • 7
  • 18
0
votes
1 answer

Don't show GUI when run ilixi app on ubuntu 14.04 lts

I'm learning ilixi toolkit. I compiled and install successed source code from guide page When run app sample, app run but don't show gui. What did I missed step or need add new some configure? I use ubuntu 14.04LTS 32 bit, on a virtual machine…
Thtam
  • 21
  • 1
  • 5