[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20030619: Gempak - linux RedHat 7.3 - Color Allocation



Pete,

Your attatchments were zero length, so I don't have a suggestion about that.

You are not limited to 8 bit color with GEMPAK, (hopefully you are running 
a version of 5.6.G or later), so you can probably work around your problems by
using a true color visual. Under Linux, and Gnome, I'd suggest using a 24 bit
visual for both the desktop and the Xvfb displays so that you don't have to 
worry 
about other applications that are running.

Your problem may be that you have an unpatched XFree86 4.2 server which will
allocate all 8 bit colors are read-only (freeColors will tell you about the
allocation). You need colors read-write in 8 bit mode in order to change
their color values in GEMPAK programs like. With patches, the Xfree86 server 
will work correctly, but 24 bit is generally easier to work with browsers etc
as well as GEMPAK.

Steve Chiswell



>From: "Pete" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200306191451.h5JEpPgE024850

>--=_81832875f09f411eebbbc4904fdad23b
>Content-Type: text/plain; charset="ISO-8859-1"
>Content-Transfer-Encoding: 7bit
>
>Institution: NOAA / NWS
>Package Version: 5.6
>Operating System: linux RedHat 7.3
>Hardware Information: Xeon dual 2.2GHz
>Inquiry: Hello,
>
>I am unable to get gemplot to produce output running on a RedHat 7.3 machine. 
> I have checked the pertintent configuration files posted on this site but con
> tinue to get [GEMPLT -46] LCLRAL - Can not allocate...errors. I have checked 
> to make sure the X server is running in 8 bit pseudocolor mode, and I am not 
> running any other graphics applications. Attached are output from xdpyinfo an
> d the gempak freeColors utility. I even tried to reduce color usage with icon
>  group/desktop settings with no effect.
>
>I have read within the e-mail archive some troubling information about trying 
> to get gempak to work under RedHat 7.3. Are there any work arounds yet?
>
>My primary need is to use gempak for generating GIF files in the background un
> der cron. I understand that xvfb- X virtual frame buffer, may be an alternati
> ve. Is this true and where can I find addtional resources to use this? Thanks
>  for any help you can provide.
>
>Pete
>
>
>--=_81832875f09f411eebbbc4904fdad23b
>Content-Type: text/plain
>Content-Transfer-Encoding: base64
>Content-Disposition: attachment; filename="xdpyinfo.txt"
>
>
>--=_81832875f09f411eebbbc4904fdad23b
>Content-Type: text/plain
>Content-Transfer-Encoding: base64
>Content-Disposition: attachment; filename="freeColors.txt"
>
>
>--=_81832875f09f411eebbbc4904fdad23b--
>