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]

RE: Problems in starting some X-Window Applications


Wuyun,

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

startxwin.bat is starting a server with release number, "4001", whereas
startx is starting a server with release number, "40099001".  The later
server, launched by startx, is at least a somewhat recent build of
Cygwin/XFree86; however, the former server, launched by startxwin.bat is
some other vendor's server, or a really old version of Cygwin/XFree86.

You need to find out what executable startxwin.bat is launching, then find
all instances of that executable on your drive and make sure that the server
you want to launch is the first to appear in your path.

One thing to note: 8 bit depth is not supported.

Harold

> -----Original Message-----
> From: cygwin-xfree-owner@sources.redhat.com
> [mailto:cygwin-xfree-owner@sources.redhat.com]On Behalf Of Wuyun Guo
> Sent: Wednesday, April 25, 2001 9:54 PM
> To: cygwin-xfree@sourceware.cygnus.com
> Subject: Problems in starting some X-Window Applications
>
>
> Hi!
>
> I am new to use the last version and have tested quite a view in my
> Windows NT. Thanks to all developers for making this X-Server.
>
> I run some X-Window application very well when I use startxwin.bat
> to start up X-Server at DOS console, But failed with some messages
> as follows with using startx to start X-Server under bash shell.
>
> Ex. 1.
>      error: can't allocate color cell array
>
> Ex. 2.
>      No color cells for 3DCAFRAN
>      If other program run, which uses many color cells,
>      please terminate those, and you will use 3DCAFRAN
>
> When I use XWin as remote client, the same errors above occurred.
> I have obtained some information about XWin's color cell as follows
>
> *******************************************
> -------- Success case with startxwin.bat:
> name of display:    127.0.0.1:0.0
> version number:    11.0
> vendor string:    The XFree86 Project, Inc
> vendor release number:    4001
> 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 0x40000e, revert to PointerRoot
> number of extensions:    20
>     BIG-REQUESTS
>     DOUBLE-BUFFER
>     Extended-Visual-Information
>     FontCache
>     GLX
>     LBX
>     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:    1152x864 pixels (293x219 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:    1152x864
>   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
> ------------------------------------------------------
>
> --------- Failure case with startx:
> name of display:    127.0.0.1:0.0
> version number:    11.0
> vendor string:    The XFree86 Project, Inc
> vendor release number:    40099001
> 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:    7
> supported pixmap formats:
>     depth 1, bits_per_pixel 1, scanline_pad 32
>     depth 4, bits_per_pixel 8, scanline_pad 32
>     depth 8, bits_per_pixel 8, scanline_pad 32
>     depth 15, bits_per_pixel 16, scanline_pad 32
>     depth 16, bits_per_pixel 16, scanline_pad 32
>     depth 24, bits_per_pixel 32, scanline_pad 32
>     depth 32, bits_per_pixel 32, scanline_pad 32
> keycode range:    minimum 8, maximum 255
> focus:  window 0x60000e, revert to Parent
> number of extensions:    21
>     BIG-REQUESTS
>     DOUBLE-BUFFER
>     Extended-Visual-Information
>     FontCache
>     GLX
>     LBX
>     MIT-SUNDRY-NONSTANDARD
>     RECORD
>     SECURITY
>     SGI-GLX
>     SHAPE
>     SYNC
>     TOG-CUP
>     X3D-PEX
>     XC-APPGROUP
>     XC-MISC
>     XFree86-Bigfont
>     XIE
>     XKEYBOARD
>     XTEST
>     XVideo
> default screen number:    0
> number of screens:    1
>
> screen #0:
>   dimensions:    640x480 pixels (163x122 millimeters)
>   resolution:    100x100 dots per inch
>   depths (1):    16
>   root window id:    0x27
>   depth of root window:    16 planes
>   number of colormaps:    minimum 1, maximum 1
>   default colormap:    0x20
>   default number of colormap cells:    64
>   preallocated pixels:    black 0, white 65535
>   options:    backing-store NO, save-unders NO
>   largest cursor:    640x480
>   current input event mask:    0x58007f
>     KeyPressMask             KeyReleaseMask           ButtonPressMask
>     ButtonReleaseMask        EnterWindowMask          LeaveWindowMask
>     PointerMotionMask        SubstructureNotifyMask
> SubstructureRedirectMask
>     PropertyChangeMask
>   number of visuals:    2
>   default visual id:  0x22
>   visual:
>     visual id:    0x22
>     class:    TrueColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0x23
>     class:    TrueColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
> --------------------------------------------------------------
> -----------
>
> Sorry for the long email. I just wanted to point things clearly.
> Any help would be appreciated.
>
> Thanks.
>
> Wuyun
>


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