Yay! Setting the default bit depth worked a treat. I'm now "enjoying" 8-bit 
Xorg on SPARC!

Below are your instructions, with line wraps restored (jive seemed to have 
mislaid them for some reason):

Well, since I just reinstalled my Ultra 10 test machine to snv_59 last week, 
I'll just show you what I did to get it running Xorg again just now. First off 
- this works with m64, such as the on-board graphics, but hasn't been tested 
successfully with any other graphics device. (I've gotten a picture on XVR-100, 
but a very very wrong picture, so it doesn't count.)

I ssh'ed in from another machine and stopped the running dtlogin/Xsun: 

# /etc/init.d/dtlogin stop 

Change the SMF properties to use Xorg server, and 8-bit depth (24 doesn't work 
yet in the wsfb driver): # svccfg -s x11-server 

svc:/application/x11/x11-server> setprop options/default_depth=8 
svc:/application/x11/x11-server> setprop options/server=/usr/X11/bin/Xorg 
svc:/application/x11/x11-server> exit 

Since I have an XVR-100 card and the m64 on-board device in my machine, /dev/fb 
unfortunately points to the XVR-100 card, so I need to tell Xorg to run on the 
m64 device (/dev/fbs/m640): 

# /usr/X11/bin/Xorg -configure 
# mv /xorg.conf.new /etc/X11/xorg.conf 
# vi /etc/X11/xorg.conf 

Unfortunately, Xorg -configure detected 4 potential devices (one m64, and one 
pfb that offers two single head devices and one dual head device) and added all 
4 of them, so I need to delete the extra Screen lines in Section 
"ServerLayout". In the Section "Device" corresponding to the remaining Screen 
line, I removed the BusID line and added a Device option to specify the device: 

Section "Device" 
### Available Driver options are:- 
### Values: : integer, : float, : "True"/"False", 
### : "String", : " Hz/kHz/MHz" 
### [arg]: arg optional 
#Option "ShadowFB" 
# [] 
#Option "Rotate" 
# Identifier "Card0" Driver "wsfb" Option "Device" "/dev/fbs/m640" EndSection 

Then I restart dtlogin with the new configuration: 

# /etc/init.d/dtlogin start 

And a few seconds later, the big blue curve of the Solaris login screen is 
staring back at me. I login to JDS, and try not to lose my lunch over how 
hideously all it's beautiful gradients are rendered in 8-bit mode, but that's 
not the problem at hand... 

-- -Alan Coopersmith- alan dot coopersmith at sun dot com 
Sun Microsystems, Inc. - X Window System Engineering 
_______________________________________________ 

xwin-discuss mailing list xwin-discuss at opensolaris dot org
 
 
This message posted from opensolaris.org

Reply via email to