Re: Resolution and bit depth


Subject: Re: Resolution and bit depth
From: Stephen Lewis (lewis@napanet.net)
Date: Sat Nov 18 2000 - 10:36:42 MST


Since I get the digest this is a bit late but...
I am running CS 1.1 and here is how to get different depths in X
As shipped Yellowdog starts X at runlevel 5 but not at runlevel 3
When X starts up it reads /etc/X11/XF86Config - the "Monitor"
section tells about your monitor and the "Screen" section tells
about what depths and resolutions you want ('man XF86Config')
the following gives a reasonable set of choices:
-------------------------------------------------
Section "Screen"
    Driver "fbdev"
    Device "ATY Mach64"
    Monitor "PDL Pivot 1700"
    DefaultColorDepth 32
    Subsection "Display"
        Depth 8
        Modes "1024x768" "1152x864" "1280x1024" "640x480"
"800x600"
        ViewPort 0 0
        Virtual 1280 1024
    EndSubsection
    Subsection "Display"
        Depth 16
        Modes "1024x768" "1152x864" "1280x1024" "640x480"
"800x600"
        ViewPort 0 0
        Virtual 1280 1024
    EndSubsection
    Subsection "Display"
        Depth 32
        Modes "1024x768" "1152x864" "1280x1024" "640x480"
"800x600"
        ViewPort 0 0
        Virtual 1280 1024
    EndSubsection
EndSection
-------------------------------------------------
NOTE your Monitor and Driver may be different - the "DefaultColorDepth
32"
(as you might expect) sets the default color depth (but only if this
depth is covered by the subsections).
Once X is running CTL-ALT-Pad+ sequences thru the resolutions.
Not only can you have multiple depths and resolutions but
you can have different depths running on different virtual terminals
AT THE SAME TIME.
Press CTL-ALT-F2 to get a console on VT2, login (probably less confusing
if
you use a different user name) type:
'startx -- -bpp 16 :1' This will start another X session on Screen 1
press CTL-ALT-F8 to see it on virtual terminal 8.
Now you can switch between 32 bits on VT7 and 16 bits on VT8 either
of which can sequence through 5 different resolutions. I use this to
test what various pictures and colors look like in different depths,
Stephen Lewis



This archive was generated by hypermail 2a24 : Sat Nov 18 2000 - 10:26:53 MST