I've encountered an unusual behavior of Cygwin/X on suspend/resume of Windows. The server is working fine before suspend, but after the first suspend-resume cycle, the characters become single pixels. I have screenshots depicting the effects on an rxvt-unicode window, and an fwbuilder window forwarded over ssh from an Ubuntu VM (though it seems the mailing list rejected the attachments, so please let me know if there's a way I can send them). Windows in existence before the first suspend remain fine after resume, but only as long as they are open; closing and reopening them produces the broken state. The attached XWin.0.log is after two suspend/resume cycles; the two line blocks from each resume seem anomalous (bpp: 0? width: 0? height: 0?).

If it helps any, I'm using Win7 x64, updated cygwin rebaseall'd (to deal with STATUS_ACCESS_VIOLATION errors from urxvt before). The X server is being started from the provided start menu link "XWin Server". xterm windows seem to be unaffected by the bug, as are urxvt windows using unaliased fonts (though the log lines still show up even without any windows open). For some reason, this issue doesn't seem to affect my desktop, which should have largely the same setup. If there's any more information I should provide, please let me know, and thanks for reading! Really hope I can get this issue fixed and get Cygwin in working order on my laptop...

Also, if this issue has already been reported/fixed, feel free to ignore this.

Cheers,
Henry


Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.8.2.0 (10802000)
Build Date: 2010-08-06

Contact: cygwin-xfree AT cygwin.com
XWin was started with the following command line:

X :0 -multiwindow 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - primary monitor w 1366 h 768
winInitializeDefaultScreens - native DPI x 96 y 96
winInitializeDefaultScreens - Returning
[110271.459] winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
[110271.459] (II) xorg.conf is not supported
[110271.459] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more 
information
[110271.459] LoadPreferences: /home/Henry/.XWinrc not found
[110271.459] LoadPreferences: Loading /etc/X11/system.XWinrc
[110271.459] LoadPreferences: Done parsing the configuration file...
[110271.459] winGetDisplay: DISPLAY=:0.0
[110271.459] winDetectSupportedEngines - Windows NT/2000/XP
[110271.490] winDetectSupportedEngines - DirectDraw installed
[110271.490] winDetectSupportedEngines - Allowing PrimaryDD
[110271.490] winDetectSupportedEngines - DirectDraw4 installed
[110271.490] winDetectSupportedEngines - Returning, supported engines 0000001f
[110271.506] winSetEngine - Multi Window or Rootless => ShadowGDI
[110271.506] winAdjustVideoModeShadowGDI - Using Windows display depth of 32 
bits per pixel
[110271.521] winAllocateFBShadowGDI - Creating DIB with width: 1366 height: 768 
depth: 32
[110271.521] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[110271.521] winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 
d 24 bpp 32
[110271.521] null screen fn ReparentWindow
[110271.521] null screen fn RestackWindow
[110271.521] InitQueue - Calling pthread_mutex_init
[110271.521] InitQueue - pthread_mutex_init returned
[110271.521] InitQueue - Calling pthread_cond_init
[110271.521] InitQueue - pthread_cond_init returned
[110271.521] winInitMultiWindowWM - Hello
[110271.521] winInitMultiWindowWM - Calling pthread_mutex_lock ()
[110271.521] winMultiWindowXMsgProc - Hello
[110271.521] Screen 0 added at virtual desktop coordinate (0,0).
[110271.521] winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
[110271.521] MIT-SHM extension disabled due to lack of kernel support
[110271.537] XFree86-Bigfont extension local-client optimization disabled due 
to lack of shared memory support in the kernel
[110271.553] (II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
[110271.553] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[110271.568] [dix] Could not init font path element /usr/share/fonts/OTF/, 
removing from list!
[110271.568] [dix] Could not init font path element /usr/share/fonts/Type1/, 
removing from list!
[110272.005] winPointerWarpCursor - Discarding first warp: 683 384
[110272.005] (--) 3 mouse buttons found
[110272.005] (--) Setting autorepeat to delay=500, rate=31
[110272.005] (--) Windows keyboard layout: "00000409" (00000409) "US", type 7
[110272.005] (--) Found matching XKB configuration "English (USA)"
[110272.005] (--) Model = "pc105" Layout = "us" Variant = "none" Options = 
"none"
[110272.005] Rules = "base" Model = "pc105" Layout = "us" Variant = "none" 
Options = "none"
[110272.005] winInitMultiWindowWM - pthread_mutex_lock () returned.
[110272.005] winInitMultiWindowWM - pthread_mutex_unlock () returned.
[110272.005] winGetDisplay: DISPLAY=:0.0
[110272.005] winInitMultiWindowWM - DISPLAY=:0.0
[110272.005] winMultiWindowXMsgProc - pthread_mutex_lock () returned.
[110272.005] winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
[110272.021] winProcEstablishConnection - Hello
[110272.021] winInitClipboard ()
[110272.021] winProcEstablishConnection - winInitClipboard returned.
[110272.021] winClipboardProc - Hello
[110272.021] DetectUnicodeSupport - Windows NT/2000/XP
[110272.021] winGetDisplay: DISPLAY=:0.0
[110272.021] winMultiWindowXMsgProc - DISPLAY=:0.0
[110272.021] winGetDisplay: DISPLAY=:0.0
[110272.021] winClipboardProc - DISPLAY=:0.0
[110272.021] winInitMultiWindowWM - XOpenDisplay () returned and successfully 
opened the display.
[110272.021] winMultiWindowXMsgProc - XOpenDisplay () returned and successfully 
opened the display.
[110272.021] winClipboardProc - XOpenDisplay () returned and successfully 
opened the display.
[110297.293] OS has icon alpha channel support: yes
[110321.442] winWindowProc - WM_DISPLAYCHANGE - new bpp: 0
[110321.442] winWindowProc - WM_DISPLAYCHANGE - new width: 0 new height: 0
[110321.442] winAllocateFBShadowGDI - Creating DIB with width: 1366 height: 768 
depth: 32
[110323.049] winWindowProc - WM_DISPLAYCHANGE - new bpp: 0
[110323.049] winWindowProc - WM_DISPLAYCHANGE - new width: 0 new height: 0
[110323.049] winAllocateFBShadowGDI - Creating DIB with width: 1366 height: 768 
depth: 32
[110323.049] winAllocateFBShadowGDI - Shadow blit failure
 The handle is invalid.
[110439.425] winWindowProc - WM_DISPLAYCHANGE - new bpp: 0
[110439.425] winWindowProc - WM_DISPLAYCHANGE - new width: 0 new height: 0
[110439.425] winAllocateFBShadowGDI - Creating DIB with width: 1366 height: 768 
depth: 32
[110440.970] winWindowProc - WM_DISPLAYCHANGE - new bpp: 0
[110440.970] winWindowProc - WM_DISPLAYCHANGE - new width: 0 new height: 0
[110440.970] winAllocateFBShadowGDI - Creating DIB with width: 1366 height: 768 
depth: 32
[110440.970] winAllocateFBShadowGDI - Shadow blit failure
 The handle is invalid.
--
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/

Reply via email to