Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!usc!orion.oac.uci.edu!cerritos.edu!arizona.edu!ece.arizona.edu!dan From: dan@ece.arizona.edu (Dan Filiberti) Newsgroups: comp.windows.x Subject: cg8 Server Prob Message-ID: <1991Mar26.111628@ece.arizona.edu> Date: 26 Mar 91 18:16:28 GMT Reply-To: dan@ece.arizona.edu (Dan Filiberti) Distribution: world,local Organization: University of Arizona Dept. of Electrical and Computer Engineering Lines: 31 Nntp-Posting-Host: bootes.ece.arizona.edu We have a RasterOps SparcCard in our Sparcstation 1+ (24-bit fb)...At one time we were able to get X running using the cg8 server on the net...but then we installed the update to the RasterOps driver and it busted X..X is there, but the screen is black... After many attempts to get info, we were told the following... ------- Dan, I am assuming you have source for the server. If you do what you need to do is make an ioctl call (PIPIO_G_FB_INFO) to obtain the memory map offset for the various frame buffers on the card. This call is described in the file /usr/include/sun/pipio.h. The values returned are described in that file also. Rather than using the hardwired offset for the true color buffer (40000 hex, I e lieve) use the value returned in the mmap_offset field for the entry whose group fieldi s the value PIXPG_24BIT_COLOR (which is defined in /usr/include/pixrect/pr_plane groups.h). ------- Can anyone help me decipher this...where exactly do I put the calls in the cg8 server? All help greatly appreciated.[:)} Daniel Filiberti dan@helios.ece.arizona.edu