public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* running openGL application remotely using ssh -X and cygwin/x ,extension "NV-GLX" missing on display "localhost:10.0
@ 2014-04-24 22:45 Biris, Octavian
  2014-04-26 11:52 ` Jon TURNEY
  0 siblings, 1 reply; 5+ messages in thread
From: Biris, Octavian @ 2014-04-24 22:45 UTC (permalink / raw)
  To: cygwin-xfree

[-- Attachment #1: Type: text/plain, Size: 894 bytes --]

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

[-- Attachment #2: XWin.0.log --]
[-- Type: application/octet-stream, Size: 16476 bytes --]

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.15.1.0
OS: CYGWIN_NT-6.2 Arbogast 1.7.29(0.272/5/3) 2014-04-07 13:46 x86_64
OS: Windows 8  [Windows NT 6.2 build 9200](Win64)
Package: version 1.15.1-1 built 2014-04-17

XWin was started with the following command line:

X :0 -multiwindow 

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1920 h 1200
winInitializeScreenDefaults - native DPI x 96 y 96
[681332.968] Initializing built-in extension Generic Event Extension
[681332.968] Initializing built-in extension SHAPE
[681332.968] Initializing built-in extension MIT-SHM
[681332.968] Initializing built-in extension XInputExtension
[681332.968] Initializing built-in extension XTEST
[681332.968] Initializing built-in extension BIG-REQUESTS
[681332.968] Initializing built-in extension SYNC
[681332.968] Initializing built-in extension XKEYBOARD
[681332.968] Initializing built-in extension XC-MISC
[681332.968] Initializing built-in extension XINERAMA
[681332.968] Initializing built-in extension XFIXES
[681332.968] Initializing built-in extension XFree86-Bigfont
[681332.968] Initializing built-in extension RENDER
[681332.968] Initializing built-in extension RANDR
[681332.968] Initializing built-in extension COMPOSITE
[681332.968] Initializing built-in extension DAMAGE
[681332.968] Initializing built-in extension MIT-SCREEN-SAVER
[681332.968] Initializing built-in extension DOUBLE-BUFFER
[681332.968] Initializing built-in extension RECORD
[681332.968] Initializing built-in extension DPMS
[681332.968] Initializing built-in extension Present
[681332.968] Initializing built-in extension X-Resource
[681332.968] Initializing built-in extension GLX
[681332.968] (II) xorg.conf is not supported
[681332.968] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
[681332.968] LoadPreferences: /home/octi/.XWinrc not found
[681332.968] LoadPreferences: Loading /etc/X11/system.XWinrc
[681333.000] LoadPreferences: Done parsing the configuration file...
[681333.093] winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
[681333.093] winDetectSupportedEngines - Returning, supported engines 00000015
[681333.093] winSetEngine - Multi Window or Rootless => ShadowGDI
[681333.093] winScreenInit - Using Windows display depth of 32 bits per pixel
[681333.093] winAllocateFBShadowGDI - Creating DIB with width: 1920 height: 1200 depth: 32
[681333.093] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[681333.093] winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
[681333.109] winInitMultiWindowWM - Calling pthread_mutex_lock ()
[681333.109] winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
[681333.171] MIT-SHM extension disabled due to lack of kernel support
[681333.171] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
[681333.187] glWinSelectGLimplementation: Loaded 'cygnativeGLthunk.dll'
[681333.359] GL_VERSION:     4.4.0
[681333.359] GL_VENDOR:      NVIDIA Corporation
[681333.359] GL_RENDERER:    GeForce GTX 580/PCIe/SSE2
[681333.359] (II) AIGLX: enabled GLX_SGI_make_current_read
[681333.359] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[681333.359] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[681333.359] (II) AIGLX: enabled GLX_SGIX_pbuffer
[681333.359] (II) AIGLX: enabled GLX_ARB_multisample and GLX_SGIS_multisample
[681333.359] (II) 482 pixel formats reported by wglGetPixelFormatAttribivARB
[681333.375] (II) AIGLX: Set GLX version to 1.4
[681333.375] (II) 323 fbConfigs
[681333.375] (II) GLX: Initialized Win32 native WGL GL provider for screen 0
[681333.953] winPointerWarpCursor - Discarding first warp: 960 600
[681333.953] (--) 16 mouse buttons found
[681333.953] (--) Setting autorepeat to delay=500, rate=31
[681333.953] (--) Windows keyboard layout: "00000409" (00000409) "US", type 4
[681333.953] (--) Found matching XKB configuration "English (USA)"
[681333.953] (--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[681333.953] Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[681333.953] winBlockHandler - pthread_mutex_unlock()
[681333.953] winInitMultiWindowWM - pthread_mutex_lock () returned.
[681333.953] winInitMultiWindowWM - pthread_mutex_unlock () returned.
[681333.953] winMultiWindowXMsgProc - pthread_mutex_lock () returned.
[681333.953] winInitMultiWindowWM - DISPLAY=:0.0
[681333.953] winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
[681333.968] winProcEstablishConnection - winInitClipboard returned.
[681333.968] winClipboardThreadProc - DISPLAY=:0.0
[681333.968] winMultiWindowXMsgProc - DISPLAY=:0.0
[681333.968] winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.
[681333.968] winClipboardProc - XOpenDisplay () returned and successfully opened the display.
[681333.968] winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.
[681347.484] winGetWindowInfo: forcing window to exist
[681378.640] executing 'emacs', pid 6128
[681378.671] (pid 6128 stderr) /bin/sh: emacs: command not found
[681460.109] winGetWindowInfo: forcing window to exist
[681479.640] winGetWindowInfo: forcing window to exist
[681480.281] OS has icon alpha channel support: yes
[681480.703] Fatal signal received in thread 0x60
[681480.703] (EE) Segmentation fault at address 0x6007d0000
[681481.484] (EE) Install xorg-server-debuginfo to get symbol table info for backtraces
[681481.484] (EE) Attempting gdb backtrace on pid 10044
[681482.281] (EE) 
[681482.281] (EE) ==================== GDB Backtrace ============
[681482.281] (EE) 
[681482.281] (EE) GNU gdb (GDB) 7.6.50.20130728-cvs (cygwin-special)
[681482.281] (EE) This GDB was configured as "x86_64-pc-cygwin".
[681482.281] (EE) 
[681482.281] (EE) ==================== Backtrace ================
[681482.281] (EE) 
[681482.281] (EE) Thread 17 (Thread 7828.0x24f0):
[681482.281] (EE) #0  0x000007fd06541e01 in ntdll!DbgBreakPoint ()
[681482.281] (EE)    from /cygdrive/c/windows/SYSTEM32/ntdll.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #1  0x000007fd065fade0 in ntdll!DbgUiRemoteBreakin ()
[681482.281] (EE)    from /cygdrive/c/windows/SYSTEM32/ntdll.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #2  0x0000000000000000 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) 
[681482.281] (EE) Thread 16 (Thread 7828.0x30):
[681482.281] (EE) #0  0x000007fd0654459b in ntdll!ZwTraceControl ()
[681482.281] (EE)    from /cygdrive/c/windows/SYSTEM32/ntdll.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #1  0x000007fd065a458c in ntdll!EtwpNotificationThread ()
[681482.281] (EE)    from /cygdrive/c/windows/SYSTEM32/ntdll.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #2  0x0000000000000001 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #3  0x0000000000000000 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) 
[681482.281] (EE) Thread 15 (Thread 7828.0x1ab4):
[681482.281] (EE) #0  0x000007fd06542c2a in ntdll!ZwWaitForSingleObject ()
[681482.281] (EE)    from /cygdrive/c/windows/SYSTEM32/ntdll.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #1  0x000007fd038310ea in WaitForSingleObjectEx ()
[681482.281] (EE)    from /cygdrive/c/windows/system32/KERNELBASE.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #2  0x0000000000000000 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) 
[681482.281] (EE) Thread 14 (Thread 7828.0x24e0):
[681482.281] (EE) #0  0x000007fd06542c2a in ntdll!ZwWaitForSingleObject ()
[681482.281] (EE)    from /cygdrive/c/windows/SYSTEM32/ntdll.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #1  0x000007fd038310ea in WaitForSingleObjectEx ()
[681482.281] (EE)    from /cygdrive/c/windows/system32/KERNELBASE.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #2  0x0000000000000000 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) 
[681482.281] (EE) Thread 13 (Thread 7828.0x91c):
[681482.281] (EE) #0  0x000007fd0654319b in ntdll!ZwWaitForMultipleObjects ()
[681482.281] (EE)    from /cygdrive/c/windows/SYSTEM32/ntdll.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #1  0x000007fd0383129e in KERNELBASE!GetTickCount ()
[681482.281] (EE)    from /cygdrive/c/windows/system32/KERNELBASE.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #2  0x0000000000000000 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) 
[681482.281] (EE) Thread 12 (Thread 7828.0x1b14):
[681482.281] (EE) #0  0x000007fd0654319b in ntdll!ZwWaitForMultipleObjects ()
[681482.281] (EE)    from /cygdrive/c/windows/SYSTEM32/ntdll.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #1  0x000007fd0383129e in KERNELBASE!GetTickCount ()
[681482.281] (EE)    from /cygdrive/c/windows/system32/KERNELBASE.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #2  0x0000000000000000 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) 
[681482.281] (EE) Thread 11 (Thread 7828.0x1f50):
[681482.281] (EE) #0  0x000007fd06542c4a in ntdll!ZwReadFile ()
[681482.281] (EE)    from /cygdrive/c/windows/SYSTEM32/ntdll.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #1  0x000007fd03832978 in ReadFile ()
[681482.281] (EE)    from /cygdrive/c/windows/system32/KERNELBASE.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #2  0x0000e60b41881870 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #3  0x0000000000000000 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) 
[681482.281] (EE) Thread 10 (Thread 7828.0x1524):
[681482.281] (EE) #0  0x000007fd06542c7a in ntdll!ZwRemoveIoCompletion ()
[681482.281] (EE)    from /cygdrive/c/windows/SYSTEM32/ntdll.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #1  0x000007fd02c25a19 in Tcpip4_WSHOpenSocket2 ()
[681482.281] (EE)    from /cygdrive/c/windows/System32/mswsock.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #2  0x0000000000000000 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) 
[681482.281] (EE) Thread 9 (Thread 7828.0x1234):
[681482.281] (EE) #0  0x000007fd0654319b in ntdll!ZwWaitForMultipleObjects ()
[681482.281] (EE)    from /cygdrive/c/windows/SYSTEM32/ntdll.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #1  0x000007fd0383129e in KERNELBASE!GetTickCount ()
[681482.281] (EE)    from /cygdrive/c/windows/system32/KERNELBASE.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #2  0x0000000000000000 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) 
[681482.281] (EE) Thread 8 (Thread 7828.0x1348):
[681482.281] (EE) #0  0x000007fd0654319b in ntdll!ZwWaitForMultipleObjects ()
[681482.281] (EE)    from /cygdrive/c/windows/SYSTEM32/ntdll.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #1  0x000007fd0383129e in KERNELBASE!GetTickCount ()
[681482.281] (EE)    from /cygdrive/c/windows/system32/KERNELBASE.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #2  0x0000000000000000 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) 
[681482.281] (EE) Thread 7 (Thread 7828.0x13e0):
[681482.281] (EE) #0  0x000007fd06542c2a in ntdll!ZwWaitForSingleObject ()
[681482.281] (EE)    from /cygdrive/c/windows/SYSTEM32/ntdll.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #1  0x000007fd038310ea in WaitForSingleObjectEx ()
[681482.281] (EE)    from /cygdrive/c/windows/system32/KERNELBASE.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #2  0x409e000000000001 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #3  0x0000000000000000 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) 
[681482.281] (EE) Thread 6 (Thread 7828.0x15b8):
[681482.281] (EE) #0  0x000007fd0654319b in ntdll!ZwWaitForMultipleObjects ()
[681482.281] (EE)    from /cygdrive/c/windows/SYSTEM32/ntdll.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #1  0x000007fd0383129e in KERNELBASE!GetTickCount ()
[681482.281] (EE)    from /cygdrive/c/windows/system32/KERNELBASE.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #2  0x0000000000000000 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) 
[681482.281] (EE) Thread 5 (Thread 7828.0x18b4):
[681482.281] (EE) #0  0x000007fd0654319b in ntdll!ZwWaitForMultipleObjects ()
[681482.281] (EE)    from /cygdrive/c/windows/SYSTEM32/ntdll.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #1  0x000007fd0383129e in KERNELBASE!GetTickCount ()
[681482.281] (EE)    from /cygdrive/c/windows/system32/KERNELBASE.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #2  0x00000000ffdfc1a0 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #3  0x00000006007a6d50 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #4  0x00000000ffdfc210 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #5  0x0000000000000002 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #6  0x0000000000000000 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) 
[681482.281] (EE) Thread 4 (Thread 7828.0x974):
[681482.281] (EE) #0  0x000007fd0654319b in ntdll!ZwWaitForMultipleObjects ()
[681482.281] (EE)    from /cygdrive/c/windows/SYSTEM32/ntdll.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #1  0x000007fd0383129e in KERNELBASE!GetTickCount ()
[681482.281] (EE)    from /cygdrive/c/windows/system32/KERNELBASE.dll
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #2  0x00000000ffefca80 in ?? ()
[681482.281] (EE) No symbol table info available.
[681482.281] (EE) #3  0x000007fd05651c7f in KERNEL32!FormatMessageW ()
[681482.281] (EE)    from /cygdrive/c/windows/system32/KERNEL32.DLL
[681482.296] (EE) No symbol table info available.
[681482.296] (EE) #4  0x0000000000000000 in ?? ()
[681482.296] (EE) No symbol table info available.
[681482.296] (EE) 
[681482.296] (EE) Thread 3 (Thread 7828.0x198c):
[681482.296] (EE) #0  0x000007fd06041eba in USER32!ScrollDC ()
[681482.296] (EE)    from /cygdrive/c/windows/system32/USER32.dll
[681482.296] (EE) No symbol table info available.
[681482.296] (EE) #1  0x000007fd06045760 in USER32!GetMessageA ()
[681482.296] (EE)    from /cygdrive/c/windows/system32/USER32.dll
[681482.296] (EE) No symbol table info available.
[681482.296] (EE) #2  0x0000000000000000 in ?? ()
[681482.296] (EE) No symbol table info available.
[681482.296] (EE) 
[681482.296] (EE) Thread 2 (Thread 7828.0xd18):
[681482.296] (EE) #0  0x000007fd06542c4a in ntdll!ZwReadFile ()
[681482.296] (EE)    from /cygdrive/c/windows/SYSTEM32/ntdll.dll
[681482.296] (EE) No symbol table info available.
[681482.296] (EE) #1  0x000007fd03832978 in ReadFile ()
[681482.296] (EE)    from /cygdrive/c/windows/system32/KERNELBASE.dll
[681482.296] (EE) No symbol table info available.
[681482.296] (EE) #2  0x0000000000000000 in ?? ()
[681482.296] (EE) No symbol table info available.
[681482.296] (EE) 
[681482.296] (EE) Thread 1 (Thread 7828.0x2178):
[681482.296] (EE) #0  0x000007fd0654319b in ntdll!ZwWaitForMultipleObjects ()
[681482.296] (EE)    from /cygdrive/c/windows/SYSTEM32/ntdll.dll
[681482.296] (EE) No symbol table info available.
[681482.296] (EE) #1  0x000007fd0383129e in KERNELBASE!GetTickCount ()
[681482.296] (EE)    from /cygdrive/c/windows/system32/KERNELBASE.dll
[681482.296] (EE) No symbol table info available.
[681482.296] (EE) #2  0x0000000000000000 in ?? ()
[681482.296] (EE) No symbol table info available.
[681482.296] (EE) 
[681482.296] (EE) ==================== Backtrace End ============
[681482.296] (EE) 
[681482.296] (EE) Fatal server error:
[681482.296] (EE) Caught signal 11 (Segmentation fault). Server aborting
[681482.296] (EE) Server terminated with error (1). Closing log file.

[-- Attachment #3: Type: text/plain, Size: 223 bytes --]

--
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] 5+ messages in thread

* Re: running openGL application remotely using ssh -X and cygwin/x ,extension "NV-GLX" missing on display "localhost:10.0
  2014-04-24 22:45 running openGL application remotely using ssh -X and cygwin/x ,extension "NV-GLX" missing on display "localhost:10.0 Biris, Octavian
@ 2014-04-26 11:52 ` Jon TURNEY
  2014-04-27 23:01   ` Biris, Octavian
  2014-04-28 21:02   ` Linda Walsh
  0 siblings, 2 replies; 5+ messages in thread
From: Jon TURNEY @ 2014-04-26 11:52 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: octavian_biris

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/


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

* Re: running openGL application remotely using ssh -X and cygwin/x ,extension "NV-GLX" missing on display "localhost:10.0
  2014-04-26 11:52 ` Jon TURNEY
@ 2014-04-27 23:01   ` Biris, Octavian
  2014-04-28 21:02   ` Linda Walsh
  1 sibling, 0 replies; 5+ messages in thread
From: Biris, Octavian @ 2014-04-27 23:01 UTC (permalink / raw)
  To: cygwin-xfree

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.turney@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/


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

* Re: running openGL application remotely using ssh -X and cygwin/x ,extension "NV-GLX" missing on display "localhost:10.0
  2014-04-26 11:52 ` Jon TURNEY
  2014-04-27 23:01   ` Biris, Octavian
@ 2014-04-28 21:02   ` Linda Walsh
  2014-04-29 12:34     ` Jon TURNEY
  1 sibling, 1 reply; 5+ messages in thread
From: Linda Walsh @ 2014-04-28 21:02 UTC (permalink / raw)
  To: cygwin-xfree

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/


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

* Re: running openGL application remotely using ssh -X and cygwin/x ,extension "NV-GLX" missing on display "localhost:10.0
  2014-04-28 21:02   ` Linda Walsh
@ 2014-04-29 12:34     ` Jon TURNEY
  0 siblings, 0 replies; 5+ messages in thread
From: Jon TURNEY @ 2014-04-29 12:34 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: cygwin

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/


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

end of thread, other threads:[~2014-04-29 12:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-24 22:45 running openGL application remotely using ssh -X and cygwin/x ,extension "NV-GLX" missing on display "localhost:10.0 Biris, Octavian
2014-04-26 11:52 ` Jon TURNEY
2014-04-27 23:01   ` Biris, Octavian
2014-04-28 21:02   ` Linda Walsh
2014-04-29 12:34     ` Jon TURNEY

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).