cygwinX xwin resolution

Dr. Rob Higgins rob.higgins@utoronto.ca
Fri Jul 22 17:16:00 GMT 2016


Hello Jon,

Yes, most content in windows and be zoom'd and I've been able to work 
with it, but it's the window decorations and controls that are almost 
unreadable.

I had gone through the man pages and tried many things suggested in 
them. But I must be doing it wrong, or in the wrong place.

As another test, from my cygwin64 home directory, I used:

startxwin -- -dpi 500

Similar to the example given in
    http://xfree86.cygwin.com/docs/man1/startxwin.1.html

In the log I found:

[ XWin was started with the following command line:

[ /usr/bin/XWin :0 -multiwindow -dpi 500 -auth 
/home/Higgins/.serverauth.10276

[ ddxProcessArgument - Initializing default screens
[ winInitializeScreenDefaults - primary monitor w 3200 h 1800
[ winInitializeScreenDefaults - native DPI x 240 y 240
[ [ 45339.640] (II) xorg.conf is not supported
[ [ 45339.640] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html [ 
for more information
[ [ 45339.640] LoadPreferences: /home/Higgins/.XWinrc not found
[ [ 45339.640] LoadPreferences: Loading /etc/X11/system.XWinrc

Then again I tried:

startxwin -- -screen 0 3200x1800@1

and the log output is attached ..

Thank you

---rob---

On 2016-07-22 9:25 AM, Jon Turney wrote:
> On 22/07/2016 05:23, Dr. Rob Higgins wrote:
>> I cannot find, after two days, any documentation on how and where to
>> specify resolution parameters. I must be barking up the wrong trees.
>>
>> My laptop under Windows has recommended resolution set at 3200 x 1800
>>
>> CygwinX X Windows are much to small, and barely readable.
>
> I guess this means that e.g. xterm font is too small, and so a 80x24
> character window is small?
>
>> Can anyone just tell me where to look, or what to specify?
>
> To answer the specific question, you can specify the a display
> resolution using the '-dpi' option.
>
> The "configuration" chapter of the user guide [1] points to "man XWin"
> [2], which in turn points to "man Xserver" [3] for general server
> options, including that one.
>
> [1] http://x.cygwin.com/docs/ug/cygwin-x-ug.html
> [2] http://x.cygwin.com/docs/man1/XWin.1.html
> [3] http://x.cygwin.com/docs/man1/Xserver.1.html
>
> If changing that helps, I'd be very interested to know what the
> autodetected value for dpi is, which is reported in
> /var/log/xwin/XWin.0.log
>

-------------- next part --------------
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.18.3.0
OS: CYGWIN_NT-10.0 asusi7 2.5.2(0.297/5/3) 2016-06-23 14:29 x86_64
OS: Windows 10  [Windows NT 10.0 build 10586] (Win64)
Package: version 1.18.3-1 built 2016-06-20

XWin was started with the following command line:

/usr/bin/XWin :0 -multiwindow -screen 0 3200x1800@1 -auth 
 /home/Higgins/.serverauth.9680 

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 3200 h 1800
winInitializeScreenDefaults - native DPI x 240 y 240
winInitializeScreens - 1
winInitializeScreen - 0
ddxProcessArgument - screen - Found ``WxD'' arg
ddxProcessArgument - screen - Found Valid ``@Monitor'' = 1 arg
[ 49128.312] (II) xorg.conf is not supported
[ 49128.312] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
[ 49128.312] LoadPreferences: /home/Higgins/.XWinrc not found
[ 49128.312] LoadPreferences: Loading /etc/X11/system.XWinrc
[ 49128.312] LoadPreferences: Done parsing the configuration file...
[ 49128.312] winDetectSupportedEngines - RemoteSession: no
[ 49128.312] winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
[ 49128.312] winDetectSupportedEngines - Returning, supported engines 00000005
[ 49128.312] winSetEngine - Multi Window or Rootless => ShadowGDI
[ 49128.312] winScreenInit - Using Windows display depth of 32 bits per pixel
[ 49128.375] winAllocateFBShadowGDI - Creating DIB with width: 3200 height: 1800 depth: 32
[ 49128.375] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[ 49128.375] winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
[ 49128.390] MIT-SHM extension disabled due to lack of kernel support
[ 49128.390] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
[ 49128.390] glWinSelectGLimplementation: Loaded 'cygnativeGLthunk.dll'
[ 49128.390] (II) AIGLX: Testing pixelFormatIndex 1
[ 49128.406] GL_VERSION:     4.4.0 - Build 20.19.15.4444
[ 49128.406] GL_VENDOR:      Intel
[ 49128.406] GL_RENDERER:    Intel(R) HD Graphics 520
[ 49128.406] (II) AIGLX: enabled GLX_SGI_make_current_read
[ 49128.406] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 49128.406] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[ 49128.406] (II) AIGLX: enabled GLX_SGIX_pbuffer
[ 49128.406] (II) AIGLX: enabled GLX_ARB_multisample and GLX_SGIS_multisample
[ 49128.406] (II) 103 pixel formats reported by wglGetPixelFormatAttribivARB
[ 49128.406] (II) AIGLX: Set GLX version to 1.4
[ 49128.421] (II) 58 fbConfigs
[ 49128.421] (II) ignored pixel formats: 0 not OpenGL, 6 RBGA float, 3 RGBA unsigned float, 0 unknown pixel type, 36 unaccelerated
[ 49128.421] (II) GLX: Initialized Win32 native WGL GL provider for screen 0
[ 49128.640] winPointerWarpCursor - Discarding first warp: 1600 900
[ 49128.640] (--) 8 mouse buttons found
[ 49128.640] (--) Setting autorepeat to delay=500, rate=31
[ 49128.640] (--) Windows keyboard layout: "00000409" (00000409) "US", type 7
[ 49128.640] (--) Found matching XKB configuration "English (USA)"
[ 49128.640] (--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[ 49128.640] Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[ 49128.640] winInitMultiWindowWM - DISPLAY=:0.0
[ 49128.640] winMultiWindowXMsgProc - DISPLAY=:0.0
[ 49128.703] winMultiWindowXMsgProc - xcb_connect() returned and successfully opened the display.
[ 49128.703] winClipboardThreadProc - DISPLAY=:0.0
[ 49128.703] OS maintains clipboard viewer chain: yes
[ 49128.703] winProcEstablishConnection - winInitClipboard returned.
[ 49128.703] OS maintains clipboard viewer chain: yes
[ 49128.703] winInitMultiWindowWM - xcb_connect () returned and successfully opened the display.
[ 49128.703] Using Composite redirection
[ 49128.703] winClipboardProc - XOpenDisplay () returned and successfully opened the display.
[ 49139.625] SetupSysMenu: GetSystemMenu() failed for HWND 0x10ad2
[ 49161.203] SetupSysMenu: GetSystemMenu() failed for HWND 0x60a8a
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list