[rescue] Solaris 9 and colour depth

Bill Bradford mrbill at mrbill.net
Mon Nov 25 18:49:53 CST 2002


On Mon, Nov 25, 2002 at 05:28:50PM -0700, jodys at helluin.org wrote:
> To tell the default visual (the visual that a program will use unless
> it specifies another) use xdpyinfo. Look for the line
> default visual id:	0x2a
> By default Solaris uses a 8bit visual, even on 24bit framebuffers.
> Below that line you'll find a list of supported visuals. Match those
> up and you got the default visual.  
> To change that default visual you need to edit the file 
> /etc/dt/config/Xservers you'll need to edit the line, probably at
> the bottom, that lists all the options and the binary to run, you should
> make it look like this
> :0	Local local_uid at console root /usr/openwin/bin/Xsun :0 -nobanner -dev /dev/fb defdepth 24
> the difference being the "defdepth 24" tacked on the end. That should
> do it.

In Solaris 9, you can also use a command-line to change the default
depth, but I cant remember it right now.. 8-(  Used it on my SB100.

Ah. 

afbconfig -depth 24 

(this assumes you have a certain framebuffer)

Bill

-- 
bill bradford
mrbill at mrbill.net
austin, texas



More information about the rescue mailing list