5 - Hardware YUV overlays
6 - OpenGL - software only
7 - 2D/3D accelerations (depends on directfb driver)
13 DirectFB 1.0.1, 1.2.x, 1.3.0
14 Kernel-Framebuffer support: required: vesafb, radeonfb ....
15 Mesa 7.0.x - optional for OpenGL
19 This file should contain the following lines to make
20 your joystick work and avoid crashes:
21 ------------------------
22 disable-module=joystick
24 disable-module=cyber5k
26 ------------------------
28 To disable to use x11 backend when DISPLAY variable is found use
30 export SDL_DIRECTFB_X11_CHECK=0
32 To disable the use of linux input devices, i.e. multimice/multikeyboard support,
35 export SDL_DIRECTFB_LINUX_INPUT=0
37 To use hardware accelerated YUV-overlays for YUV-textures, use:
39 export SDL_DIRECTFB_YUV_DIRECT=1
41 This is disabled by default. It will only support one
42 YUV texture, namely the first. Every other YUV texture will be
45 In addition, you may use (directfb-1.2.x)
47 export SDL_DIRECTFB_YUV_UNDERLAY=1
49 to make the YUV texture an underlay. This will make the cursor to
55 The driver has support for a very, very basic window manager you may
56 want to use when runnning with "wm=default". Use
58 export SDL_DIRECTFB_WM=1
60 to enable basic window borders. In order to have the window title rendered,
61 you need to have the following font installed:
63 /usr/share/fonts/truetype/freefont/FreeSans.ttf
68 The following instructions will give you *software* opengl. However this
69 works at least on all directfb supported platforms.
71 As of this writing 20100802 you need to pull Mesa from git and do the following:
73 ------------------------
74 git clone git://anongit.freedesktop.org/git/mesa/mesa
76 git checkout 2c9fdaf7292423c157fc79b5ce43f0f199dd753a
77 ------------------------
79 Edit configs/linux-directfb so that the Directories-section looks like
80 ------------------------
84 DRIVER_DIRS = directfb
86 ------------------------
91 echo Installing - please enter sudo pw.
93 sudo make install INSTALL_DIR=/usr/local/dfb_GL
94 cd src/mesa/drivers/directfb
96 sudo make install INSTALL_DIR=/usr/local/dfb_GL
97 ------------------------
99 To run the SDL - testprograms:
101 export SDL_VIDEODRIVER=directfb
102 export LD_LIBRARY_PATH=/usr/local/dfb_GL/lib
103 export LD_PRELOAD=/usr/local/dfb_GL/libGL.so.7