From: mrex@roxi.rz.fht-mannheim.de (Martin Rex)
Subject: ANNOUNCE: X8514tcp on sunsite (long)
Date: Thu, 17 Dec 92 17:55:40 GMT
Organization: Long John Silver Impersonators at FHT Mannheim
X-Newsreader: TIN [version 1.1 PL6]


Ok, I've recompiled Kevin Martin's Xlinux.8514 and enabled TCP/IP support.
It was quite simple, I just added a "-DTCPCONN" in mit/server/os/Makefile
in the sources.

Other than that I haven't changed anything.  The Server is linked
with the jump-41 shared library libc.so.4.1.
(I assume -- I compiled it with the GCC of the SLS-81pl1 distribution).


	You need:
		(1)  Of course, an 8514/A register compatible card
        		** Note that the card MUST have 1Mb **

		(2)	Linux 0.98pl1 or better (may work with older ones)
		(3)	either x11-v1.1,  or x11-v2.0 (SLS)  or xfree86-1.1
		(4)	X8514tcp.tar.Z


	The file  X8514tcp.tar.Z  contains:

		README		This text file
		X8514      	Ther X-Server for Linux
		Xconfig		The config file for the X8514 Server



SOME HINTS:

  1.)	This Server needs uncompressed fonts in /usr/lib/X11/fonts/misc
	and /usr/lib/X11/fonts/75dpi, because it is based on X11-v1.1.
	With the SLS-98 distribution you get X11-v2.0, and this Version
	can read compress font files (I hope it can still read regular
	fonts, but I actually don't know ...).
	     The bad news here is, that the fonts take up twice as muchr
	space when they're uncompressed.  1.92 Mbytes --> 4.07 Mbytes

  2.)	Bus Mouse of an ATI 8514-board (Graphics) Ultra/Vantage
	I have an ATI Graphics Ultra, and I am using my ATI Bus-Mouse
	happily since 0.97pl5.  To make this mouse visible to the
	X-Server, it has to be enabled with the INSTALL.EXE for your
	card.  Use the standard settings: IRQ 5 and Port 023C-023F.
	MAKE SURE that the mouse doesn't use the same interrupt as
	your parallel (printer) port, LPTx should use IRQ 7 !
	    You will need a device node in your /dev directory
	to access your mouse.
	The current SLS distribution has the following devicenodes
	already created in the /dev directory:

crw-r--r--   1 root     system    10,   3 Nov 23 19:13 bmouseatixl
crw-r--r--   1 root     system    10,   0 Aug 29 21:48 bmouselogitec
crw-r--r--   1 root     system    10,   2 Nov 23 19:12 bmousems
crw-r--r--   1 root     system    10,   1 Nov 23 19:12 bmouseps2
crw-r--r--   1 root     system    10,   0 Jul 21 23:02 mouse

	I am using the "/dev/bmousems"-device (10,2), I don't know what the
	"/dev/bmouseatixl" is for (it was introduced in the 0.98-kernel).

	I have modified the /dev/mouse to point to (10,2) instead
	of the original, so /dev/mouse addresses MY mouse by doing

		cd /dev
		rm mouse
		ln -s bmousems mouse

	When you have the following lines in your Xconfig
	(which resides in /usr/lib/Xconfig), then your Server
	will find the ATI mouse:

Busmouse        "/dev/mouse"
  SampleRate    400


  3.)	Pixmaps:  I really don't know what that is and how it works,
	but it looks like there must be support for pixmaps in the
	X-server if applications want to use it.  This server seems
	to be lacking pixmap support, because some programs which
	I am using give me errors for statements that refer to pixmap
	operations.  I think pixmaps are for describing icons (or objects)
	which have an arbitrary shape or transparent colors or both --
	something like that.  xdaliclock can use pixmaps with
	transparent colors ...

	
  4.)   TCP/IP:  In order to have applications from other Machines
	display windows on your console, you have to grant them access
	to your display.  You control the access with the "xhost"
	command, and you target the windows with the environment
	variable DISPLAY (many programs also accept the
	"-display [host]:<screen>" option on the commandline.

	Example session using my own screen ...
	I don't have a network here, so my address is also configured
	on the loopback interface.  If name resolving is functional
	then you should use the name of the machine; but you can
	also use the ip-addr interchangeably at all places in the
	example:


mrex@rnisa [/b/etc/inet] $xhost rnisa
rnisa being added to access control list
mrex@rnisa [~] $telnet rnisa
Trying...
Connected to 141.19.252.1
E

Linux TCP/IP Alpha.6 (rnisa)


rnisa login: mrex
Password: 

Welcome to Linux SLS .96. Type "menu" for a menu driven interface

mrex@rnisa [~] $DISPLAY=rnisa:0
mrex@rnisa [~] $export DISPLAY
mrex@rnisa [~] $xterm &
[1] 2283
mrex@rnisa [~] $xtetris &
[2] 2292
mrex@rnisa [~] $Warning: Cannot convert string "stripe4" to type Pixmap
xterm -display rnisa:0 &
[3] 2293
mrex@rnisa [~] $


	Usually you will want to start programs which open their own
	windows in the background, so that the xterm with your shell
	remains functional; that's why I used the '&' 
	
	As you one can see, I get an error about the pixmap thing xtetris,
	so there seems to be the pixmap stuff missing in the server(!?)


  5.)	tiny Problems with the ATI 8514 board(s):

	There seems to be a problem with the proper initialisation of
	the board after powering on the computer (at least with my board,
	and with the board of a friend, mine was purchased in
	the States (Aug-92), and his in Germany (Aug-92)i but we both
	have the same motherboard.  The cards show the same behaviour).

	My card doesn't work with the 8514 graphics drivers of Windows,
	OS/2 and Linux directly after powering on.  I have to reboot once!
	OS/2 and Windows come up with a grep (slight red touch) screen,
	while under Linux the screen stays black.  When I reboot after
	this attempt, then the graphics mode suddenly works and comes
	up correctly.
	     The ATI-driver for Windows 3.1 (I use Crytal Fonts) works
	immediately after powering on though.

	On my ATI Graphics Ultra is a ATI Wonder SVGA with 512K DRAM.
	This SVGA works with x11-v2.0 and xfree86-1.1, so you could
	also use this driver.  Unfortunately my SVGA-chip is a
	28800-4, and for this chip release (and older ones) the
	X-Servers of x11-v2.0 (SLS) and xfree86-1.1 have to be patched.
	The max. resolution will be around 824x630 using all the 512K,
	but the speed is awfully slow, and the screen refresh rate is
	pretty bad in 800x600.  I get fatal scsi-timeouts, when I try to
	use the SVGA-part with higher clockrates than 36 Mhz. :-(
	No Problems with my IDE-drive though. 


**************************************************************************

	Installation: (logged in as root)
	  (assuming X8514tcp.tar.Z in the current directory)

		zcat X8514tcp.tar.Z | tar -vxf -
		cp X8514 /usr/bin/X11
		mv /usr/lib/X11/Xconfig /usr/lib/X11/Xconfig.vga
		cp Xconfig /usr/lib/X11
		cd /usr/bin/X11
		rm X
		ln -s X8514 X
		chown root.system X8514
		chmod 4555 X8514
		cd /usr/lib/X11
		
	Edit "Xconfig" to reflect your mouse setup.

!			Do you have x11-v2.0 (SLS) or xfree86-1.1 ?
!			Then you will have to uncompress the fonts:
!
!				cd fonts/misc
!				compress -d *.Z
!				mkfontdir .
!				cd ../75dpi
!				compress -d *.Z
!				mkfontdir .	

	Ok, now you should be all set -- ready to type "startx"
	


--
Martin Rex
Rechenzentrum
Fachhochschule fuer Technik Mannheim
E-Mail:  mrex@aix01.rz.fht-mannheim.de