Hi all,
many thanks to
"Prasad, Sreenivasa" <sreenivasa.prasad_at_digital.com>
Heinz-Hermann Adam <adamh_at_nwz.uni-muenster.de>
Thomas Leitner <tom_at_radar.tu-graz.ac.at>
Peter.Stern_at_weizmann.ac.il
Paul Henderson <Paul.G.Henderson_at_compaq.com>
Selden E Ball Jr <SEB_at_LNS62.LNS.CORNELL.EDU>
for answering my question
Original question:
To change the resolution and frequency of the diplay screen on
a Digital Personal Workstation-au in the manual to the PBXGB-AA/CA
PCI Grapics option is described that it can be done by changing a
rotary switch on the graphics card. (Obviously is it possible
to set it by software under Windows-NT.)
Is there an utility by which I can change this by software under
Tru64 too?
Solutions:
Set a line in
/etc/dt/config/Xservers
:0 Local local_at_console /usr/bin/X11/X :0 -screen0 1280 -depth0 24
or
:0 Local local_at_console /usr/bin/X11/X :0 -screen0 1600x1200
or
in /usr/lib/X11/Xserver.conf
-pn -nice 2 -screen0 1600x1200 -vsync 75
to set resolution 1600x1200.
as could be seen from most contributions. Heinz-Herman was so kind
to quote earlier contributions on the list. (Sorry, I searched
through the archives but obviously overlook those)
This looks promising, but Selden Ball wrote
"Not with that card.
It can be done with other models (e.g. Elsa Gloria Synergy)
...
(these are ignored for cards with onboard size/speed switches)"
But here I wonder a little bit. In the hardware manual for the graphic
module installation as the last step one could read
"set the frequncy switch according the video timing values. Skip this
step when running WNT"
>From this I conclude that must at least be software settable...
So I have to test it.
Thanks to all.
Regards
Otto
PS: For completeness I include here all answers (somewhat
compressed) if someone is interested in more details
------------------- all ansers in detail -------------------------------
From: "Prasad, Sreenivasa" <sreenivasa.prasad_at_digital.com>
Just add an entry in the file /ust/dt/config/Xservers.con to set a 1280x1024
with 24 bit of color resolution.
:0 Local local_at_console /usr/bin/X11/X :0 -screen0 1280 -depth0 24
You can configure similar to above for different resolutions, depending on
your machine's configuration.
-Sreenivasa Prasad V.
--------
From: Heinz-Hermann Adam <adamh_at_nwz.uni-muenster.de>
I quote for you some of the earlier postings on the list.
Kind regards
Heinz-Hermann
Original question was:
"Is there a utility to set display resolution on Tru64?
(Similar to Windows' "Control Panel - Display")"
--------------------------------------------------------
Of course, there isn't (silly me). I wish Style Manager
could do it, though.
Thanks to Ryan McConigley, Screenisava Prasad, Rowan
Bailey and others,
who pointed me at the right direction how to do it.
1. Suggested to put
:0 Local local_at_console /usr/bin/X11/X :0 -screen0
1600x1200
into
(/etc/dt/config/Xservers .
to set resolution 1600x1200.
2. Suggested to put
:0 Local local_at_console /usr/bin/X11/X :0 -screen0 1280
-depth0 24
into
/usr/dt/config/Xservers.con
to set resolution 1280x1024.
3. Suggested to put
-pn -nice 2 -screen0 1600x1200 -vsync 75
into
/usr/lib/X11/Xserver.conf
to set resolution 1600x1200.
I believe that the above options will work if you are
running CDE.
If you are running XDM (like us) you need to put those
configuration lines
into
/usr/lib/X11/xdm/Xservers .
And if you are running XDM and use xinit to start X
server (like us),
you need to pass that resolution configuring line into
xinit as a parameter.
It's being then passed to X server by xinit, I believe.
-----schnipp-----
> Try this in /etc/dt/config/Xservers:
>
> # Standard:
> # :0 Local local_at_console /usr/bin/X11/X :0
> # 17 inch Monitor
> # :0 Local local_at_console /usr/bin/X11/X :0 -screen0
1280x1024 -vsync0 60 -vclass0 TrueColor
> # 21 inch Monitor
> :0 Local local_at_console /usr/bin/X11/X :0 -screen0
1600x1200 -vsync0 70 -vclass0 TrueColor
>
> These settings work on our machines (you should check
how much the
> monitor can handle)
>
> Description of the parameters should be found in "man
Xdec"
>
-----schnapp-----
I finally tried to edit the file
/usr/dt/config/Xservers
The original setting only contained one line:
:0 Local local_at_console /usr/bin/X11/X :0
And the resolution, refresh rate and color depth settings
can be appended with
-screen0 1280x1024 -vsync 75 -vclass TrueColor
at the same line.
Then reinitialize the X server with "/sbin/init.d/xlogin
stop" followed by
/sbin/init.d/xlogin start
under command line mode.
Yet the 1280x1024_at_ 75Hz with True Color mode (my default
setting reported by
the monitor's OSD) seems to be the highest limit for my
PowerStorm 4D51T card.
No higher resolution or refresh rate can be achieved.
Sincerely,
--
Jen-Shiang Kenny Yu //
jsyu_at_Platinum.chem.nthu.edu.tw
-----schnapp-----
-----schnipp-----
To set the screen resolution and/or color depth in CDE.
You will need to
copy the file from /usr/dt/config/Xservers over to
/etc/dt/config/Xservers.
You should see a line near the end of the file like the
following.
:0 Local local_at_console /usr/bin/X11/X :0
To modify the settings, add arguments to the end. The
three arguments I
found were
-depth
-screen
-vclass
To set it to 24 bit TrueColor, at 1600x1200 the line
would look like
:0 Local local_at_console /usr/bin/X11/X :0 -vclass
TrueColor -screen 1600
-depth 24
I couldn't find the arguments documented anywhere. So I
am not sure of all
the ins and outs of them. But this worked for me.
Also, a number of older machines don't let you set the
resolution via
software, you need to change a setting on the card
itself.
To make the new settings take effect. You need to restart
the Xserver.
You can restart the Xserver via the following:
To Stop-
/sbin/init.d/xlogin stop
To Start-
/sbin/init.d/xlogin start
--------------
From: Thomas Leitner <tom_at_radar.tu-graz.ac.at>
"man Xdec" gives:
X -screen0 1280x1024 -vsync 85 dpms -vclass TrueColor -depth 16
Change it in /etc/dt/config/Xservers. If the file does not exist yet,
copy it from /usr/dt/config/Xservers.
--------
From: Peter.Stern_at_weizmann.ac.il
You can change the resolution of either of these cards (PowerStorm
3D30/4D20) up to 1280x1024 by putting in /var/X11/Xserver.conf:
! you specify command line arguments here
args <
-pn -screen 1280x1024
>
Aparently, you can also do this in /etc/dt/config/Xservers:
copy /usr/dt/config/Xservers.con to /etc/dt/config/Xservers
change the X server line to:
:0 Local local_at_console /usr/bin/X11/X :0 -bs -su \
-screen 1280x1024 -vclass TrueColor -depth 24
restart the Xsession by: /sbin/init.d/xlogin restart
Note you can also change -vsync (regresh rate in Hz, e.g. 85),
-vclass (e.g. TrueColor) and -depth (e.g.24)
I believe that you need to have OpenGL installed.
Only the PowerStorm 4D20 (PBXGB-CA) will support TrueColor or 24 bit planes.
I can't tell you offhand what the maximum refresh rate is for each card.
--------
From: Paul Henderson <Paul.G.Henderson_at_compaq.com>
Yes, you can modify the last line of the file /etc/dt/config/Xservers.con to
specify arguments to the X server's startup command. This is what I did:
:0 Local local_at_console /usr/bin/X11/X :0 -screen 1600 -dpi 75 -terminate
'screen' is the x resolution, 'dpi' is the dots per inch which I set to 75
so I can get smaller fonts on the screen, and 'terminate' stipulates that
when the session is ended, the Xserver will exit (thus clearing its memory
and color map) instead of simply putting up another session window. There
are numerous other options... see the Xdec(1X) man page.
If the /etc/dt/config/Xservers.con file doesn't exist, copy it from
/usr/dt/config. Putting it in /etc/dt/config means that it will not be
overwritten by an OS upgrade.
--------
From: Selden E Ball Jr <SEB_at_LNS62.LNS.CORNELL.EDU>
Not with that card.
It can be done with other models (e.g. Elsa Gloria Synergy)
If you're running Motif, in /usr/lib/X11/xdm/Xservers
change
:0 local /usr/bin/X11/X
to
:0 local /usr/bin/X11/X -screen0 1280
for 1280x1024 resolution
also the number of planes can be configured with (e.g.) -depth0 24
if the card has enough memory.
and refresh rate set with (e.g.) -vsync0 72
if the card has enough bandwidth.
(these are ignored for cards with onboard size/speed switches)
man Xdec
-screen[screen] #x#
Set screen width [x height.]
For CDE:
in /usr/dt/config/Xservers and Xservers.conf files:
change
:0 Local local_at_console /usr/bin/X11/X :0
to
:0 Local local_at_console /usr/bin/X11/X :0 -screen0 1280
Received on Wed Aug 29 2001 - 15:44:42 NZST