Re: GLX acceleration
Lester Ingber wrote: Yes, XWin_GL seems to run OK, though I have not seen any dramatic speedup yet. glxgears shows the fps and has a dramatic speedup. 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. Have you tried downgrading cygwin? Are the problems still present? bye ago NP: Allied Vision - Deliver Us From Evil -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
1,440 symbolic links
The tree /etc/X11/xserver contains 720 symbolic links. The vast majority of of them are locale specific and point to the directory /etc/X11/xserver/C. The only thing in /etc/X11/xserver/C is a tree called print. The tree /usr/X11R6/lib/X11/xserver seems to be identical to /etc/X11/xserver. My question is: can I get rid of all those symbolic links? The reason that I ask is that I'm using Fergus' instructions for building a CD from which cygwin can be run (http://www.cygwin.com/ml/cygwin/2003-07/msg01117.html). Because ISO-9660 file system does not support symbolic links, the technique for handling them is to create copies of everything that is symbolically linked. For /etc/X11/xserver that means about 998 MB of disk on an ntfs file system with a respectable blocking factor. /usr/X11R6/lib/xserver also takes up that much space. My hope is that X has a respectable default, something like if localization file can't be read, use /etc/X11/xserver/C (or /usr/X11R6/lib/xserver/C). Or, maybe /etc/X11/xserver/C/print really is for printing (the tree seems to contain printer specs), and if I don't want to print, I can get rid of it all. I've tried poking around at X.org, but can't seem to find documenation tha's appropriate. I'd be grateful for any of the following: - simple answer such as delete with impunity - it doesn't matter - point me to appropriate documentation - point me to appropriate sections of the source code. Thanks, Dick - Dick Repasky Bioinformatics Support UITS Cubicle 101.08 Indiana University USA [EMAIL PROTECTED]
Re: 1,440 symbolic links
Dick Repasky schrieb: The tree /etc/X11/xserver contains 720 symbolic links. The vast majority of of them are locale specific and point to the directory /etc/X11/xserver/C. The only thing in /etc/X11/xserver/C is a tree called print. The tree /usr/X11R6/lib/X11/xserver seems to be identical to /etc/X11/xserver. My question is: can I get rid of all those symbolic links? The reason that I ask is that I'm using Fergus' instructions for building a CD from which cygwin can be run (http://www.cygwin.com/ml/cygwin/2003-07/msg01117.html). Because ISO-9660 file system does not support symbolic links, the technique for handling them is to create copies of everything that is symbolically linked. You got that wrong. the above cited msg is right. ISO-9660 does understand cygwin .lnk files (which are symlinks), just the +S attribute has to be fixed. See Step 5 in http://www.cygwin.com/ml/cygwin/2003-07/msg01117.html For /etc/X11/xserver that means about 998 MB of disk on an ntfs file system with a respectable blocking factor. /usr/X11R6/lib/xserver also takes up that much space. My hope is that X has a respectable default, something like if localization file can't be read, use /etc/X11/xserver/C (or /usr/X11R6/lib/xserver/C). Or, maybe /etc/X11/xserver/C/print really is for printing (the tree seems to contain printer specs), and if I don't want to print, I can get rid of it all. I've tried poking around at X.org, but can't seem to find documenation tha's appropriate. I'd be grateful for any of the following: - simple answer such as delete with impunity - it doesn't matter - point me to appropriate documentation - point me to appropriate sections of the source code. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ -- Let each man exercise the art he knows. (Aristophanes, Wasps, 422 B.C.)
Re: 1,440 symbolic links
On Wed, 17 Nov 2004, Reini Urban wrote: You got that wrong. the above cited msg is right. I am very glad to have been wrong. Thanks, Dick - Dick Repasky Bioinformatics Support UITS Cubicle 101.08 Indiana University USA [EMAIL PROTECTED]
Re: new cygwin has memory problems?
On Fri, Nov 12, 2004 at 08:26:05AM -0800, Lester Ingber wrote: I was wrong in assuming this was a cygwin base problem. It must be a cygwin-xfree problem. I have no problems I can see in a cygwin console window, only in an xterm (or rxvt) window running under XWin -unixkill -emulate3buttons -clipboard -multiwindow -silent-dup-error Lester +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= 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. This is a problem caused by this change: http://cygwin.com/ml/cygwin/2004-10/msg00364.html And, then, the problem was noted here: http://cygwin.com/ml/cygwin/2004-10/msg00904.html The problem is that cygwin is now behaving like linux in that timed reads from a pty/tty work correctly. It is not behaving like linux in that once you get an EOF on a read using stdio, you get EOF forever after. I've made a cygwin-specific correction to the newlib library to make cygwin work more like linux. I will generate a cygwin snapshot sometime soon which should have a fix for this problem. Keep an ey on: http://cygwin.com/snapshots/ cgf
Re: Problem with setup
Luke Kendall wrote: On 16 Nov, Bobby McNulty wrote: Then I'm not the only one noticing this? No, myself and one other person here have begun noticing it. luke -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ OK. I have a full cywin running now, with Xorg and KDE. So I'm ok. But I had to do it in four stages. KDE is working again under org. Like I said before, it was setup. Bobby
Re: GLX acceleration
Alexander: I believe the problem to be with the new xorg files, but there are quite a few and I don't have time to reinstall them all. I assume I'll just wait until the next update, but I hope the maintainers will at least keep this potential problem in mind. I have this CPU problem under xterm or rxvt, not only with dired, but also with ispell under mutt in these windows. I do not have these problems at all (using dired or ispell under mutt) under the standard Cygwin console window (no xorg depdendence). I note that dired using ncurses, ans perhaos ispell under mutt might too? Could there be some kind of new conflict with xorg utiltiies? I have all my Curr Cygwin files from mirrors.rcn.net up to date (omitting only setup -- which always seems to revert to Skip when downloaded -- and gcc-testsuite). Thanks for the info on glxgears. Lester +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Lester Ingber wrote: Yes, XWin_GL seems to run OK, though I have not seen any dramatic speedup yet. glxgears shows the fps and has a dramatic speedup. 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. Have you tried downgrading cygwin? Are the problems still present? bye ago
Re: GLX acceleration / Re: new cygwin has memory problems?
I just saw Christopher's posting re my posting of 12 Nov, explaining that indeed this is a Cygwin-specific problem. Lester +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Alexander: I believe the problem to be with the new xorg files, but there are quite a few and I don't have time to reinstall them all. I assume I'll just wait until the next update, but I hope the maintainers will at least keep this potential problem in mind. I have this CPU problem under xterm or rxvt, not only with dired, but also with ispell under mutt in these windows. I do not have these problems at all (using dired or ispell under mutt) under the standard Cygwin console window (no xorg depdendence). I note that dired using ncurses, ans perhaos ispell under mutt might too? Could there be some kind of new conflict with xorg utiltiies? I have all my Curr Cygwin files from mirrors.rcn.net up to date (omitting only setup -- which always seems to revert to Skip when downloaded -- and gcc-testsuite). Thanks for the info on glxgears. Lester +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Lester Ingber wrote: Yes, XWin_GL seems to run OK, though I have not seen any dramatic speedup yet. glxgears shows the fps and has a dramatic speedup. 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. Have you tried downgrading cygwin? Are the problems still present? bye ago -- Prof. Lester Ingber [EMAIL PROTECTED] [EMAIL PROTECTED] www.ingber.com www.alumni.caltech.edu/~ingber
Re: GLX acceleration
On Wed, Nov 17, 2004 at 10:14:37AM -0800, Lester Ingber wrote: I believe the problem to be with the new xorg files, but there are quite a few and I don't have time to reinstall them all. I assume I'll just wait until the next update, but I hope the maintainers will at least keep this potential problem in mind. The dired problem is a cygwin DLL problem which should be fixed by today's snapshot: http://cygwin.com/snapshots.html . I don't know about the other problems. cgf
Re: GLX acceleration
Lester, Exactly what kind of speedups are you expecting here? AFAIU, the GLX-accelerated XWin will give you speedup only for programs that use the GLX extension, which automatically excludes most standard X clients (e.g., xterm, emacs, etc). For applications not using the GLX extension, the GLX-accelerated XWin should be no different from the regular XWin. Alexander, please correct me if I'm wrong. Igor On Tue, 16 Nov 2004, Lester Ingber wrote: 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.) [snip] --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 -- 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
Reconnect to X session
Hi all, Searched the mailing list for this FAQ but no joy, so here we go How can I reconnect to a Cygwin/X server created X session started on a Linux server (Debian Sarge) ? How I currently connect ? From my XP desktop, open Cygwin Bash Shell Type X -broadcast Get the KDM log in screen from the Linux server (only Linux server on our LAN) Log on fine and everyhting works (except for the clipboard but that's no big deal) Problem Sometimes my wireless network temporarily dies and so my laptop loses connectivity to the LAN. This breaks the connection to the X session open on the Linux box and leaves an open X session on the Linux server that I can't reconnect to. Also, sometimes I need to leave the office and take my laptop with me. This forces me to close the X session on the Linux box, thereby terminating all apps running there. I want to be able to connect, disconnect reconnect the same as VNC. I can, and do use, VNC however the issue is that the Linux box runs at 800x600 due to an old monitor while my XP Pro dekstop runs at 1900x1220. I want/need the higher resolution. TIA