This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fw: Problems in starting some X-Window Applications


Thanks very much, Harold and Enoch

> Harold wrote:
> startx and startxwin.bat, on your system, are pointing to two different X
servers.

For test in the previous e-mail, the x-server launched between
startxwin.bat and startx was really different. The one of startxwin.bat
launched
is belong to xc-4-binaries 4.0.3 and the startx's is
Shadow-Framebuffer-Test18.
For this reason, I have tried again under same x-server contained in
xc-4-binaries 4.0.3
(full screen) and have obtained results as following:

case 1. --> Both X-Window and application are OK
  startxwin.bat
  ( start XWin -screen 0 1024x768x8 -whitepixel 255 -blackpixel 0 )

case 2. --> X-Window is OK but application failed
  startxwin.bat
  ( start XWin -screen 0 1024x768x16 -whitepixel 255 -blackpixel 0 )

case 3. --> same to case 2
  startx

The detail informations about that are as follows (I am sorry that it's too
long):
**********************************************************
----------------- the case 1 ------------------
name of display:    127.0.0.1:0.0
version number:    11.0
vendor string:    The XFree86 Project, Inc
vendor release number:    40099001
XFree86 version: 4.0.99.1
maximum request size:  4194300 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    2
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
keycode range:    minimum 8, maximum 134
focus:  window 0x60000e, revert to PointerRoot
number of extensions:    21
    BIG-REQUESTS
    DOUBLE-BUFFER
    Extended-Visual-Information
    FontCache
    GLX
    LBX
    MIT-SCREEN-SAVER
    MIT-SUNDRY-NONSTANDARD
    RECORD
    SECURITY
    SGI-GLX
    SHAPE
    SYNC
    TOG-CUP
    X3D-PEX
    XC-APPGROUP
    XC-MISC
    XFree86-Bigfont
    XIE
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1024x768 pixels (260x195 millimeters)
  resolution:    100x100 dots per inch
  depths (2):    1, 8
  root window id:    0x33
  depth of root window:    8 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x21
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 255
  options:    backing-store NO, save-unders NO
  largest cursor:    1024x768
  current input event mask:    0xd0001d
    KeyPressMask             ButtonPressMask          ButtonReleaseMask
    EnterWindowMask          SubstructureRedirectMask PropertyChangeMask
    ColormapChangeMask
  number of visuals:    8
  default visual id:  0x28
  visual:
    visual id:    0x28
    class:    PseudoColor
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x29
    class:    GrayScale
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2a
    class:    StaticColor
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0x7, 0x38, 0xc0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2b
    class:    TrueColor
    depth:    8 planes
    available colormap entries:    8 per subfield
    red, green, blue masks:    0x7, 0x38, 0xc0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2c
    class:    TrueColor
    depth:    8 planes
    available colormap entries:    8 per subfield
    red, green, blue masks:    0x7, 0x38, 0xc0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2d
    class:    DirectColor
    depth:    8 planes
    available colormap entries:    8 per subfield
    red, green, blue masks:    0x7, 0x38, 0xc0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2e
    class:    DirectColor
    depth:    8 planes
    available colormap entries:    8 per subfield
    red, green, blue masks:    0x7, 0x38, 0xc0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2f
    class:    StaticGray
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits

XKEYBOARD extension not supported by server

SHAPE version 1.0 opcode: 128, base event: 64

SYNC version 3.0 opcode: 137, base event: 74, base error: 153
  system counters: 1
    SERVERTIME  id: 0x00000031  resolution_lo: 4  resolution_hi: 0

Xlib:  extension "XFree86-DGA" missing on display "127.0.0.1:0.0".
XFree86-DGA extension not supported by server

Xlib:  extension "XFree86-VidModeExtension" missing on display
"127.0.0.1:0.0".
XFree86-VidModeExtension extension not supported by server

Xlib:  extension "XFree86-Misc" missing on display "127.0.0.1:0.0".
XFree86-Misc extension not supported by server

