Re: is the bad performance because of backend and how could I change backend?

2009-05-03 Thread Zhang Weiwu
Zhang Weiwu wrote:
> Hello
>
> I managed to get back to use debian-repository version of gnustep
> instead of compiling my own version, and suffer greatly from several
> problems:
>
>1. drag and drop almost never works. It freezes the application where
>   drag-drop occur for some time, and sometimes totally freeze the
>   application
>2. middle click paste doesn't always work.
>3. clicking a window behind another doesn't bring the window to the
>   top, sometimes (30%);
>4. double click to application icon doesn't always bring its window
>   to the front.
>5. the UI being slow
It seems it is. After switching to manually compiled back-xlibs all
problems with drag and drop disappeared. Issue 2 and 4 are also solved.
other issues look better.


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep


Re: is the bad performance because of backend and how could I change backend?

2009-05-03 Thread Markus Hitter


Am 02.05.2009 um 19:26 schrieb Zhang Weiwu:


My question is is it possible to just compile one backend with xlibs
myself and configure debian official gnustep to use that backend?


You can always install debian packages from source and modify souces  
along the way. In opposite to compiling the corresponding release  
directly, this applies platform-specific patches.


For a starter, you might want to have a look here:




HTH,
Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/






___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep


Re: is the bad performance because of backend and how could I change backend?

2009-05-02 Thread Zhang Weiwu
Fred Kiefer wrote:
> The problem with the xlib backend you are experiencing is most likely
> due to it being of a different version than the gui library you
> installed from the Debian repository. According to your mail the xlib
> backend is version 0.16, which version are the other two backends you
> have installed?
>   
Thanks for pointing out this and you are right. Now I compiled myself
back-xlibs 0.14.0 which is the same version as the debian official
gnustep-gui. However I get this error when I try to use it:

loong...@cruella:~$ Preferences
2009-05-03 11:38:48.335 Preferences[4100] Exception while attempting to load 
font cache file /home/loongson/GNUstep/Library/Fonts/Cache/:0.0 - 
NSInvalidArgumentException: methodForSelector: null selector given
2009-05-03 11:38:48.365 Preferences[4100] No font cache available - building 
new one - this may take several seconds (or minutes on a slow machine with lots 
of
fonts)
2009-05-03 11:38:48.376 Preferences[4100] Running /usr/local/bin/font_cacher
2009-05-03 03:38:48.932 font_cacher[4105] Unknown time zone name `CST'.
2009-05-03 03:38:48.950 font_cacher[4105] Using time zone with absolute offset 
0.
2009-05-03 03:38:48.930 font_cacher[4105] File NSUserDefaults.m: 626. In 
[NSUserDefaults +standardUserDefaults] Improper installation: No language 
locale found
2009-05-03 11:41:45.108 Preferences[4100] File NSMapTable.m: 530. In 
NSMapRemove Nul table argument supplied
Aborted

don't understand. What do you suggest me to do now then?

Thanks in advance!



___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep


Re: is the bad performance because of backend and how could I change backend?

2009-05-02 Thread Zhang Weiwu
Fred Kiefer 写道:
> The problem with the xlib backend you are experiencing is most likely
> due to it being of a different version than the gui library you
> installed from the Debian repository. According to your mail the xlib
> backend is version 0.16, which version are the other two backends you
> have installed?
>
>   
Sorry I wasn't aware gui version should be the same as backend. I am
totally newbie here. In my case debian official package has gui 0.14 and
I tried to install backend 0.16. I'll try install backend-xlib 0.14 see
if it make a difference.
> The slowness you describe doesn't seem widget related to me. It looks
> rather like interprocess communication, especially with the X server is
> slow on your machine. (OK point 5. of your list may be different)
> If this is correct a different backend wont change anything, as they all
> have a very similar way to interface with X.
>   
Thanks for the information. I forgot to mention that gnome installed on
the same computer does not have problem 1-4, which is the second reason
I consider it is widget related.


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep


Re: is the bad performance because of backend and how could I change backend?

2009-05-02 Thread Fred Kiefer
The problem with the xlib backend you are experiencing is most likely
due to it being of a different version than the gui library you
installed from the Debian repository. According to your mail the xlib
backend is version 0.16, which version are the other two backends you
have installed?

The slowness you describe doesn't seem widget related to me. It looks
rather like interprocess communication, especially with the X server is
slow on your machine. (OK point 5. of your list may be different)
If this is correct a different backend wont change anything, as they all
have a very similar way to interface with X.

Fred

Zhang Weiwu wrote:
> Hello
> 
> I managed to get back to use debian-repository version of gnustep
> instead of compiling my own version, and suffer greatly from several
> problems:
> 
>1. drag and drop almost never works. It freezes the application where
>   drag-drop occur for some time, and sometimes totally freeze the
>   application
>2. middle click paste doesn't always work.
>3. clicking a window behind another doesn't bring the window to the
>   top, sometimes (30%);
>4. double click to application icon doesn't always bring its window
>   to the front.
>5. the UI being slow
> 
> I suspect these things are widget backend related. I could be totally
> wrong thanks to being a total newbie, but I sense it that way. I tried
> to replace default arts backend to cairo, which gets worse result by
> placing text at wrong positions. There are only two backends provided by
> debian repository.
> 
> My question is is it possible to just compile one backend with xlibs
> myself and configure debian official gnustep to use that backend?
> 
> I guess if I can compile my own backend I should be able to configure
> gnustep to use it by
> defaults write NSGlobalDomain GSBackend libgnustep-xlib
> 
> Although I can successfully compile and install the backend, and
> configure GNUStep to use that backend, I could not run application with
> the backend.
> 
> loong...@cruella:~$ Terminal 
> 2009-05-03 01:22:41.377 Terminal[8424] Did not find correct version of 
> backend, falling back to std.
> 2009-05-03 01:22:41.396 Terminal[8424] NSApplication.m:285  Assertion failed 
> in initialize_gnustep_backend.  Unable to find backend libgnustep-xlib
> 已放弃
> 
> 
> It seems gnustep isn't aware of the existence of the backend, not even
> if I moved libgnustep-xlib-0.16.bundle from
> /usr/local/lib/GNUstep/Bundles to /usr/lib/GNUstep/Bundles.
> 
> What would you suggest me to do in this case?
> 
> Note that my computer is a bit special, a tightly integrated computer
> with mips CPU. I cannot replace or add display card or opengl just for
> cairo.
> 
> Thanks a lot in advance!



___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep


is the bad performance because of backend and how could I change backend?

2009-05-02 Thread Zhang Weiwu
Hello

I managed to get back to use debian-repository version of gnustep
instead of compiling my own version, and suffer greatly from several
problems:

   1. drag and drop almost never works. It freezes the application where
  drag-drop occur for some time, and sometimes totally freeze the
  application
   2. middle click paste doesn't always work.
   3. clicking a window behind another doesn't bring the window to the
  top, sometimes (30%);
   4. double click to application icon doesn't always bring its window
  to the front.
   5. the UI being slow

I suspect these things are widget backend related. I could be totally
wrong thanks to being a total newbie, but I sense it that way. I tried
to replace default arts backend to cairo, which gets worse result by
placing text at wrong positions. There are only two backends provided by
debian repository.

My question is is it possible to just compile one backend with xlibs
myself and configure debian official gnustep to use that backend?

I guess if I can compile my own backend I should be able to configure
gnustep to use it by
defaults write NSGlobalDomain GSBackend libgnustep-xlib

Although I can successfully compile and install the backend, and
configure GNUStep to use that backend, I could not run application with
the backend.

loong...@cruella:~$ Terminal 
2009-05-03 01:22:41.377 Terminal[8424] Did not find correct version of backend, 
falling back to std.
2009-05-03 01:22:41.396 Terminal[8424] NSApplication.m:285  Assertion failed in 
initialize_gnustep_backend.  Unable to find backend libgnustep-xlib
已放弃


It seems gnustep isn't aware of the existence of the backend, not even
if I moved libgnustep-xlib-0.16.bundle from
/usr/local/lib/GNUstep/Bundles to /usr/lib/GNUstep/Bundles.

What would you suggest me to do in this case?

Note that my computer is a bit special, a tightly integrated computer
with mips CPU. I cannot replace or add display card or opengl just for
cairo.

Thanks a lot in advance!


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep