public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* XWin X11 server hangs if queried during launch
@ 2020-04-27  3:26 Miron Veryanskiy
  0 siblings, 0 replies; only message in thread
From: Miron Veryanskiy @ 2020-04-27  3:26 UTC (permalink / raw)
  To: cygwin

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

Hi,

If I poll an X11 server status while the server is coming up, the
server sometimes hangs and fails to come up.
The failure is not consistent - sometimes the server comes up without
issues, even while I'm polling.
I've attached the log of when the server hangs during bringup.

You can try to reproduce the error by trying to launch X11 server
using this test case a couple of times:
XWin -multiwindow -noprimary -listen tcp & ( while ! xprop -display :0
-root; do :; done; ) &> /dev/null

I terminate the X Server in between test trials using this:
pkill --signal SIGTERM -i x && sleep 5s && pkill --signal SIGKILL -i x


Thank you,
Miron

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

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.20.5.0
OS: CYGWIN_NT-10.0-18363 MYLAPTOP 3.1.4-340.x86_64 2020-02-19 08:49 UTC x86_64
OS: Windows 10  [Windows NT 10.0 build 18363] (Win64)
Package: version 1.20.5-3 built 2019-09-06

XWin was started with the following command line:

XWin -multiwindow -noprimary -listen tcp

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 3000 h 2000
winInitializeScreenDefaults - native DPI x 192 y 192
[949451.281] (--) Windows reports only 2 mouse buttons, defaulting to -emulate3buttons
[949451.468] (II) xorg.conf is not supported
[949451.484] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
[949451.484] LoadPreferences: Loading /c/Users/itsmy/.XWinrc
[949451.484] LoadPreferences: Done parsing the configuration file...
[949451.484] winDetectSupportedEngines - RemoteSession: no
[949451.515] winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
[949451.531] winDetectSupportedEngines - Returning, supported engines 00000005
[949451.531] winSetEngine - Multi Window or Rootless => ShadowGDI
[949451.531] winScreenInit - Using Windows display depth of 32 bits per pixel
[949451.593] winAllocateFBShadowGDI - Creating DIB with width: 3000 height: 2000 depth: 32
[949451.593] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[949451.593] winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
[949451.593] MIT-SHM extension disabled due to lack of kernel support
[949451.593] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
[949451.593] glWinSelectGLimplementation: Loaded 'cygnativeGLthunk.dll'
[949452.187] (II) AIGLX: Testing pixelFormatIndex 1
[949452.218] GL_VERSION:     4.5.0 - Build 24.20.100.6286
[949452.218] GL_VENDOR:      Intel
[949452.218] GL_RENDERER:    Intel(R) UHD Graphics 620
[949452.234] (II) GLX: enabled GLX_SGI_make_current_read
[949452.234] (II) GLX: enabled GLX_SGI_swap_control
[949452.234] (II) GLX: enabled GLX_MESA_swap_control
[949452.234] (II) GLX: enabled GLX_SGIX_pbuffer
[949452.234] (II) GLX: enabled GLX_ARB_multisample
[949452.234] (II) GLX: enabled GLX_SGIS_multisample
[949452.234] (II) GLX: enabled GLX_ARB_fbconfig_float
[949452.234] (II) GLX: enabled GLX_EXT_fbconfig_packed_float
[949452.234] (II) GLX: enabled GLX_ARB_create_context
[949452.250] (II) GLX: enabled GLX_ARB_create_context_profile
[949452.250] (II) GLX: enabled GLX_ARB_create_context_robustness
[949452.250] (II) GLX: enabled GLX_EXT_create_context_es2_profile
[949452.250] (II) GLX: enabled GLX_ARB_framebuffer_sRGB
[949452.250] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[949452.250] (II) 103 pixel formats reported by wglGetPixelFormatAttribivARB
[949452.359] (II) 67 fbConfigs
[949452.359] (II) ignored pixel formats: 0 not OpenGL, 0 unknown pixel type, 36 unaccelerated
[949452.359] (II) GLX: Initialized Win32 native WGL GL provider for screen 0
[949452.625] winPointerWarpCursor - Discarding first warp: 1500 1000
[949452.625] (--) 2 mouse buttons found
[949452.625] (--) Setting autorepeat to delay=500, rate=31
[949452.640] (--) Windows keyboard layout: "00000409" (00000409) "US", type 4
[949452.640] (--) Found matching XKB configuration "English (USA)"
[949452.640] (--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[949452.640] Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[949452.640] winInitMultiWindowWM - DISPLAY=:0.0
[949452.640] winMultiWindowXMsgProc - DISPLAY=:0.0
[949452.640] winProcEstablishConnection - winInitClipboard returned.
[949452.640] winClipboardThreadProc - DISPLAY=:0.0
[949452.703] winInitMultiWindowWM - Could not open display, try: 1, sleeping: 5
[949452.703] 3 XSELINUXs still allocated at reset
[949452.703] SCREEN: 0 objects of 312 bytes = 0 total bytes 0 private allocs
[949452.703] DEVICE: 0 objects of 88 bytes = 0 total bytes 0 private allocs
[949452.703] CLIENT: 0 objects of 128 bytes = 0 total bytes 0 private allocs
[949452.718] WINDOW: 0 objects of 104 bytes = 0 total bytes 0 private allocs
[949452.718] PIXMAP: 3 objects of 40 bytes = 120 total bytes 0 private allocs
[949452.718] GC: 0 objects of 16 bytes = 0 total bytes 0 private allocs
[949452.718] winMultiWindowXMsgProc - Could not open display, try: 1, sleeping: 5
[949452.718] CURSOR: 0 objects of 8 bytes = 0 total bytes 0 private allocs
[949452.718] TOTAL: 3 objects, 120 bytes, 0 allocs
[949452.718] 3 PIXMAPs still allocated at reset
[949452.718] PIXMAP: 3 objects of 40 bytes = 120 total bytes 0 private allocs
[949452.718] GC: 0 objects of 16 bytes = 0 total bytes 0 private allocs
[949452.718] CURSOR: 0 objects of 8 bytes = 0 total bytes 0 private allocs
[949452.718] TOTAL: 3 objects, 120 bytes, 0 allocs
[949452.734] winClipboardProc - Failed opening the display, giving up
[949452.734] (II) xorg.conf is not supported
[949452.734] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
[949452.734] LoadPreferences: Loading /c/Users/itsmy/.XWinrc
[949452.734] LoadPreferences: Done parsing the configuration file...
[949452.734] winDetectSupportedEngines - RemoteSession: no
[949452.750] winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
[949452.765] winDetectSupportedEngines - Returning, supported engines 00000005
[949452.765] winSetEngine - Multi Window or Rootless => ShadowGDI
[949452.765] winScreenInit - Using command line depth of 32 bpp
[949452.796] winAllocateFBShadowGDI - Creating DIB with width: 3000 height: 2000 depth: 32
[949452.796] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[949452.796] winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
[949452.796] MIT-SHM extension disabled due to lack of kernel support
[949452.796] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
[949452.796] glWinSelectGLimplementation: Loaded 'cygnativeGLthunk.dll'
[949452.812] (II) AIGLX: Testing pixelFormatIndex 1
[949452.828] GL_VERSION:     4.5.0 - Build 24.20.100.6286
[949452.828] GL_VENDOR:      Intel
[949452.828] GL_RENDERER:    Intel(R) UHD Graphics 620
[949452.828] (II) GLX: enabled GLX_SGI_make_current_read
[949452.828] (II) GLX: enabled GLX_SGI_swap_control
[949452.828] (II) GLX: enabled GLX_MESA_swap_control
[949452.828] (II) GLX: enabled GLX_SGIX_pbuffer
[949452.828] (II) GLX: enabled GLX_ARB_multisample
[949452.828] (II) GLX: enabled GLX_SGIS_multisample
[949452.843] (II) GLX: enabled GLX_ARB_fbconfig_float
[949452.843] (II) GLX: enabled GLX_EXT_fbconfig_packed_float
[949452.843] (II) GLX: enabled GLX_ARB_create_context
[949452.843] (II) GLX: enabled GLX_ARB_create_context_profile
[949452.843] (II) GLX: enabled GLX_ARB_create_context_robustness
[949452.843] (II) GLX: enabled GLX_EXT_create_context_es2_profile
[949452.843] (II) GLX: enabled GLX_ARB_framebuffer_sRGB
[949452.843] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[949452.843] (II) 103 pixel formats reported by wglGetPixelFormatAttribivARB
[949452.875] (II) 67 fbConfigs
[949452.875] (II) ignored pixel formats: 0 not OpenGL, 0 unknown pixel type, 36 unaccelerated
[949452.875] (II) GLX: Initialized Win32 native WGL GL provider for screen 0
[949452.875] (II) GLX: Another vendor is already registered for screen 0
[949453.093] (--) 2 mouse buttons found
[949453.109] (--) Setting autorepeat to delay=500, rate=31
[949453.109] (--) Windows keyboard layout: "00000409" (00000409) "US", type 4
[949453.109] (--) Found matching XKB configuration "English (USA)"
[949453.109] (--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[949453.109] Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[949453.109] winInitMultiWindowWM - DISPLAY=:0.0
[949453.109] winMultiWindowXMsgProc - DISPLAY=:0.0
[949453.140] winInitMultiWindowWM - xcb_connect () returned and successfully opened the display.
[949453.140] winProcEstablishConnection - winInitClipboard returned.
[949453.140] winClipboardThreadProc - DISPLAY=:0.0
[949453.156] winMultiWindowXMsgProc - xcb_connect() returned and successfully opened the display.
[949453.156] Using Composite redirection
[949453.171] winClipboardProc - xcb_connect () returned and successfully opened the display.
[949453.734] winClipboardProc - trying to restart clipboard thread
[949453.734] winClipboardThreadProc - DISPLAY=:0.0
[949453.796] winClipboardProc - xcb_connect () returned and successfully opened the display.
[949457.734] winInitMultiWindowWM - xcb_connect () returned and successfully opened the display.
[949457.750] winMultiWindowXMsgProc - xcb_connect() returned and successfully opened the display.
[949457.750] winMultiWindowXMsgProc - another window manager is running.  Exiting.
[949503.375] winMultiWindowXMsgProc - Fatal error 1 on xcb connection
[949503.546] winDeinitMultiWindowWM - Noting shutdown in progress
[949503.546] (II) Server terminated successfully (0). Closing log file.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-27  3:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-27  3:26 XWin X11 server hangs if queried during launch Miron Veryanskiy

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