Kevin Brosius on Fri, 1 Sep 2000 09:19:57 -0400 (EDT)


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

Re: XF 4.x config (was RE: [PLUG] how do you change resolutionsetting after the install)


LeRoy Cressy wrote:
> 
> There are some things that you just have to do by hand.  Most of the
> configurators do not handle high end monitors very well.
> 
> Using your favorite text editor hand edit your XF86Config file.
> 
> The important items in this are:   DefaultColorDepth 32
> 
> which automatically sets the color depth to 32 BPP instead of having the
> system default to 8 BPP
> 
> Or this is like runing
>         startx -- -bpp 32
> 

A little caution here.  We've deprecated the -bpp option in 4.0x
versions because of confusion between color depth and bits-per-pixel. 
If you use -bpp you'll get a warning or error in XFree86 4.0x.  Use
-depth instead.  Also, must drivers don't support depth 32 (or
DefaultColorDepth 32), because most PC graphics hardware doesn't really
support a color depth of 32 planes (I forget the exact term here.  The
important point is that past usage of -bpp 32 was incorrect for most
cases because graphics cards usually store 24 bits of color information
in a 32 bit word.  And don't support more than 24 bits of color
information.)

Again, I only speaking about XFree86 4.0 and 4.0.1 or later.

> The following subsections specify the resolutions beginning with the
> first one as the default.  With X you can switch resolutions on the fly
> with <CTRL><ALT><Keypad +> This will recycle you through the various
> resolutions in your screen section.
> 
> The first resolution is the default.  Also, you might want to make your
> own modelines for your monitor.  For instance, I've found that some of
> the ``standard'' modes are not good, and normally they don't include the
> high end graphics mode 1600x1200.
> 
> I have also found that sometimes there are resolutions that you don't
> want or desire so I take them out using only the resolutions that you
> want.
> 
> Another important thing to note is not all applications will run at 32
> BPP.  They will all run at 8 BPP though this color depth only has 256
> colors.
> 

Very true.  I've found depth 16 a good compromise for most of my uses. 
There are generally speed differences also.  Depth 8 is usually fastest,
depth 16 slower and depth 24 slowest.  These are the most common
depths.  They relate to Windows driver numbers you may have seen like
this:
Depth    Colors
8        256 - SVGA, ...
16       16K - Hi-color, ...
24       32M - Truecolor


> Section "Screen"
>    Driver          "Accel"
>    Device          "ATI XPERT 128 AGP"
>    Monitor         "GS790"
>    DefaultColorDepth 32
>    BlankTime       0
>    SuspendTime     0
>    OffTime         0
>    SubSection "Display"
>       Depth        8
>       Modes        "1600x1200" "1280x1024" "1024x768"
>    EndSubSection
>    SubSection "Display"
>       Depth        15
>       Modes         "1600x1200" "1280x1024" "1024x768"
>    EndSubSection
>    SubSection "Display"
>       Depth        16
>       Modes        "1600x1200" "1280x1024" "1024x768"
>    EndSubSection
>    SubSection "Display"
>       Depth        24
>       Modes        "1600x1200" "1280x1024" "1024x768"
> :   EndSubSection
>    SubSection "Display"
>       Depth        32
>       Modes        "1600x1200" "1280x1024" "1024x768"
>    EndSubSection
> EndSection
> 
> Section "Screen"
>    Driver          "SVGA"
>    Device          "ATI XPERT 128 AGP"
>    Monitor         "GS790"
>    DefaultColorDepth 32
>    BlankTime       0
>    SuspendTime     0
>    OffTime         0
>    SubSection "Display"
>       Depth        8
>       Modes        "1600x1200" "1280x1024" "1024x768"
>    EndSubSection
>    SubSection "Display"
>       Depth        15
>       Modes        "1600x1200" "1280x1024" "1024x768"
>    EndSubSection
>    SubSection "Display"
>       Depth        16
>       Modes        "1600x1200" "1280x1024" "1024x768"
>    EndSubSection
>    SubSection "Display"
>       Depth        24
>       Modes        "1600x1200" "1280x1024" "1024x768"
>    EndSubSection
>    SubSection "Display"
>       Depth        32
>       Modes        "1600x1200" "1280x1024" "1024x768"
>    EndSubSection
> EndSection
> 
> Jeff Dean wrote:
> >
> > Since my original post, I've installed XFree86 v4.0.1 on a RH6.0 box.
> > After the installation, you're instructed by Xinstall.sh to run
> >
> >   XFree86 -configure
> >
> > to generate an initial config file.  This worked as far as detecting mouse
> > and graphics card and yielded a basic working XF86Config.  However, it
> > didn't handle the mode issues to increase resolution.
> >
> 
> --
> Rev. LeRoy D. Cressy   mailto:ldc@netaxs.com         /\_/\
>                        http://www.netaxs.com/~ldc   ( o.o )
>                        Phone:  215-535-4037          > ^ <
> 
> Jesus saith unto him, I am the way, the truth, and the life:
> no man cometh unto the Father, but by me. (John 14:6)
> 

-- 
Kevin Brosius


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug