[ale] X in 16 or 32bpp?

Michael H. Warfield mhw at wittsend.com
Thu Feb 5 22:39:56 EST 1998


Dave enscribed thusly:
> Could be alot of things that PROHIBIT your video card from hitting that
> resolution.  For instance, I have a Diamond Stealth 3D 2000 4mb card.
> (blech, s3 virge, but it does its job)  In w'hindoze 95, I can get 32bpp @
> 1152x958 (or whatever it is).  In linux, the s3_ViRGE server just hasnt
> been developed yet to the point where it will hit 32bpp.  So, you may want
> to check on the development of the particular server you use, it may be
> still under development.

> -Dave

> On Thu, 5 Feb 1998, Robert L Harris wrote:

> > I finally got XFree86 working on my AST laptop.  My problem now is that
> > it's running at 800x600 (I can live with that) at 8bpp color (256) which
> > is sad.  How would I try and force it to 16?  I've modified my XF86Config
> > file to add a 16bpp section, but can't get it to use it.  Anyone got
> > any ideas?  My video adapter is 2Meg.

	Did you also remember to add the "DefaultColorDepth 16" to the
screen section as well as adding the "Depth 16" subsection?  Adding the
subsection tells X that it CAN use it.  Adding the DefaultColorDepth line
to the section tells X to do so as default.

	Here is a chunk of my XF86Config file:

Section "Screen"
    Driver      "accel"
    Device      "Diamond Stealth 3D 2000"
    Monitor     "Optiquest V775"
    DefaultColorDepth   16
    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
        Virtual     1280 1024
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
        Virtual     1280 1024
    EndSubsection
EndSection

> > Robert
> > ---------------------------------------------------------------------------
> > Robert L. Harris          |   NT is secure.... 
> > System Engineer For Hire. \_   as long as you don't remove the shrink wrap.
> > 
> > http://www.orci.com/~nomad
> > 
> > DISCLAIMER:
> >       These are MY OPINIONS ALONE.  I speak for no-one else.
> > perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'

	Mike
-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw at WittsEnd.com
  (The Mad Wizard)      |  (770) 925-8248   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!






More information about the Ale mailing list