Woody Wu | 29 Jul 05:39 2013
Picon

No supported modes found in /etc/fb.modes

Hi, List

I am trying to run some directfb examples programs on ARM platform. The
directfb libraries and examples binaries are come from buildroot and
also built by builtroot.  None of these examples can run with success,
they all reported the same error on my target machine: No supported
modes found in /etc/fb.modes.

I tried to dump my 'fbset' output the the /etc/fb.modes:

mode "800x480-535209"
        # D: 250000.000 MHz, H: 283125.708 kHz, V: 535209.278 Hz
        geometry 800 480 800 480 32
        timings 4 19 37 10 26 27 13
        accel false
        rgba 8/16,8/8,8/0,0/0
endmode

But, the error still the same. I also tried to input some basic settings
in /etc/directfbrc, also got the same error.

On the other hand, my frame buffer device /etc/fb0 should be okay, since
I can run other graphic programs on it, such as fbv (a framebuffer
picture viwer).

What's the most possible reason to cause the error?  I enclosed in the
email the whole 'strace' output when I run the example program, hope
someone can have a look into it.

Another relative question: why I saw that directfb trying to open
(Continue reading)

VijayKumar N | 26 Jul 16:09 2013
Picon

direct_trace_lookup_symbol_at() is returning NULL in DFB-1.6.3 in multi-app mode

 I was successful in bringing up DFB-1.4.17 7 & DFB-1.5.3 with linux-fusion versions 8.7.0 & 8.10.4 respectively on Set Top Box platform.
Now I am bringing up DFB-1.6.3  in multi-app mode with linux-fusion-9.0.0 on the same platform.
While bringing up DFB-1.6.3,especially when master process is getting initialized, I found that the exported function Core_AsyncCall_Handler passed in as argument to  fusion_call_init() .In this function fusion_call_init() the handler is being resolved using direct_trace_lookup_symbol_at().However I am observing that the direct_trace_lookup_symbol_at() is returning NULL.This is happening for both enable-debug & disable-debug variants for all the shared functions exported using fusion_call_init() & fusion_call_init3().Later when slave process initializing DFB its invoking shared functions via fusion message loop thread.Now it doesn't execute the  shared functions.As a result all the fusionees are getting destroyed.


Master Logs:
.
.
 0  0:00:46 |(-) [Main Thread       45.523,159] ( 2547) Fusion/SHMPool:            fusion_shm_pool_allocate( 0x500100c4, 44, clear, 0x7fa50660 )
 0  0:00:46 |(-) [Main Thread       45.523,346] ( 2547) Fusion/SHMHeap:            __shmalloc_brk( 0x510a0000, 0 )
 0  0:00:46 |(-) [Main Thread       45.523,426] ( 2547) Fusion/SHMHeap:            _fusion_shmalloc( 0x510a0000, 44 )
 0  0:00:46 |(-) [Main Thread       45.523,920] ( 2547) Fusion/Call:               fusion_call_init3( 0x510a5034, 0x2b5443b8 <(null)>, 0xa0bf80, 0xa0bb98 )
 0  0:00:46 |(-) [Main Thread       45.524,311] ( 2547) Fusion/Call:                 -> call id 2
 0  0:00:46 |(-) [Main Thread       45.524,880] ( 2547) DirectFB/Core:             ICore_Real::Initialize()
 0  0:00:46 |(-) [Main Thread       45.525,468] ( 2547) Fusion/SHMPool:            fusion_shm_pool_create( 0xa0bb98 [0], 'DirectFB Data Pool', 16777216, 0x510a5030, non-debug )
 0  0:00:46 |(-) [Main Thread       45.525,623] ( 2547) Fusion/SHMPool:              -> index 2
 0  0:00:46 |(-) [Main Thread       45.525,700] ( 2547) Fusion/SHMPool:            init_pool( 0xa0bbd0, 0xa0bc0c, 0x5001010c, 'DirectFB Data Pool', 16777216, non-debug )
 0  0:00:46 |(-) [Main Thread       45.525,886] ( 2547) Fusion/SHMHeap:            __shmalloc_init_heap( 0xa0bbd0, '/dev/fusion.0.3', 0x514b0000, 16777216, 0x7fa50580 )
 0  0:00:46 |(-) [Main Thread       45.526,163] ( 2547) Fusion/SHMHeap:              -> opening shared memory file '/dev/fusion.0.3'...
 0  0:00:46 |(-) [Main Thread       45.526,454] ( 2547) Fusion/SHMHeap:              -> mmaping shared memory file... (53248 bytes)
 0  0:00:46 |(-) [Main Thread       45.526,654] ( 2547) Fusion/SHMHeap:              -> done.
