Sponsored Content
Operating Systems Linux Red Hat DirectFb installation & accelerator not recognised Post 302321950 by sifar on Tuesday 2nd of June 2009 11:35:59 AM
Old 06-02-2009
DirectFb installation & accelerator not recognised

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 the accelerator as Unknown(46). The output for dfbinfo is also pasted below.

How do I test to know whether the hardware is getting used. When I play any of the Directfb examples with “--dfb:no-software” option, the screen goes blank. Otherwise it play well on the screen.


Can anyone help me on this.

fbset -I output
mode "1280x1024-60"
# D: 108.003 MHz, H: 63.983 kHz, V: 60.021 Hz
geometry 1280 1024 1280 32767 8
timings 9259 248 48 38 1 112 3
hsync high
vsync high
accel true
rgba 8/0,8/0,8/0,0/0
endmode

Frame buffer device information:
Name : NV3d
Address : 0xe0000000
Size : 268435456
Type : PACKED PIXELS
Visual : PSEUDOCOLOR
XPanStep : 8
YPanStep : 1
YWrapStep : 0
LineLength : 1280
MMIO Address: 0xfb000000
MMIO Size : 16777216
Accelerator : Unknown (46)

dfbinfo output:
(*) DirectFB/Core: Single Application Core. (2009-06-02 09:16)
(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] <8388608>...
(*) Direct/Thread: Started 'PS/2 Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: ImPS/2 Generic Wheel Mouse (1) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (26683) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: AT Translated Set 2 keyboard (2) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: PC Speaker (3) 0.1 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: nVidia NV4C (04c0) 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Setting 640x480 LUT8
(*) FBDev/Mode: Switched to 640x480 (virtual 640x480) at 8 bit (LUT8), pitch 640
(*) FBDev/Surface: Allocated 640x480 8 bit LUT8 buffer (index 0) at offset 0 and pitch 640.

Screen (00) NVidia Primary Screen (primary screen)
Caps: VSYNC POWER_MANAGEMENT

Layer (00) FBDev Primary Layer (primary layer)
Type: GRAPHICS
Caps: SURFACE BRIGHTNESS CONTRAST SATURATION

Layer (01) NVidia Overlay
Type: VIDEO STILL_PICTURE
Caps: SURFACE SCREEN_LOCATION DEINTERLACING DST_COLORKEY BRIGHTNESS CONTRAST HUE SATURATION SCREEN_POSITION SCREEN_SIZE
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Installing a modem on a serial accelerator ports

I had been using a modem installed on a Digi accelerator port to dial in to an SCO open server r5 server. On monday it quit working and I realy don't know how it was installed and configured. I have tested the modem on a PC and it works. The port the modem is connected to is ttyB06 and I have... (1 Reply)
Discussion started by: kikkin
1 Replies

2. Linux

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 may be my DirectFBs config is not right? video by framebuffer or X works successfully (0 Replies)
Discussion started by: eugrus
0 Replies

3. AIX

New disk not being recognised

Hi, I've replaced hdisk0 in a Blade server but am having problems re-enabling the mirror as it appears the configuration database is not recognising the new disk. The first 2 steps to re-enable the mirror fail: $ extendvg rootvg hdisk0 0516-008 extendvg: LVM system call returned an unknown... (10 Replies)
Discussion started by: m223464
10 Replies

4. SCO

newbie - CUPS installation & C compiler

Ok new in here so be gentle: I'm a programmer with the need to also be a sys admin on a box running: Client has purchased a Kyocera KM-4035 do it all machine. However, no driver exists for SCO and when I contacted their Kyocera rep he told me to install CUPS. I downloaded CUPS and ran... (2 Replies)
Discussion started by: bbxguy
2 Replies

5. Ubuntu

How to install Directfb

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

6. Linux

Error while executing Directfb program on ubuntu

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

7. Red Hat

RPM Installation & Removal issue

Hi, I created an RPM for one of our internal serer: tel-gw--2010.05.1.0-SNAPSHOT-1.rpm What happened I Installed for 5 times, and it get installed (/usr/tel-gw/) & added 5 entries into rpm db. And when I query RPM db as "rpm -qa | grep tel-gw--2010.05.1.0-SNAPSHOT-1", it shows 5 times in... (0 Replies)
Discussion started by: jw_amp
0 Replies

8. Programming

Error compiling GTK Accelerator (C programming)

I believe this may be a difference in GTK+-2.0 and GTK+-3.0. I followed this tutorial and ended up with this error: # gcc -Wall -g mnemonics.c -o mnemonics `pkg-config --cflags gtk+-3.0` `pkg-config --libs gtk+-3.0` mnemonics.c: In function ‘main': mnemonics.c:44:61: error: ‘GDK_q' undeclared... (3 Replies)
Discussion started by: Azrael
3 Replies

9. UNIX Desktop Questions & Answers

Difference between opengl es and directfb

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
fbset(1)						     Linux frame buffer utils							  fbset(1)

NAME
fbset - show and modify frame buffer device settings SYNOPSIS
fbset [options] [mode] DESCRIPTION
fbset is a system utility to show or change the settings of the frame buffer device. The frame buffer device provides a simple and unique interface to access different kinds of graphic displays. Frame buffer devices are accessed via special device nodes located in the /dev directory. The naming scheme for these nodes is always fb/<n> or fb<n>, where n is the number of the used frame buffer device. fbset uses an own video mode database located in /etc/fb.modes. An unlimited number of video modes can be defined in this database. For further information see fb.modes(5). OPTIONS
If no option is given, fbset will display the current frame buffer settings. General options: --help, -h display an usage information --test don't change, just test whether the mode is valid --show, -s display the video mode settings. This is default if no further option or only a frame buffer device via -fb is given --info, -i display all available frame buffer information --verbose, -v display information what fbset is currently doing --version, -V display the version information about fbset --xfree86, -x display the timing information as it's needed by XFree86 Frame buffer device nodes: --all, -a change all virtual consoles on this device -fb <device> device gives the frame buffer device node. If no device via -fb is given, /dev/fb/0 or /dev/fb0 is used Video mode database: -db <file> set an alternative video mode database file (default is /etc/fb.modes), see also fb.modes(5) Display bitfield colors: -rgba <red,green,blue,alpha> each in length or length/offset color format Display geometry: -xres <value> set visible horizontal resolution (in pixels) -yres <value> set visible vertical resolution (in pixels) -vxres <value> set virtual horizontal resolution (in pixels) -vyres <value> set virtual vertical resolution (in pixels) -depth <value> set display depth (in bits per pixel) -nonstd <value> select nonstandard video mode --geometry, -g ... set all geometry parameters at once in the order <xres> <yres> <vxres> <vyres> <depth>, e.g. -g 640 400 640 400 4 -match make the physical resolution match the virtual resolution Display timings: -pixclock <value> set the length of one pixel (in picoseconds). Note that the frame buffer device may only support some pixel lengths -left <value> set left margin (in pixels) -right <value> set right margin (in pixels) -upper <value> set upper margin (in pixel lines) -lower <value> set lower margin (in pixel lines) -hslen <value> set horizontal sync length (in pixels) -vslen <value> set vertical sync length (in pixel lines) --timings, -t ... set all timing parameters at once in the order <pixclock> <left> <right> <upper> <lower> <hslen> <vslen>, e.g. -t 35242 64 96 35 12 112 2 Display flags: -accel {false|true} set hardware text acceleration enable -hsync {low|high} set the horizontal sync polarity -vsync {low|high} set the vertical sync polarity -csync {low|high} set the composite sync polarity -gsync {false|true} set synch on green -extsync {false|true} enable or disable external resync. If enabled the sync timings are not generated by the frame buffer device and must be pro- vided externally instead. Note that this option may not be supported by every frame buffer device -bcast {false|true} enable or disable broadcast modes. If enabled the frame buffer generates the exact timings for several broadcast modes (e.g. PAL or NTSC). Note that this option may not be supported by every frame buffer device -laced {false|true} enable or disable interlace. If enabled the display will be split in two frames, each frame contains only even and odd lines respectively. These two frames will be displayed alternating, this way twice the lines can be displayed and the vertical fre- quency for the monitor stays the same, but the visible vertical frequency gets halved -double {false|true} enable or disable doublescan. If enabled every line will be displayed twice and this way the horizontal frequency can easily be doubled, so that the same resolution can be displayed on different monitors, even if the horizontal frequency specifica- tion differs. Note that this option may not be supported by every frame buffer device Display positioning: -move {left|right|up|down} move the visible part of the display in the specified direction -step <value> set step size for display positioning (in pixels or pixel lines), if -step is not given display will be moved 8 pixels hori- zontally or 2 pixel lines vertically EXAMPLE
To set the used video mode for X insert the following in rc.local: fbset -fb /dev/fb0 640x480-60 and make the used frame buffer device known to X: export FRAMEBUFFER=/dev/fb0 FILES
/dev/fb* /etc/fb.modes SEE ALSO
fb.modes(5), fbdev(4), /usr/share/doc/fbset/FAQ.gz AUTHORS
Geert Uytterhoeven <Geert.Uytterhoeven@cs.kuleuven.ac.be> Roman Zippel <zippel@fh-brandenburg.de> man files 2.1 2010-04-12 fbset(1)
All times are GMT -4. The time now is 07:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy