public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* screen not updated outside 1680x1050
@ 2009-12-17 22:47 Frédéric Bron
  2009-12-18  0:03 ` Mike Ayers
  0 siblings, 1 reply; 4+ messages in thread
From: Frédéric Bron @ 2009-12-17 22:47 UTC (permalink / raw)
  To: cygwin-xfree

My screen resolution is 1920x1200.
The X windows are badly updated (sometimes yes, most of the time no)
outside the top-left area 1680x1050.
My problems are seen with xterm, gv, gvim, rxvt-x... so I think comes
from X.org.
To produce the problem: start an X windows program, then move the
window to the right and go back to the left. For gvim, it is
particularly annoying when maximizing the window.

However /var/log/XWin.0.log says it read the good screen dimensions:

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.7.1.0 (10701000)
Build Date: 2009-11-11

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

XWin -multiwindow -clipboard -silent-dup-error

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1680 h 1050
winInitializeDefaultScreens - Returning
2009-12-17 13:37:31 _XSERVTransSocketOpenCOTSServer: Unable to open
socket for inet6
2009-12-17 13:37:31 _XSERVTransOpen: transport open failed for
inet6/VOR-CRV-01660:0
2009-12-17 13:37:31 _XSERVTransMakeAllCOTSServerListeners: failed to
open listener for inet6
2009-12-17 13:37:35 winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
2009-12-17 13:37:35 (II) xorg.conf is not supported
2009-12-17 13:37:35 (II) See
http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
2009-12-17 13:37:35 winPrefsLoadPreferences: /cygdrive/d/Documents/.XWinrc
2009-12-17 13:37:35 winGetDisplay: DISPLAY=:0.0
2009-12-17 13:37:37 winDetectSupportedEngines - Windows NT/2000/XP
2009-12-17 13:37:37 winDetectSupportedEngines - DirectDraw installed
2009-12-17 13:37:37 winDetectSupportedEngines - DirectDraw4 installed
2009-12-17 13:37:37 winDetectSupportedEngines - Returning, supported
engines 00000007
2009-12-17 13:37:37 winSetEngine - Multi Window or Rootless => ShadowGDI
2009-12-17 13:37:37 winAdjustVideoModeShadowGDI - Using Windows
display depth of 32 bits per pixel
2009-12-17 13:37:38 winAllocateFBShadowGDI - Creating DIB with width:
1680 height: 1050 depth: 32
2009-12-17 13:37:38 winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
2009-12-17 13:37:38 winInitVisualsShadowGDI - Masks 00ff0000 0000ff00
000000ff BPRGB 8 d 24 bpp 32
2009-12-17 13:37:38 null screen fn ReparentWindow
2009-12-17 13:37:38 null screen fn RestackWindow
2009-12-17 13:37:38 InitQueue - Calling pthread_mutex_init
2009-12-17 13:37:38 InitQueue - pthread_mutex_init returned
2009-12-17 13:37:38 InitQueue - Calling pthread_cond_init
2009-12-17 13:37:38 InitQueue - pthread_cond_init returned
2009-12-17 13:37:38 winInitMultiWindowWM - Hello
2009-12-17 13:37:38 winInitMultiWindowWM - Calling pthread_mutex_lock ()
2009-12-17 13:37:38 Screen 0 added at XINERAMA coordinate (0,0).
2009-12-17 13:37:38 winMultiWindowXMsgProc - Hello
2009-12-17 13:37:38 winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
2009-12-17 13:37:38 MIT-SHM extension disabled due to lack of kernel support
2009-12-17 13:37:38 XFree86-Bigfont extension local-client
optimization disabled due to lack of shared memory support in the
kernel
2009-12-17 13:37:39 (II) AIGLX: Loaded and initialized
/usr/lib/dri/swrast_dri.so
2009-12-17 13:37:39 (II) GLX: Initialized DRISWRAST GL provider for screen 0
2009-12-17 13:37:55 winPointerWarpCursor - Discarding first warp: 840 525
2009-12-17 13:37:55 (--) 3 mouse buttons found
2009-12-17 13:37:55 (--) Setting autorepeat to delay=500, rate=31
2009-12-17 13:37:55 (--) winConfigKeyboard - Layout: "0000040C" (0000040c)
2009-12-17 13:37:55 (--) Using preset keyboard for "French (Standard)"
(40c), type "4"
2009-12-17 13:37:55 Rules = "base" Model = "pc105" Layout = "fr"
Variant = "none" Options = "none"
2009-12-17 13:38:00 winInitMultiWindowWM - pthread_mutex_lock () returned.
2009-12-17 13:38:00 winInitMultiWindowWM - pthread_mutex_unlock () returned.
2009-12-17 13:38:00 winMultiWindowXMsgProc - pthread_mutex_lock () returned.
2009-12-17 13:38:00 winGetDisplay: DISPLAY=:0.0
2009-12-17 13:38:00 winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
2009-12-17 13:38:00 winInitMultiWindowWM - DISPLAY=:0.0
2009-12-17 13:38:00 winGetDisplay: DISPLAY=:0.0
2009-12-17 13:38:00 winMultiWindowXMsgProc - DISPLAY=:0.0
2009-12-17 13:38:00 winProcEstablishConnection - Hello
2009-12-17 13:38:00 winInitClipboard ()
2009-12-17 13:38:00 winClipboardProc - Hello
2009-12-17 13:38:00 winProcEstablishConnection - winInitClipboard returned.
2009-12-17 13:38:00 DetectUnicodeSupport - Windows NT/2000/XP
2009-12-17 13:38:00 winInitMultiWindowWM - XOpenDisplay () returned
and successfully opened the display.
2009-12-17 13:38:00 winMultiWindowXMsgProc - XOpenDisplay () returned
and successfully opened the display.
2009-12-17 13:38:01 winGetDisplay: DISPLAY=:0.0
2009-12-17 13:38:01 winClipboardProc - DISPLAY=:0.0
2009-12-17 13:38:02 winClipboardProc - XOpenDisplay () returned and
successfully opened the display.
2009-12-17 13:47:46 winWindowProc - WM_DISPLAYCHANGE - orig bpp: 32,
last bpp: 32, new bpp: 32
2009-12-17 13:47:46 winWindowProc - WM_DISPLAYCHANGE - new width: 1920
new height: 1200

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

* RE: screen not updated outside 1680x1050
  2009-12-17 22:47 screen not updated outside 1680x1050 Frédéric Bron
@ 2009-12-18  0:03 ` Mike Ayers
  2009-12-18  6:11   ` Frédéric Bron
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Ayers @ 2009-12-18  0:03 UTC (permalink / raw)
  To: cygwin-xfree

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; 	charset="UTF-8", Size: 873 bytes --]

> From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-
> owner@cygwin.com] On Behalf Of Frédéric Bron
> Sent: Thursday, December 17, 2009 2:47 PM

> Welcome to the XWin X Server
> Vendor: The Cygwin/X Project
> Release: 1.7.1.0 (10701000)
> Build Date: 2009-11-11
> 
> Contact: cygwin-xfree@cygwin.com
> 
> XWin was started with the following command line:
> 
> XWin -multiwindow -clipboard -silent-dup-error
> 
> ddxProcessArgument - Initializing default screens
> winInitializeDefaultScreens - w 1680 h 1050
                                ^^^^^^^^^^^^^
	Looks like the system doesn't see your whole resolution at startup.  I'd pass "-screen 0 1920x1200" to XWin.exe.  I tried this to reduce my screen resolution, and saw things similar to what you describe outside the declared screensize.


	HTH,

Mike

\x16º&s(0Š|_­ç«zÛ«Ÿo=ßIb²Ö«r\x172ƒ\b§ÅúÞ

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

* Re: screen not updated outside 1680x1050
  2009-12-18  0:03 ` Mike Ayers
@ 2009-12-18  6:11   ` Frédéric Bron
  2010-02-03 19:43     ` Jon TURNEY
  0 siblings, 1 reply; 4+ messages in thread
From: Frédéric Bron @ 2009-12-18  6:11 UTC (permalink / raw)
  To: cygwin-xfree

>> XWin -multiwindow -clipboard -silent-dup-error
>>
>> ddxProcessArgument - Initializing default screens
>> winInitializeDefaultScreens - w 1680 h 1050
>                                ^^^^^^^^^^^^^
> Looks like the system doesn't see your whole resolution at startup.
> I'd pass "-screen 0 1920x1200" to XWin.exe.  I tried this to reduce my screen resolution,
> and saw things similar to what you describe outside the declared screensize.

Works fine, thanks a lot! In fact I saw only the following lines so
that I thought it was OK with the resolution:

2009-12-17 13:47:46 winWindowProc - WM_DISPLAYCHANGE - orig bpp: 32,
last bpp: 32, new bpp: 32
2009-12-17 13:47:46 winWindowProc - WM_DISPLAYCHANGE - new width: 1920
new height: 1200

Regards,

Frédéric

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

* Re: screen not updated outside 1680x1050
  2009-12-18  6:11   ` Frédéric Bron
@ 2010-02-03 19:43     ` Jon TURNEY
  0 siblings, 0 replies; 4+ messages in thread
From: Jon TURNEY @ 2010-02-03 19:43 UTC (permalink / raw)
  To: cygwin-xfree

On 18/12/2009 06:11, Frédéric Bron wrote:
>>> XWin -multiwindow -clipboard -silent-dup-error
>>>
>>> ddxProcessArgument - Initializing default screens
>>> winInitializeDefaultScreens - w 1680 h 1050
>>                                 ^^^^^^^^^^^^^
>> Looks like the system doesn't see your whole resolution at startup.
>> I'd pass "-screen 0 1920x1200" to XWin.exe.  I tried this to reduce my screen resolution,
>> and saw things similar to what you describe outside the declared screensize.
>
> Works fine, thanks a lot! In fact I saw only the following lines so
> that I thought it was OK with the resolution:
>
> 2009-12-17 13:47:46 winWindowProc - WM_DISPLAYCHANGE - orig bpp: 32,
> last bpp: 32, new bpp: 32
> 2009-12-17 13:47:46 winWindowProc - WM_DISPLAYCHANGE - new width: 1920
> new height: 1200

As you have discovered, XWin doesn't understand about display resolution 
changes.  This is actually mentioned in the XWin man page, and at [1]

[1] http://x.cygwin.com/devel/todo.html

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

end of thread, other threads:[~2010-02-03 19:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-17 22:47 screen not updated outside 1680x1050 Frédéric Bron
2009-12-18  0:03 ` Mike Ayers
2009-12-18  6:11   ` Frédéric Bron
2010-02-03 19:43     ` 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).