This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: [Lesstif] "mwm" on Cygwin : heavy load
- From: Harold L Hunt II <huntharo at msu dot edu>
- To: "csardin at sopragroup dot com" <csardin at sopragroup dot com>
- Cc: lesstif at lesstif dot org, cygwin-xfree at cygwin dot com
- Date: Thu, 14 Nov 2002 14:07:18 -0500
- Subject: Re: [Lesstif] "mwm" on Cygwin : heavy load
- References: <9E035BE80785AA4EAA456959ECB4A30D03426ED7@nt036.an.sopra>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: lesstif at lesstif dot org
Christian,
See, the problem here is that you are not reading what I am telling you
about the -emulatepseudo parameter.
Let me explain. Imagine that you would really like to have
Cygwin/XFree86 running in 16 bit color, but that you would like to still
be able to run applications that require a PseudoColor visual. Well,
the -emulatepseudo option creates a fake PseudoColor visual in addition
to the standard TrueColor visual when running in TrueColor modes.
Therefore, -emulatepseudo does nothing beneficial when you are already
running in 8 bit color mode, as there is already a PseudoColor visual
when you run in 8 bit color mode (both in windowed and in fullscreen
modes). Thus, LEAVE OFF THE FREAKING -emulatepseudo PARAMETER!!!
There, thanks for reading it this time.
Now, as to the additional information you supplied, you did not specify
if you left off the -emulatepseudo parameter when you ran with -depth 16
and -fullscreen. If you did not leave off the -emulatepseudo parameter,
then I am not surprised that your problem did not go away, as
PseudoColor emulation in TrueColor modes is a hack that is nowhere near
completion, so it could very well be causing your problems.
On the other hand, Cygwin has gone through many revisions in the past
few days (including new versions of the Cygwin DLL) and some of these
revisions have been causing great problems for many users. I suggest
that you run Cygwin's setup.exe again and let it download and install
any updated packages.
Could someone from Lesstif give him some notes on possibly renaming any
configuration files for Lesstif so that we can rule out any custom
configuration as the cause of this problem?
Thanks,
Harold
Christian SARDIN wrote:
Thanks for answering.
But, no change if -depth 16 in TrueColor. (I do need pseudo color because I
want to display an application which plays with colormap
-XtConvertAndStore-)
With the task manager I changed priority from normal to a lower level, it
doesnt change the 100% rated (By the way I run XP ) , but moves seems more
fluid... I can't try my application to see its speed (needing pseudo color
! )
And it is difficult to guess what is responsible for slowlyness : PC,
Cygwin, or Xfree - mwm / memory-swap ????
May be the information given by XP is wrong !
I expect a driver soon to try installing Linux (Red Hat 7.3 probably) and
compare !
Christian
-----Message d'origine-----
De: Harold L Hunt II [SMTP:huntharo@msu.edu]
Date: jeudi 14 novembre 2002 16:00
A: csardin@sopragroup.com
Cc: lesstif@lesstif.org
Objet: Re: [Lesstif] "mwm" on Cygwin : heavy load
Christian,
Do NOT use the -emulatepseudo option for XWin.exe. That is a
development-only feature and it more than likely does not do what you
think it does.
That could be the root of your problem.
I actually use MWM was my primary window manager for Cygwin/XFree86 and
I have never had a problem with it taking 100% of the CPU. Try passing
``-depth 16'' and see if it works better then, as this could be isolated
to 8-bit color.
Harold
Christian SARDIN wrote:
Hello
I discovered less tif recently, and am surprisedthat CYGWIN does not
appear
in the list of platforms supported. Anyway I had it with Cygwin package.
My problem is that it uses 100% CPU ! Even if I reduce the virtual desktop
at ONE screen area. Do you know that problem ? Have you a solution ?
Thanks a lot
Christian
I start with
startx -- -emulatepseudo -fullscreen -depth 8
in app-defaults, The onlu uncommented lines are finally :
!! $Id: Mwm.ad,v 1.2 2001/10/27 18:32:58 amai Exp $
!!
!! app defaults for mwm
*multiScreen: False
*maximumMaximumSize: "screen_width x screen_height"
My .xinitrc includes :
setxkbmap -layout fr
xset fp= tcp/192.168.191.109:7000
# start some nice programs
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xhost +
mwm
And the PC is a VT6200 HP, laptop notebook P4 M 1.7 GHz, 256 Mo, ATI
radeon
Mobility M6 with 32 Mo.
_______________________________________________
Lesstif mailing list
Lesstif@lesstif.org
https://terror.hungry.com/mailman/listinfo/lesstif