public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* OpenGL application performance and "ghost" windows remaining
@ 2013-04-18 15:31 Daniel Humphreys
       [not found] ` <1366361715.78751.YahooMailNeo@web171302.mail.ir2.yahoo.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Humphreys @ 2013-04-18 15:31 UTC (permalink / raw)
  To: cygwin-xfree

Hi,

I have installed the latest version of Cygin X server 
(1.13.3) and trying to run a 3D OpenGL based application via ssh (PuTTY)
 and X11 port forwarding.  My host machine is Windows Vista 32 bit and 
am running a Lubuntu 12.10 guest VM using Virtualbox.  I've started the 
XWin server, connected to the VM using SSH and opened an xterm, set 
LIBGL_ALWAYS_INDIRECT=1.  Running "glxinfo | 
grep OpenGL" tells me that I am picking up my graphics card and glxgears
 also appears to give me good performance (~2kfps) so believe WGL to be 
working ok.

When I try to start my OpenGL application from the 
xterm and work through a typical use case, I appear to be getting 
"ghost" windows left behind from windows/message boxes that appear as I 
work through my example.  These also appear when I left 
click the left mouse and I can't find a way of getting rid of them.  
Also the performance generally seems to be a bit temperamental and 
"flickery" between what should be displayed and these "leftover" windows
 depending on where I click on the screen.

Have I included sufficient information?  I have a couple of jpegs I could upload if this helps.

I'm thinking it could be an issue related to the second of the known issues here:

http://x.cygwin.com/docs/ug/using-aiglx.html

What can I do to improve the performance of my application?

Many thanks!

P.S. Incidentally I know that my application works without any problems in the latest version of Xming (7.5.0.64)
 but would like to try get Cygwin/X up and running to the same performance if possible.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: OpenGL application performance and "ghost" windows remaining
       [not found] ` <1366361715.78751.YahooMailNeo@web171302.mail.ir2.yahoo.com>
@ 2013-04-19  9:05   ` Daniel Humphreys
  2013-04-22 14:55     ` Daniel Humphreys
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Humphreys @ 2013-04-19  9:05 UTC (permalink / raw)
  To: cygwin-xfree

Hi


I've done some more testing...

I can confirm that my application doesn't work (i.e. I get the same problem) with: Cygwin/X, VcXsrv and MobaXterm (tried all combinations of settings)

However it does work with Xming.. What is in Xming that isn't in the others or is it a setting/command line parameter I need to use?

Tried it on 2 different machines (Windows Vista 32 bit and Windows 7 64 bit) and the same problem appears on both.  Incidentally both machines are running ATI Radeon cards.

I want to use Cygwin since I'd like to redistribute the binary.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: OpenGL application performance and "ghost" windows remaining
  2013-04-19  9:05   ` Daniel Humphreys
@ 2013-04-22 14:55     ` Daniel Humphreys
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Humphreys @ 2013-04-22 14:55 UTC (permalink / raw)
  To: cygwin-xfree

With the aim of supplying some more information in the hope that someone might help, here are two links to two files demonstrating what I am seeing and what I expect to see with this specific application.

This file shows what I would expect to see:
https://docs.google.com/file/d/0B-aBUdSeOSJNWUpUaVczcmYzTUU/edit?usp=sharing

This file shows a screen grab of what I am seeing, with the "ghost" windows remaining from earlier windows which appeared:
https://docs.google.com/file/d/0B-aBUdSeOSJNQkRJOW9pLVl5OTA/edit?usp=sharing

As I say, I don't see this effect with Xming... Is there anything I can do to get the same performance from Cygwin/X?

Many thanks!

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-22 14:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-18 15:31 OpenGL application performance and "ghost" windows remaining Daniel Humphreys
     [not found] ` <1366361715.78751.YahooMailNeo@web171302.mail.ir2.yahoo.com>
2013-04-19  9:05   ` Daniel Humphreys
2013-04-22 14:55     ` Daniel Humphreys

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).