.
;
.

Slave Logs:
0  0:04:16 |(-) [Fusion Dispatch  255.333,177] ( 2859) Fusion/Main/Dispatch:        -> FMT_CALL3...
 0  0:04:16 |(-) [Fusion Dispatch  255.345,238] ( 2859) Fusion/Call:               _fusion_call_process3( call_id 2, msg 0xa0e6e8, ptr 0xa0e708)
 0  0:04:16 |(-) [Fusion Dispatch  255.356,294] ( 2859) Fusion/Call:                 -> (null)
 0  0:04:16 |(-) [Fusion Dispatch  255.361,110] ( 2859) DirectFB/CoreDFB:          CoreDFBDispatch::CoreDFBDispatch__Dispatch( 0xa0bf80 )
 0  0:04:16 |Closing connection. No data.

Does anyone have any idea on why this is happening?

Thanks & Regards,
Kumar
_______________________________________________
directfb-dev mailing list
directfb-dev@...
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
jojo | 17 Jun 07:35 2013
Picon

error(Invalid argument!) about for create surface with preallocated memory if the "dsc.preallocated[0].pitch < 0"

Hi,
I want to use directfb to Blit/StretchBlit with my preallocated memory, my preallocated memory's stride is negative (src_stride < 0) and the address "src_data"

is end of source data.

It return error from "CreateSurface", my steps and environment is following:

DFB version : 1.4.0
DFBSurfaceDescription dsc = {0};
     dsc.flags = DSDESC_WIDTH | DSDESC_HEIGHT | DSDESC_PIXELFORMAT | DSDESC_PREALLOCATED | DSDESC_CAPS;
     dsc.pixelformat = DSPF_RGB32;
     dsc.caps = DSCAPS_SYSTEMONLY;

     dsc.width = src_width;
     dsc.height = src_height;
     dsc.preallocated[0].data = src_data;
     dsc.preallocated[0].pitch = src_stride;

     ret = dfb->CreateSurface(dfb, &dsc, &src );
     if (ret != DFB_OK) {
         printf("CreateSurface(src) error(%s)\n", DirectResultString(ret));
         return;
     }

Anyone have ideas about for this ?

Thanks,

- Jojo

_______________________________________________
directfb-users mailing list
directfb-users@...
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
gianluca | 10 Jun 16:08 2013
Picon

Hello to the list

Hello everybody!
I am new to this list, so first of all A VERY BIG HELLO TO EVERYBODY!

Now the little (for you experienced users of DirectFB) question:

* PREAMBLE *
I am trying to run DirectFB program in a windowed mode in X11, using my 
Desktop running Linux Mint 13 - Debian.
I installed everything (from -dev packages to libs...) so I can compile 
and run examples in a windowed mode over Xorg Desktop running MATE 
Desktop (A successor of Gnome).
I created a directfbrc file as following:

system=x11
force-windowed
mode=800x480
scaled=800x480

and the every application seems to run fine, with a strange behaviour 
when grabbing the mouse.
I clearly see two mouse arrows: one jumping aroud the application window 
and another one is following my mouse movement.
I can say my cursor is giving the application the event, but it is very 
annoying to see two (or even more) objects onto screen when I move the 
mouse.

Any help, clue, or what ever to disable this "feature"?

The same problem occurs when I run Qt-Embedded DirectFB window mode 
application with -qws option, so I can say it is a DirectFB issue and 
not Qt issue.

Best regards
-- 
            ,,,
           (o o)
======oOO==(_)==OOo======

Gianluca Renzi
R&D
phone: +39.0542.609120
fax:   +39.0542.609212

       .oooO  Oooo.
======(   )==(   )=======
        \ (    ) /
         \_)  (_/

===================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
  \ source code!  /
   ---------------
     ¯\_(".)_/¯
_______________________________________________
directfb-users mailing list
directfb-users <at> directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
jojo | 8 Jun 09:03 2013
Picon

[directfb-users] error(segmentation fault) about for touching(read/write) the data buffer of surface in external without Lock()

Hi,
I use the Lock() to get the data pointer of surface, and the data pointer also is as real data pointer in the external graphics controller.

It's normal when i StretchBlit() if i create the "system only" source surface.
But if i create the  source surface with acceleration, "segmentation fault" happened in context of external graphics controller,
so i want to know wether the data pointer of surface could be changed when in operation of "gfxcard" which as StretchBlit(), Blit() and so on ?

In my case, i need a static data pointer of surface when it's be created and it's used in context of external graphics controller,
someone have any ideas ?

Thanks,

- Jojo

_______________________________________________
directfb-dev mailing list
directfb-dev@...
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
jojo | 7 Jun 05:45 2013
Picon

error(Invalid argument!) about for create surface with preallocated "video only" memory

Hi,
I want to use directfb to Blit/StretchBlit with my preallocated "video only" memory,

It return error from "CreateSurface", my steps and environment is following:

DFB version : 1.4.0
DFBSurfaceDescription dsc = {0};
    dsc.flags = DSDESC_WIDTH | DSDESC_HEIGHT | DSDESC_PIXELFORMAT | DSDESC_PREALLOCATED | DSDESC_CAPS;
    dsc.pixelformat = DSPF_RGB32;
    dsc.caps = DSCAPS_VIDEOONLY;

    dsc.width = src_width;
    dsc.height = src_height;
    dsc.preallocated[0].data = src_data;
    dsc.preallocated[0].pitch = src_stride;

    ret = dfb->CreateSurface(dfb, &dsc, &src );
    if (ret != DFB_OK) {
        printf("****** jojo ****** CreateSurface(src) error(%s)\n", DirectResultString(ret));
        return;
    }

Anyone have ideas about for this ?

Thanks,

- Jojo

_______________________________________________
directfb-users mailing list
directfb-users@...
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
jojo | 16 May 04:14 2013
Picon

can not display cursor when moving to DirectFB surface

Hi,

It's normal to display cursor when i disable HW acceleration of DirecFB,

in the HW acceleration case, when i move the cursor to the DFB surface, it disappear.

It''s a bug ? Maybe cursor need to be HW accelerated also ? 

I use the GTK+(v2.24.15) top on DirectFB(v1.4.0).

Thanks,

- Jojo

_______________________________________________
directfb-users mailing list
directfb-users@...
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
mingyue | 10 May 14:21 2013

Why surface dump create a compressed file like xxx.pgm.gz

Dear Mailing List Administrators,

I want to make a screen shot, so I use surface->Dump to catch the screen. But I got a compressed file like xxx.pgm.gz which include a xx.ppm file.

I want to know how to make a xxx.ppm file directly instead of xxx.pgm.gz file. my directfb version is 1.4.11

Thank you


_______________________________________________
directfb-users mailing list
directfb-users@...
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
Liam Donaldson | 8 May 15:51 2013
Picon

hi.

http://salamapps.com/veywc.php













Breakthrough Diet Exposed: Celebrity Doctor Uncovers The "Holy Grail of Weight Loss"























_______________________________________________
directfb-users mailing list
directfb-users@...
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
Mutyalu Gadam via LinkedIn | 31 Mar 12:59 2013
Picon

Invitation to connect on LinkedIn

 
 
Naveen Kumar,
 
 
 
 
 
 
 
 
 
 
 
 
Mutyalu Gadam wants to connect with you on LinkedIn.
 
 
Mutyalu Gadam
Software engineer at Tata Consultancy Services View Profile »
 
 
 
 
 
 
 
 
You are receiving Invitation emails. Unsubscribe.
 
This email was intended for Naveen Kumar B T (CPU Validation Engineer at Intel India). Learn why we included this. © 2013, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA
 
_______________________________________________
directfb-users mailing list
directfb-users@...
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
Anouar Abdelbari | 15 Mar 09:54 2013
Picon

XKB: Failed to compile keymap (XDirectFB)

Hi,

I got this error message when I'm trying to run XDirectFB :

(EE) XKB: Couldn't open rules file /etc/X11/xkb/rules/Xfree86
XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.

NB : setxkbmap and xkbcomp are already installed. How can I solve that ??

--

Cordialement.

ABDELBARI Anouar
 

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

Gmane