From: John Stone (johns_at_ks.uiuc.edu)
Date: Wed Jul 28 2010 - 21:54:21 CDT

Richard,
  Hmm. That's a bit disconcerting. If something as simple as glxgears
doesn't run correctly, there may be little hope for a far more complex
OpenGL application like VMD to work correctly. If you compile the FLTK
library (used by VMD) and try their "CubeView" or other OpenGL example
program, does that generate errors with your xwin32 tool, or not?

Cheers,
  John

On Wed, Jul 28, 2010 at 07:25:21PM -0700, Richard Cook wrote:
> glxgears acts strangely. It does not appear to spin, but reports 252 FPS. It reminds me of what you see when you do OpenGL over VNC. It's like the context is not updating.
> But no warnings.
>
> On Jul 28, 2010, at 7:02 PM, John Stone wrote:
>
> > Does the "glxgears" demo work without warnings?
> >
> > Cheers,
> > John
> >
> > On Wed, Jul 28, 2010 at 06:15:01PM -0700, Richard Cook wrote:
> >> Hmm, this is a tricky problem. I'm hoping you can make suggestions. The number of errors really does get in the way of using VMD.
> >>
> >> I have now tried VMD displaying back to cygwin and xwin32 on my Win XP laptop and both get lots of errors. The cygwin seems to use Mesa 7.6.1 software rendering according to the OpenGL vendor, which is yucky, and xwin32 reports nVidia as the openGL vendor string. Both seem broken.
> >>
> >> I cannot find glxinfo on cygwin.
> >>
> >> Here is glxinfo for xwin32, followed by cygwin:
> >>
> >> name of display: atlas0:27.0
> >> display: atlas0:27 screen: 0
> >> direct rendering: No
> >> server glx vendor string: SGI
> >> server glx version string: 1.2
> >> server glx extensions:
> >> GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
> >> GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
> >> GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier
> >> client glx vendor string: NVIDIA Corporation
> >> client glx version string: 1.4
> >> client glx extensions:
> >> GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
> >> GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
> >> GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
> >> GLX_SGI_swap_control, GLX_EXT_swap_control, GLX_ARB_create_context,
> >> GLX_ARB_create_context_profile, GLX_NV_float_buffer,
> >> GLX_ARB_fbconfig_float, GLX_EXT_fbconfig_packed_float,
> >> GLX_EXT_texture_from_pixmap, GLX_EXT_framebuffer_sRGB,
> >> GLX_NV_present_video, GLX_NV_copy_image, GLX_NV_multisample_coverage,
> >> GLX_NV_video_capture
> >> GLX version: 1.2
> >> GLX extensions:
> >> GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
> >> GLX_EXT_import_context, GLX_ARB_get_proc_address
> >> OpenGL vendor string: NVIDIA Corporation
> >> OpenGL renderer string: Quadro NVS 135M/PCI/SSE2
> >> OpenGL version string: 1.2 (2.1.1)
> >> OpenGL extensions:
> >> GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
> >> GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
> >> GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map,
> >> GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
> >> GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
> >> GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
> >> GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
> >> GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
> >> GL_EXT_packed_pixels, GL_EXT_rescale_normal, GL_EXT_secondary_color,
> >> GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
> >> GL_EXT_texture3D, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
> >> GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_EXT_texture_lod,
> >> GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
> >> GL_ATI_texture_mirror_once, GL_IBM_texture_mirrored_repeat,
> >> GL_NV_blend_square, GL_NV_texgen_reflection, GL_NV_texture_rectangle,
> >> GL_SGIS_generate_mipmap, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
> >> GL_SGIX_shadow
> >>
> >>
> >> glxinfo for cygwin:
> >> ame of display: atlas1120:38.0
> >> display: atlas1120:38 screen: 0
> >> direct rendering: No
> >> server glx vendor string: SGI
> >> server glx version string: 1.4
> >> server glx extensions:
> >> GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
> >> GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
> >> GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
> >> GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
> >> GLX_MESA_copy_sub_buffer, GLX_INTEL_swap_event
> >> client glx vendor string: NVIDIA Corporation
> >> client glx version string: 1.4
> >> client glx extensions:
> >> GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
> >> GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
> >> GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
> >> GLX_SGI_swap_control, GLX_EXT_swap_control, GLX_ARB_create_context,
> >> GLX_ARB_create_context_profile, GLX_NV_float_buffer,
> >> GLX_ARB_fbconfig_float, GLX_EXT_fbconfig_packed_float,
> >> GLX_EXT_texture_from_pixmap, GLX_EXT_framebuffer_sRGB,
> >> GLX_NV_present_video, GLX_NV_copy_image, GLX_NV_multisample_coverage,
> >> GLX_NV_video_capture
> >> GLX version: 1.4
> >> GLX extensions:
> >> GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
> >> GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig,
> >> GLX_SGIX_pbuffer, GLX_ARB_get_proc_address
> >> OpenGL vendor string: Mesa Project
> >> OpenGL renderer string: Software Rasterizer
> >> OpenGL version string: 1.4 (2.1 Mesa 7.6.1)
> >> OpenGL extensions:
> >> GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
> >> GL_ARB_fragment_program_shadow, GL_ARB_imaging, GL_ARB_multitexture,
> >> GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite,
> >> GL_ARB_shadow, GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
> >> GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
> >> GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
> >> GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
> >> GL_ARB_texture_non_power_of_two, GL_ARB_vertex_program, GL_ARB_window_pos,
> >> GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate,
> >> GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_draw_range_elements,
> >> GL_EXT_framebuffer_object, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
> >> GL_EXT_packed_pixels, GL_EXT_rescale_normal, GL_EXT_secondary_color,
> >> GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
> >> GL_EXT_texture3D, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
> >> GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
> >> GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
> >> GL_EXT_texture_object, GL_EXT_vertex_array, GL_ATI_texture_mirror_once,
> >> GL_IBM_texture_mirrored_repeat, GL_NV_blend_square,
> >> GL_NV_fragment_program, GL_NV_light_max_exponent,
> >> GL_NV_texture_env_combine4, GL_NV_texture_rectangle,
> >> GL_NV_texgen_reflection, GL_NV_vertex_program1_1, GL_SGIS_generate_mipmap,
> >> GL_SGIS_texture_lod
> >>
> >> On Jul 27, 2010, at 9:58 PM, John Stone wrote:
> >>
> >>>
> >>> Richard,
> >>> This is undoubtably caused by a flaw in the xwin32 implementation.
> >>> Most of the X emulators out there fall a bit short when it comes to
> >>> heavy duty OpenGL apps. It is difficult to postulate which X11 calls
> >>> might be generating the errors, but if they are correlated with some
> >>> particular activity within VMD, I might be able to help you track this
> >>> down. If you load a molecule and just let it sit, do you still get
> >>> errors? If you then rotate it, do the errors crop up with every
> >>> OpenGL redraw? Are they associated with GUI activities or just
> >>> drawing activity in the VMD OpenGL window?
> >>>
> >>> Cheers,
> >>> John Stone
> >>> vmd_at_ks.uiuc.edu
> >>>
> >>> On Fri, Jul 23, 2010 at 04:47:49PM -0700, Richard Cook wrote:
> >>>> Hello,
> >>>> When VMD starts up on our cluster and displays back to certain machines on our network, we are seeing a huge number of errors on the console of the form:
> >>>> XRequest.142 BadRequest (invalide request code or no such operation) 0x46
> >>>>
> >>>> Would someone on this list be able to help us determine the source of these errors? They do not occur when displaying back to every machine, just some running xwin32 on Windows XP.
> >>>> --
> >>>> ???Richard Cook
> >>>> ??? Lawrence Livermore National Laboratory
> >>>> Bldg-453 Rm-4024, Mail Stop L-557
> >>>> 7000 East Avenue, Livermore, CA, 94550, USA
> >>>> ??? (office) (925) 423-9605
> >>>> ??? (fax) (925) 423-6961
> >>>> ---
> >>>> Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
> >>>> (opinions expressed herein are mine and not those of LLNL)
> >>>>
> >>>>
> >>>>
> >>>
> >>> --
> >>> NIH Resource for Macromolecular Modeling and Bioinformatics
> >>> Beckman Institute for Advanced Science and Technology
> >>> University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
> >>> Email: johns_at_ks.uiuc.edu Phone: 217-244-3349
> >>> WWW: http://**www.**ks.uiuc.edu/~johns/ Fax: 217-244-6078
> >>>
> >>
> >> --
> >> ???Richard Cook
> >> ??? Lawrence Livermore National Laboratory
> >> Bldg-453 Rm-4024, Mail Stop L-557
> >> 7000 East Avenue, Livermore, CA, 94550, USA
> >> ??? (office) (925) 423-9605
> >> ??? (fax) (925) 423-6961
> >> ---
> >> Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
> >> (opinions expressed herein are mine and not those of LLNL)
> >>
> >>
> >>
> >
> > --
> > NIH Resource for Macromolecular Modeling and Bioinformatics
> > Beckman Institute for Advanced Science and Technology
> > University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
> > Email: johns_at_ks.uiuc.edu Phone: 217-244-3349
> > WWW: http://*www.*ks.uiuc.edu/~johns/ Fax: 217-244-6078
> >
>
> --
> ???Richard Cook
> ??? Lawrence Livermore National Laboratory
> Bldg-453 Rm-4024, Mail Stop L-557
> 7000 East Avenue, Livermore, CA, 94550, USA
> ??? (office) (925) 423-9605
> ??? (fax) (925) 423-6961
> ---
> Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
> (opinions expressed herein are mine and not those of LLNL)
>
>
>

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078