public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: paul@paulhardy.net, cygwin-xfree <cygwin-xfree@cygwin.com>
Subject: Re: Cygwin Xwin error
Date: Tue, 15 Oct 2013 16:12:00 -0000	[thread overview]
Message-ID: <525D693A.7030708@dronecode.org.uk> (raw)
In-Reply-To: <000601cec919$95a866d0$c0f93470$@btinternet.com>

Again, this discussion belongs on the cygwin-xfree list.

On 14/10/2013 21:11, Paul Hardy wrote:
> Sorry, my googling on that error message led me to the page that I quoted
> which has no links to email lists, but did have your emails.

The Cygwin website has instructions about how to report bugs in Cygwin.

> I use Cygwin on an XP laptop set up in 2007, to provide Xwindows/Motif login
> to a historic VMS simulation in SimH using Xdmcp, and this works fine. I'm
> trying to get it going on a new PC running Windows 7, which has necessitated
> a later Cygwin.
>
> The SimH side is fine, but I can't get a current Cygwin to behave. I get an
> error when I try to start Xwin saying "winValidateArgs - -fullscreen is
> invalid with -scrollbars, -resize, -nodecoration, or -lesspointer." However,
> my command line is "/usr/bin/XWin -ac -fullscreen -depth 8 -query
> 192.168.1.200 " which doesn't contain any of "-scrollbars, -resize,
> -nodecoration, or -lesspointer.".

Thanks for reporting this problem.

This is a bug.  XWin currently always sets the default resize mode to
-resize=randr.  As it doesn't make sense to try to resize the screen in
-fullscreen mode, we should set the default resize mode to -noresize.

> Putting -noresize gets me further, in that I get no immediate error message,
> but a totally black screen. I had to hit the Windows key to escape.
> 
> The Xwin log file is attached. Are you able to interpret? 

> [296068.603] winBlockHandler - pthread_mutex_unlock()
> [296083.595] winRedrawScreenShadowDDNL - IDirectDrawSurface4_Blt () failed: 887601c2
> [296083.595] winRedrawScreenShadowDDNL - IDirectDrawSurface4_Blt () failed: 887601c2

This is DDERR_SURFACELOST, and I think just means that you pressed the Windows
key so that the X server lost fullscreen.

> [296092.658] winRedrawScreenShadowDDNL - IDirectDrawSurface4_Blt () failed: 887601c2
> [296092.658] winRedrawScreenShadowDDNL - IDirectDrawSurface4_Blt () failed: 887601c2
> [296100.349] winDestroyColormapShadowDDNL - Failed freeing the default colormap DirectDraw palette.
> [296100.349] winDestroyColormap - Engine specific colormap destruction procedure failed.  Continuing, but it is possible that memory was leaked, or that colors will be messed up from now on.
> [296100.380] winDeinitMultiWindowWM - Noting shutdown in progress
> [296100.380] Server terminated successfully (0). Closing log file.

Can you try this again, but wait about 2 1/2 minutes to see if any XDM errors
appear.

> I note that I can still connect from my old laptop to the target VMS virtual
> system running in a SimH VM on the new PC, so the target system and
> networking are OK.

I assume that this is running an older version of the X server.  Can you say
which?  -depth 8 is not often used, so it's quite possible something has
gotten broken.

--
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	other threads:[~2013-10-15 16:12 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <000601cec919$95a866d0$c0f93470$@btinternet.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=525D693A.7030708@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    --cc=paul@paulhardy.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).