Hi, i am able to use rgb24 on vid0 with fbdev system, without any patches on directfb 1.4 :) , only thing i had to do was
move /etc/fb.modes file and export FRAMEBUFFER=/dev/fb/1 (for vid0) thats it but with following cons a] RGB is inverted but no problem with image provider b] performence is low compared to 16bit over osd0 (df_andi example avg FPS is 10 where as on osd0 it was 16 ) and Craig Why you were not able to use devmem system along with davinci driver? as per my personal experience devmem performs much better than fbdev system.. and i didnt face any problem in using dvmem over osd0 .. On Tue, Jul 7, 2009 at 6:41 PM, Craig Matsuura <[email protected]>wrote: > I never could get the devmem to work for me so I ended up using the fbdev. > > > Good Luck. > > > Craig > > > > On Tuesday 07 July 2009 5:49:16 am Deepak Mundra wrote: > > Hi Craig > > > > I think that patch is applicable for fbdev system .. i am trying to > enable > > rgb24 in devmem system (davinci gfxdriver) > > > > > > > > On Tue, Jul 7, 2009 at 10:51 AM, Deepak Mundra <[email protected] > >wrote: > > > > > > > > Actually i am using dm6446 and osd layers can be set to only RGB16 and > > > video layers can be set to RGB24 or YUV. > > > > > > i have made changes in frame buffer driver to enable RGB24 on vid0. i > > > wanted to use latest version of directfb because of its new features.. > > > moving back to 1.1 version is not help full for me. anyways if you have > > > patches for 1.1 i can try to port it to new version.. and i will > continue my > > > effort to enable RGB24 on 1.4 version .. thanks for the patch. > > > > > > > > > On Tue, Jul 7, 2009 at 2:13 AM, Craig Matsuura <[email protected] > >wrote: > > > > > >> This is specific to the dm6443 on vid1. I assume the pixel format is > the > > >> same as I experienced due to the fact your colors are wrong. I had to > make > > >> some small changes to the davinci framebuffer driver as RGB 24 bit is > not > > >> natively supported (only YUV422). It just so happens the RGB 24 bit > layout > > >> is not the same as the supported formats in directfb 1.1.1. So I > needed to > > >> patch dfb. > > >> > > >> > > >> This was to help you get started in the changes you will need. > > >> > > >> > > >> BTW: The dm6443 only support RGB 24 bits on vid0 and vid1, not on the > OSD. > > >> > > >> > > >> Thanks, > > >> Craig > > >> > > >> > > >> > > >> On Sunday 05 July 2009 10:46:14 pm Deepak Mundra wrote: > > >> > Thanks for your reply ..But really wondering how adding this two > lines > > >> will > > >> > change the format.. > > >> > considering that you have enabled RGB24 on vid1 (i prefer vid0) dont > you > > >> > have to change davinci_gfxdriver.c , davinci_osd.c and > davinci_video.c ? > > >> i > > >> > am working with 1.4.0 version trying to enable RGB24 support on > vid0. > > >> once > > >> > again thanks for the reply > > >> > > > >> > On Sun, Jul 5, 2009 at 10:06 PM, Craig Matsuura < > [email protected] > > >> >wrote: > > >> > > > >> > > > > >> > > We use directfb 1.1.2 on the davinci in 24 bit mode on vid1. Not > all > > >> demos > > >> > > worked, but the colors are correct. > > >> > > > > >> > > > > >> > > I have attached the patch. > > >> > > > > >> > > > > >> > > Craig > > >> > > > > >> > > > > >> > > On Saturday 27 June 2009 4:39:58 am Deepak Mundra wrote: > > >> > > > Dear all > > >> > > > > > >> > > > I have cross compiled directfb 1.4.0 for davinci.. But gfxdriver > by > > >> > > > default uses fb0 which is 16 bit RGB .. I changed gfxdriver > files > > >> such > > >> > > that > > >> > > > it uses fb1 (vid0 layer which can be set as 24 bit RGB) but > still > > >> result > > >> > > is > > >> > > > not good.. i am able tor run few examples but color issue.. > please > > >> > > > help/guide me in this issue > > >> > > > > > >> > > > Thanks > > >> > > > Deepak > > >> > > > > > >> > > > > >> > > -- > > >> > > > > >> > > > > >> > > ------------------------------ > > >> > > > > >> > > > > >> > > Craig Matsuura - Principal Engineer > > >> > > Control4 > > >> > > 11734 South Election Road - Suite 200 > > >> > > Salt Lake City, UT 84020-6432 > > >> > > PH: 801-523-3161 > > >> > > FX: 801-523-3199 > > >> > > > > >> > > > >> > > >> -- > > >> > > >> > > >> ------------------------------ > > >> > > >> > > >> Craig Matsuura - Principal Engineer > > >> Control4 > > >> 11734 South Election Road - Suite 200 > > >> Salt Lake City, UT 84020-6432 > > >> PH: 801-523-3161 > > >> FX: 801-523-3199 > > >> > > > > > > > > > > -- > > > ------------------------------ > > > Craig Matsuura - Principal Engineer > Control4 > 11734 South Election Road - Suite 200 > Salt Lake City, UT 84020-6432 > PH: 801-523-3161 > FX: 801-523-3199 >
_______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
