See my comments below.

Simon Prückl wrote:
> I wrote this yesterday night, but it seems the message did never ever
> reach the mailing list... If you already read this yesterday, sorry
> for that.
> 
> Hi all,
> I compiled DirectFB 1.1.1 with standard configuration and tried to run
> some tools.
> Every tool I started resulted in a black screen, sometimes with some
> white or blue flickering for a split part of a second...
> 
> Hardware is a ATI Radeon 9800 XL with radeonfb loaded at boot time.
> When booting I can see a small colored penguin top left, screen
> resolution is 1024x768, vga mode is 792.
> I'm using Arch Linux with 2.6.25 kernel.
> 
> Running e.g. /tools/dfbscreen results in 
>      =======================|  DirectFB 1.1.1  |
> =======================
>           (c) 2001-2007  The DirectFB Organization (directfb.org)
>           (c) 2000-2004  Convergence (integrated media) GmbH
>         ------------------------------------------------------------
> 
> (*) DirectFB/Core: Single Application Core. (2008-05-20 07:50) 
> (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 3381)...
> (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 3382)...
> (*) DirectFB/Input: Keyboard 0.9 (directfb.org)
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 3383)...
> (*) DirectFB/Input: Macintosh mouse button emulatio (1) 0.1
> (directfb.org)
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 3384)...
> (*) DirectFB/Input: AT Translated Set 2 keyboard (2) 0.1
> (directfb.org)
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 3385)...
> (*) DirectFB/Input: Power Button (FF) (3) 0.1 (directfb.org)
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 3386)...
> (*) DirectFB/Input: Power Button (CM) (4) 0.1 (directfb.org)
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 3387)...
> (*) DirectFB/Input: PC Speaker (5) 0.1 (directfb.org)
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 3388)...
> (*) DirectFB/Input: ImPS/2 Generic Wheel Mouse (6) 0.1 (directfb.org)
> (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 3389)...
> (*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
> (*) DirectFB/Genefx: MMX detected and enabled
> (*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
> (*) DirectFB/Core/WM: Default 0.3 (directfb.org)
> (*) FBDev/Mode: Testing 640x480 RGB24
> (*) FBDev/Mode: Preparing switch to 640x480 RGB24
> (*) FBDev/Mode: Testing 640x480 RGB24
> (*) FBDev/Mode: Preparing switch to 640x480 RGB24
> (*) FBDev/Mode: Testing 640x480 RGB24
> (*) FBDev/Mode: Preparing switch to 640x480 RGB24
> (*) FBDev/Mode: Testing 640x480 RGB24
> (*) FBDev/Mode: Preparing switch to 640x480 RGB24
> (*) FBDev/Mode: Testing 640x480 RGB24
> (*) FBDev/Mode: Preparing switch to 640x480 RGB24
> (*) FBDev/Surface: Allocated 640x480 24bit RGB24 buffer at offset 0
> and pitch 3072.
> (*) FBDev/Mode: (Post)Setting 640x480 RGB24
> (*) FBDev/Mode: Switched to 1024x768 (1024x768) at 24 bit RGB24
> (wanted RGB24).
> (!) DirectFB/FBDev: Panning display failed (x=0 y=0 ywrap=0 vbl=0)!
>     --> Invalid argument
> (*) FBDev/Mode: Testing 640x480 RGB24
> (*) FBDev/Mode: Preparing switch to 640x480 RGB24
> (*) FBDev/Mode: (Post)Setting 640x480 RGB24
> 

Try vga=791.

> 
> during this, the screen stays black without anything on it, just black
> black and black.
> 
> lsmod | grep radeon says
> [EMAIL PROTECTED] tools]# lsmod | grep radeon
> radeonfb              108864  0 
> fb_ddc                  2432  1 radeonfb
> i2c_algo_bit            6020  1 radeonfb
> i2c_core               19348  4 radeonfb,fb_ddc,i2c_algo_bit,i2c_i801
> 
> 
> fbset -i says:
> [EMAIL PROTECTED] tools]# fbset -i
> 
> mode "1024x768-76"
>     # D: 78.653 MHz, H: 59.949 kHz, V: 75.694 Hz
>     geometry 1024 768 1024 768 24
>     timings 12714 128 32 16 4 128 4
>     rgba 8/16,8/8,8/0,0/0
> endmode
> 
> Frame buffer device information:
>     Name        : VESA VGA
>     Address     : 0xe8000000
>     Size        : 4718592
>     Type        : PACKED PIXELS
>     Visual      : TRUECOLOR
>     XPanStep    : 0
>     YPanStep    : 0
>     YWrapStep   : 0
>     LineLength  : 3072
>     Accelerator : No
> 
> 
> boot entry looks like that:
> image=/boot/vmlinuz-mod
>         label=arch-fb
>         append="video=radeonfb:ywrap,mtrr"
>         root=/dev/sda2
>         vga=792
>         initrd=/boot/kernel26-mod.img
>         read-only
> 

If vesafb is compiled in, loading radeonfb from module will never work.
Moreover the standard radeonfb provided by the official linux kernel is
buggy with newer radeons. 
If you want (working) hardware acceleration, you should apply the patch
named radeonfb-r300fix (under DirectFB/patches) and rebuild the kernel
with radeonfb compiled in.

> 
> That's it. If i can provide you any information you need, just tell
> me, I'd really need to get directfb running...
> 
> Thanks in advance,
> regards
> Simon Prückl
> 


-- 
Claudio Ciccani
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://directfb.org


_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to