Re: GLX acceleration

2004-11-16 Thread Lester Ingber
Yes, XWin_GL seems to run OK, though I have not seen any dramatic
speedup yet.

It is likely that part of this may be due to memory problems I seem to be
having in the latest xorg downloads, with XWin and now also with XWin_GL.
(I only seem to have these problems in xterm and rxvt, not in a Cygwin
console window.)

`dired` (below) freezes and other processes i other xterm windows bomb:

19:25:05 @lester:~% top
C:\cygwin\bin\tcsh.exe (472): *** fork: can't reserve memory for stack 0x3 
- 0x23, Win32 error 487
  6 [main] -tcsh 2808 sync_with_child: child 472(0x67C) died before 
initialization with status code 0x1
   3423 [main] -tcsh 2808 sync_with_child: *** child state waiting for longjmp
No more processes.

19:26:38 @lester:~% pkill -9 dired
--8<-- top cut 1/2 -> bottom 1/2 --->8--
Subject: Re: new Cygwin has memory problems?

I cannot determine why, but with the new Cygwin base I just installed,
a utility I have used for quite a few years, dired
[http://www.math.utah.edu/~beebe/software/file-tools.html#dired], now
freezes my window.  A `top` shows that CPU usage quickly climbs to
maximum values.

I have to guess that other utilities will have similar problems.

Thanks.

Lester
--8<-- bottom cut 1/2 <- top 1/2 --->8--

--8<-- top cut 2/2 -> bottom 2/2 --->8--
  +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

> In an effort to get better performance on my ThinkPad/XPPRo I'm
> considering adding the "experimental" GLX acceleration module offered
> under setup.  Is anyone using this?  

I've tested it with some programs including the glut suite. Some of the 
glut examples fail but most work well. 

> How do you turn it on?

Just install it and run XWin_GL.exe instead of XWin.exe.

Any feedback is welcome. 

BTW: Only the multiwindow mode is useful with the accelerated server since
the OpenGL drawing surface is not translated to match the window boundaries
in windowed moded.

bye
ago
-- 
 Alexander.Gottwald
--8<-- bottom cut 2/2 <- top 2/2 --->8--




Re: GLX acceleration?

2004-11-16 Thread Alexander Gottwald
On Tue, 16 Nov 2004, Lester Ingber wrote:

> In an effort to get better performance on my ThinkPad/XPPRo I'm
> considering adding the "experimental" GLX acceleration module offered
> under setup.  Is anyone using this?  

I've tested it with some programs including the glut suite. Some of the 
glut examples fail but most work well. 

> How do you turn it on?

Just install it and run XWin_GL.exe instead of XWin.exe.

Any feedback is welcome. 

BTW: Only the multiwindow mode is useful with the accelerated server since
the OpenGL drawing surface is not translated to match the window boundaries
in windowed moded.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


GLX acceleration?

2004-11-16 Thread Lester Ingber
In an effort to get better performance on my ThinkPad/XPPRo I'm
considering adding the "experimental" GLX acceleration module offered
under setup.  Is anyone using this?  How do you turn it on?

Thanks.

Lester



Re: Problems with ssh and tunnelling with cygwin 1.5.12

2004-11-16 Thread Igor Pechtchanski
On Tue, 16 Nov 2004, Nick Wisniewski wrote:

> Dave Korn wrote:
> > that ought to give you enough information to find out
> > what's wrong.  Try "ssh -v -v -v " and see what that tells
> > you.
>
> I try this and it hangs with a response:
>
> debug2: x11_get_proto: /usr/X11R6/bin/xauth -f 
> /tmp/ssh-LuCdTO1472/xauthfile generate unix:0 MIT-MAGIC-COOKIE-1 untrusted 
> timeout 1200 2>/dev/null
>
> When I kill sh.exe from the task manager, it hangs again immediately with the
> response:
>
> debug2: x11_get_proto: /usr/X11R6/bin/xauth  list unix:0 . 2>/dev/null
>
> When I kill sh.exe again, it continues as normal.

On Fri, Nov 12, 2004, I wrote among other things:

> I don't recall any option that would make ssh start a shell on the local
> machine.  Are your ssh config files customized?  Are you running keychain,
> or autossh, or any other ssh-related scripts?

xauth is a script (well, a program).  What happens if you run those exact
commands from the command line?  Also, try stracing the ssh process (as
Dave Korn suggested) and see where sh hangs (use something like "strace -o
ssh.strace ssh [EMAIL PROTECTED]" and browse ssh.strace).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Problems with ssh and tunnelling with cygwin 1.5.12

2004-11-16 Thread Nick Wisniewski
Dave Korn wrote:
that ought to give you enough information to find out
what's wrong.  Try "ssh -v -v -v " and see what that tells you.
I try this and it hangs with a response:
debug2: x11_get_proto: /usr/X11R6/bin/xauth -f 	 
/tmp/ssh-LuCdTO1472/xauthfile gen
erate unix:0 MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2>/dev/null

When I kill sh.exe from the task manager, it hangs again immediately 
with the response:

debug2: x11_get_proto: /usr/X11R6/bin/xauth  list unix:0 . 2>/dev/null
When I kill sh.exe again, it continues as normal.


Re: WMaker 0.90 broken?

2004-11-16 Thread Alexander Gottwald
On Tue, 16 Nov 2004, Mark Paulus wrote:

> Well, it does seem to be a font issue.  I used
> setup, and did a re-install of a couple of x11 font packages
> and everthing seems to be working just fine.
> 
> On a side note, ipc-daemon2 does not seem to provide whatever
> is needed by MIT-SHM, as I get that message, whether
> I have ipc-daemon2 started or not.

You have to setup cygserver.

cygserver-config might help. And adding the "server" keyword to 
the CYGWIN environment variable. eg 

CYGWIN=server XWin.exe $OPTIONS


@all: Is there documentation available on this?
 
> I also think it's not a goodness that using setup to handle an
> upgrade breaks the fonts package(s) and causes system 
> failures  But then, that's just my opinion, and as we all know,
> opinion are like rear-ends  Everyone has one, and they 
> are usually all full of ..

It should not. But such things are sometimes hard to reproduce and 
hard to identify.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: WMaker 0.90 broken?

2004-11-16 Thread Mark Paulus
Well, it does seem to be a font issue.  I used
setup, and did a re-install of a couple of x11 font packages
and everthing seems to be working just fine.

On a side note, ipc-daemon2 does not seem to provide whatever
is needed by MIT-SHM, as I get that message, whether
I have ipc-daemon2 started or not.

I also think it's not a goodness that using setup to handle an
upgrade breaks the fonts package(s) and causes system 
failures  But then, that's just my opinion, and as we all know,
opinion are like rear-ends  Everyone has one, and they 
are usually all full of ..



On Tue, 16 Nov 2004 09:59:01 +0100 (MET), Alexander Gottwald wrote:

>On Mon, 15 Nov 2004, Mark Paulus wrote:

>> Xlib:  extension "MIT-SHM" missing on display ":0.0".

>Does window maker require SHM? Maybe you should consider running cygserver
>for shared memory support.

>> wmaker warning: could not load font: 
>> helvetica:slant=0:weight=100:pixelsize=12.
>> wmaker warning: could not load font: 
>> helvetica:xlfd=-*-helvetica-bold-r-normal-*
>> -12-*-*-*-*-*-*-*:slant=0:weight=200:pixelsize=12.
>> wmaker warning: could not load any fonts. Make sure your font installation 
>> and l
>> ocale settings are correct.

>The font should be installed with the xorg-x11-fnts packages. Please verify 
>that
>the font is available:

>$ xlsfonts -fn "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*"

>should print about 30 entries. If it does not then do

>$ rm /usr/X11R6/lib/X11/fonts/75dpi/fonts.dir
>$ font-update

>> wmaker fatal error: could not initialize WINGs widget set
>> wmaker fatal error: it seems that there is already a window manager running

>This does not seem to be related to the font issue. Are you sure there is no 
>other window manager running?

>bye
>   ago
>-- 
> [EMAIL PROTECTED] 
> http://www.gotti.org   ICQ: 126018723





Re: Problem Starting Xterm

2004-11-16 Thread Mark Paulus
How are you starting your xterm?  Are you giving it the 
-display option (xterm -display :0 &)?


On Tue, 16 Nov 2004 13:40:53 +, Kevin Piotrowicz wrote:

>Hi, 
> 
>I have just installed cygwin on WIN XP, with the all xorg packages
>installed. But not the xfree86 ones because they say removed package
>beside them - which I take to mean they are deprecated?
> 
>Anyway by using either startxwin.bat startx or startxwin.sh, the xwin
>program starts and has the black X in the system tray it doesn't seem
>frozen as I can toggle hiding it if I want, but no xterm starts, and
>when I try to manually start one using just the command xterm the
>response is: "xterm Xt error: Can't open display:"
> 
>Could someone help me with this?
> 
>Thanks
> 
>Kevin






Problems after move to Windows 2003 domain

2004-11-16 Thread Tim Saunders
A month ago I had cygwin working perfectly. Then we upgraded to a
Windows 2003 domain.

I still have the same XP work station but now when I run startx cygwin
crashes with errors about the clipboard. I have tried disabled the
shared clipboard feature and the X server will now come up.

I can run xeyes fine. However when I try to run xterm the CPU load on
the Xserver goes straight to 100% and stays there. I have done an strace
on xterm and I can see it is waiting on a read from the tcp socket to
the X server, after 20 minutes the Xserver sends it data and up it
comes.

I have tried a variety of other programs and they all behave like xterm
(except xeyes). I don't have any idea how to go about working out what
it is doing. Can anyone help?

Tim

P.S. Since the domain move I have rerun mkpasswd and mkgroup, it didn't
make any difference. I have also upgraded to the latest cygwin with the
online installer; again it made no difference.


Problem Starting Xterm

2004-11-16 Thread Kevin Piotrowicz
Hi, 
 
I have just installed cygwin on WIN XP, with the all xorg packages
installed. But not the xfree86 ones because they say removed package
beside them - which I take to mean they are deprecated?
 
Anyway by using either startxwin.bat startx or startxwin.sh, the xwin
program starts and has the black X in the system tray it doesn't seem
frozen as I can toggle hiding it if I want, but no xterm starts, and
when I try to manually start one using just the command xterm the
response is: "xterm Xt error: Can't open display:"
 
Could someone help me with this?
 
Thanks
 
Kevin


XWin.log
Description: Binary data


RE: Problems with ssh and tunnelling with cygwin 1.5.12

2004-11-16 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of Nick Wisniewski
> Sent: 15 November 2004 19:58

> > Is this really sh.exe?  Can you check whether this sh.exe process is
> > running before you start ssh (e.g., compare the outputs of 
> "ps -ef" before
> > and after "ssh -X")?
> before
> bash-2.05b$ ps -ef
>   UID PIDPPID TTY STIME COMMAND
>  Nick2888   1 con  13:34:32 /usr/bin/bash
>  Nick4052   1 con  13:37:33 /usr/bin/bash
>  Nick 2364052 con  13:39:22 /usr/bin/ps
> 
> after
> bash-2.05b$ ps -ef
>   UID PIDPPID TTY STIME COMMAND
>  Nick2888   1 con  13:34:32 /usr/bin/bash
>  Nick4052   1 con  13:37:33 /usr/bin/bash
>  Nick39362888 con  13:40:16 /usr/bin/ssh
>  Nick40123936 con  13:40:25 /usr/bin/sh
>  Nick 9364052 con  13:40:29 /usr/bin/ps
> 

> As I mentioned before, if I kill sh.exe from the task manager, 
> everything works fine (i.e. it finishes logging in and I can display 
> things from the remote machine).

  It has to be ssh trying to execute some system(..) call prior to opening the
connection, and the problem is with the command in question; that's hanging up,
openssh is waiting for it to complete boom!  Although I'm not familiar with
the source code and haven't studied it (and 'grep' is _not_ a source analysis
tool!), nonetheless a quick grep lends at least some support to this hypothesis:

[EMAIL PROTECTED] /usr/src/openssh-3.9p1-2> grep -w sh *.[ch]
auth.c:  * legal, and means /bin/sh.
defines.h:# define _PATH_BSHELL "/bin/sh"
pathnames.h: * /bin/sh before starting the shell or command if they exist.  They
 will be
session.c:   * legal, and means /bin/sh.
sshconnect.c:* Use "exec" to avoid "sh -c" processes on some platforms
[EMAIL PROTECTED] /usr/src/openssh-3.9p1-2>

  That comment in sshconnect.c looks highly significant to me!

  You could probably strace openssh, then find out what parameters sh.exe is
being called with, and see if sh.exe shows the same behaviour when you try the
same command from a prompt.  I think the problem that needs tracking down will
turn out to be with the commands that openssh is relying on sh to execute,
rather than anything intrinsic to openssh itself.

  Actually strace probably isn't necessary.  I see lines like this

debug("Executing proxy command: %.500s", command_string);

and oh look!  like this!

/*
 * Run $HOME/.ssh/rc, /etc/ssh/sshrc, or xauth (whichever is found
 * first in this order).
 */
static void
do_rc_files(Session *s, const char *shell)
{
FILE *f = NULL;
char cmd[1024];
int do_xauth;
struct stat st;

do_xauth =
s->display != NULL && s->auth_proto != NULL && s->auth_data != NULL;

/* ignore _PATH_SSH_USER_RC for subsystems */
if (!s->is_subsystem && (stat(_PATH_SSH_USER_RC, &st) >= 0)) {
snprintf(cmd, sizeof cmd, "%s -c '%s %s'",
shell, _PATH_BSHELL, _PATH_SSH_USER_RC);
if (debug_flag)
fprintf(stderr, "Running %s\n", cmd);
f = popen(cmd, "w");

which make me think you ought to just be able to run ssh with some debug options
on the command line, and that ought to give you enough information to find out
what's wrong.  Try "ssh -v -v -v " and see what that tells you.




cheers, 
  DaveK
-- 
Can't think of a witty .sigline today



Re: WMaker 0.90 broken?

2004-11-16 Thread Alexander Gottwald
On Mon, 15 Nov 2004, Mark Paulus wrote:

> Xlib:  extension "MIT-SHM" missing on display ":0.0".

Does window maker require SHM? Maybe you should consider running cygserver
for shared memory support.

> wmaker warning: could not load font: 
> helvetica:slant=0:weight=100:pixelsize=12.
> wmaker warning: could not load font: 
> helvetica:xlfd=-*-helvetica-bold-r-normal-*
> -12-*-*-*-*-*-*-*:slant=0:weight=200:pixelsize=12.
> wmaker warning: could not load any fonts. Make sure your font installation 
> and l
> ocale settings are correct.

The font should be installed with the xorg-x11-fnts packages. Please verify that
the font is available:

$ xlsfonts -fn "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*"

should print about 30 entries. If it does not then do

$ rm /usr/X11R6/lib/X11/fonts/75dpi/fonts.dir
$ font-update

> wmaker fatal error: could not initialize WINGs widget set
> wmaker fatal error: it seems that there is already a window manager running

This does not seem to be related to the font issue. Are you sure there is no 
other window manager running?

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


RE: fontconfig/fontconfig.h is missing

2004-11-16 Thread Jörg Schaible
Christopher Faylor wrote on Monday, November 15, 2004 4:55 PM:

> On Mon, Nov 15, 2004 at 09:42:49AM +0100, J?rg Schaible wrote:
>> although I've reinstalled Xorg and now the X11 libs are present,
>> libfontconfig-devel seems still have problems.  I reassured, that the
>> downloaded package, that was reinstalled today, includes the
>> fontconfig/fontconfig.h file, but the header files were not installed
>> though.
> 
> Oops.  libfontconfig-devel-2.2.2-1.tar.bz2 was the package
> that I experimented with initially so I'd pulled it from the
> big list of files that I converted -- meaning that it wasn't
> "reconverted" when I fixed things.
> 
> It's ok now and will be on a mirror near you soon.
> 
> Sorry again for messing things up.  It's too bad that
> setup.exe doesn't understand files built the way I built them
> since the tar files are smaller.

Works now. At least it had somethong good, that I explicitly needed this 
package too.
:)

- Jörg