XIE version 5.0 opcode: 136, base event: 69, base error: 146
  service class: FULL
  alignment: Arbitrary
  uncnst_mantissa: 24
  uncnst_min_exp: -126
  uncnst_max_exp: 128
  cnst_levels: 2 256 65536 16777216
  technique group: ColorAlloc
    ALLOC-ALL speed: 128  needs_param: True   number: 2
  technique group: Constrain
    CLIP-SCALE speed: 128  needs_param: False  number: 2
    HARD-CLIP speed: 128  needs_param: False  number: 4
  technique group: ConvertFromRGB
    CIELAB speed: 128  needs_param: True   number: 2
    CIEXYZ speed: 128  needs_param: True   number: 4
    YCbCr speed: 128  needs_param: True   number: 6
    YCC speed: 128  needs_param: True   number: 8
  technique group: ConvertToRGB
    CIELAB speed: 128  needs_param: True   number: 2
    CIEXYZ speed: 128  needs_param: True   number: 4
    YCbCr speed: 128  needs_param: True   number: 6
    YCC speed: 128  needs_param: True   number: 8
  technique group: Convolve
    CONSTANT speed: 128  needs_param: False  number: 2
  technique group: Decode
    UNCOMPRESSED-SINGLE speed: 128  needs_param: True   number: 2
    UNCOMPRESSED-TRIPLE speed: 128  needs_param: True   number: 3
    CCITT-G31D speed: 128  needs_param: True   number: 4
    CCITT-G32D speed: 128  needs_param: True   number: 6
    CCITT-G42D speed: 128  needs_param: True   number: 8
    JPEG-BASELINE speed: 128  needs_param: True   number: 10
    TIFF-2 speed: 128  needs_param: True   number: 14
    TIFF-PACKBITS speed: 128  needs_param: True   number: 16
  technique group: Dither
    ERROR-DIFFUSION speed: 128  needs_param: False  number: 2
    ORDERED speed: 128  needs_param: False  number: 4
  technique group: Encode
    UNCOMPRESSED-SINGLE speed: 128  needs_param: True   number: 2
    UNCOMPRESSED-TRIPLE speed: 128  needs_param: True   number: 3
    CCITT-G31D speed: 128  needs_param: True   number: 4
    CCITT-G32D speed: 128  needs_param: True   number: 6
    CCITT-G42D speed: 128  needs_param: True   number: 8
    JPEG-BASELINE speed: 128  needs_param: True   number: 10
    TIFF-2 speed: 128  needs_param: True   number: 14
    TIFF-PACKBITS speed: 128  needs_param: True   number: 16
  technique group: Gamut
    NONE speed: 128  needs_param: False  number: 1
    CLIP-RGB speed: 128  needs_param: False  number: 2
  technique group: Geometry
    ANTIALIAS speed: 128  needs_param: False  number: 2
    BILINEAR-INTERPOLATION speed: 128  needs_param: False  number: 8
    GAUSSIAN speed: 128  needs_param: True   number: 10
    NEAREST-NEIGHBOR speed: 128  needs_param: False  number: 12
  technique group: Histogram
    FLAT speed: 128  needs_param: False  number: 2
    GAUSSIAN speed: 128  needs_param: True   number: 4
    HYPERBOLIC speed: 128  needs_param: True   number: 6
  technique group: WhiteAdjust
    NONE speed: 128  needs_param: False  number: 1
    CIELAB-SHIFT speed: 128  needs_param: True   number: 2

XTEST version 2.2 opcode: 131

DOUBLE-BUFFER version 1.0 opcode: 141, base error: 157
  Double-buffered visuals on screen 0
    visual id 0x28  depth 8  perflevel 0
    visual id 0x29  depth 8  perflevel 0
    visual id 0x2a  depth 8  perflevel 0
    visual id 0x2b  depth 8  perflevel 0
    visual id 0x2c  depth 8  perflevel 0
    visual id 0x2d  depth 8  perflevel 0
    visual id 0x2e  depth 8  perflevel 0
    visual id 0x2f  depth 8  perflevel 0

RECORD version 1.13 opcode: 139, base error: 155

Xlib:  extension "XInputExtension" missing on display "127.0.0.1:0.0".
XInputExtension extension not supported by server

----------------- the case 2 and 3 (they are same): ------------------
name of display:    127.0.0.1:0.0
version number:    11.0
vendor string:    The XFree86 Project, Inc
vendor release number:    40099001
XFree86 version: 4.0.99.1
maximum request size:  4194300 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    2
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
keycode range:    minimum 8, maximum 134
focus:  window 0x60000e, revert to PointerRoot
number of extensions:    21
    BIG-REQUESTS
    DOUBLE-BUFFER
    Extended-Visual-Information
    FontCache
    GLX
    LBX
    MIT-SCREEN-SAVER
    MIT-SUNDRY-NONSTANDARD
    RECORD
    SECURITY
    SGI-GLX
    SHAPE
    SYNC
    TOG-CUP
    X3D-PEX
    XC-APPGROUP
    XC-MISC
    XFree86-Bigfont
    XIE
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1024x768 pixels (260x195 millimeters)
  resolution:    100x100 dots per inch
  depths (2):    1, 16
  root window id:    0x2b
  depth of root window:    16 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x21
  default number of colormap cells:    64
  preallocated pixels:    black 0, white 65535
  options:    backing-store NO, save-unders NO
  largest cursor:    1024x768
  current input event mask:    0xd0001d
    KeyPressMask             ButtonPressMask          ButtonReleaseMask
    EnterWindowMask          SubstructureRedirectMask PropertyChangeMask
    ColormapChangeMask
  number of visuals:    4
  default visual id:  0x24
  visual:
    visual id:    0x24
    class:    TrueColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0x3f, 0x7c0, 0xf800
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x25
    class:    TrueColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0x3f, 0x7c0, 0xf800
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x26
    class:    DirectColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0x3f, 0x7c0, 0xf800
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x27
    class:    DirectColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0x3f, 0x7c0, 0xf800
    significant bits in color specification:    8 bits

XKEYBOARD extension not supported by server

SHAPE version 1.0 opcode: 128, base event: 64

SYNC version 3.0 opcode: 137, base event: 74, base error: 153
  system counters: 1
    SERVERTIME  id: 0x00000029  resolution_lo: 4  resolution_hi: 0

Xlib:  extension "XFree86-DGA" missing on display "127.0.0.1:0.0".
XFree86-DGA extension not supported by server

Xlib:  extension "XFree86-VidModeExtension" missing on display
"127.0.0.1:0.0".
XFree86-VidModeExtension extension not supported by server

Xlib:  extension "XFree86-Misc" missing on display "127.0.0.1:0.0".
XFree86-Misc extension not supported by server

XIE version 5.0 opcode: 136, base event: 69, base error: 146
  service class: FULL
  alignment: Arbitrary
  uncnst_mantissa: 24
  uncnst_min_exp: -126
  uncnst_max_exp: 128
  cnst_levels: 2 256 65536 16777216
  technique group: ColorAlloc
    ALLOC-ALL speed: 128  needs_param: True   number: 2
  technique group: Constrain
    CLIP-SCALE speed: 128  needs_param: False  number: 2
    HARD-CLIP speed: 128  needs_param: False  number: 4
  technique group: ConvertFromRGB
    CIELAB speed: 128  needs_param: True   number: 2
    CIEXYZ speed: 128  needs_param: True   number: 4
    YCbCr speed: 128  needs_param: True   number: 6
    YCC speed: 128  needs_param: True   number: 8
  technique group: ConvertToRGB
    CIELAB speed: 128  needs_param: True   number: 2
    CIEXYZ speed: 128  needs_param: True   number: 4
    YCbCr speed: 128  needs_param: True   number: 6
    YCC speed: 128  needs_param: True   number: 8
  technique group: Convolve
    CONSTANT speed: 128  needs_param: False  number: 2
  technique group: Decode
    UNCOMPRESSED-SINGLE speed: 128  needs_param: True   number: 2
    UNCOMPRESSED-TRIPLE speed: 128  needs_param: True   number: 3
    CCITT-G31D speed: 128  needs_param: True   number: 4
    CCITT-G32D speed: 128  needs_param: True   number: 6
    CCITT-G42D speed: 128  needs_param: True   number: 8
    JPEG-BASELINE speed: 128  needs_param: True   number: 10
    TIFF-2 speed: 128  needs_param: True   number: 14
    TIFF-PACKBITS speed: 128  needs_param: True   number: 16
  technique group: Dither
    ERROR-DIFFUSION speed: 128  needs_param: False  number: 2
    ORDERED speed: 128  needs_param: False  number: 4
  technique group: Encode
    UNCOMPRESSED-SINGLE speed: 128  needs_param: True   number: 2
    UNCOMPRESSED-TRIPLE speed: 128  needs_param: True   number: 3
    CCITT-G31D speed: 128  needs_param: True   number: 4
    CCITT-G32D speed: 128  needs_param: True   number: 6
    CCITT-G42D speed: 128  needs_param: True   number: 8
    JPEG-BASELINE speed: 128  needs_param: True   number: 10
    TIFF-2 speed: 128  needs_param: True   number: 14
    TIFF-PACKBITS speed: 128  needs_param: True   number: 16
  technique group: Gamut
    NONE speed: 128  needs_param: False  number: 1
    CLIP-RGB speed: 128  needs_param: False  number: 2
  technique group: Geometry
    ANTIALIAS speed: 128  needs_param: False  number: 2
    BILINEAR-INTERPOLATION speed: 128  needs_param: False  number: 8
    GAUSSIAN speed: 128  needs_param: True   number: 10
    NEAREST-NEIGHBOR speed: 128  needs_param: False  number: 12
  technique group: Histogram
    FLAT speed: 128  needs_param: False  number: 2
    GAUSSIAN speed: 128  needs_param: True   number: 4
    HYPERBOLIC speed: 128  needs_param: True   number: 6
  technique group: WhiteAdjust
    NONE speed: 128  needs_param: False  number: 1
    CIELAB-SHIFT speed: 128  needs_param: True   number: 2

XTEST version 2.2 opcode: 131

DOUBLE-BUFFER version 1.0 opcode: 141, base error: 157
  Double-buffered visuals on screen 0
    visual id 0x24  depth 16  perflevel 0
    visual id 0x25  depth 16  perflevel 0
    visual id 0x26  depth 16  perflevel 0
    visual id 0x27  depth 16  perflevel 0

RECORD version 1.13 opcode: 139, base error: 155

Xlib:  extension "XInputExtension" missing on display "127.0.0.1:0.0".
XInputExtension extension not supported by server
*******************************************************************


> Enoch wrote:
> 1. Your Windows display setting needs to be at 16 bits or 32 bits

The results above are same under both 16 and 32 bits display setting.

> 2. See my scripts that enables startx at
>   http://www.eskimo.com/~ewu/cygwin     (the xfree URL is near the
bottom).

Thanks for your kindness. But I have not got  the application to run under
x-server
after using the scripts above.

> 3. Make sure X is linked to XWin.exe.

This is correct.


Thanks a lot,

Wuyun


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]