Hi there,

I am trying to get DirectFB0.9.20 work on my Linux system, I got
following problems:

Fedora Linux with kernel 2.6.5.358smp, Intel P4 CPU.
Video chipset: Radeon 7000/VE on the motherboard with dedicated RAM

The kernel has a default configuration with all framer buffer support.
But "fbset -i" command returns no /dev/fb0 device found. Is this because
no vesafb or radeonfb is installed yet?

I continued with DirectFB installation:

I hand-added following line into /usr/include/linux/fb.h
#define FB_ACCEL_ATI_RADEON     38      /* ATI Radeon family
*/

After I installed DirectFB-0.9.20. I run "modprobe radeonfb" 

and "fbset -i" returns:

 mode "640x480-60"
 # D: 25.176 MHz, H: 31.469 kHz, V: 59.942 Hz
 geometry 640 480 640 480 8
 timings 39721 40 24 32 11 96 2
 rgba 8/0,8/0,8/0,0/0
 endmode

 Frame buffer device information:
 Name : Radeon QY VE
 Address : 0xd0000000
 Size : 16777216
 Type : PACKED PIXELS
 Visual : PSEUDOCOLOR
 XPanStep : 8
 YPanStep : 1
 YWrapStep : 0
 LineLength : 640
 MMIO Address: 0xdf5f0000
 MMIO Size : 16384
 Accelerator : Unknown (38)

Why did I get an "Unkown"?  
Is the hardware acceleration on or off?  

Where does the source for radeonfb.ko originally come from, Fedora
source or DirectFB0.9.20?  

I found on the Internet that some people were talking about radeonfb has
a default no acceleration setting for some reason. I have my radeonfb.ko
as a module, can I modprobe radeonfb with option like noaccel=1/0/yes/no
to turn it on if it is not on by default?

I go ahead run the sample code from directfb.org, it sends me a black
screen, and I have to hard-reset my computer.

Thanks again for your help!

--haiming wang


Reply via email to