[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2688.0. "PC DECWindows EGA Support" by YZR500::OMELEY (And now for something completely different...) Tue May 01 1990 01:50

    Hi,
    	I have a customer that is trying to run a DECWindows application
    (works fine on a 8Plane VS3100) on a NEC PowerMate 386 with an EGA
    Monitor... and is getting Colour Map creation errors. Suggested that he
    check that the application (Setpoint Inc's (Houston Tex) GCS) is not 
    coded to expllicitly look for 8 Planes.

    Other applications such as DECW$CALENDAR and DECW$CLOCK work Ok on the
    PC.


    What does an EGA (and others for that matter) spec card appear as to 
    the PC's DECW server 4Plane, 8Plane .. etc.


    This note is also posted in the PCSA conference.



    Thank's for any pointers.

    	Rob
    
T.RTitleUserPersonal
Name
DateLines
2688.1Can get the supported depths.CSC32::B_KEMPI just answer the phoneTue May 01 1990 10:3533
    This code will return the number of supported depths and what they
    are on a machine running DECWindows.  I think you can get the current
    depth from the visual data structure...but, I'm not sure about that.
    This code on my 3100 returns two supported depths of 1 and 8.
    
    -Bill
    
#include <stdio.h>
#include <decw$include/DwtAppl.h>
#include <decw$include/Xlib.h>

Widget top_level;
static Screen *screen;

main(argc,argv)
   unsigned int argc;
   char *argv[];
{
   int i;

   top_level = XtInitialize("WEDGY","hiclass",
                            NULL,0,         
                            &argc,argv);

   screen = XtScreen(top_level);
   printf("%d\n",screen->ndepths);
   for(i=0;i<screen->ndepths;i++)
     printf("%d\n",screen->depths++->depth);

}

 
 
2688.2PC DECwindows currently StaticColor only.RANGER::SLICKPC DECwindows Hacked HereTue May 01 1990 15:316
The current version of PC DECwindows only supports a depth 4 StaticColor
visual on a color screen.  The requests AllocColorCells, AllocColorPlanes,
StoreColor[s] will fail on a StaticColor colormap.

Questions specific to PC DECwindows are better asked in RANGER::PCDECWINDOWS

2688.3have an accident with your EGAs ... then replace them.RANGER::PETERSONTue May 01 1990 15:3223
The PC DECwindows X server (V2) supports only 4-plane "static color" on the
EGA and VGA.  If you are seeing errors "creating color maps" or
"allocating color cells", then the problem is that "psuedo color"
is not supported on this server.

You should check out the PC DECwindows conference (MOSAIC::PCDECWINDOWS).
You should also check out the utility xdpyinfo.  It will tell you
many of the servers characteristics.

The next release of the PC DECwindows server will be much more robust in
its color support.  Psuedo color will be supported on VGA and 8514/A clones.
The 8514/A will run in 8 plane (in the high memory configuration).  Only
one colormap can be created with any of these video systems, so you may
sill see errors with colormap creation.

Your customer will likely be disappointed with the EGA.  At 640x350 resolution
it is really too small for DECwindows use.  It also has the problem
that pixels are not square.  The VGA should really be considered the
minimum configuration.  With a multi-sync monitor you can get 800x600.
For just a little more money you can get an 8514/A clone that will
do 1024x768 and 8 plane psuedo color.

- Jim