[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 16bit display driver scripts
- Subject: Re: 16bit display driver scripts
- Date: Mon, 22 Apr 2002 15:48:47 -0600 (MDT)
Hi Chris,
I meant from 8->24 bit color..
No database, but here is what we worked up..
Let me know if we can help further.
Thank you,
-Jeff
____________________________ _____________________
Jeff Weber address@hidden
Unidata Support PH:303-497-8676
NWS-COMET Case Study Library FX:303-497-8690
University Corp for Atmospheric Research 3300 Mitchell Ln
http://www.unidata.ucar.edu/staff/jweber Boulder,Co 80307-3000
________________________________________ ______________________
On Mon, 22 Apr 2002, CHRISTOPHER HAMMOND wrote:
> jeff, I came across an email in the Gembud archive in which you spoke of
> the existence of a 16 bit display adapter (script)...the URL for the
> archive entry is:
> http://www.unidata.ucard.edu/cgi-bin/mfs/62/1615?27#mfs
> I was wondering if you still had the scripts available as I would like to
> view gempak in 16 bit.
> Any help or advice is apprecieated.
> chris
> ps is there a script database that you know of?
>
>
Setting up XFree86 ver 4.x.x server for dual server for multiple
resolutions on RedHat Linux 7.x -John Stokes, Unidata
First we need to make resolution changes in our config file:
/etc/X11/XF86Config-4
We start with a "Screen" section that resembles:
>>>>
Section "Screen"
Identifier "Screen0"
Device "ATI Mach64"
Monitor "Korea Data Systems Visual Sensation VS-21"
Subsection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
<<<<
We want to add another "Display" section with a low res depth. This will
look like:
>>>>
Section "Screen"
Identifier "Screen0"
Device "ATI Mach64"
Monitor "Korea Data Systems Visual Sensation VS-21"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024"
EndSubSection
Subsection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
<<<<
(note we added a 'DefaultDepth 24' line. This is what our default server
starts up as.)
Next we should make sure that we are running our default server on virtual
terminal 7 (ctrl-alt-F7). The bottom of the gdm config file
/etc/X11/gdm/gdm.conf should look like:
>>>>
[servers]
0=/usr/bin/X11/X -depth 24 vt7
#1=/usr/bin/X11/X -depth 8 vt8
<<<<
Finally, a script that invokes a new X server, sets the DISPLAY variable,
starts a simple window manager, and then loads ntl should do the trick.
Restart the X server and you are ready to go.
This script is what we use locally:
>>>>
#!/bin/csh -f
setenv DISPLAY :0
X :2 -depth 8 -ac vt8 &
setenv DISPLAY :2
twm &
source /home/gempak/Gemenviron
ntl &
#xterm &
<<<<