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

Re: How to set bpp 16 as default?



On Monday 04 November 2002 07:12, Wathen, Metherion wrote:
> Hi all,
> How do I set up X to default to 16 bit color depth?
>
> Im running Debian Potato 2.2 and am running the version of XFree that
> shipped with it. (sorry dont remember xf86 version #). I've tried to add
> the line "DefaultColorDepth 16" to my XConfig file but the server just
> croaks on it. In fact I didn't see anything that indicated what the default
> color depth was. :{
> My video is on-board Cirrus Logic 543x with 1Mb ram (yeah I know not a lot
> but should be able to do 16bit @ 800x600, at least)
>
> Thanks in advance,
> mw.

login on the console and do:

startx -- -depth 16

if that fails, you need to tweak your X setup.

Section "Screen"
        Identifier      "Primary"
        Device          "MatroxG450 Primary"
        Monitor         "PanaSync/Pro P110 Left"
        DefaultDepth    16
        SubSection "Display"
                Depth           8
                Modes           "1280x960" "1152x864" "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x960" "1152x864" "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x960" "1152x864" "1024x768"
        EndSubSection
EndSection

see how I have a Depth section for 8, 16 and 24.  If you do not have a section 
for the depth you want you can not use it.  If I try to use 32 on my setup it 
fails.



Reply to: