nanogui: Nano-X running on BF531 uClinux board: extermely slow updates


Previous by date: 18 Jun 2004 07:02:56 +0100 Re: microwindows and framebuffer, Zeng_Pengcheng
Next by date: 18 Jun 2004 07:02:56 +0100 viewml compilation question, zeng_pengcheng
Previous in thread: 18 Jun 2004 07:02:56 +0100 Re: Nano-X running on BF531 uClinux board: extermely slow updates, vishal
Next in thread: 18 Jun 2004 07:02:56 +0100 Re: Nano-X running on BF531 uClinux board: extermely slow updates, Greg Haerr

Subject: Re: [nanogui] Re: Nano-X running on BF531 uClinux board: extermely slow updates
From: "vishal" ####@####.####
Date: 18 Jun 2004 07:02:56 +0100
Message-Id: <021201c454f9$d1f3eb30$e900a8c0@VISHALISOFTT>

>    hmm.. I have been using  Version 0.89pre7 that comes with the BF531
> uCLinux distibution that i use.
>    I am trying to get the microwindwos-0.90 running in BF531 uClinux and
am
> running into some toolchain
>  issues (same old optimisation problems and blah!)
>    :-)
>   Hopefully i shud have a working version soon.

     Here i am replying to myself. :-)
   I managed to port the microwindows-0.90 to uClinux (Mostly make file
changes & the sort) , and also managed to compile the vnc app as standalone.
I am seeing some RGB colour translation issues, but it guess that wont be
much of a problem to fix.
  However, i was surprised to see the performance remain the same!!. Its
like even after eliminating the socket layer ( LINK_APP_INTO_SERVER=Y) &
with a newer version of microwindows (0.90), i am still are stuck with the
same performance as in the 0.89-pre7!! I really cant tell if its the same or
worse, but i dont see the kind of  improvements i was expecting.
   So where do i go from here?
  One thing i noticed was, in the scr_fb.c ( i am using a 16bpp framebuffer
at 640x480 res.), function fb_open() :

   /* mmap framebuffer into this address space*/
     psd->size = (psd->size + getpagesize () - 1)
                        / getpagesize () * getpagesize ();

    (after this, psd->size is set to  614400)
    after this the call:
        psd->addr = mmap(NULL, psd->size,
PROT_READ|PROT_WRITE,MAP_SHARED,fb,0);
     does not succeed im mmap'ing properly.  I get the kernel message :
                "MAP_SHARED not supported (cannot write mappings to disk)"
    so i changed this line to:
          psd->addr = mmap(NULL, psd->size, PROT_READ|PROT_WRITE,0,fb,0);
Which works, and VNC happens.

   can any one tell me if this could be affecting the execution speed?

  Any other pointers/suggestions/comments.

regards,
Vishal















Previous by date: 18 Jun 2004 07:02:56 +0100 Re: microwindows and framebuffer, Zeng_Pengcheng
Next by date: 18 Jun 2004 07:02:56 +0100 viewml compilation question, zeng_pengcheng
Previous in thread: 18 Jun 2004 07:02:56 +0100 Re: Nano-X running on BF531 uClinux board: extermely slow updates, vishal
Next in thread: 18 Jun 2004 07:02:56 +0100 Re: Nano-X running on BF531 uClinux board: extermely slow updates, Greg Haerr


Powered by ezmlm-browse 0.20.