Re: running openGL application remotely using ssh -X and cygwin/x ,extension NV-GLX missing on display localhost:10.0

2014-04-29 Thread Jon TURNEY

On 28/04/2014 22:02, Linda Walsh wrote:

Jon TURNEY wrote:

Yes, this should work.


*But*, I'm pretty sure it doesn't anymore since the Xgl extension
that was used to transport the openGL commands between client/server
was removed from xorg's Xserver.


You seem to be confusing Xgl (an X server implementation) and GLX (an X 
protocol extension).


While they do contain the same letters in a different order, they are 
very different things.



AIGLX doesn't work with client's native openGL drives when the
DISPLAY isn't local. Instead, it sends full-frame-buffer updates to
simulate what would be happening -- something that appears to work
correctly for small OpenGL windows. But is entirely 'faked' (not
really remote openGL that used the Server's acceleration Hardware.

 Which would give you unaccelerated frame-buffer updates to simulate
the effect.  Not quite what used to be available.


This is also totally wrong.

You are (more or less) describing how mesa's direct software rendering 
works (which is usually the default path for remote displays) which is 
completely different to AIGLX (where GL commands are sent via the GLX 
protocol to the X server and rendered using acceleration there)


So, again, please stop spreading misinformation.

I'm sure there are bugs in and limitations with OpenGL and the XWin 
server, but if you have a problem, please don't hijack someone else's 
thread, but report it in sufficient detail for me to try to reproduce it.


--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
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: running openGL application remotely using ssh -X and cygwin/x ,extension NV-GLX missing on display localhost:10.0

2014-04-28 Thread Linda Walsh

Jon TURNEY wrote:


Yes, this should work.


*But*, I'm pretty sure it doesn't anymore since the Xgl extension that was
used to transport the openGL commands between client/server was removed
from xorg's Xserver.

From wikipedia:

Xgl was a display server implementation supporting the X Window System protocol 
designed to take advantage of modern graphics cards via their OpenGL drivers, 
layered on top of OpenGL via glitz. It supported hardware acceleration of all X, 
OpenGL and XVideo applications and graphical effects by a compositing window 
manager such as Compiz or Beryl. The project was started by David Reveman of 
Novell and first released on January 2, 2006. It was removed[1] from the X.org 
server in favor of AIGLX on June 12, 2008.

---

AIGLX doesn't work with client's native openGL drives when the DISPLAY 
isn't
local.  Instead, it sends full-frame-buffer updates to simulate what would be
happening -- something that appears to work correctly for small OpenGL 
windows.
But is entirely 'faked' (not really remote openGL that used the Server's
acceleration Hardware.


I'm not entirely clear if the 'extension �NV-GLX� missing' message is a 
warning or an error, but according to the internet it seems to be due to 
having a Nvidia libGL installed on the remote machine, so if all else 
fails you might look at uninstalling the Nvidia proprietary driver and 
libGL, and using mesa instead.


Which would give you unaccelerated frame-buffer updates to simulate
the effect.  Not quite what used to be available.


Note: this isn't a cygwin specific problem.  i.e. people running
xorg's server on a linux box have the same problem -- accelerated+remote
3D graphics seems to be dead.


--
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: running openGL application remotely using ssh -X and cygwin/x ,extension NV-GLX missing on display localhost:10.0

2014-04-27 Thread Biris, Octavian
I know for a fact that when I ssh from my Ubuntu partition to the
remote machine the application works without crashing. However, when I
use windows 8 and Cygwin X the crash occurs for the same application.
I will install the debugging tools and report my findings to you.

Thanks for looking into this!
-Octavian

On Sat, Apr 26, 2014 at 7:52 AM, Jon TURNEY jon.tur...@dronecode.org.uk wrote:
 On 24/04/2014 23:45, Biris, Octavian wrote:

 I am attempting to  run an opengl application remptely to a ubuntu
 linux machine from my windows 8 machine.
 To do so  I start the cygwin console, call startxwin.
 Running glxinfo | grep OpenGL returns the vendor of my graphics card,
 NVIDIA.

 glxinfo |grep OpenGL
 OpenGL vendor string: NVIDIA Corporation
 OpenGL renderer string: GeForce GTX 580/PCIe/SSE2
 OpenGL version string: 1.4 (4.4.0)
 OpenGL extensions:
 Then I ssh on the ubuntu machine using -X -C as the parameters.
 When attempting to start the application the console reads
 extension NV-GLX missing on display localhost:10.0.
 Afterwards, the cygwin/X server crashes and I have to restart it.I
 attached the log from
 /var/log/Xwin/XWin.0.log


 Thanks for the bug report.

 I'm afraid that the log doesn't contain enough information for me to
 identify the cause of the crash.

 Can you install the xorg-server-debuginfo package and try again?

 I also have been working on a tool to automate sending better crash
 information using minidumps.  If you would like to try that, download it
 from [1] (anonymous ftp) and put it into /usr/bin and reproduce your crash
 again.

 [1] ftp://cygwin.com/pub/cygwinx/x86_64/xorg_cygwin_crash_reporter_gui.exe


 Does cygwin/x support running OpenGL applications remotely? Am I
 missing something? Do I have to install the mesa-utils libraries on
 the remote machine?


 Yes, this should work.

 I'm not entirely clear if the 'extension NV-GLX missing' message is a
 warning or an error, but according to the internet it seems to be due to
 having a Nvidia libGL installed on the remote machine, so if all else fails
 you might look at uninstalling the Nvidia proprietary driver and libGL, and
 using mesa instead.

 --
 Jon TURNEY
 Volunteer Cygwin/X X Server maintainer


--
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: running openGL application remotely using ssh -X and cygwin/x ,extension NV-GLX missing on display localhost:10.0

2014-04-26 Thread Jon TURNEY

On 24/04/2014 23:45, Biris, Octavian wrote:

I am attempting to  run an opengl application remptely to a ubuntu
linux machine from my windows 8 machine.
To do so  I start the cygwin console, call startxwin.
Running glxinfo | grep OpenGL returns the vendor of my graphics card, NVIDIA.

glxinfo |grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 580/PCIe/SSE2
OpenGL version string: 1.4 (4.4.0)
OpenGL extensions:
Then I ssh on the ubuntu machine using -X -C as the parameters.
When attempting to start the application the console reads
extension NV-GLX missing on display localhost:10.0.
Afterwards, the cygwin/X server crashes and I have to restart it.I
attached the log from
/var/log/Xwin/XWin.0.log


Thanks for the bug report.

I'm afraid that the log doesn't contain enough information for me to 
identify the cause of the crash.


Can you install the xorg-server-debuginfo package and try again?

I also have been working on a tool to automate sending better crash 
information using minidumps.  If you would like to try that, download it 
from [1] (anonymous ftp) and put it into /usr/bin and reproduce your 
crash again.


[1] ftp://cygwin.com/pub/cygwinx/x86_64/xorg_cygwin_crash_reporter_gui.exe


Does cygwin/x support running OpenGL applications remotely? Am I
missing something? Do I have to install the mesa-utils libraries on
the remote machine?


Yes, this should work.

I'm not entirely clear if the 'extension “NV-GLX” missing' message is a 
warning or an error, but according to the internet it seems to be due to 
having a Nvidia libGL installed on the remote machine, so if all else 
fails you might look at uninstalling the Nvidia proprietary driver and 
libGL, and using mesa instead.


--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer


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



running openGL application remotely using ssh -X and cygwin/x ,extension NV-GLX missing on display localhost:10.0

2014-04-24 Thread Biris, Octavian
Hello there!
I am attempting to  run an opengl application remptely to a ubuntu
linux machine from my windows 8 machine.
To do so  I start the cygwin console, call startxwin.
Running glxinfo | grep OpenGL returns the vendor of my graphics card, NVIDIA.

glxinfo |grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 580/PCIe/SSE2
OpenGL version string: 1.4 (4.4.0)
OpenGL extensions:
Then I ssh on the ubuntu machine using -X -C as the parameters.
When attempting to start the application the console reads
extension NV-GLX missing on display localhost:10.0.
Afterwards, the cygwin/X server crashes and I have to restart it.I
attached the log from
/var/log/Xwin/XWin.0.log

Does cygwin/x support running OpenGL applications remotely? Am I
missing something? Do I have to install the mesa-utils libraries on
the remote machine?
Thanks so much!

-Octavian


XWin.0.log
Description: Binary data
--
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/