[webkit-gtk] webkit-Directfb porting issues over x86

anil v anil.vemulapally at gmail.com
Tue Jan 5 05:18:16 PST 2010


Hi All,

   I have ported webkitGtk-Directfb ( 1.1.15.4 )over ARM platform and
running properly. But I have observed when running Picasa application memory
leaks. I have tried for valgrind over ARM but it doesn't support for ARM.
So i decided to port the webkitGtk on 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

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

Could you please help me how to enable frmabuffer on Ubuntu x86 machine to
run the directfb applications properly.


Thanks,
Anil.V
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20100105/812e0958/attachment.html>


More information about the webkit-gtk mailing list