Hi All,
I am trying to port the DirectFb & sample applications on to my x86
machine and enabled framebuffer as mentioned below.
1. I have commented *intelfb, vesafb, vfb, vga16fb* from
blacklist-framebuffer.conf
2. added these modules in inramfs.conf and update initramfs
3. added the vga=0x317 to the bootargs
4. rebooted the machine after that i have found that /dev/fb0 && /dev/fb1
After above steps I have compiled the directfb and examples for x86. When I
run the df_andi i got the below error messages.
==============================
===================================================================
*# df_andi
=======================| DirectFB 1.0.1 |=======================
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2008-11-12 15:27)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 24114)...
(*) Direct/Thread: Running 'Linux Input' (INPUT, 24352)...
(*) DirectFB/Input: Macintosh mouse button emulatio (1) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 24353)...
(*) DirectFB/Input: AT Translated Set 2 keyboard (2) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 24354)...
(*) DirectFB/Input: PS/2+USB Mouse (3) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 24355)...
(*) DirectFB/Input: Power Button (FF) (4) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 24356)...
(*) DirectFB/Input: Power Button (CM) (5) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 24357)...
(*) DirectFB/Input: PC Speaker (6) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 24358)...
(*) DirectFB/Input: Sleep Button (CM) (7) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 24359)...
(*) DirectFB/Input: Lid Switch (8) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 24360)...
(*) DirectFB/Input: Video Bus (9) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 24361)...
(*) DirectFB/Input: Video Bus (10) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 24362)...
(*) DirectFB/Input: SynPS/2 Synaptics TouchPad (11) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 24363)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 24364)...
(*) 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/FBDev: No supported modes found in /etc/fb.modes and current
mode not supported!
(!) DirectFB/FBDev: Current mode's pixelformat: rgba 6/0, 6/0, 6/0, 0/0
(4bit)
(!) DirectFB/Core/layers: Failed to initialize layer 0!
--> Initialization error!
(!) DirectFB/Core: Could not initialize 'layers' core!
--> Initialization error!
df_andi.c <462>:
(#) DirectFBError [DirectFBCreate( &dfb )]: Initialization error!
=================================================================================================
*
Please find my framebuffer info
*# hwinfo --framebuffer*
02: None 00.0: 11001 VESA Framebuffer
[Created at bios.447]
Unique ID: rdCR.pM4x9oRqolF
Hardware Class: framebuffer
Model: "Intel(r)Crestline Graphics Chip Accelerated VGA BIOS
Intel(r)Crestline Graphics Controller"
Vendor: "Intel Corporation"
Device: "Intel(r)Crestline Graphics Controller"
SubVendor: "Intel(r)Crestline Graphics Chip Accelerated VGA BIOS"
SubDevice:
Revision: "Hardware Version 0.0"
Memory Size: 7 MB + 448 kB
Memory Range: 0xd0000000-0xd076ffff (rw)
Mode 0x0305: 1024x768 (+1024), 8 bits
Mode 0x0317: 1024x768 (+2048), 16 bits
Mode 0x0318: 1024x768 (+4096), 24 bits
Mode 0x0312: 640x480 (+2560), 24 bits
Mode 0x0314: 800x600 (+1600), 16 bits
Mode 0x0315: 800x600 (+3200), 24 bits
Mode 0x0301: 640x480 (+640), 8 bits
Mode 0x0303: 800x600 (+832), 8 bits
Mode 0x0311: 640x480 (+1280), 16 bits
Config Status: cfg=new, avail=yes, need=no, active=unknown
when I run the fbset -i I am getting the output with
mode "1024x768-76"
# D: 78.653 MHz, H: 59.949 kHz, V: 75.694 Hz
geometry 1024 768 1024 768 16
timings 12714 128 32 16 4 128 4
rgba 5/11,6/5,5/0,0/0
endmode
Frame buffer device information:
Name : VESA VGA
Address : 0xd0000000
Size : 3145728
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 0
YPanStep : 0
YWrapStep : 0
LineLength : 2048
Accelerator : No
Could you please help me how to enable frmabuffer on Ubuntu x86 machine to
run the directfb sample applications properly.
Thanks,
Anil.V
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users