tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* poor OpenGL/Graphics performance
@ 1998-12-01  8:39 Christian Hasse
  0 siblings, 0 replies; only message in thread
From: Christian Hasse @ 1998-12-01  8:39 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="--------------A14A9F034BF234DA7737D4CF", Size: 6692 bytes --]

This is a multi-part message in MIME format.
--------------A14A9F034BF234DA7737D4CF
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am facing a strange problem with graphics performance.
My hardware/software setup:

DU 4.0d, Open3D 4.7/4.8(tried both)
LX board 533 Mhz, 256Mb Ram, 512 Mb swap,ZLXp-L2 
graphics adapter, non-DEC 19" monitor (ELSA Ecomo,
very good multisync)

I started with a benchmark from our postprocessing 
software EnSight which uses OpenGL calls. The benchmark
is rotating a wireframe model (-> lines) and the
same model with shaded surfaces (->polygons). The first
time it yielded only 120k lines/sec and 40k polys/sec which
is comparable to a 200Mhz Pentium Pro with S3 Virge 
card on NT4.0 (that should not offer any hardware accel I
think). During the benchmark Xdec only gets 4-8% of 
the cpu time, the rest of the machine is idle. However
if I turn the window into an icon or switch workspace,
Xdec gets almost 100% cpu time to give 2200k lines/sec and
680k polys/sec. The difference in the performance pretty 
well scales with the amount of cpu percentage Xdec gets.

I talked  to the guys at EnSight support and they didn't
know a solution, either. The assumed that I don't get 
hardware support in the first case.  

Similar things acually happen with programs that continously
calculate data and plot on the screen (simple x-y line data)
(via Xlib). It appears to me that there is a serious
misconfiguration. I did gl_ivp which gives no error message.
Attached is the output of xdpyinfo.

Thanks for your help

Christian 
c.hasse@itm.rwth-aachen.de
--------------A14A9F034BF234DA7737D4CF
Content-Type: text/plain; charset=us-ascii; name="xdpyinfo"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="xdpyinfo"

name of display:    :0.0
version number:    11.0
vendor string:    DECWINDOWS Digital Equipment Corporation Digital UNIX V4.0
vendor release number:    1
maximum request size:  4194300 bytes
motion buffer size:  100
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    5
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 12, bits_per_pixel 32, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0xc0000d, revert to PointerRoot
number of extensions:    24
    Adobe-DPS-Extension
    BIG-REQUESTS
    DEC-PEER-GLX
    DEC-XTRAP
    DECStereo
    DOUBLE-BUFFER
    DPMS
    DPSExtension
    GLX
    Keyboard-Management-Extension
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    Multi-Buffering
    SHAPE
    SYNC
    Shared-Memory Transport
    X3D-PEX
    XC-MISC
    XIE
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1280x1024 pixels (346x277 millimeters)
  resolution:    94x94 dots per inch
  depths (4):    1, 24, 8, 4
  root window id:    0x32
  depth of root window:    24 planes
  number of colormaps:    minimum 3, maximum 6
  default colormap:    0x2e
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store YES, save-unders YES
  largest cursor:    64x64
  current input event mask:    0x30003c
    ButtonPressMask          ButtonReleaseMask        EnterWindowMask          
    LeaveWindowMask          SubstructureRedirectMask FocusChangeMask          
  number of visuals:    13
  default visual id:  0x20
  visual:
    visual id:    0x20
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x21
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x22
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x23
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x24
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x25
    class:    PseudoColor
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x26
    class:    PseudoColor
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x27
    class:    StaticGray
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x28
    class:    StaticColor
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0xe0, 0x1c, 0x3
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x29
    class:    TrueColor
    depth:    8 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xe0, 0x1c, 0x3
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2a
    class:    TrueColor
    depth:    8 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xe0, 0x1c, 0x3
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2b
    class:    GrayScale
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2c
    class:    PseudoColor
    depth:    4 planes
    available colormap entries:    16
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits

--------------A14A9F034BF234DA7737D4CF--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-12-01  8:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-01  8:39 poor OpenGL/Graphics performance Christian Hasse

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