Re: /dev/windows and select() [was Re: Slow response to keypresses in xorg-server-1.8.0-1]

2010-08-30 Thread Corinna Vinschen
On Aug 29 14:39, Jon TURNEY wrote: On 08/08/2010 12:04, Andy Koppe wrote: On 7 August 2010 23:07, Jon TURNEY wrote: Hmmm, looking again at the implementation of select(), I don't immediately see that when waiting on /dev/windows, it checks that the message queue has old messages on it before

Re: /dev/windows and select() [was Re: Slow response to keypresses in xorg-server-1.8.0-1]

2010-08-30 Thread Jon TURNEY
On 30/08/2010 12:23, Corinna Vinschen wrote: On Aug 29 14:39, Jon TURNEY wrote: On 08/08/2010 12:04, Andy Koppe wrote: On 7 August 2010 23:07, Jon TURNEY wrote: Hmmm, looking again at the implementation of select(), I don't immediately see that when waiting on /dev/windows, it checks that the

/dev/windows and select() [was Re: Slow response to keypresses in xorg-server-1.8.0-1]

2010-08-29 Thread Jon TURNEY
On 08/08/2010 12:04, Andy Koppe wrote: On 7 August 2010 23:07, Jon TURNEY wrote: Hmmm, looking again at the implementation of select(), I don't immediately see that when waiting on /dev/windows, it checks that the message queue has old messages on it before waiting. The MSDN documentation for

Re: /dev/windows and select() [was Re: Slow response to keypresses in xorg-server-1.8.0-1]

2010-08-29 Thread Corinna Vinschen
On Aug 29 14:39, Jon TURNEY wrote: On 08/08/2010 12:04, Andy Koppe wrote: On 7 August 2010 23:07, Jon TURNEY wrote: Hmmm, looking again at the implementation of select(), I don't immediately see that when waiting on /dev/windows, it checks that the message queue has old messages on it before

Re: /dev/windows and select() [was Re: Slow response to keypresses in xorg-server-1.8.0-1]

2010-08-29 Thread Corinna Vinschen
On Aug 29 16:17, Corinna Vinschen wrote: On Aug 29 14:39, Jon TURNEY wrote: On 08/08/2010 12:04, Andy Koppe wrote: On 7 August 2010 23:07, Jon TURNEY wrote: Hmmm, looking again at the implementation of select(), I don't immediately see that when waiting on /dev/windows, it checks that the

Re: /dev/windows and select() [was Re: Slow response to keypresses in xorg-server-1.8.0-1]

2010-08-29 Thread Corinna Vinschen
On Aug 29 16:41, Corinna Vinschen wrote: On Aug 29 16:17, Corinna Vinschen wrote: On Aug 29 14:39, Jon TURNEY wrote: On 08/08/2010 12:04, Andy Koppe wrote: On 7 August 2010 23:07, Jon TURNEY wrote: Hmmm, looking again at the implementation of select(), I don't immediately see

Re: /dev/windows and select() [was Re: Slow response to keypresses in xorg-server-1.8.0-1]

2010-08-29 Thread Trollope, David
We are listening and learning :-) Dave Sent from my iPad On Aug 29, 2010, at 9:51 AM, Corinna Vinschen corinna-cyg...@cygwin.com wrote: On Aug 29 16:41, Corinna Vinschen wrote: On Aug 29 16:17, Corinna Vinschen wrote: On Aug 29 14:39, Jon TURNEY wrote: On 08/08/2010 12:04, Andy Koppe

Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-08-08 Thread Andy Koppe
On 7 August 2010 23:07, Jon TURNEY wrote: Hmmm, looking again at the implementation of select(), I don't immediately see that when waiting on /dev/windows, it checks that the message queue has old messages on it before waiting.  The MSDN documentation for MsgWaitForMultipleObjects() seems to

Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-08-07 Thread Reini Urban
2010/8/5 Laurent Montaron l...@pobox.com:  The workaround in XWin.20100630-git-bc2f74e105146c36.exe definitely fixes the problem. I have been running with it for two days now. Did anyone find out if root cause is a bug in /dev/windows implementation or something else? It just smells like so,

Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-08-07 Thread Jon TURNEY
On 07/08/2010 16:39, Reini Urban wrote: 2010/8/5 Laurent Montaronl...@pobox.com: The workaround in XWin.20100630-git-bc2f74e105146c36.exe definitely fixes the problem. I have been running with it for two days now. Did anyone find out if root cause is a bug in /dev/windows implementation or

Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-08-05 Thread Laurent Montaron
The workaround in XWin.20100630-git-bc2f74e105146c36.exe definitely fixes the problem. I have been running with it for two days now. Did anyone find out if root cause is a bug in /dev/windows implementation or something else? On 11:59, Jon TURNEY wrote: Anyhow, I've cooked up a small

