[comp.sys.hp] what is the Graphics Resours Manager ???

greg@cityzoo.acs.umbc.edu (Greg Sylvain,Lib 007,3929,) (04/12/90)

	Hi,

	Does anyone know what the Graphics Resource Manager (/usr/lib/grmd) is?
What does it do ? Or can someone tell me which manual it's in, I looked in all
the main ones and couldn't find any reference to it.  I'm asking because today,
some how the socket (/usr/spool/sockets/grmd) got wacked.  Once I found out
what to look for, it was easy to get going again, but... 

	Just curious,
	greg
				Greg Sylvain
				Academic Computing Services
				Systems Programmer
			
	UUCP:           	...{uunet}!umbc3!greg
	Internet (Arpa) :	greg@umbc3.umbc.edu
 	BITNET :		GREGS@UMBC

stroyan@hpfcso.HP.COM (Mike Stroyan) (04/13/90)

> Does anyone know what the Graphics Resource Manager (/usr/lib/grmd) is?

The Graphics Resource Manager is used by the X server and Starbase programs
to share resources such as shared memory and offscreen frame buffer space.
It is internal to the server and Starbase libraries; there is no manual
entry for the GRM functions.  The GRM and other details of the X/Starbase
shared access implementation are discussed in the December 89 issue of
HP Journal.  You may be able to find it in you campus library.

Mike Stroyan, stroyan@hpfcla.hp.com

andreas@hpcvlx.cv.hp.com (Jim Andreas) (04/13/90)

Here is the man page from the HP-UX 7.0 release on the
grmd:

     GRMD(1M)		  Series 300 and 800 Only	      GRMD(1M)

     NAME
	  grmd - graphics resource manager daemon

     SYNOPSIS
	  grmd

     DESCRIPTION
	  The grmd program manages shared resources among  cooperating
	  X  Window  System  servers  and  Starbase  processes	or  HP
	  Windows/9000 processes.  The	grmd  receives	requests  from
	  these  client  programs, processes the requests, and returns
	  results to the clients.  The resources managed by  the  grmd
	  include  allocation  of objects from a shared memory segment
	  and from display frame buffer offscreen memory.

	  Grmd is  invoked  automatically  by  the  X  Window  System,
	  Starbase  processes,	and  HP  Windows/9000 processes.  When
	  invoked the grmd creates  a  shared  memory  segment	and  a
	  semaphore  during its initialization.  The grmd is installed
	  to run as user daemon so that it  may  reliably  remove  the
	  semaphore.

	  The grmd communicates with its clients  via  a  UNIX	domain
	  socket.   The  grmd  creates	the  socket  in  the directory
	  /usr/spool/sockets.

     FILES
	  /usr/spool/sockets	   directory created  to  contain  the
				   grmd and other UNIX domain sockets

     DEPENDENCIES
	  Implemented on the Series 300 and 800 only.

     AUTHOR
	  HP
				   - 1 -    Formatted:	April 12, 1990

-----------------------------------------------------------------------
Jim Andreas             | andreas@cv.hp.com                | INTERNET
Hewlett-Packard Company | {backbone}!hplabs!hp-pcd!andreas | UUCP
1000 N.E. Circle        | (USA) (503) 750-2860             | VOICE
Corvallis, OR 97330     | (USA) (503) 750-3788             | FAX  
-----------------------------------------------------------------------

shankar@hplego.HP.COM (Shankar Unni) (04/13/90)

> Does anyone know what the Graphics Resource Manager (/usr/lib/grmd) is?

GRMD allows X11 programs and Starbase programs to share graphics resources
(colormaps, etc), so that they can run concurrently on the same top.
----
Shankar Unni.