Denis Oliver Kropp schrieb:
>> I have a dynamic linked dfb app which runs on MIPS bases setop box
>> (Siemans Gigaset M740) with dfb 0.9.18. The gfx output device is fbdev.
>>
>> I upgraded my cross toolchain to a newer compiler version and dfb
>> 0.9.25.1 and link my app static, because I can't changed the rootfs.
>>
>> It seems that the app is working, but somthing goes wrong with the
>> video mode: the screen is flickering and the resolution is wrong.
>>
>> Were there any incompatible changes between 0.9.18 and 0.9.25.1 that
>> can explain that behavior? Maybe /etc/fb.modes and/or
>> /etc/directfbrc are not compatible? Any ideas?
>
> If you rebuilt the whole app and relevant libs for 0.9.25.1 there should
> be no other incompatibility, i.e. the static binary should work in the
> old file system with the old kernel drivers etc.
>
> I could only think of changes to 0.9.18 that Siemens didn't publish.
You are right, I compared the DFB sources released by Siemens with
original and they differ:
they added in fbdev.c primaryAllocateSurface()
caps |= config->surface_caps & DSCAPS_PREMULTIPLIED;
+ caps |= DSCAPS_SEPARATED;
I made this change too, and the video mode probs are gone.
I tried to add DSCAPS_SEPARATED in my app source, not in the driver:
DFBSurfaceDescription dscPrimary;
dscPrimary.flags = (DFBSurfaceDescriptionFlags)(DSDESC_CAPS |
DSDESC_PIXELFORMAT);
dscPrimary.caps = (DFBSurfaceCapabilities)(DSCAPS_PRIMARY|
DSCAPS_SEPARATED);
dscPrimary.pixelformat = DSPF_ARGB1555;
DFBCHECK( dfb->CreateSurface(dfb, &dscPrimary, &primary) );
but this will not work. Why?
An other problem is, that I implemented an info ticker with DrawGlyph,
but this does not works anymore. Are there any incompatible changes
between 0.9.18 and 0.9.25.1?
Thanks for help
Ciao,
Dirk
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users