[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bgsdev::open3d

Title:open3d
Notice:Kits on notes 3 and 4; Documents note 223
Moderator:WRKSYS::COULTER
Created:Wed Dec 09 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1306
Total number of notes:5260

1263.0. "OpenGL support on 3STrio63 (Powerstation 3D10) ?" by BACHUS::RENTY () Mon Mar 17 1997 12:15

A customer is trying to start an OpenGL application on the following
configuration :
	AlphaStation 255
	OSF 4.0a
	Open3D 4.1
	S3Trio64 (=Powerstation 3D10)  2MB
	VRC21

When running the example /usr/examples/GL/examples/xfont, he got an error
message "Signal frequency is out of range"

I asked him to try to change the Vsync by adding the options 
-screen [resolution] -vsync [60 70 or 72] 
in the file /usr/lib/X11/xdm/Xservers, but this didn't change anything. 
 
After this, I asked him to change the file /usr/var/X11/Xserver.conf, as
documented in the Open3D V4.2  release notes :
                                   
>>        1.4.2.3  Using OpenGL with PowerStorm 3D10
>>
>>        In order to use OpenGL with the PowerStorm 3D10, a software-
>>        only version of the OpenGL server extension must be loaded.
>>        By default, Digital Open3D installations modify Xserver.conf
>>        to load the hardware-accelerated OpenGL software (as shown
>>        above). Since only one version of this extension software can
>>        be loaded at one time, the Xserver.conf file must be modified
>>        before running OpenGL with the PowerStorm 3D10. Edit the file
>>        to include the following line in the Digital Open3D extensions
>>        clause:
>>
>>        < _dec_sampleGL lib_dec_sampleGL.so  __glXExtensionInit S3TRIO >
>>
>>        In the case of an existing entry in the Digital Open3D exten-
>>        sions clause section (for example, the ZLXp-E1), two edits must
>>        be made to the Xserver.conf file. The first edit is to delete
>>        the following line from the Digital Open3D extensions clause:
>>
>>        < _dec_opengl   lib_dec_opengl.so       GLExtensionInit p00041011 >
>>
>>        The second edit is to add the following line to the Digital
>>        Open3D extensions clause:
>>
>>        < _dec_sampleGL lib_dec_sampleGL.so  __glXExtensionInit p00041011 >
>>


When running the same example program, the customer now receives another error 
"Window type not found".  As far as I understand, this means it could't
    find the right visual ?

I asked the customer to send me more information about the products he
installed on the system,together with the xdpyinfo and xglinfo output.  
This is an extract from his fax (if you need more,I'll add it later):
I copied this from his fax, so don't shoot me for typing errors...


setld -i:
=========

...
O3DDWSBASE410	         installed
O3DDWSCOMMON410	         installed
O3DDWSCONFIG410	         installed
O3DDWSF3000410           installed
O3DDWSGLBASE410          installed
O3DDWSGLEXAM410          installed
O3DDWSGLMAN410           installed
O3DDWSMITPEX410          installed
O3DDWSMITPEXEXAM410      installed
O3DDWSMITPEXMAN410       installed
O3DDWSPCM410             installed
O3DDWSPEX410             installed
O3DDWSPHRMAN410          installed
O3DDWSPHRTO410           installed
O3DDWSSTEREO410          installed
O3DDWSSTEREOMNA410       installed
O3DDWSZE3410             installed
O3DDWSZLXE410            installed
O3DDWSZLXL410            installed
O3DDWSZLXM410            installed
...
OSFSER3D405              incomplete                                    ???
OSFSER405                incomplete                                    ???
OSFSERPC405              incomplete                                    ???
OSFSERTC405              incomplete         
OSFSER3D405              incomplete        
...

    
xdpyinfo :
==========
...
number of extensions :  24
 ...
 DEC-GLX
 DEC-PEER-GLX
 DEC-XTRAP
 DECStereo
 DOUBLE-BUFFER
 DPMS
 DPSExtension
 GLX
 ...
default screen number: 0
number od screens: 1

Screen#0 :
 dimensions : 1280x1024 pixels (280x236 millimeters)
 resolution: 116 dotsx110 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 colormaps cells: 256
 preallocated pixels: black 0, white 1
 options: backing-store NO, save-unders NO
 largest cursor: 1280x1024 
 current input event mask: 0x70003c
  ButtonPressMask  ButtonReleaseMask    	EnterWindowMask 
  LeaveWindowMask	 SubstructureRedirectMask FocusChangeMask
  PropertyChangeMask
 Number of visuals:   1
 default visual id: 0x21
 visual:
  visual id: 0x21
  class: PseudoColor
  depth:  8 planes
  available colormap entries:  256
  red,green,blue masks : 0x0.0x0,0x0
  significalt bits in color specification: 6 bits


Xglinfo:
========
...
GLX extension: error base=137,event base=85,Version=1.1
GLX library:  Vendor=DEC
	    Version=1.1
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 : 1280x1024 pixels (280x236 millimeters)
resolution: 116 dotsx110 dots per inch
depths (2 total): 1,8
root window id: 0x24
depth of root window: 8 planes
default visual id: 0x21
number colormaps: minimum 1, maximum 1
default colormap: 0x22,number colormaps cells: 256
preallocated pixels: black 0x0, white 0x1
options: backing-store NO, save-unders NO
input event mask: 0x70003c
 ButtonPress  ButtonRelease    	EnterWindow 
 LeaveWindow	 SubstructureRedirect FocusChange
 PropertyChange
Error:could not find visual for OpenGL                                 ???
============ 1 Visuals for Screen0 (default=0x21)=================
PseudeColor visual:ID=0x21 (hex) 33 (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


    
    
Hence my (or the customer's) questions :


1. Concerning the error "Window type not found", am I right that the customer 
   hasn't the right (or not enough) visuals to run the example ?

2. To be able to run the example, is there a software solution, like 
    
    - lowering the resolution
    - installing another product (OSFSER3D405,OSFSER405,OSFSERPC405... ?)
    - change the configuration, rebuild the kernel or whatsoever 
    
    Or should he buy another graphics card ?

3. According to the OPEN3D SPD, OpenGL is supported on the 3dtrio64 card,
   why then do we see  "could not find visual for OpenGL".  Are there some
   limitations to this support ?

    
Thanks in advance for any help,


Bart
T.RTitleUserPersonal
Name
DateLines
1263.1OpenGL support on 3STrio63 (PowerStorm 3D10)BACHUS::RENTYWed Mar 19 1997 03:5843
    re .-1 :
    
    Some typos in my previous reply :
    
    - with "Powerstation 3D10" i meant of course "PowerStorm 3D10"
    - the Open#D Freedom 3000 option was NOT installed, so that we got :
    
setld -i:
=========

...
O3DDWSBASE410	         installed
O3DDWSCOMMON410	         installed
O3DDWSCONFIG410	         installed
O3DDWSF3000410           
O3DDWSGLBASE410          installed
O3DDWSGLEXAM410          installed
O3DDWSGLMAN410           installed
O3DDWSMITPEX410          installed
O3DDWSMITPEXEXAM410      installed
O3DDWSMITPEXMAN410       installed
O3DDWSPCM410             installed
O3DDWSPEX410             installed
O3DDWSPHRMAN410          installed
O3DDWSPHRTO410           installed
O3DDWSSTEREO410          installed
O3DDWSSTEREOMNA410       installed
O3DDWSZE3410             installed
O3DDWSZLXE410            installed
O3DDWSZLXL410            installed
O3DDWSZLXM410            installed
...
OSFSER3D405              incomplete                                    ???
OSFSER405                incomplete                                    ???
OSFSERPC405              incomplete                                    ???
OSFSERTC405              incomplete         
OSFSER3D405              incomplete        
...
    
    
    
    
    Bart
1263.2problem solvedBACHUS::RENTYThu Mar 20 1997 04:0810
    I took an S3Trio64 card temporary from the stock to put in my system,
    after which I could reproduce the problem ("Window type not found").
    
    After removing the AUX_RGB parameter from the auxInitDisplayMode
    function, I could run the program without problems.
    
    I concluded that the error was caused because the S3Trio64 card hasn't 
    any RGB visual.
    
    Bart