Subject: Re: Wscons in NetBSD 3
To: None <port-sparc@NetBSD.org>
From: Michael Parson <mparson@bl.org>
List: port-sparc
Date: 02/03/2006 20:03:51
On Mon, Jan 30, 2006 at 02:48:16PM -0500, Michael Lorenz wrote:
> Hello,
> 
> > > mpg123 works, although it will probably eat all CPU time ;)
> > > Make sure you pass -mcpu=v8 -mtune=v8 to the compiler or it will
> > > generate SPARC v7 code which is considerably slower on a MicroSPARC
> > > for most things.
> 
> > The audio worked fine, I was actually surprised over how clear it
> > sounded.
> 
> Well, 16bit/44.1kHz ;)
> 
> Now that you have a working wscons system you can - if you feel like it
> - run XFree86 with acceleration. Binaries can be found in any recent
> -current snapshot on releng.netbsd.org. I know it works on sparc64 but
> none of my 32bit SPARCs has a cg6 or even an SBus slot.
> 
> All you'd need to do to get it to work is (hopefully):
> - have /usr/X11R6/bin/X point to XFree86
> - run X -configure to get a config file

I've never been able to get past this part:

# X -configure
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/tadpole:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

XFree86 Version 4.5.0
Release Date: 16 March 2005
X Protocol Version 11, Revision 0
Build Operating System:NetBSD/sparc 3.99.11 - The NetBSD Foundation, Inc.
Current Operating System: NetBSD tadpole 3.99.10 NetBSD 3.99.10 (MORGOTH) #52: Fri Nov  4 09:41:39 EST 2005  ml@Inishowen:/stuff/build/obj_sparc/sys/arch/sparc/compile/MORGOTH sparc
Build Date: 9 November 2005
	Before reporting problems, check http://www.XFree86.Org/
	to make sure that you have the latest version.
Module Loader present
Command line: X -configure
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (EE) error, (WW) warning,
	(II) informational, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Fri Feb  3 20:02:46 2006
xf86OpenConsole
netbsdPciInit: can't open /dev/pci0
List of video drivers:
	suncg14
	sunleo
	suncg6
	suncg3
	suntcx
	sunbw2
	pnozz
	wsfb
No devices to configure.  Configuration failed.

> - add 'DefaultDepth 8' to the 'Screen' section ( X defaults to 16 bit
>   which the cg6 doesn't support, didn't find out how to get around that
>   yet )
> - save the config file as /etc/X11/XF86Config
> - startx
> 
> have fun
> Michael

-- 
Michael Parson
mparson@bl.org