From owner-freebsd-questions Tue Mar 12 17:17:10 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA12569 for questions-outgoing; Tue, 12 Mar 1996 17:17:10 -0800 (PST) Received: from jbrann (jbrann.dialup.access.net [166.84.193.118]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id RAA12558 for ; Tue, 12 Mar 1996 17:17:03 -0800 (PST) Received: (from jbrann@localhost) by jbrann (8.6.12/8.6.12) id UAA02728; Tue, 12 Mar 1996 20:16:29 -0500 Message-Id: <199603130116.UAA02728@jbrann> Subject: Re: 16 bpp X server? To: eng30219@leonis.nus.sg (Gong Wei) Date: Tue, 12 Mar 1996 20:15:09 -0500 (EST) From: "John Brann" Cc: questions@freebsd.org In-Reply-To: from "Gong Wei" at Mar 12, 96 06:12:15 pm From: John Brann Reply-To: John Brann Organisation: Not while I'm at home X-Mailer: ELM [version 2.4 PL25 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Gong Wei wrote... > > Hi all of you there: > > Just a general question about X, last time I rebuild XF86-312 for > FreeBSD2.1.0. Everything is fine, the resulting server is faster than > XF86_SVGA because only cirrus devices are configured. > > The machine I am using is Pentium 75 with 8M Ram. The video card is > clgd5434 with 1M video ram. I've tried to let the server to run at 16 bpp > mode, but finally failed:-( Actually I am quite satisfy with 8 bpp screen, > just want to learn some more, so I tried to modify /etc/XF86Config, try to > recompile X server, try to read man pages, X docs... And finally I think > it's time to shout loudly around the net. 8-) Did you read /usr/X11R6/lib/X11/doc/README.cirrus? :-) According to this you'll be limited to 800x600 virtual screen size. I have a CLGD5434 (on the PCI bus), My XF86Config has this: Section "Screen" Driver "svga" Device "Cirrus Logic GD543x" Monitor "CTX" Subsection "Display" Depth 8 # Omit the Modes line for the "Generic VGA" device Modes "1280x1024" ViewPort 0 0 # Use Virtual 320 200 for Generic VGA Virtual 1280 1024 option "no_bitblt" EndSubsection Subsection "Display" Depth 16 Modes "1024x768" ViewPort 0 0 Virtual 1152 900 # Option "no_bitblt" EndSubsection Subsection "Display" Depth 32 Modes "640x480" "800x600" ViewPort 0 0 Virtual 800 600 EndSubsection EndSection But the _really_ important bit is: Section "Device" Identifier "Cirrus Logic GD543x" VendorName "Unknown" BoardName "Unknown" VideoRam 2048 option "mmio" option "linear" # Device section for Cirrus Logic GD5430/34-based cards. MemBase 0xf8000000 # PCI card that maps to 2560Mb EndSection Note that I have 2Meg of memory on my card. If your card is on the PCI bus, use the 'scanpci' program to find the MemBase address. The linear option and associated address are REQUIRED for 16bpp - that's probably why yours doesn't work... By the way, what did you do to strip down the server - it sounds like a good idea. Regards, John -- Beavis and Butt-Head; Vladimir and Estragon for the '90s. finger jbrann@panix.com for pgp public key