Skip to content
EntityQ978940· pop 10· linked from 24 articles

bibliothèque multimédia pour GNU/Linux

In the Vinony graph

Within Vinony's link graph, DirectFB is referenced by 24 other articles, and connects out to Direct Rendering Manager, Linux and operating system.

Vinony files it under Free computer libraries, Graphics libraries and Linux APIs.

Its subject is documented across 10 Wikipedia language editions.

Key facts

Software.name
DirectFB2
Software.author
Denis Oliver Kropp
Software.latest release version
1.7.7
Software.programming language
C
Software.operating system
Linux, macOS
Software.genre
Library
Software.license
LGPLv2+
Software.website
(archive.org)
Software.discontinued
no
Software.developer
Nicolas Caramelli

via Wikipedia infobox

Source code

Using SDL (without acceleration support), DirectFB also supports the following operating systems: FreeBSD (last tested: DirectFB 0.9.21 on FreeBSD 5.2) NetBSD (tested on NetBSD 1.6) OpenBSD (tested on OpenBSD 3.2) (If you have problems, try ./configure --disable-mmx) We do not have the resources to ensure that every release of DirectFB works on all supported platforms. If you are a user of one of the operating system listed above, and have the time to test the CVS or GIT version regularly, your help is greatly appreciated. FBDev Linux kernel 2.2.x or newer with working frame buffer device (check /proc/fb) for the fbdev system. X11 libX11 (X11 client library) for the X11 system (libx11-dev and libxext-dev packages). The multi application core also requires , see the section "Running multiple DirectFB applications" for more details. The build of the image and font providers can be disabled but we strongly suggest that you don't do this since the code examples and a lot of DirectFB applications depend on the functionality provided by them. The libmpeg3 video provider requires the libmpeg3 library which is not commonly installed. We provide this package on our web-site at The avifile and flash video providers that used to be shipped with DirectFB have been moved to the DirectFB-extra package. We suggest you also install pkg-config available from It will help you to compile applications based on DirectFB. Using the single application core you always need access to /dev/tty0, /dev/fb0 and the mouse device (/dev/psaux, /dev/mouse). You can either run all DirectFB applications as root or allow users to access these devices. A reasonable way to do this is to add users to the group tty (or some other group) and allow this group to read and write the files in /dev: If you are using the multi application core, only the master process needs access to all of these devices. Additional processes (slaves) just need access to /dev/fb0 and: Note that the master creates a shared memory file, probably in '/dev/shm/fusion.0'. It's read/writeable for anyone matching the master process' user or group. Some applications from the DirectFB-examples package have additional requirements: A video card supported by video4linux for df video. A joystick for df joystick. With the default build of the DirectFB library, only one DirectFB application may be running. However you have the option to use the multi application core of DirectFB which allows multiple DirectFB applications to run at the same time within a session. DirectFB applications communicate through a layer we call "Fusion". This layer was previously implemented completely in user space using semaphores and message queues. But since 0.9.15 the Fusion Kernel Device is required which implements critical parts of Fusion and thus lead to better performance and decent stability. To install this kernel module (only available for Linux yet), find the linux-fusion module in our CVS or GIT repository or on the DirectFB website. For DirectFB 1.4.x releases you should use linux-fusion 8.1.1 or newer. Make sure your Linux kernel supports tmpfs. This is explained in the kernel sources in Documentation/filesystems/tmpfs.txt. Mount a tmpfs filesystem as /dev/shm: Optionally a mount point can be specified via the "tmpfs" option, see directfbrc(5). The option has to be the same for all processes. A good way to test the multi-application core is to install the lite toolkit and DFBTerm, a DirectFB terminal (both available in the DirectFB CVS/GIT repository). You can then start DirectFB applications from dfbterm. To take full advantage of hardware acceleration, a Matrox G200/G400/G450/G550 graphics card is recommend for this version of DirectFB. The drivers for ATI128, Voodoo 3/4/5/Banshee, NeoMagic and S3 Savage cards included with this release are work in progress and only yet support a subset of the possible accelerations. Debugging and especially stack trace support are a performance impact. It

Excerpt from the source-code README · 17,062 chars · not written by Vinony

Wikidata facts

Instance of
free software
Official website
www.directfb.net
Show 5 more facts
programmed in
C
operating system
Linux
source code repository URL
github.com/DirectFB/directfb
Sources (1)

via Wikidata · CC0

Article · Français

DirectFB (pour Direct Frame Buffer en anglais) est une bibliothèque libre pour le système d'exploitation Linux qui fournit à la fois un accès aux composants matériels graphiques (accélération matérielle) ainsi qu'aux périphériques d'entrées, et un système de gestion de fenêtres intégré avec support de la transparence et de calques multiples, tout ceci au travers de l'interface framebuffer de Linux. Cette bibliothèque permet aux développeurs de contourner le serveur X Window qui est utilisé traditionnellement pour les interfaces graphiques sur les plates-formes de type UNIX, et ceci dans le but d'obtenir un affichage nettement plus rapide, ainsi que de simplifier considérablement l'interface de programmation qui est très complexe avec la Xlib. C'est un des backends possibles de la bibliothèque multimédia SDL. DirectFB est souvent utilisé dans les environnements embarqués qui ne pourraient supporter un environnement X Window complet. En 2006, une version de DirectFB a été incluse dans la liste des logiciels pour le (en) comme spécification V2 Audio/Vidéo. DirectFB peut également supporter XDirectFB, une implémentation de l'interface de programmation d'un serveur X qui utilise DirectFB pour le rendu des fenêtres. Il est ainsi possible de faire fonctionner des applications prévues pour X11 avec DirectFB. DirectFB est distribué selon les termes de la licence GNU LGPL. ainsi que le compagnon mobile Palm Foleo utilisent DirectFB. Fin 2021, le projet DirectFB2 se veut de redonner du dynamisme à la bibliothèque. Une présentation est faite au FOSDEM 2022, Une bibliothèque d'interface graphique appelée LiTE se base sur cette bibliothèque pour fournir une interface légère à destination de l'embarqué. DirectFB2 peut utiliser au choix le Linux Framebuffer ou bien les KMS/DRM.

Abstract from DBpedia / Wikipedia · CC BY-SA

Available in 10 languages

via Wikidata sitelinks · CC0

Connections

Categories