Re: Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-08-03 Thread Ryan Johnson
On 8:59 PM, Jon TURNEY wrote: I've cooked up a small additional change which should prevent this blocking behaviour and uploaded a build [2]. It seems to resolve the problem in this specific case. Perhaps you could try it out and see if it helps? [1]

Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-07-20 Thread Simon Marlow
On 20/07/2010 00:00, Angelo Graziosi wrote: Il 19/07/2010 17.45, Simon Marlow ha scritto: On 19/07/2010 15:51, Angelo Graziosi wrote: Simon Marlow wrote: I use the VirtuaWin virtual-desktop tool, and found that often when switching to a desktop with XWin windows on it, the windows would

Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-07-19 Thread Simon Marlow
On 30/06/2010 18:40, Jon TURNEY wrote: This is fallout from a change [1] to the way we process Windows messages to handle large bursts of them overflowing the Xserver's internal event queue. It seems that sometimes /dev/windows doesn't seem ready to select() even when there is still Windows

Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-07-19 Thread Angelo Graziosi
Simon Marlow wrote: I use the VirtuaWin virtual-desktop tool, and found that often when switching to a desktop with XWin windows on it, the windows would remain blank until I right-clicked on the XWin icon in the tray, when they would refresh. Strange. It is more than an year I use

Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-07-19 Thread Simon Marlow
On 19/07/2010 15:51, Angelo Graziosi wrote: Simon Marlow wrote: I use the VirtuaWin virtual-desktop tool, and found that often when switching to a desktop with XWin windows on it, the windows would remain blank until I right-clicked on the XWin icon in the tray, when they would refresh.

Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-07-19 Thread Angelo Graziosi
Il 19/07/2010 17.45, Simon Marlow ha scritto: On 19/07/2010 15:51, Angelo Graziosi wrote: Simon Marlow wrote: I use the VirtuaWin virtual-desktop tool, and found that often when switching to a desktop with XWin windows on it, the windows would remain blank until I right-clicked on the XWin

Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-07-01 Thread Leigh Orf
Hi, just joined the list. I updated to the latest cygwin today and was having the same problem with X just freezing up in the background. Your fix did the trick. I am profoundly grateful, it was making me batty. Since I've never overwritten an installed binary with cygwin before, wondering

Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-07-01 Thread Marco Atzeri
--- Mer 30/6/10, Jon TURNEY ha scritto: Anyhow, I've cooked up a small additional change which should prevent this blocking behaviour and uploaded a build [2]. It seems to resolve the problem in this specific case. Perhaps you could try it out and see if it helps? [1]

Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-07-01 Thread Larry Hall (Cygwin X)
On 7/1/2010 4:49 PM, Leigh Orf wrote: Hi, just joined the list. I updated to the latest cygwin today and was having the same problem with X just freezing up in the background. Your fix did the trick. I am profoundly grateful, it was making me batty. Since I've never overwritten an installed

Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-06-30 Thread Jon TURNEY
On 02/05/2010 21:52, Ken Brown wrote: On 5/1/2010 9:49 AM, Ken Brown wrote: I'm often seeing a very slow response to keypresses under xorg-server-1.8.0-1. The problem is intermittent, but it always happens within a few minutes after starting the server (via the start menu shortcut or a slight

Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-06-30 Thread Ken Brown
On 6/30/2010 1:40 PM, Jon TURNEY wrote: On 02/05/2010 21:52, Ken Brown wrote: On 5/1/2010 9:49 AM, Ken Brown wrote: I'm often seeing a very slow response to keypresses under xorg-server-1.8.0-1. The problem is intermittent, but it always happens within a few minutes after starting the server

Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-06-29 Thread Robert Daasch
Wed, 02 Jun 2010 09:52:28 -0700 I have this problem too. I found a weird, non-code partial solution: run some sort of constantly-updating graphical program in the background, like ico or something like that. This workaround is apparently avoiding the X 1.8.0 response problem. I am running

Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-06-10 Thread Joseph Ess
On Sat, 01 May 2010 09:49:21, Ken Brown wrote: I'm often seeing a very slow response to keypresses under xorg-server-1.8.0-1. The problem is intermittent, but it always happens within a few minutes after starting the server (via the start menu shortcut or a slight variant). Here are some

Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-06-02 Thread Tony Hammitt
I have this problem too. I found a weird, non-code partial solution: run some sort of constantly-updating graphical program in the background, like ico or something like that. I think the problem is that the X server or window manager goes to sleep and won't wake up until you get its attention.

Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-05-20 Thread J. Offerman
Yeah I just saw that as well. Today I upgraded my xserver from 1.7.3 to 1.8.0 and immediately noticed the awkwardness on Alt-Tab. What happened? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-05-18 Thread Ryan Johnson
On 8:59 PM, Ken Brown wrote: On 5/1/2010 9:49 AM, Ken Brown wrote: I'm often seeing a very slow response to keypresses under xorg-server-1.8.0-1. The problem is intermittent, but it always happens within a few minutes after starting the server (via the start menu shortcut or a slight variant

Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-05-02 Thread Ken Brown
On 5/1/2010 9:49 AM, Ken Brown wrote: I'm often seeing a very slow response to keypresses under xorg-server-1.8.0-1. The problem is intermittent, but it always happens within a few minutes after starting the server (via the start menu shortcut or a slight variant). Here are some examples: 1