X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 440B83858405 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=maxrnd.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=maxrnd.com Subject: Re: Window flickering problem in XWin multiwindow mode From: Mark Geisert To: cygwin AT cygwin DOT com References: <38faf684-7c40-17d7-c961-ce66abc9b74a AT maxrnd DOT com> Message-ID: <3c4fedb0-f4c8-8fd4-1f86-cc6731d1548b@maxrnd.com> Date: Fri, 29 Apr 2022 20:58:34 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 MIME-Version: 1.0 In-Reply-To: <38faf684-7c40-17d7-c961-ce66abc9b74a@maxrnd.com> X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_EXEURI, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 23U3wxBh003099 Replying to myself.. > Hello, > > S.J. Luo wrote: >> SL on Apr 26, 2022: >> >>> I have some EDA tools running on a Linux machine and display on my Windows >>> PC using xorg-server-21.1.3 XWin multiwindow mode >>> Sometimes the application window flickers forever for an unknown reason. >>> The problem became more severe after my PC upgrade to Windows10. >> >>> After re-compiling and debugging, I found a calling loop triggered. >>> Knowing the root cause, I am now able to demonstrate the issue with a small >>> test case as well as a patch that works for me. Both are attached below. >> >> Any one successfully duplicated the issue? > > I've reproduced it.  That's a really annoying effect/issue you're seeing.  I've > been waiting for the Cygwin X maintainer to respond.  I'm not familiar enough with > X internals to know whether your patch is the most appropriate fix. > > I will try to build the object you're patching, with your patch, and make that > available to you as a workaround.  I'm assuming you haven't done that yourself > just yet..  Give me a day or so to work it out. I may have misread your post. It now seems to me you've built an X server with your patch for your own use; you were just needing some acknowledgement from the Cygwin folks of the issue you reported. In any case, anybody else who runs into the flickering window issue and needs a workaround, you can pick up a patched X Window server (64-bit) that I've placed in a public location: http://maxrnd.com/~mark/cygwin/x86_64/XWin.exe . Cheers, ..mark -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple