Hello!

First sorry if this is a duplicate, seems like I had problem posting the
first time around.


I'm trying to port a xorg/gtk application to use directfb instead for faster
speed. I got DirectFB-1.3.1 from the git source (to fix the armasm_memcpy
error). I first tried to cross-compile and copy the libs but when running an
example application I had the "no system found" error. So I compiled
directly on the arm device. It took a few hours but it finally worked and
exemples (cross-compiled) now execute.

So I run df_matrix. Problem is, resolution and color depth it try to use
seems bad. Everything is gray/yellow and to the right side of the screen.

fbset gives me this:

ts7000:~# fbset -i

mode "800x480-61"
    # D: 31.500 MHz, H: 31.754 kHz, V: 61.066 Hz
    geometry 800 480 800 480 16
    timings 31746 128 24 28 9 40 3
    rgba 5/11,5/5,5/0,0/0
endmode

Frame buffer device information:
    Name        : TS7370
    Address     : 0x60100000
    Size        : 768000
    Type        : PACKED PIXELS
    Visual      : MONO01
    XPanStep    : 0
    YPanStep    : 0
    YWrapStep   : 0
    LineLength  : 1600
    MMIO Address: 0x600ff030
    MMIO Size   : 10
    Accelerator : No

I then checked /etc/fb.modes but there was a list of un-related resolution
(imposible for this device). So I took the mode from fbset and wrote it as
the first one in this file. Unfortunately, no change on df_matrix look.
Startup messages looks a bit better (instead of failing setting 2-3 modes,
it say it accepted 800x480x16 directly, but don't seems like it use it).

 

I also tried to run with arguments like -dfb :pixelformat=RGB16, but no
changes.

My framebuffer seems correct, because catting a fullscreen color picture
directly to /dev/fb0 works.

Also, if I start xorg, then open a console and start "df_matrix
--dfb:system=x11", it opens a new window and the colors are correct. Still,
the goal is to prevent the use of xorg.

Finally, when starting the application in the console (with bad colors), and
exiting with "esc", it completly freeze my display until I either reboot, or
connect to the device with telnet and execute startx. This isn't normal
isn't it?

Is there anything else I could check?

Thx

 

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to