hi, try mode=640x480-60
hth haithem On Fri, Aug 13, 2010 at 11:54 AM, anthony henderson < developm...@fair-games.com> wrote: > Hi , first sorry I've tried to post this but with no luck, don't knbow if > it's my end or directfb end :s So again > > Hi all, > I've searched every where for an answer to this question and have been > unable to find one. Thought I have found several similar questions. > So my error, when I try to run any directfb code I get this error > > /usr/bin # dfbinfo > > ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~ > (c) 2001-2009 The world wide DirectFB Open Source Community > (c) 2000-2004 Convergence (integrated media) GmbH > ---------------------------------------------------------------- > > (*) DirectFB/Core: Single Application Core. (2010-08-10 09:04) > (*) Direct/Memcpy: Using armasm_memcpy() > (*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] > <2093056>... > (*) Direct/Thread: Started 'VT Flusher' (-1) [DEFAULT OTHER/OTHER 0/0] > <2093056>... > (*) DirectFB/FBDev: Found 'ep93xxfb' (ID 0) with frame buffer at > 0xc7c00000, 3600k (MMIO 0x80030000, 128k) > (*) DirectFB/Graphics: Generic 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 5/11, 6/5, 5/0, 0/0 > (16bit) > (!) DirectFB/Core/layers: Failed to initialize layer 0! > --> Initialization error! > (!) DirectFB/Core: Could not initialize 'layer_core' core! > --> Initialization error! > (#) DirectFBError [DirectFBCreate() failed]: Initialization error! > > > I'm using a ARM cirrus logic EP93XX, when I type fset - I can see > /usr/bin # fs bset -i > > mode "640x480-61" > # D: 25.600 MHz, H: 32.000 kHz, V: 60.953 Hz > geometry 640 480 640 480 16 > timings 39062 40 24 33 10 96 2 > rgba 5/11,6/5,5/0,0/0 > endmode > > Frame buffer device information: > Name : ep93xxfb > Address : 0xc7c00000 > Size : 3686400 > Type : PACKED PIXELS > Visual : TRUECOLOR > XPanStep : 0 > YPanStep : 1 > YWrapStep : 1 > LineLength : 1280 > MMIO Address: 0x80030000 > MMIO Size : 131072 > Accelerator : No > > However using any other fbset command such as fbset -xres ect gives an > error even if try to set the res it's set to? > > > I can see this in my fb.modes > > /usr/bin # cat /etc/fb.modes > > > > mode "640x480-60" > # D: 25.175 MHz, H: 31.469 kHz, V: 59.94 Hz > geometry 640 480 640 480 8 > timings 39722 48 16 33 10 96 2 > endmode > > > I can also see from my directfbrc that the modes exist (got info from from > cirrus web site) > > /usr/bin # cat /etc/directfbe rc > system=FBDev > fbdev=/dev/fb0 > mode=640x480 > depth=16 > pixelformat=RGB16 > tmpfs=/tmp > primary-only > hardware > wm=unique > no-translucent-windows > desktop-buffer-mode=backvideo > window-surface-policy=auto > motion-compression > disable-module=tslib > deinit-check > > Can anyone advise? I'm totally stuck on this. Thanks > > -- > Regards Tony > > _______________________________________________ > directfb-users mailing list > directfb-users@directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users > > -- Be to GOD as he wants , HE'll be for you more than what you want.
_______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users