RE: Use remote graphical program

2008-01-14 Thread Phil Betts
Gustavo Seabra wrote on Thursday, January 03, 2008 3:16 PM::

 On Jan 3, 2008 7:08 AM, Phil Betts [EMAIL PROTECTED]
wrote:
  ^

http://cygwin.com/acronyms/#PCYMTNQREAIYR

 There is an experimental, but (in my experience) very stable, version
 of XWin with GLX support.  This is in package xorg-x11-xwin-gl and
 installs the executable XWin_GL.exe.  You would need to alter your
 startxwin.sh to run this instead of XWin.exe.  It works, just don't
 expect great performance. 
 
 Phil
 
 That's interesting... Last time I checked, there was no maintainer for
 X in Cygwin, but I do admit that was some time ago. So, I'm very
 curious to learn about this newer XWin version. If you don't mind, I'd
 like to ask a couple of questions:
 
 1. Is this package available through setup.exe? Or do we need to
 recompile it for Cygwin ourselves?
 
 2. What do you mean by don't expect great performance.? Is it a GLX
 issue or something related to this particular version of XWin, as
 compared to the older ones?
 
 Thanks a lot!
 Gustavo.

Sorry for the delay in replying.  I thought I'd sent it thanks to 
Outlook telling me I had, when in fact it had only saved it in my 
drafts folder!

This isn't new, it was experimental at the time Xwin last had a
maintainer and just never got promoted to stable.

It's available through setup.exe, but I guess you have to tick the 
exp radio button at the top to see it (once it's installed, it 
appears without selecting exp).

In terms of performance, GL software is really designed for running 
on the local host, so you're never going to get blazing performance
running clients on a remote host.  The network overhead slows it 
down considerably.  However, XWin's GLX is not particularly fast, 
even when running locally.  Running glxgears.exe at the default size,
on XWin running on my laptop, I get (approximately):

62 fps running locally
31 fps running on a linux box without using ssh forwarding
21 fps running on a linux box via ssh forwarding without compression.
47 fps running on a linux box via ssh forwarding with compression.

None of these are stunning (IIRC, I get several hundreds of fps on a
linux box at home), but it may be adequate for your purposes.

My experience is that native GL applications running on Windows (e.g.
Blender3D) run noticeably faster when running full screen (if they can),
because there is no contention with DirectX.  I haven't tested it, 
but if performance is a problem, it may be worth trying XWin 
full screen before giving up on it.

I haven't looked at the code, but the locally run glxgears runs at 
100% cpu on my laptop, which suggests that much of the GL code is 
handled in software, rather than hardware accelerated.  The remote 
tests all run at about 92% cpu, so the network is (just) the 
limiting factor.

Phil

--
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/



RE: Use remote graphical program

2008-01-03 Thread Phil Betts
Larry Hall (Cygwin X) wrote on Thursday, December 27, 2007 1:40 AM::

 horacioemilio wrote:
 Hi,
 
 I am trying to use a remote program which is installed on a remote
 linux machine. In these situations I usually do;
 
 0) on my windows machine I start cygwin and afterwards use
 startxwin.sh 
 
 1) ssh -X name-of-the-gateway-machine
 
 2) ssh -X name-of-the-linux-machine-inside-the-remote-network
 
 3) program-name 
 
 and programs like emacs or firefox appear on my desktop.
 
 But for some other program which uses more advanced graphics it does
 not work, I get the following error message;
 
 [EMAIL PROTECTED]:~ Xlib:  extension GLX missing on display
 localhost:10.0 . Xlib:  extension GLX missing on display
 localhost:10.0. 
 
 snip
 
 
 Do you know how could I overcome this situation ?
 
 This is more appropriately directed to the Cygwin X list.  I've reset
 the Reply-To there.  Please send any follow-up the the Cygwin X
 list. 
 
  From the above, it's clear the application you're trying to use wants
 to access the underlying hardware (via OpenGL).  This is not supported
 in the current Cygwin X server.  I believe there is a MinGW version
 which has some support for this though.  You may want to investigate
 that. 
 
 --
 Larry Hall  http://www.rfk.com
 RFK Partners, Inc.  (508) 893-9779 - RFK Office
 216 Dalton Rd.  (508) 429-6305 - FAX
 Holliston, MA 01746

There is an experimental, but (in my experience) very stable, version
of XWin with GLX support.  This is in package xorg-x11-xwin-gl and
installs the executable XWin_GL.exe.  You would need to alter your
startxwin.sh to run this instead of XWin.exe.  It works, just don't
expect great performance.

Phil

--
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/



Re: Use remote graphical program

2008-01-03 Thread Gustavo Seabra
On Jan 3, 2008 7:08 AM, Phil Betts [EMAIL PROTECTED] wrote:
 Larry Hall (Cygwin X) wrote on Thursday, December 27, 2007 1:40 AM::

  horacioemilio wrote:
  Hi,
 
  I am trying to use a remote program which is installed on a remote
  linux machine. In these situations I usually do;
 
  0) on my windows machine I start cygwin and afterwards use
  startxwin.sh
 
  1) ssh -X name-of-the-gateway-machine
 
  2) ssh -X name-of-the-linux-machine-inside-the-remote-network
 
  3) program-name 
 
  and programs like emacs or firefox appear on my desktop.
 
  But for some other program which uses more advanced graphics it does
  not work, I get the following error message;
 
  [EMAIL PROTECTED]:~ Xlib:  extension GLX missing on display
  localhost:10.0 . Xlib:  extension GLX missing on display
  localhost:10.0.
 
  snip
 
 
  Do you know how could I overcome this situation ?
 
  This is more appropriately directed to the Cygwin X list.  I've reset
  the Reply-To there.  Please send any follow-up the the Cygwin X
  list.
 
   From the above, it's clear the application you're trying to use wants
  to access the underlying hardware (via OpenGL).  This is not supported
  in the current Cygwin X server.  I believe there is a MinGW version
  which has some support for this though.  You may want to investigate
  that.
 
  --
  Larry Hall  http://www.rfk.com
  RFK Partners, Inc.  (508) 893-9779 - RFK Office
  216 Dalton Rd.  (508) 429-6305 - FAX
  Holliston, MA 01746

 There is an experimental, but (in my experience) very stable, version
 of XWin with GLX support.  This is in package xorg-x11-xwin-gl and
 installs the executable XWin_GL.exe.  You would need to alter your
 startxwin.sh to run this instead of XWin.exe.  It works, just don't
 expect great performance.

 Phil

That's interesting... Last time I checked, there was no maintainer for
X in Cygwin, but I do admit that was some time ago. So, I'm very
curious to learn about this newer XWin version. If you don't mind, I'd
like to ask a couple of questions:

1. Is this package available through setup.exe? Or do we need to
recompile it for Cygwin ourselves?

2. What do you mean by don't expect great performance.? Is it a GLX
issue or something related to this particular version of XWin, as
compared to the older ones?

Thanks a lot!
Gustavo.

--
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/



Re: Use remote graphical program

2007-12-26 Thread Larry Hall (Cygwin X)

horacioemilio wrote:

Hi,

I am trying to use a remote program which is installed on a remote linux
machine. In these situations I usually do;

0) on my windows machine I start cygwin and afterwards use startxwin.sh

1) ssh -X name-of-the-gateway-machine

2) ssh -X name-of-the-linux-machine-inside-the-remote-network

3) program-name 

and programs like emacs or firefox appear on my desktop.

But for some other program which uses more advanced graphics it does not
work, I get the following error message;

[EMAIL PROTECTED]:~ Xlib:  extension GLX missing on display localhost:10.0 
.

Xlib:  extension GLX missing on display localhost:10.0.


snip



Do you know how could I overcome this situation ?


This is more appropriately directed to the Cygwin X list.  I've reset the
Reply-To there.  Please send any follow-up the the Cygwin X list.

From the above, it's clear the application you're trying to use wants
to access the underlying hardware (via OpenGL).  This is not supported
in the current Cygwin X server.  I believe there is a MinGW version which
has some support for this though.  You may want to investigate that.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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/



Use remote graphical program

2007-12-26 Thread horacioemilio

Hi,

I am trying to use a remote program which is installed on a remote linux
machine. In these situations I usually do;

0) on my windows machine I start cygwin and afterwards use startxwin.sh

1) ssh -X name-of-the-gateway-machine

2) ssh -X name-of-the-linux-machine-inside-the-remote-network

3) program-name 

and programs like emacs or firefox appear on my desktop.

But for some other program which uses more advanced graphics it does not
work, I get the following error message;

[EMAIL PROTECTED]:~ Xlib:  extension GLX missing on display localhost:10.0 

.
Xlib:  extension GLX missing on display localhost:10.0.
Xlib:  extension GLX missing on display localhost:10.0.
Xlib:  extension GLX missing on display localhost:10.0.
Xlib:  extension GLX missing on display localhost:10.0.
Xlib:  extension GLX missing on display localhost:10.0.
Xlib:  extension GLX missing on display localhost:10.0.
Xlib:  extension GLX missing on display localhost:10.0.
Xlib:  extension GLX missing on display localhost:10.0.
moe: WT fatal error: OpenGL: Can't find suitable visual

Reading cygwin forums I tried  two times ssh -Y instead of ssh -X and now I
don't get the previous error message, instead I get;

1) when trying to connect to the first machine; Warning: No xauth data;
using fake authentication data for X11 forwarding.

2) connecting to the second machine and starting the program;

 Xlib:  extension XFree86-DRI missing on display localhost:10.0.

The program starts, the main screen appears, but the menus don't appear,
so I can not use the program.

Do you know how could I overcome this situation ?

Thanks



-- 
View this message in context: 
http://www.nabble.com/Use-remote-graphical-program-tp14504480p14504480.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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/



Re: Use remote graphical program

2007-12-26 Thread Larry Hall (Cygwin X)

horacioemilio wrote:

Hi,

I am trying to use a remote program which is installed on a remote linux
machine. In these situations I usually do;

0) on my windows machine I start cygwin and afterwards use startxwin.sh

1) ssh -X name-of-the-gateway-machine

2) ssh -X name-of-the-linux-machine-inside-the-remote-network

3) program-name 

and programs like emacs or firefox appear on my desktop.

But for some other program which uses more advanced graphics it does not
work, I get the following error message;

[EMAIL PROTECTED]:~ Xlib:  extension GLX missing on display localhost:10.0 
.

Xlib:  extension GLX missing on display localhost:10.0.


snip



Do you know how could I overcome this situation ?


This is more appropriately directed to the Cygwin X list.  I've reset the
Reply-To there.  Please send any follow-up the the Cygwin X list.

From the above, it's clear the application you're trying to use wants
to access the underlying hardware (via OpenGL).  This is not supported
in the current Cygwin X server.  I believe there is a MinGW version which
has some support for this though.  You may want to investigate that.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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/