public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Possible X11 server bug
@ 2014-09-05 16:55 mathog
  2014-09-17 13:35 ` Jon TURNEY
  0 siblings, 1 reply; 2+ messages in thread
From: mathog @ 2014-09-05 16:55 UTC (permalink / raw)
  To: cygwin-xfree

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

I have run into an issue which _may_ indicate a bug in the cygwin X11 
server.  The issue is documented here:

    https://bugs.launchpad.net/inkscape/+bug/1365153

In brief, for certain test files viewed in Inkscape (current trunk at 
least) over a putty ssh tunnel from an Ubuntu 12.04lts system to the 
cygwin 1.14.1.0 X11 server there are glitches in the image when it is 
zoomed in and out.  This does not occur if the same program is run 
locally on the console of the test machine.  It also does not happen if 
I run a native Windows version (not cygwin, not X11) of Inkscape on the 
same PC which hosts that X11 server on the same test files.  The glitch 
does not occur with a huge number of other test files I have looked at 
over the years.  It seems there is something specific to the clipping 
code in Inkscape and this particular X11 transport path/server 
combination.  Moreover, it looks like the problem is only manifested (or 
only manifested frequently) when the clipping path consists of two (or 
more?) disjoint sections.

When the glitches occur nothing is added to XWin.0.log.

Also this X11 server is not running in the full cygwin environment, but 
rather in one edited down to just the minimum needed to run the X11 
server.  I distribute this version here:

    http://sourceforge.net/projects/minimalcygwinx/

I don't think this is a factor though, since all of the action is going 
on inside the X11 server process(es).

Thanks,

David Mathog
mathog@caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech

[-- Attachment #2: XWin.0.log --]
[-- Type: text/plain, Size: 9775 bytes --]

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.14.1.0
OS: CYGWIN_NT-5.1 SAF00 1.7.20(0.266/5/3) 2013-06-07 11:11 i686
OS: Windows XP Service Pack 3 [Windows NT 5.1 build 2600] (Win32)
Package: version 1.14.1-1 built 2013-05-07

XWin was started with the following command line:

Xwin :0 -multiwindow 

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1280 h 1024
winInitializeScreenDefaults - native DPI x 96 y 96
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/SAF00:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
Initializing built-in extension Generic Event Extension
[   119.468] Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
[   119.468] Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
[   119.468] Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
[   119.468] Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
[   119.468] Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
[   119.468] Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
[   119.468] Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
[   119.468] Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
[   119.468] Initializing built-in extension XC-MISC
Initializing built-in extension XINERAMA
[   119.468] Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
[   119.468] Initializing built-in extension XFIXES
Initializing built-in extension XFree86-Bigfont
[   119.468] Initializing built-in extension XFree86-Bigfont
Initializing built-in extension RENDER
[   119.468] Initializing built-in extension RENDER
Initializing built-in extension RANDR
[   119.468] Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
[   119.468] Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
[   119.468] Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
[   119.468] Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
[   119.468] Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
[   119.468] Initializing built-in extension RECORD
Initializing built-in extension DPMS
[   119.468] Initializing built-in extension DPMS
Initializing built-in extension X-Resource
[   119.468] Initializing built-in extension X-Resource
Initializing built-in extension GLX
[   119.468] Initializing built-in extension GLX
(II) xorg.conf is not supported
[   119.468] (II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
[   119.468] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /home/david/.XWinrc not found
[   119.500] LoadPreferences: /home/david/.XWinrc not found
LoadPreferences: /etc/X11/system.XWinrc not found
[   119.500] LoadPreferences: /etc/X11/system.XWinrc not found
LoadPreferences: See "man XWinrc" to customize the XWin menu.
[   119.500] LoadPreferences: See "man XWinrc" to customize the XWin menu.
LoadPreferences: Loading built-in default
[   119.500] LoadPreferences: Loading built-in default
winDetectSupportedEngines - DirectDraw installed, allowing ShadowDD
[   119.500] winDetectSupportedEngines - DirectDraw installed, allowing ShadowDD
winDetectSupportedEngines - Windows NT, allowing PrimaryDD
[   119.500] winDetectSupportedEngines - Windows NT, allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
[   119.500] winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 0000001f
[   119.500] winDetectSupportedEngines - Returning, supported engines 0000001f
winPropertyStoreInit - Could not get SHGetPropertyStoreForWindow address
[   119.515] winPropertyStoreInit - Could not get SHGetPropertyStoreForWindow address
winSetEngine - Multi Window or Rootless => ShadowGDI
[   119.546] winSetEngine - Multi Window or Rootless => ShadowGDI
winScreenInit - Using Windows display depth of 32 bits per pixel
[   119.546] winScreenInit - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024 depth: 32
[   119.609] winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024 depth: 32
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[   119.609] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
[   119.609] winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
winInitMultiWindowWM - Calling pthread_mutex_lock ()
[   119.687] winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
[   119.703] winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
[   119.750] MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
[   119.828] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
GL_VERSION:     2.1.2
[   120.093] GL_VERSION:     2.1.2
GL_VENDOR:      NVIDIA Corporation
[   120.093] GL_VENDOR:      NVIDIA Corporation
GL_RENDERER:    Quadro FX 1400/PCIe/SSE2/3DNOW!
[   120.093] GL_RENDERER:    Quadro FX 1400/PCIe/SSE2/3DNOW!
(II) AIGLX: enabled GLX_SGI_make_current_read
[   120.093] (II) AIGLX: enabled GLX_SGI_make_current_read
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[   120.093] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[   120.093] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
(II) AIGLX: enabled GLX_SGIX_pbuffer
[   120.093] (II) AIGLX: enabled GLX_SGIX_pbuffer
(II) AIGLX: enabled GLX_ARB_multisample and GLX_SGIS_multisample
[   120.093] (II) AIGLX: enabled GLX_ARB_multisample and GLX_SGIS_multisample
(II) 291 pixel formats reported by wglGetPixelFormatAttribivARB
[   120.093] (II) 291 pixel formats reported by wglGetPixelFormatAttribivARB
(II) AIGLX: Set GLX version to 1.4
[   120.125] (II) AIGLX: Set GLX version to 1.4
(II) 255 fbConfigs
[   120.125] (II) 255 fbConfigs
(II) GLX: Initialized Win32 native WGL GL provider for screen 0
[   120.125] (II) GLX: Initialized Win32 native WGL GL provider for screen 0
[dix] Could not init font path element /usr/share/fonts/TTF/, removing from list!
[   120.156] [dix] Could not init font path element /usr/share/fonts/TTF/, removing from list!
[dix] Could not init font path element /usr/share/fonts/OTF/, removing from list!
[   120.156] [dix] Could not init font path element /usr/share/fonts/OTF/, removing from list!
winPointerWarpCursor - Discarding first warp: 640 512
[   122.250] winPointerWarpCursor - Discarding first warp: 640 512
(--) 5 mouse buttons found
[   122.250] (--) 5 mouse buttons found
(--) Setting autorepeat to delay=500, rate=31
[   122.250] (--) Setting autorepeat to delay=500, rate=31
(--) Windows keyboard layout: "00000409" (00000409) "US", type 4
[   122.250] (--) Windows keyboard layout: "00000409" (00000409) "US", type 4
(--) Found matching XKB configuration "English (USA)"
[   122.250] (--) Found matching XKB configuration "English (USA)"
(--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[   122.250] (--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"
Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[   122.250] Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none"
winBlockHandler - pthread_mutex_unlock()
[   122.250] winBlockHandler - pthread_mutex_unlock()
winInitMultiWindowWM - pthread_mutex_lock () returned.
[   122.250] winInitMultiWindowWM - pthread_mutex_lock () returned.
winInitMultiWindowWM - pthread_mutex_unlock () returned.
[   122.250] winInitMultiWindowWM - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=:0.0
[   122.250] winInitMultiWindowWM - DISPLAY=:0.0
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
[   122.250] winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
[   122.250] winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winProcEstablishConnection - winInitClipboard returned.
[   122.328] winProcEstablishConnection - winInitClipboard returned.
winMultiWindowXMsgProc - DISPLAY=:0.0
[   122.328] winMultiWindowXMsgProc - DISPLAY=:0.0
winClipboardProc - DISPLAY=:0.0
[   122.328] winClipboardProc - DISPLAY=:0.0
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.
[   122.328] winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.
[   122.359] winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
[   122.359] winClipboardProc - XOpenDisplay () returned and successfully opened the display.
winGetWindowInfo: forcing window to exist
[  1030.609] winGetWindowInfo: forcing window to exist
OS has icon alpha channel support: yes
[  1034.421] OS has icon alpha channel support: yes

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

* Re: Possible X11 server bug
  2014-09-05 16:55 Possible X11 server bug mathog
@ 2014-09-17 13:35 ` Jon TURNEY
  0 siblings, 0 replies; 2+ messages in thread
From: Jon TURNEY @ 2014-09-17 13:35 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: mathog

On 05/09/2014 17:55, mathog wrote:
> I have run into an issue which _may_ indicate a bug in the cygwin X11
> server.  The issue is documented here:
>
>     https://bugs.launchpad.net/inkscape/+bug/1365153
>
> In brief, for certain test files viewed in Inkscape (current trunk at
> least) over a putty ssh tunnel from an Ubuntu 12.04lts system to the
> cygwin 1.14.1.0 X11 server there are glitches in the image when it is
> zoomed in and out.  This does not occur if the same program is run
> locally on the console of the test machine.

Thanks for reporting this problem.

It's not quite clear, but I think you are saying that it renders 
correctly when run locally on the Ubuntu 12.04 system?

There are a couple of possible variables, which might affect things

The version of the X server may not be the same.  It would be useful to 
compare the same version, and also be helpful if you could test with the 
most recent X server (1.16.0)

FWIW, the .svgs attached to that bug seem to render identically 
(although I'm not sure what correctly looks like) using a Cygwin 
Inkscape 0.48.4 r9939 (from cygwinports) and X server 1.16.0-1

> It also does not happen if
> I run a native Windows version (not cygwin, not X11) of Inkscape on the
> same PC which hosts that X11 server on the same test files.  The glitch
> does not occur with a huge number of other test files I have looked at
> over the years.  It seems there is something specific to the clipping
> code in Inkscape and this particular X11 transport path/server
> combination.  Moreover, it looks like the problem is only manifested (or
> only manifested frequently) when the clipping path consists of two (or
> more?) disjoint sections.
>
> When the glitches occur nothing is added to XWin.0.log.
>
> Also this X11 server is not running in the full cygwin environment, but
> rather in one edited down to just the minimum needed to run the X11
> server.  I distribute this version here:
>
>     http://sourceforge.net/projects/minimalcygwinx/
>
> I don't think this is a factor though, since all of the action is going
> on inside the X11 server process(es).

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

end of thread, other threads:[~2014-09-17 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-05 16:55 Possible X11 server bug mathog
2014-09-17 13:35 ` 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).