Problems running Performer remote

New Message Reply Date view Thread view Subject view Author view

Volker Meier (vmeier++at++vision.ee.ethz.ch)
Fri, 17 Apr 1998 12:41:01 +0000


Dear Performers,

I have some trouble running a Performer application remote. The server
machine is an Onyx2-InfiniteReality with Performer 2.2 installed. The client
is an Octane. The application was compiled with the -n32 option and uses the
OpenGL library. The problem is that during the downloading of the texture
maps the application hangs in the _select() function call. The call stack is
given below:

cvd> where
   0 _select(<stripped>) ["select.s":12, 0x0fac4e68] <------------
   1 _XWaitForReadable(<stripped>) ["XlibInt.c":487, 0x0f60e9d8]
   2 _XRead(<stripped>) ["XlibInt.c":1114, 0x0f60f4a0]
   3 _XReply(<stripped>) ["XlibInt.c":1876, 0x0f610460]
   4 __glx_GenTexturesEXT(<stripped>) ["g_vendorpriv.c":173, 0x0d9e1cac]
   5 _pfNewTexName(<stripped>) ["pfState.C":678, 0x5b19f874]
   6 pfTexture::pr_format() ["pfTexture.C":3081, 0x5b1c44e8]
   7 pfTexture::pr_apply() ["pfTexture.C":4508, 0x5b1c3d9c]
   8 pfTexture::apply() ["pfTexture.C":2409, 0x5b1c2388]
   9 pfApplyTex(<stripped>) ["cTexture.C":782, 0x5b20cf94]
  10 pfuDownloadTexList(<stripped>) ["tex.c":671, 0x5cb0e684] <---------
  11 DrawChannelCallback(channel = 0x6ffdf90, <no name> = 0x0)
["callbacks.cc":62, 0x1000ad60]
  12 pfChannel::pf_callDrawFunc() ["pfChannel.C":2194, 0x5b0a8104]
  13 doDraw() ["pfProcess.C":6200, 0x5b0e8320]
  14 appCullDraw() ["pfProcess.C":3948, 0x5b0e3ec0]
  15 pfFrame() ["pfProcess.C":4400, 0x5b0e4fcc]
  16 Simulate(lasso_cfg = 0x7ffd9b58, config = 0x7ffd99d8, err = 0x5fdf84d4,
ix = 0x0) ["simulation.cc":602, 0x1004ff30]
  17 main(argc = 1, argv = 0x7fff2f34) ["main.cc":137, 0x1006c1fc]
  18 __start(<stripped>) ["crt1text.s":166, 0x1000a968]

The problem does not occur if the client is an O2, so I assume it has something
to do with the rendering hardware of the Octane. Especially the
__glx_GenTexturesEXT() function call looks suspect to me. The glxinfo of the
Octane looks as follows:

---- glxinfo turmaline (Octane) ----
display: :0.0
server glx vendor string: SGI
server glx version string: 1.2 Irix 6.4
server glx extensions (GLX_):
    EXT_import_context, EXT_visual_info, EXT_visual_rating,
    SGI_make_current_read, SGI_swap_control, SGI_video_sync, SGIS_multisample,
    SGIX_fbconfig, SGIX_pbuffer, SGIX_swap_barrier, SGIX_swap_group,
    SGIX_video_resize, SGIX_video_source.
client glx version 1.1
client glx extensions (GLX_):
    EXT_import_context, EXT_visual_info, EXT_visual_rating,
    SGI_make_current_read, SGI_swap_control, SGI_video_sync, SGIS_multisample,
    SGIX_fbconfig, SGIX_pbuffer, SGIX_swap_barrier, SGIX_swap_group,
    SGIX_video_resize, SGIX_video_source.
OpenGL vendor string: SGI
OpenGL renderer string: IMPACT/2/2/4
OpenGL version string: 1.1 Irix 6.4
OpenGL extensions (GL_):
    EXT_abgr, EXT_blend_color, EXT_blend_logic_op, EXT_blend_minmax,
    EXT_blend_subtract, EXT_convolution, EXT_copy_texture, EXT_histogram,
    EXT_packed_pixels, EXT_polygon_offset, EXT_subtexture, EXT_texture,
    EXT_texture3D, EXT_texture_object, EXT_vertex_array, SGI_color_matrix,
    SGI_color_table, SGI_texture_color_table, SGIS_texture_filter4,
    SGIS_detail_texture, SGIS_texture_border_clamp, SGIS_texture_select,
    SGIS_texture_lod, SGIX_pixel_texture, SGIX_texture_multi_buffer.

The glxinfo of the server (remote) of the server is given below:

---- glxinfo server (Onyx2) ----
display: turmaline:0
server glx vendor string: SGI
server glx version string: 1.2 Irix 6.4
server glx extensions (GLX_):
    EXT_import_context, EXT_visual_info, EXT_visual_rating,
    SGI_make_current_read, SGI_swap_control, SGI_video_sync, SGIS_multisample,
    SGIX_fbconfig, SGIX_pbuffer, SGIX_swap_barrier, SGIX_swap_group,
    SGIX_video_resize, SGIX_video_source.
client glx version 1.1
client glx extensions (GLX_):
    EXT_import_context, EXT_visual_info, EXT_visual_rating,
    SGI_make_current_read, SGI_swap_control, SGI_video_sync, SGIS_multisample,
    SGIX_fbconfig, SGIX_pbuffer, SGIX_swap_barrier, SGIX_swap_group,
    SGIX_video_resize, SGIX_video_source.
OpenGL vendor string: SGI
OpenGL renderer string: IMPACT/2/2/4
OpenGL version string: 1.1 Irix 6.4
OpenGL extensions (GL_):
    EXT_abgr, EXT_blend_color, EXT_blend_logic_op, EXT_blend_minmax,
    EXT_blend_subtract, EXT_convolution, EXT_copy_texture, EXT_histogram,
    EXT_packed_pixels, EXT_polygon_offset, EXT_subtexture, EXT_texture,
    EXT_texture3D, EXT_texture_object, EXT_vertex_array, SGI_color_matrix,
    SGI_color_table, SGI_texture_color_table, SGIS_texture_filter4,
    SGIS_detail_texture, SGIS_texture_select, SGIS_texture_lod,
    SGIX_pixel_texture.

Any idea whats wrong?

Another problem is that when using secure shell I get the following X error
message:

X Error of failed request: BadValue (integer parameter out of range for
operation)
  Major opcode of failed request: 150 (SGI-VIDEO-CONTROL)
  Minor opcode of failed request: 17 ()
  Value in failed request: 0x23
  Serial number of failed request: 58
  Current serial number in output stream: 58

I could solve the problem by setting the DISPLAY environment variable manually
to the display of the client. Is this the proper solution ?

Thanks for any help,

-Volker Meier

-- 
                            _____
                           |_____| ?
                         __|_____|/_
                         \\  - -  //
                          (  ++at++ ++at++  )         
------------------------oOOo-(_)-oOOo-------------------------------------

Volker Meier Communications Technology Laboratory Phone: +41 -- (0)1 - 632 5008 ETH-Zentrum Fax: +41 -- (0)1 - 632 1199 CH-8092 Zurich Email: vmeier++at++vision.ee.ethz.ch Switzerland Oooo oooO ( ) -------------------------( )----) /------------------------------------- \ ( (_/ \_) ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:15 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.