From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079091516380.tru64-unix-managers.marc@archive.invalid> From: "Todd M. Serulneck" Date: Wed, 15 Dec 1999 16:30:27 +0000 To: tru64-unix-managers Subject: Help please with Open3D/OpenGL on a DS20 running 4.0F X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079091516380 Hello. I need some help getting OpenGL running on a DS20 running Tru64 4.0F. First I tried installing Mesa and linked its GLU and GLX libraries to libGLU and libGLX. The program I was trying to run said that it did not like the version of the libGLU library. I then installed Open3D from the Associated Products 2 CD. I selected the OpenGL extensions, but I am obviously missing something because programs that I would like to run that require OpenGL are not working. I have only been managing DEC Alpha's for about three months, so if I missed something obvious, you'll have to excuse me. Detailed diagnostics on the problem follows below. Any help would be appreciated. Thanks in advance, -- Todd ===== I tried testing the OpenGL installation by compiling and running some of the examples that also got installed. First the atlantis demo: ===== # cd /usr/examples/GL/glut/progs/demos/atlantis/ # xmkmf imake -DUseInstalled -I/usr/lib/X11/config # make cc -O2 -std1 -I./GL -I/usr/include -DLONG_BIT=64 -DNO_MESSAGE_CATALOG -DDEC -c atlantis.c cc -O2 -std1 -I./GL -I/usr/include -DLONG_BIT=64 -DNO_MESSAGE_CATALOG -DDEC -c whale.c cc -O2 -std1 -I./GL -I/usr/include -DLONG_BIT=64 -DNO_MESSAGE_CATALOG -DDEC -c dolphin.c cc -O2 -std1 -I./GL -I/usr/include -DLONG_BIT=64 -DNO_MESSAGE_CATALOG -DDEC -c shark.c cc -O2 -std1 -I./GL -I/usr/include -DLONG_BIT=64 -DNO_MESSAGE_CATALOG -DDEC -c swim.c rm -f atlantis cc -o atlantis -O2 -std1 -L/usr/lib atlantis.o whale.o dolphin.o shark.o swim.o -lglut -lGLU -lGL -lXmu -lXi -lXext -lX11 -lm # ./atlantis GLUT: Fatal Error in atlantis: visual with necessary capabilities not found. ===== Then I compiled (using "xmkmf;make") and ran some of the test examples in /usr/examples/GL/glut/test: ===== #./test1 PASS: test1 # ./test2 GLUT: Fatal Error in test2: visual with necessary capabilities not found. # ./test3 GLUT: Fatal Error in test3: visual with necessary capabilities not found. # ./test4 GLUT: Fatal Error in test4: visual with necessary capabilities not found. ===== Here is the output of some other diagnostic commands: ===== > xdpyinfo name of display: ebola: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: 6 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 21, bits_per_pixel 32, scanline_pad 32 depth 24, bits_per_pixel 32, scanline_pad 32 keycode range: minimum 8, maximum 255 focus: window 0x4000036, revert to Parent number of extensions: 23 Adobe-DPS-Extension BIG-REQUESTS DEC-GLX DEC-PEER-GLX DEC-XTRAP DOUBLE-BUFFER DPMS DPSExtension GLX Keyboard-Management-Extension MIT-SCREEN-SAVER MIT-SHM MIT-SUNDRY-NONSTANDARD Multi-Buffering SHAPE SYNC Shared-Memory Transport XC-MISC XIE XInputExtension XKEYBOARD XTEST XVideo default screen number: 0 number of screens: 1 screen #0: dimensions: 1600x1200 pixels (280x236 millimeters) resolution: 145x129 dots per inch depths (2): 1, 8 root window id: 0x24 depth of root window: 8 planes number of colormaps: minimum 1, maximum 1 default colormap: 0x22 default number of colormap cells: 256 preallocated pixels: black 1, white 0 options: backing-store YES, save-unders YES largest cursor: 64x64 current input event mask: 0x30203c ButtonPressMask ButtonReleaseMask EnterWindowMask LeaveWindowMask ButtonMotionMask SubstructureRedirectMask FocusChangeMask number of visuals: 2 default visual id: 0x20 visual: visual id: 0x20 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: 0x21 class: PseudoColor depth: 8 planes available colormap entries: 256 red, green, blue masks: 0x0, 0x0, 0x0 significant bits in color specification: 8 bits ebola> xwininfo -root xwininfo: Window id: 0x24 (the root window) (has no name) Absolute upper-left X: 0 Absolute upper-left Y: 0 Relative upper-left X: 0 Relative upper-left Y: 0 Width: 1600 Height: 1200 Depth: 8 Visual Class: PseudoColor Border width: 0 Class: InputOutput Colormap: 0x22 (installed) Bit Gravity State: ForgetGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +0+0 -0+0 -0-0 +0-0 -geometry 1600x1200+0+0 ebola> xglinfo ============================== Display ebola:0.0 ============================== name of display: ebola:0.0 version number: 11.0 vendor string: DECWINDOWS Digital Equipment Corporation Digital UNIX V4.0 vendor release: 1 max request size: 262140 bytes motion buffer size: 100 bitmap: unit = 32, bit order = LSBFirst, padding = 32 image byte order: LSBFirst keycode range: minimum 8, maximum 255 focus window: 0x4000036, revert to RevertToPointerRoot default screen num: 0 number of screens: 1 pixmap formats: 6 total 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 21, bits_per_pixel 32, scanline_pad 32 depth 24, bits_per_pixel 32, scanline_pad 32 Server Extensions: 23 total XKEYBOARD, MIT-SHM, Shared-Memory Transport, XInputExtension, Multi-Buffering, BIG-REQUESTS, MIT-SCREEN-SAVER, SHAPE, GLX, DEC-GLX, DPMS, DOUBLE-BUFFER, Keyboard-Management-Extension, MIT-SUNDRY-NONSTANDARD, SYNC, XTEST, XC-MISC, DEC-XTRAP, XVideo, XIE, Adobe-DPS-Extension, DPSExtension, DEC-PEER-GLX, GLX Extension: error base = 137, event base = 86, Version 1.2 GLX Library: Vendor = DEC Version = 1.2 DEC:PKO:O3D:3.3.0:x11r6:2.6.0:11:15:95:OSF1:V4.0.214:CC:3.11:OPT:: Extensions = (none) GLU Library: Version = 1.2 DEC:PKO:O3D:3.3.0:x11r6:2.6.0:11:15:95:OSF1:V4.0.214:CC:3.11:OPT:: Extensions = (none) =================================== Screen 0 =================================== screen: 0 dimensions: 1600x1200 pixels (280x236 millimeters) resolution: 145x129 dots per inch depths: (2 total): 1, 8 root window id: 0x24 depth of root window: 8 planes default visual id: 0x20 number colormaps: minimum 1, maximum 1 default colormap: 0x22, number colormap cells 256 preallocated pixels: black 0x1, white 0x0 options: backing-store YES, save-unders YES input event mask: 0x30203c ButtonPress ButtonRelease EnterWindow LeaveWindow ButtonMotion SubstructureRedirect FocusChange GLX Server: Vendor = DEC Version = 1.2 Extensions = GLX_EXT_visual_info GLX_EXT_visual_rating GLX_EXT_import_context Useable Extensions = (none) GL Extension: Vendor = DEC Renderer = Sample_on_X Version = 1.1 Extensions = GL_EXT_abgr GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract =================== 2 Visuals for Screen 0 (default = 0x20) =================== PseudoColor visual: ID = 0x20 (hex) 32 (decimal) screen = 0 DOUBLE buffered MONO COLOR INDEX visual with (Z Stencil) GL Sizes: ColorIndex=8, Z=32, Stencil=8 Core X: depth=8, colormapSize=256 PseudoColor visual: ID = 0x21 (hex) 33 (decimal) screen = 0 SINGLE buffered MONO COLOR INDEX visual with (Z Stencil) GL Sizes: ColorIndex=8, Z=32, Stencil=8 Core X: depth=8, colormapSize=256 ============================== Todd Serulneck Harvard Medical School 240 Longwood Avenue Boston, MA 02115 (617) 432-4588 Fax: (617) 738-0516