Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* DEC pixmap size
@ 1993-04-14 17:35 Helmut Haase (Goebel)
  1993-04-15 11:49 ` Peter Beyer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Helmut Haase (Goebel) @ 1993-04-14 17:35 UTC (permalink / raw)


Hi everyone,

I've got a problem concerning the maximum size of X pixmaps in DECwindows.

I am using a DECstation 5000/200 running ULTRIX V4.2 (Rev. 96) System #2
and UWS V4.2 (Rev. 272) (DECwindows). Our color display has 1280x1024
pixels.

When creating a pixmap using the function
         XCreatePixmap(display, window, width, height, 1);
I succeed if "width x height" dos not exceed 1280x1024.

If I try to create a pixmap larger than the size of my screen the program
will terminate displaying the message:

X Error:  BadAlloc - insufficient resources
  Request Major code 53 ()
  Error Serial #225
  Current Serial #308

On other hardware (HP, SGI) I am able to allocate much larger pixmaps.

Did anyone have similar problems before or does onyone know how I can
configre my system to allow for larger pixmaps?

Any suggestins are welcome. Please send mail to " haase@igd.fhg.de ".

Thanks,

        Helmut
                                             __  /|
                                            <__\| |
                                               \|/
                                              (o-o)
        __________________________________oOO__(v)__OOo__________
        |                                                       |
        | Fraunhofer-Institut fuer Graphische Datenverarbeitung |
        |      Fraunhofer Institute for Computer Graphics       |
        |                                                       |
        | Helmut Haase              | Tel.: ++49-6151-155-121   |
        | Wilhelminenstr. 7         | Fax.: ++49-6151-155-199   |
        | W-6100 Darmstadt, Germany | email: haase@igd.fhg.de   |
        ---------------------------------------------------------



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DEC pixmap size
  1993-04-14 17:35 DEC pixmap size Helmut Haase (Goebel)
@ 1993-04-15 11:49 ` Peter Beyer
  1993-04-15 16:35 ` Ron Natalie
  1993-04-16 18:30 ` J. Daniel Smith
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Beyer @ 1993-04-15 11:49 UTC (permalink / raw)



In article <1963@igd.fhg.de>, haase@igd.fhg.de (Helmut Haase (Goebel)) writes:

>Hi everyone,
>
>I've got a problem concerning the maximum size of X pixmaps in DECwindows.
>
>I am using a DECstation 5000/200 running ULTRIX V4.2 (Rev. 96) System #2
>and UWS V4.2 (Rev. 272) (DECwindows). Our color display has 1280x1024
>pixels.
>
>When creating a pixmap using the function
>         XCreatePixmap(display, window, width, height, 1);
>I succeed if "width x height" dos not exceed 1280x1024.
>
>If I try to create a pixmap larger than the size of my screen the program
>will terminate displaying the message:
>
>X Error:  BadAlloc - insufficient resources
>  Request Major code 53 ()
>  Error Serial #225
>  Current Serial #308

The maximum size of a pixmap is totaly implementation dependent. Since X is
network transparent, your application must be able to display on any variety
of X-servers. As many servers, from DEC and from other vendors, limit the size 
of the pixmap to the size of the screen, your application must be able to deal
with this limit. That is, if you want to be interoperable

/Peter

--

Peter Beyer
Windows, Graphics & Multimedia
Digital Equipment b.v.
beyer@utrtsc.enet.dec.com
beyer@athena.uto.dec.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DEC pixmap size
  1993-04-14 17:35 DEC pixmap size Helmut Haase (Goebel)
  1993-04-15 11:49 ` Peter Beyer
@ 1993-04-15 16:35 ` Ron Natalie
  1993-04-16 18:30 ` J. Daniel Smith
  2 siblings, 0 replies; 4+ messages in thread
From: Ron Natalie @ 1993-04-15 16:35 UTC (permalink / raw)


You're lucky it does that.  Lots of X servers just exit when you
try to create a pixmap larger than the maximum size (I think they
only notice when malloc starts returning zero).

-Ron


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DEC pixmap size
  1993-04-14 17:35 DEC pixmap size Helmut Haase (Goebel)
  1993-04-15 11:49 ` Peter Beyer
  1993-04-15 16:35 ` Ron Natalie
@ 1993-04-16 18:30 ` J. Daniel Smith
  2 siblings, 0 replies; 4+ messages in thread
From: J. Daniel Smith @ 1993-04-16 18:30 UTC (permalink / raw)


In <1963@igd.fhg.de> haase@igd.fhg.de (Helmut Haase (Goebel)) writes:
>I am using a DECstation 5000/200 running ULTRIX V4.2 (Rev. 96) System #2
>and UWS V4.2 (Rev. 272) (DECwindows). Our color display has 1280x1024
>pixels.
You left out one critical piece of information: what X server are you
using?  Xws, Xwst3d?

>When creating a pixmap using the function
>         XCreatePixmap(display, window, width, height, 1);
>I succeed if "width x height" dos not exceed 1280x1024.
>[...]
>X Error:  BadAlloc - insufficient resources
>  Request Major code 53 ()
>  Error Serial #225
>  Current Serial #308
More than likely, you are running on a one of the PXG-class displays
(Xwst3d server).  These graphics cards have a very limited amount of
off-screen pixmap memory availble.  See the comp.unix.ultirx FAQ for
more details.

   Dan
-- 
==== message is author's opinion only -- it is not an official statement ====
J. Daniel Smith                              dsmith@ann-arbor.applicon.slb.com
Applicon, Inc.                               dsmith@aaaca1.sinet.slb.com 
Ann Arbor, Michigan (USA)                    AAACA1::DSMITH (SINet)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1993-04-16 18:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-04-14 17:35 DEC pixmap size Helmut Haase (Goebel)
1993-04-15 11:49 ` Peter Beyer
1993-04-15 16:35 ` Ron Natalie
1993-04-16 18:30 ` J. Daniel Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox