Re: Help Setting Depth on AFB Video Card

From: Alan Coopersmith (alanc_at_alum.calberkeley.org)
Date: 02/29/04


Date: Sun, 29 Feb 2004 16:55:39 +0000 (UTC)

mdhmi@yahoo.com (Mark Daniels) writes in comp.unix.solaris:
|On my Sun Blade I run the following to configure my frame buffer:
|m64config -dev /dev/fd0 -res 1280x1024x76 now -depth 24
|
|My question is how do I configure the 'depth' on an AFB board?
|
|My config thus far is:
|afbconfig -dev /dev/afb0 -res 1280x1024x76 now
|Where is the 'depth 24' set?

The high-end 3D boards like the FFB & AFB always offer a 24-bit depth,
so there's no need to set it via the config command. Unfortunately,
many programs are too stupid to use anything but the default depth, so
you can change the afb to offer the 24-bit as the default for programs
by editing /etc/dt/config/Xservers and adding
        -dev /dev/afb0 defdepth 24
to the end of the Xsun command line at the end of the file. (If the
file doesn't exist, create it by copyinf over /usr/dt/config/Xservers .)

-- 
________________________________________________________________________
Alan Coopersmith                              alanc@alum.calberkeley.org
http://www.CSUA.Berkeley.EDU/~alanc/       aka: Alan.Coopersmith@Sun.COM
  Working for, but definitely not speaking for, Sun Microsystems, Inc.


Relevant Pages

  • Help Setting Depth on AFB Video Card
    ... On my Sun Blade I run the following to configure my frame buffer: ... My question is how do I configure the 'depth' on an AFB board? ... Mark ...
    (comp.unix.solaris)
  • Re: back into the sun systems.
    ... will allow me to run dial GDM 20D10 on the Sun Blade 100. ... Sun has hardware manuals available on line. ... If you google for "frame buffer" site:sun.com you should get some hits. ...
    (comp.unix.solaris)