01-15-2005
Problem with initializing DirectFB by Links
DirectFB-0.9.20 is compiled --with-gfxdrivers=all
links-2.1pre15 is compiled with --enable-graphics
there is a problem when I am trying to run Links using DirectFB video driver
Quote:
[root@eugrus eugrus]# links -g -driver directfb
(*) parsing config file '/etc/directfbrc'.
(*) Single Application Core. (with MMX support) (2005-01-03 17:23)
(*) DirectFB/misc/memcpy: using MMXEXT optimized memcpy()
(*) DirectFB/InputDevice: IMPS/2 Mouse 0.9 (convergence integrated media GmbH)
(*) DirectFB/InputDevice: Keyboard 0.9 (convergence integrated media GmbH)
(*) MMX detected and enabled
(*) DirectFB/GraphicsDevice: MMX Software Rasterizer 0.6 (convergence integrated media GmbH)
(!) DirectFB/Core/layers: Setting default/last configuration failed!
(!) DirectFB/Core/layers: Failed to enable primary layer!
(!) DirectFB/Core: Could not initialize 'layers' core!
--> Not supported!
(!) DirectFB/core/vt: Unable to disallocate VT!
--> Device or resource busy
(!) DirectFB/Core: Error during initialization (Not supported!)
Could not initialize graphics driver directfb:
Not supported!
may be my DirectFBs config is not right?
Quote:
[eugrus@eugrus eugrus]$ more /etc/directfbrc
system=fbdev
mode=800x600
depth=16
no-banner
hardware
vt-switching
mouse-protocol=MS3
video by framebuffer or X works successfully
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Someone told me that Links where useful in Unix, but when I asked them how, he couldn't tell me... All he told me was, "well you can use hard-link or symbolic link".
When I asked him what were the diference, he told me that there is no real difference.
Can you please tell enlighten... (3 Replies)
Discussion started by: mischiefdemon
3 Replies
2. OS X (Apple)
Strangely, chown and chmod don't seem to work on symlinks. In particular, I tried this (as root):
# touch foo
# ln -s foo mysymlink
# chown SOMEUSER mysymlink
as well as changing the last line to:
# chown -h someuser mysymlink
where "-h" is supposed to change the UID of the actualy... (1 Reply)
Discussion started by: noahcowan
1 Replies
3. Programming
Hello,
I'm working on an application that bridges together several applications involved in creating a video workflow for editing with digital cinema cameras. The main platform is MacOSX.
Because of the nature of some of the utilities for working with this video footage I must spoof filenames... (2 Replies)
Discussion started by: ibloom
2 Replies
4. Shell Programming and Scripting
Problem with links programm.
Hi!
I write sctipt for aytomatic checking into IE stas.html ->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<script type="text/javascript" src="newdata.submit()"></script>
</head>
<body... (1 Reply)
Discussion started by: beckss
1 Replies
5. Red Hat
Hi,
I installed DirectFb on fedora 7, the machine has a Nvidia graphics card. The installation was successful and I can play the examples provided by the Direct fb website, but, I find that the accelarator is not getting recognised. when I do "fbset -i", the details shown are as below, it gives... (0 Replies)
Discussion started by: sifar
0 Replies
6. Ubuntu
Hi,,
i followed some steps to install Directfb which are below,,
tar -xvf DirectFB-1.2.8.tar.gz
tar -xvf linux-fusion-8.1.1.tar.gz
tar -xvf DirectFB-Examples-1.2.0.tar.gz
cd linux-fusion-8.1.1 make && sudo make install
sudo su -
echo fusion >> /etc/initramfs-tools/modules ... (0 Replies)
Discussion started by: Ravikishore
0 Replies
7. Linux
Hi ,
I am getting error while executing Directfb program on ubuntu ,,
my program is :
#include <stdio.h>
#include <unistd.h>
#include <directfb.h>
static IDirectFB *dfb = NULL;
static IDirectFBSurface *primary = NULL;
static int screen_width = 0;
static int screen_height... (0 Replies)
Discussion started by: Ravikishore
0 Replies
8. UNIX Desktop Questions & Answers
i dont know in which forum to ask this question ..... :( . pardon me if it is not this forum
i wanted to know difference between openGL ES and directfb
as far i know directfb is alternative to x11 in linux for embedded devices. something like ...
application
|
... (1 Reply)
Discussion started by: alexzander18
1 Replies
LEARN ABOUT SUSE
directfb-csource
DIRECTFB-CSOURCE(1) DirectFB Manual Pages DIRECTFB-CSOURCE(1)
NAME
directfb-csource - C code generation utility for DirectFB surfaces
SYNOPSIS
directfb-csource [options] <imagefiles>
DESCRIPTION
directfb-csource is a small utility that reads PNG (Portable Network Graphics) image files and generates C code that can be used to compile
an image into a DirectFB application. Below is a simple example to illustrate this.
If multiple PNG image files are passed to directfb-csource, they are combined into a single surface. The different images can then be blit-
ted from this surface using the array of rectangles that is also dumped. This can be useful for example for icons or sprites.
OPTIONS
--name=identifier
Specifies the identifier name (prefix) for the generated variables. If this option is not used, the identifier is generated from
the filename. You have to specify an identifer name when processing multiple images.
--format=pixelformat
Specifies the pixel-format of the generated inline surface. Possible values are ARGB, RGB32, RGB24, RGB16, RGB15, RGB332, A8 and
LUT8. By default the format is ARGB if the PNG image has an alpha channel or RGB32 otherwise.
--version
Output version information.
--help Print brief help and exit.
EXAMPLE
Generate a header file from a PNG image file:
directfb-csource --name=foo foo.png > foo.h
Include the generated header in your application and create a surface using the surface description from the header file:
#include <directfb.h>
#include "foo.h"
IDirectFB *dfb;
IDirectFBSurface *surface;
...
dfb->CreateSurface( dfb, &foo_desc, &surface );
OTHER INFO
directfb-csource was inspired by and uses code from gdk-pixbuf-csource, a similar program written by Tim Janik.
The canonical place to find informations about DirectFB is at http://www.directfb.org/.
Version 1.2.9 24 Oct 2003 DIRECTFB-CSOURCE(1)