Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  9 Dec 1997 03:39:00 -0500 (EST)
From:      Yun-Ching Lee <ycl+@CMU.EDU>
To:        freebsd-questions@freefall.FreeBSD.org, _| im <jim@basil.stthom.edu>
Subject:   Re: X won;t go above 8 bpp
Message-ID:  <EoXECYK00YUn02IGo0@andrew.cmu.edu>
In-Reply-To: <Pine.SGI.3.91.971209005940.23675B-100000@basil.stthom.edu>
References:  <Pine.SGI.3.91.971209005940.23675B-100000@basil.stthom.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Excerpts from internet.computing.freebsd-questions: 9-Dec-97 X won;t go
above 8 bpp by _| im@basil.stthom.edu 
> This should be a simple question: How do I make X( via xdm) go above a 
> color depth of 8. 

In your /usr/X11R6/lib/X11/xdm/Xservers, modify the line so it reads

    :0 local /usr/X11R6/bin/X -bpp 32
    (or -bpp 16, whichever you see fit.)

Another way to do this is with the DefaultColorDepth directive.  Just
insert it in your screen section as shown.  (This is the way I use.)

> Section "Screen"
>     Driver      "accel"
>     Device      "My Video"
>     Monitor     "Monitor"
++    DefaultColorDepth   32
>     Subsection "Display"
>         Depth       8
>         Modes       "1024x768" "800x600" "640x480"
>         ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       16
>         Modes       "1024x768" "800x600" "640x480"
>         ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       24
>         Modes       "800x600" "640x480"
>         ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       32
>         Modes       "800x600" "640x480"
>         ViewPort    0 0
>     EndSubsection
> EndSection

--
Yun-Ching (Allen) Lee                   ycl+@cmu.edu
"There is no such thing as a good influence...  All influence is immoral."
                                        -- Lord Henry Wotton




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EoXECYK00YUn02IGo0>