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,
OK, here goes. The good news is that it can do the dynamic loading stuff. To build the Loadable XFree86 server, you have to make sure that when the 'svr4.cf' file is read in, you have defined #define BuildXFree86OnSparcSunOS YES in the first half of the site.def file, and if you are as paranoid as I am, just force the following #define DoLoadableServer YES #include <xfree86.cf> to happen unconditionally. Also, for good measure, I made sure both #define XSun24Server YES #define XSunServer YES got defined in 'sun.cf' This gets three servers built to play with. Now, the not so good news. XFree86 server doesn't really know about Sun/Solaris (It knows Sun/Linux). So, next I had to go into the directory Xserver/hw/xfree86/os-support/bus/ and make sure that in the sparcPciCfgRead function, you always get returned (CARD32) 0xffffffff (instead of a fatal error message that you tried to use the function). For good measure, I made sure the other If-it's-Solaris-just-bomb functions just-did-nothing instead. That's getting pretty suspect, but if you just build XFree86 with that change, it can get through "XFree86 -configure" intact. Now, the only cg14 I can play with is not sbus (it's obio, whatever that is), and XFree86 can't find it (although it looks like Xsun24 can). XFree86 does think it finds a cg3, however, which is not correct (there is no sbus framebuffer), so I am puzzled at this point. For what it's worth, on a system with an sbus cg3, XFree86 can find it and build a correct config file for it. Using it is a problem, though. If you want to try it this far, if it finds your cg14 and builds an XF86Config file with the cg14 correctly identified, it should work. But then, Xsun24 is supposed to work, too. (For me, it doesn't get as far as it does for you. It tries to create a pipe /tmp/.X11-pipe/X0| but creates a plain file and dies. This might be a side effect of my using an obsolete version of Solaris. Or a problem that arises from building Xsun & XFree86 at the same time. Or...) I'm afraid this isn't much help, but if I come up with anything I'll pass it on. Regards, Ferris > I am about to leave to visit my family for a few days, so while I can > build the Xserver from 100 miles away, I can't test it. I'll let you know > how everything goes after I get back on Wednesday or Thursday of next > week. Also, my e-mail may be a bit spotty in a couple of days, since > sdf.lonestar.org is being moved and having its IP address changed on the > 22nd. > > thanks for your help, > Jim Faulkner > > On Wed, 19 Dec 2001, fmccor wrote: > > > Date: Wed, 19 Dec 2001 23:19:55 +0000 (UTC) > > From: fmccor <[EMAIL PROTECTED]> > > To: dogshu <[EMAIL PROTECTED]> > > Cc: Ferris McCormick <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > > Subject: Re: [Xpert]need help setting up xfree86 on sparcstation 20 > > > > Jim, > > > > Thanks for your response (below); here are a couple preliminary > > observations. > > > > The suncg14 driver and the sunleo drivers are drivers with those names > > under the Xserver/hw/xfree86/drivers tree. They themselves are not built > > when you build the monolithic Xsun server: I know because I tried that > > first. Whether or not their equivalents are built into Xsun I do not > > know. Sunleo is, I believe, but I have not yet convinced myself that > > Xfree86/Xsun24 even supports the cg14 directly. If it does, the code for > > it is well disguised. I'll be interested in what you learn. > > > > As I mentioned, I have a build using the cheating approach on a > > sparc20/cg14. Unfortunately, this system is running Solaris 2.5.1, > > and I can't take it out of service to try Solaris 8. I can force > > the build to go to completion; I'll let you know if it actually runs. > > > > Regards, > > Ferris > > -- > > Ferris E. McCormick (P44646, MI) <[EMAIL PROTECTED]> > > Phone: (h) 703-368-6723 > > (w) 703-392-0303 > > (fax) 703-392-0401 > > > > On Wed, 19 Dec 2001, dogshu wrote: > > > > > > > > While searching through mailing lists, I have found a changelog that says > > > "sunleo and suncg14 now correctly set bpp." This was after the 4.1.0 > > > release, which is what I tried. So, I checked out the latest version of > > > XFree86 from CVS, and am presently building it on a sparc20/cg14 system > > > running solaris 8. We'll see how it goes. > > > > > > The Xsun* servers are all that built when I tried 4.1.0. I don't know if > > > the suncg14 driver is part of Xsun, or if I have to "cheat", as you said, > > > to get the regular loadable driver X server to build. > > > > > > Jim Faulkner > > > > > [EMAIL PROTECTED] > SDF Public Access UNIX System - http://sdf.lonestar.org > -- Ferris McCormick (P44646, MI) <[EMAIL PROTECTED]> Phone: (703) 392-0303 Fax: (703) 392-0401 _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
