<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hey, </p>
<p><br>
</p>
<p>I'm trying to get OpenGL 3.2 on an OpenVZ VPS running Ubuntu 14.04.4 LTS without graphics hardware acceleration. I was about to give up until I read about OpenSWR and it's integration into Mesa. So I tried building the latest version of mesa from freedesktop
 git with the recommended openswr configuration options. <span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
At this point I'm not even sure if the AVX instruction set is fully functioning on the VPS because I don't know how to check. </span>OpenGL Version never went above 3.0. It doesn't seem like I activated SWR at all.</p>
<p><br>
</p>
<p>Assuming that AVX is functioning correctly what else could I try? Thanks.</p>
<p><br>
</p>
<p><br>
</p>
<p>sudo ./configure --with-gallium-drivers=swrast,swr --prefix=$HOME/mesa<br>
</p>
<p><br>
</p>
<p>This is the glxinfo after a quick 'make install':</p>
<p><br>
</p>
<p>$ LD_LIBRARY_PATH=$HOME/mesa/lib LIBGL_DEBUG=verbose GALLIUM_DRIVER=swr glxinfo<br>
</p>
<p></p>
<div>name of display: :10.0</div>
<div>display: :10  screen: 0</div>
<div>direct rendering: Yes</div>
<div>server glx vendor string: SGI</div>
<div>server glx version string: 1.4</div>
<div>server glx extensions:</div>
<div>    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, </div>
<div>    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_INTEL_swap_event, </div>
<div>    GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGIS_multisample, </div>
<div>    GLX_SGIX_fbconfig, GLX_SGIX_hyperpipe, GLX_SGIX_pbuffer, </div>
<div>    GLX_SGIX_swap_barrier, GLX_SGI_make_current_read</div>
<div>client glx vendor string: Mesa Project and SGI</div>
<div>client glx version string: 1.4</div>
<div>client glx extensions:</div>
<div>    GLX_ARB_create_context, GLX_ARB_create_context_profile, </div>
<div>    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, </div>
<div>    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, </div>
<div>    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, </div>
<div>    GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float, </div>
<div>    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, </div>
<div>    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, </div>
<div>    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, </div>
<div>    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, </div>
<div>    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, </div>
<div>    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, </div>
<div>    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, </div>
<div>    GLX_SGI_swap_control, GLX_SGI_video_sync</div>
<div>GLX version: 1.4</div>
<div>GLX extensions:</div>
<div>    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, </div>
<div>    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, </div>
<div>    GLX_MESA_copy_sub_buffer, GLX_MESA_multithread_makecurrent, </div>
<div>    GLX_MESA_query_renderer, GLX_OML_swap_method, GLX_SGIS_multisample, </div>
<div>    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGI_make_current_read</div>
<div>OpenGL vendor string: VMware, Inc.</div>
<div>OpenGL renderer string: Gallium 0.4 on softpipe</div>
<div>OpenGL version string: 3.0 Mesa 11.3.0-devel (git-fc3b000)</div>
<div>OpenGL shading language version string: 1.30</div>
<div>OpenGL context flags: (none)</div>
<div>OpenGL extensions:</div>
<div>    GL_AMD_conservative_depth, GL_AMD_draw_buffers_blend, </div>
<div>    GL_AMD_seamless_cubemap_per_texture, GL_AMD_shader_stencil_export, </div>
<div>    GL_AMD_shader_trinary_minmax, GL_ANGLE_texture_compression_dxt3, </div>
<div>    GL_ANGLE_texture_compression_dxt5, GL_APPLE_packed_pixels, </div>
<div>    GL_APPLE_vertex_array_object, GL_ARB_ES2_compatibility, </div>
<div>    GL_ARB_ES3_compatibility, GL_ARB_arrays_of_arrays, GL_ARB_base_instance, </div>
<div>    GL_ARB_blend_func_extended, GL_ARB_clear_buffer_object, </div>
<div>    GL_ARB_clip_control, GL_ARB_color_buffer_float, </div>
<div>    GL_ARB_compressed_texture_pixel_storage, </div>
<div>    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, </div>
<div>    GL_ARB_copy_buffer, GL_ARB_debug_output, GL_ARB_depth_buffer_float, </div>
<div>    GL_ARB_depth_clamp, GL_ARB_depth_texture, GL_ARB_draw_buffers, </div>
<div>    GL_ARB_draw_buffers_blend, GL_ARB_draw_elements_base_vertex, </div>
<div>    GL_ARB_draw_instanced, GL_ARB_explicit_attrib_location, </div>
<div>    GL_ARB_explicit_uniform_location, GL_ARB_fragment_coord_conventions, </div>
<div>    GL_ARB_fragment_program, GL_ARB_fragment_program_shadow, </div>
<div>    GL_ARB_fragment_shader, GL_ARB_framebuffer_object, </div>
<div>    GL_ARB_framebuffer_sRGB, GL_ARB_get_program_binary, </div>
<div>    GL_ARB_get_texture_sub_image, GL_ARB_half_float_pixel, </div>
<div>    GL_ARB_half_float_vertex, GL_ARB_instanced_arrays, </div>
<div>    GL_ARB_internalformat_query, GL_ARB_internalformat_query2, </div>
<div>    GL_ARB_invalidate_subdata, GL_ARB_map_buffer_alignment, </div>
<div>    GL_ARB_map_buffer_range, GL_ARB_multi_bind, GL_ARB_multisample, </div>
<div>    GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_occlusion_query2, </div>
<div>    GL_ARB_pipeline_statistics_query, GL_ARB_pixel_buffer_object, </div>
<div>    GL_ARB_point_parameters, GL_ARB_point_sprite, </div>
<div>    GL_ARB_program_interface_query, GL_ARB_provoking_vertex, </div>
<div>    GL_ARB_robustness, GL_ARB_sampler_objects, GL_ARB_seamless_cube_map, </div>
<div>    GL_ARB_seamless_cubemap_per_texture, GL_ARB_separate_shader_objects, </div>
<div>    GL_ARB_shader_bit_encoding, GL_ARB_shader_objects, </div>
<div>    GL_ARB_shader_stencil_export, GL_ARB_shader_texture_lod, </div>
<div>    GL_ARB_shading_language_100, GL_ARB_shading_language_420pack, </div>
<div>    GL_ARB_shading_language_packing, GL_ARB_shadow, GL_ARB_stencil_texturing, </div>
<div>    GL_ARB_sync, GL_ARB_texture_border_clamp, GL_ARB_texture_compression, </div>
<div>    GL_ARB_texture_compression_rgtc, GL_ARB_texture_cube_map, </div>
<div>    GL_ARB_texture_cube_map_array, GL_ARB_texture_env_add, </div>
<div>    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, </div>
<div>    GL_ARB_texture_env_dot3, GL_ARB_texture_float, GL_ARB_texture_gather, </div>
<div>    GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_texture_mirrored_repeat, </div>
<div>    GL_ARB_texture_multisample, GL_ARB_texture_non_power_of_two, </div>
<div>    GL_ARB_texture_query_levels, GL_ARB_texture_query_lod, </div>
<div>    GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui, </div>
<div>    GL_ARB_texture_stencil8, GL_ARB_texture_storage, </div>
<div>    GL_ARB_texture_storage_multisample, GL_ARB_texture_swizzle, </div>
<div>    GL_ARB_texture_view, GL_ARB_timer_query, GL_ARB_transform_feedback2, </div>
<div>    GL_ARB_transform_feedback3, GL_ARB_transform_feedback_instanced, </div>
<div>    GL_ARB_transpose_matrix, GL_ARB_uniform_buffer_object, </div>
<div>    GL_ARB_vertex_array_bgra, GL_ARB_vertex_array_object, </div>
<div>    GL_ARB_vertex_attrib_binding, GL_ARB_vertex_buffer_object, </div>
<div>    GL_ARB_vertex_program, GL_ARB_vertex_shader, </div>
<div>    GL_ARB_vertex_type_10f_11f_11f_rev, GL_ARB_vertex_type_2_10_10_10_rev, </div>
<div>    GL_ARB_window_pos, GL_ATI_blend_equation_separate, GL_ATI_draw_buffers, </div>
<div>    GL_ATI_separate_stencil, GL_ATI_texture_compression_3dc, </div>
<div>    GL_ATI_texture_env_combine3, GL_ATI_texture_float, </div>
<div>    GL_ATI_texture_mirror_once, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, </div>
<div>    GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate, </div>
<div>    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array, </div>
<div>    GL_EXT_copy_texture, GL_EXT_draw_buffers2, GL_EXT_draw_instanced, </div>
<div>    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_blit, </div>
<div>    GL_EXT_framebuffer_multisample, GL_EXT_framebuffer_multisample_blit_scaled, </div>
<div>    GL_EXT_framebuffer_object, GL_EXT_framebuffer_sRGB, </div>
<div>    GL_EXT_gpu_program_parameters, GL_EXT_multi_draw_arrays, </div>
<div>    GL_EXT_packed_depth_stencil, GL_EXT_packed_float, GL_EXT_packed_pixels, </div>
<div>    GL_EXT_pixel_buffer_object, GL_EXT_point_parameters, </div>
<div>    GL_EXT_polygon_offset, GL_EXT_provoking_vertex, GL_EXT_rescale_normal, </div>
<div>    GL_EXT_secondary_color, GL_EXT_separate_specular_color, </div>
<div>    GL_EXT_shader_integer_mix, GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, </div>
<div>    GL_EXT_stencil_wrap, GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D, </div>
<div>    GL_EXT_texture_array, GL_EXT_texture_compression_dxt1, </div>
<div>    GL_EXT_texture_compression_latc, GL_EXT_texture_compression_rgtc, </div>
<div>    GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map, </div>
<div>    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, </div>
<div>    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, </div>
<div>    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_integer, </div>
<div>    GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp, </div>
<div>    GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, </div>
<div>    GL_EXT_texture_sRGB_decode, GL_EXT_texture_shared_exponent, </div>
<div>    GL_EXT_texture_snorm, GL_EXT_texture_swizzle, GL_EXT_timer_query, </div>
<div>    GL_EXT_transform_feedback, GL_EXT_vertex_array, GL_EXT_vertex_array_bgra, </div>
<div>    GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip, </div>
<div>    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, </div>
<div>    GL_KHR_context_flush_control, GL_KHR_debug, GL_MESA_pack_invert, </div>
<div>    GL_MESA_texture_signed_rgba, GL_MESA_window_pos, GL_MESA_ycbcr_texture, </div>
<div>    GL_NV_blend_square, GL_NV_conditional_render, GL_NV_depth_clamp, </div>
<div>    GL_NV_fog_distance, GL_NV_light_max_exponent, GL_NV_packed_depth_stencil, </div>
<div>    GL_NV_primitive_restart, GL_NV_texgen_reflection, </div>
<div>    GL_NV_texture_env_combine4, GL_NV_texture_rectangle, GL_OES_EGL_image, </div>
<div>    GL_OES_read_format, GL_S3_s3tc, GL_SGIS_generate_mipmap, </div>
<div>    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, </div>
<div>    GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays</div>
<div><br>
</div>
<div><span style="font-size: 12pt;">glxgears averaged about 200 </span><span style="font-size: 12pt;">FPS</span><span style="font-size: 12pt;">. </span><span style="font-size: 12pt;">Tried glxinfo again without specifying gallium drivers.</span><br>
</div>
<div><br>
</div>
<div><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">$ LD_LIBRARY_PATH=$HOME/mesa/lib LIBGL_DEBUG=verbose GALLIUM_DRIVER=swr glxinfo | grep OpenGL</span><br>
</div>
<div><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<div>OpenGL vendor string: VMware, Inc.</div>
<div>OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.6, 256 bits)</div>
<div>OpenGL version string: 3.0 Mesa 11.3.0-devel (git-fc3b000)</div>
<div>OpenGL shading language version string: 1.30</div>
<div>OpenGL context flags: (none)</div>
<div><br>
</div>
glxgears fluctuated between 1000-1200 FPS. </span></div>
<div><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"><br>
</span></div>
<div><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"><br>
</span></div>
<div>
<div>$ cat /proc/cpuinfo</div>
<div>processor       : 0</div>
<div>vendor_id       : GenuineIntel</div>
<div>cpu family      : 6</div>
<div>model           : 58</div>
<div>model name      : Intel(R) Xeon(R) CPU E3-1270 V2 @ 3.50GHz</div>
<div>stepping        : 9</div>
<div>microcode       : 27</div>
<div>cpu MHz         : 1600.000</div>
<div>cache size      : 8192 KB</div>
<div>physical id     : 0</div>
<div>siblings        : 8</div>
<div>core id         : 0</div>
<div>cpu cores       : 4</div>
<div>apicid          : 0</div>
<div>initial apicid  : 0</div>
<div>fpu             : yes</div>
<div>fpu_exception   : yes</div>
<div>cpuid level     : 13</div>
<div>wp              : yes</div>
<div>flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf cpuid_faulting pni
 pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt</div>
<div>bogomips        : 6999.92</div>
<div>clflush size    : 64</div>
<div>cache_alignment : 64</div>
<div>address sizes   : 36 bits physical, 48 bits virtual</div>
<div>power management:</div>
<div><br>
</div>
<br>
</div>
<p></p>
</div>
</body>
</html>