Can you unhook the barcode scanner ?
Or unload its driver ?

If you have top you should run that see if some other process is eating the cpu.
DirectFB should run fine on your hardware so I suspect something else is eating
cpu time.


On Jan 10, 2008 9:59 PM, Saroj Kumar <[EMAIL PROTECTED]> wrote:
> Processor speed is 400MHz.
> After running in RGB16 this is the output.
> ./dfbinfo
>
>      =======================|  DirectFB 1.1.1  |=======================
>           (c) 2001-2007  The DirectFB Organization ( directfb.org)
>           (c) 2000-2004  Convergence (integrated media) GmbH
>         ------------------------------------------------------------
>
> (*) DirectFB/Core: Single Application Core. (2008-01-08 10:43)
> (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 1143)...
> (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 1144)...
>
> (*) DirectFB/Input: Keyboard 0.9 (directfb.org )
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 1145)...
>
> (*) DirectFB/Input: Metrologic Metrologic Scanner (1) 0.1 (directfb.org)
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 1146)...
>
> (*) DirectFB/Input: AT Raw Set 2 keyboard (2) 0.1 (directfb.org)
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 1147)...
>
> (*) DirectFB/Input: ImPS/2 Logitech Wheel Mouse (3) 0.1 (directfb.org)
> (!) Direct/Modules: Could not open module directory
> `/usr/gtkdfb/lib/directfb-1.1-0/gfxdrivers'!
>     --> No such file or directory
> (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
> (*) DirectFB/Core/WM: Default 0.3 (directfb.org)
> (*) FBDev/Mode: Testing 640x240 RGB16
> (*) FBDev/Mode: Preparing switch to 640x240 RGB16
>
> (*) FBDev/Mode: Testing 640x240 RGB16
> (*) FBDev/Mode: Preparing switch to 640x240 RGB16
>
> (*) FBDev/Mode: Testing 640x240 RGB16
> (*) FBDev/Mode: Preparing switch to 640x240 RGB16
>
> (*) FBDev/Mode: Testing 640x240 RGB16
> (*) FBDev/Mode: Preparing switch to 640x240 RGB16
>
> (*) FBDev/Mode: Testing 640x240 RGB16
> (*) FBDev/Mode: Preparing switch to 640x240 RGB16
> (*) FBDev/Surface: Allocated 640x240 8bit RGB16 buffer at offset 0 and pitch
> 640.
> (*) FBDev/Mode: (Post)Setting 640x240 RGB16
> (*) FBDev/Mode: Switched to 640x240 (640x240) at 16 bit RGB16 (wanted
> RGB16).
>
> (!) DirectFB/FBDev: Panning display failed (x=0 y=0 ywrap=0 vbl=0)!
>     --> Invalid argument
> (*) FBDev/Mode: Testing 640x240 RGB16
> (*) FBDev/Mode: Preparing switch to 640x240 RGB16
> (*) FBDev/Mode: (Post)Setting 640x240 RGB16
>
>
> Screen (00) FBDev Primary Screen            (primary screen)
>    Caps: VSYNC POWER_MANAGEMENT
>
>      Layer (00) FBDev Primary Layer             (primary layer)
>         Type:    GRAPHICS
>         Caps:    SURFACE BRIGHTNESS CONTRAST SATURATION
>
>
> Input (00) Keyboard                        (primary keyboard)
>    Type: KEYBOARD
>    Caps: KEYS
>
> Input (10) Metrologic Metrologic Scanner
>    Type: KEYBOARD
>    Caps: KEYS
>
> Input (11) AT Raw Set 2 keyboard
>    Type: KEYBOARD
>    Caps: KEYS
>
> Input (01) ImPS/2 Logitech Wheel Mouse     (primary mouse)
>    Type: MOUSE
>    Caps: AXES BUTTONS
>    Max. Axis: 2
>    Max. Button: 2
>
> Regards,
> Saroz
>
>
>
>
> On Jan 10, 2008 10:24 PM, Mike Emmel < [EMAIL PROTECTED]> wrote:
> > You should have a 16 bit memory bus so 8 vs 16 won't make a huge
> difference.
> >
> > Most of the time I've seen this in the past its a thread running out of
> control.
> > Input thread ? Other ?  Interrupt firing ( watchdog incorrectly set ? )
> >
> > You can try some simple memsets in a loop to see if they work just set
> Exclusive
> > and lock the main surface. That should give you the video ram.
> >
> > Whats your processor speed ?
> >
> > And get a newer ARM chip :)
> >
> >
> >
> >
> > On Jan 10, 2008 5:01 AM, Saroj Kumar < [EMAIL PROTECTED]> wrote:
> > > Now I created the entry as you mentioned in /etc/fb.modes
> > > now its switching to tht mode. but no improvement in performance.
> > > can we use RGB8 or something?
> > >
> > >
> > >
> > >
> > > On Jan 10, 2008 6:03 PM, Saroj Kumar < [EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Jan 10, 2008 5:58 PM, Denis Oliver Kropp <[EMAIL PROTECTED]> wrote:
> > > >
> > > > >
> > > > > Saroj Kumar wrote:
> > > > > > Hi Denis,
> > > > > >
> > > > >
> > > > > > Here I tested exporting tht env. variable and here is the result.
> > > > > > Its not able to set the mode.
> > > > > >
> > > > > >        =======================|  DirectFB 1.1.1
> > > |=======================
> > > > > >           (c) 2001-2007  The DirectFB Organization (directfb.org)
> > > > > >           (c) 2000-2004  Convergence (integrated media) GmbH
> > > > > >
> ------------------------------------------------------------
> > > > > >
> > > > > > (*) DirectFB/Core: Single Application Core. (2008-01-08 10:43)
> > > > > > (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 1146)...
> > > > > > (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 1147)...
> > > > > > (*) DirectFB/Input: Keyboard 0.9 (directfb.org)
> > > > > > (*) Direct/Thread: Running 'Linux Input' (INPUT, 1148)...
> > > > > > (*) DirectFB/Input: Metrologic Metrologic Scanner (1) 0.1
> > > (directfb.org)
> > > > > > (*) Direct/Thread: Running 'Linux Input' (INPUT, 1149)...
> > > > > > (*) DirectFB/Input: AT Raw Set 2 keyboard (2) 0.1 (directfb.org)
> > > > > > (*) Direct/Thread: Running 'Linux Input' (INPUT, 1150)...
> > > > > > (*) DirectFB/Input: ImPS/2 Logitech Wheel Mouse (3) 0.1 (
> > > directfb.org)
> > > > > > (!) Direct/Modules: Could not open module directory
> > > > > > `/usr/gtkdfb/lib/directfb-1.1-0/gfxdrivers'!
> > > > > >     --> No such file or directory
> > > > > > (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (
> directfb.org)
> > > > > > (*) DirectFB/Core/WM: Default 0.3 (directfb.org)
> > > > > > (*) FBDev/Mode: Testing 640x240 RGB16
> > > > >
> > > > > Do you have such a mode in your /etc/fb.modes?
> > > >
> > > >
> > > > I don't have fb.modes in my /etc folder
> > > >
> > > >
> > > > >
> > > > >
> > > > >
> > > > > mode "640x240"
> > > > >    geometry 640 240 640 240 8
> > > > >    timings 0 81 16 33 10 63 2
> > > > >    hsync high
> > > > >    vsync high
> > > > > endmode
> > > > >
> > > > > --
> > > > >
> > > > >
> > > > >
> > > > > Best regards,
> > > > >  Denis Oliver Kropp
> > > > >
> > > > > .------------------------------------------.
> > > > > | DirectFB - Hardware accelerated graphics |
> > > > > | http://www.directfb.org/                 |
> > > > > "------------------------------------------"
> > > > >
> > > >
> > > >
> > >
> > >
> >
>
>

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

Reply via email to