I'm damn close, but its not working yet.
XFree86 -configure works, and spits out a complete configuration file.
Unfortunately, however, X still doesn't start. It looks like it's about
to, but then it quits:
(II) SUNCG14: driver for CG14
(==) SUNCG14(0): RGB weight 101111
(==) SUNCG14(0): Default visual is TrueColor
(==) SUNCG14(0): Using gamma correction (1.0, 1.0, 1.0)
(II) Loading /usr/local/XFree86-cvs/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
compiled for 4.1.99.3, module version = 1.0.0
(==) SUNCG14(0): DPI set to (75, 75)
Fatal server error:
AddScreen/ScreenInit failed for driver 0
I also have the same problem with the XFree86 server as with XFree86's
Xsun server. If I have not run Sun's Xsun server before running XFree86,
XFree86 just says no devices found.
Also, the driver only allows me to set the depth to 32, it says all other
depths are not supported by the driver, not even 8.
Unless someone has some new revelations about XFree86 on Solaris, I think
I'll just use xfree's Xsun in 8-bit depth, as it doesn't seem like
the loadable module version of XFree86 is supposed to work on
sparc/Solaris anyway. Besides, 256 colors will be enough for 95% of
what I will be doing on the box.
Thanks for your help Ferris. I couldn't find any substantial
documentation on interfacing with the framebuffers on solaris, except for
these man pages: cgfourteen, fbio, and good ol' mmap and iotcl.
Jim Faulkner
On Fri, 21 Dec 2001, Ferris McCormick wrote:
> Date: Fri, 21 Dec 2001 13:09:48 +0000 (GMT)
> From: Ferris McCormick <[EMAIL PROTECTED]>
> To: dogshu <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Xpert]need help setting up xfree86 on sparcstation 20
>
> On Thu, 20 Dec 2001, Ferris McCormick wrote:
>
> > On Thu, 20 Dec 2001, dogshu wrote:
> >
> > >
> > > It looks like the problem with Xsun24 is still there, even in the CVS
> > > version. When I run XFree86's "Xsun24 -fbinfo" after having run the Sun
> > > XServer once, XFree86's XServer tells me its a TCX, and works in 8 bit color.
> > > When I run "Xsun24 -fbinfo" without having run Sun's XServer since last
> > > bootup, XFree86's XServer tells me its a cg8, then terminates and spits
> > > out this error message: "Fatal server error: CG24UpdateColormap:
> > > FBIOPUTCMAP failed"
> > >
> > > If you could give me a hint as to how to build the regular loadable module
> > > version of the XFree86 XServer, that would be great. Since there's
> > > actually an official driver for the CG14 that seems to be somewhat
> > > maintained, I figure I may as well give it a shot.
> > >
> Jim,
> >
> [everything else omitted]
>
> You have got my interest up now, so I am going to look at a couple
> things, and it might trigger an approach for you, too.
>
> It occured to me that on the Solaris systems (SS20/cg14, SS2/cg3) I
> am testing on, I don't use Sun's openwin stuff at all. A few years ago
> I built what was then X11R6 (from MIT), and it all works fine, including
> its version of Xsun. So whatever that version of X11 is doing to
> figure out how to talk to the display devices works fine without having
> to have had anything from Sun run first to set up the devices (unless
> Sun broke something by the time Solaris 8 came out.)
>
> Anyway, it should be possible to figure out what X11R6 was doing right
> and make some version of XFree86 (Xsun24, or preferably, the Loadable
> Server) do that, too. After all, at the end of the build, Xfree
> claims to have built X11R6.5.
>
> Do you happen to know where Sun's documentation on interfacing
> with any of these devices hides out? If it's publicly available, it's
> well disguised.
>
> Regards,
> Ferris
> --
> Ferris McCormick (P44646, MI) <[EMAIL PROTECTED]>
> Phone: (703) 392-0303
> Fax: (703) 392-0401
>
>
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert