Uderc programming article aggregator sites

Steam + Wine = No OpenGL extensions found

Tags:
Answers: Have 15 answers
Advertisement
Hey all!
I'm trying to run Team Fortress 2 on wine but got stuck on running Steam. I did:
env WINEARCH=win32 WINEPREFIX=~/.wine-steam32 msiexec /i SteamInstall.msi
And then in the Steam directory:
optirun env WINEARCH=win32 WINEPREFIX=~/.wine-steam32/ wine Steam.exe 2>err
but that results with Steam active on taskbar and invisible everywhere else.
The log:
fixme:process:SetProcessShutdownParameters (00000100, 00000000): partial stub.
The most important one I think is here
err:wgl:is_extension_supported No OpenGL extensions found, check if your OpenGL setup is correct!
the same line repeated many times
fixme:iphlpapi:NotifyAddrChange (Handle 0x453dc00, overlapped 0x434b4b0): stub
fixme:winsock:WSALookupServiceBeginW (0x453dc20 0x00000ff0 0x453dc1c) Stub!
[0315/160205:ERROR:network_change_notifier_win.cc(111)] WSALookupServiceBegin failed with: 8
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:toolhelp:Heap32ListFirst : stub
fixme:iphlpapi:CancelIPChangeNotify (overlapped 0x434b4b0): stub
err:ole:RevokeDragDrop invalid hwnd 0x1009e
err:ole:RevokeDragDrop invalid hwnd 0x100a8
err:ole:RevokeDragDrop invalid hwnd 0x100aa
err:ole:RevokeDragDrop invalid hwnd 0x100ac
err:ole:RevokeDragDrop invalid hwnd 0x100ae
err:ole:RevokeDragDrop invalid hwnd 0x100b0
err:ole:RevokeDragDrop invalid hwnd 0x100b2
As I googled this, the cause is lack of opengl or its drivers in the system. They should be in the nvidia-utils or lib32-nvidia-utils. But:
$ pacman -Qm
bbswitch 0.4.1-1
bumblebee 3.0-3
cairo-compmgr-git 20120224-1
cairo-dock 2.4.0-2
cairo-dock-plug-ins 2.4.0-2
dkms-nvidia 295.20-2
lib32-nvidia-utils-bumblebee 295.20-1
lib32-virtualgl 2.3-3
nvidia-utils-bumblebee 295.20-1
postgresql-jdbc 9.1_901-2
turbojpeg 1.1.1-1
vala-git 20120224-1
virtualgl 2.3-2
Running Steam without WINEARCH doesn't help. The same error. As you can see, I se bumblebee.
If I didn't provide enough information, please ask. Thank you for your time
Advertisement
The best answer: Hmm... that seems like we both have the same situation. Same error and the numbers of lib32 utils and driver differ. But I don't think that is the cause, because I can run WoW without any problems. But... it crashes with -opengl option.
The same info you provided, that is not in my first post:
$ uname -a
Linux MKLaptop 3.2.9-1-ARCH #1 SMP PREEMPT Thu Mar 1 09:31:13 CET 2012 x86_64 Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz GenuineIntel GNU/Linux
$ glxinfo | grep OpenGL
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL version string: 3.0 Mesa 8.0.1
OpenGL shading language version string: 1.30
OpenGL extensions:
But the OpenGL extensions are there:
$ glxinfo | grep "OpenGL extensions" -A 58
OpenGL extensions:
GL_ARB_multisample, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_copy_texture,
GL_EXT_polygon_offset, GL_EXT_subtexture, GL_EXT_texture_object,
GL_EXT_vertex_array, GL_EXT_compiled_vertex_array, GL_EXT_texture,
GL_EXT_texture3D, GL_IBM_rasterpos_clip, GL_ARB_point_parameters,
GL_EXT_draw_range_elements, GL_EXT_packed_pixels, GL_EXT_point_parameters,
GL_EXT_rescale_normal, GL_EXT_separate_specular_color,
GL_EXT_texture_edge_clamp, GL_SGIS_generate_mipmap,
GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
GL_SGIS_texture_lod, GL_ARB_framebuffer_sRGB, GL_ARB_multitexture,
GL_EXT_framebuffer_sRGB, GL_IBM_multimode_draw_arrays,
GL_IBM_texture_mirrored_repeat, GL_3DFX_texture_compression_FXT1,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add, GL_ARB_transpose_matrix,
GL_EXT_blend_func_separate, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
GL_EXT_secondary_color, GL_EXT_texture_env_add,
GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
GL_INGR_blend_func_separate, GL_NV_blend_square, GL_NV_light_max_exponent,
GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
GL_SUN_multi_draw_arrays, GL_ARB_texture_border_clamp,
GL_ARB_texture_compression, GL_EXT_framebuffer_object,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_MESA_window_pos,
GL_NV_packed_depth_stencil, GL_NV_texture_rectangle, GL_NV_vertex_program,
GL_ARB_depth_texture, GL_ARB_occlusion_query, GL_ARB_shadow,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_window_pos, GL_ATI_envmap_bumpmap, GL_EXT_stencil_two_side,
GL_EXT_texture_cube_map, GL_NV_depth_clamp, GL_NV_vertex_program1_1,
GL_APPLE_packed_pixels, GL_APPLE_vertex_array_object, GL_ARB_draw_buffers,
GL_ARB_fragment_program, GL_ARB_fragment_shader, GL_ARB_shader_objects,
GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ATI_draw_buffers,
GL_ATI_texture_env_combine3, GL_ATI_texture_float, GL_EXT_shadow_funcs,
GL_EXT_stencil_wrap, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
GL_ARB_depth_clamp, GL_ARB_fragment_program_shadow,
GL_ARB_half_float_pixel, GL_ARB_point_sprite, GL_ARB_shading_language_100,
GL_ARB_sync, GL_ARB_texture_non_power_of_two, GL_ARB_vertex_buffer_object,
GL_ATI_blend_equation_separate, GL_EXT_blend_equation_separate,
GL_OES_read_format, GL_ARB_color_buffer_float, GL_ARB_pixel_buffer_object,
GL_ARB_texture_compression_rgtc, GL_ARB_texture_float,
GL_ARB_texture_rectangle, GL_EXT_packed_float, GL_EXT_pixel_buffer_object,
GL_EXT_texture_compression_rgtc, GL_EXT_texture_rectangle,
GL_EXT_texture_sRGB, GL_EXT_texture_shared_exponent,
GL_ARB_framebuffer_object, GL_EXT_framebuffer_blit,
GL_EXT_framebuffer_multisample, GL_EXT_packed_depth_stencil,
GL_APPLE_object_purgeable, GL_ARB_vertex_array_object,
GL_ATI_separate_stencil, GL_EXT_draw_buffers2,
GL_EXT_gpu_program_parameters, GL_EXT_texture_array,
GL_EXT_texture_integer, GL_EXT_texture_sRGB_decode, GL_EXT_timer_query,
GL_OES_EGL_image, GL_MESA_texture_array, GL_ARB_copy_buffer,
GL_ARB_depth_buffer_float, GL_ARB_half_float_vertex,
GL_ARB_map_buffer_range, GL_ARB_texture_rg, GL_ARB_texture_swizzle,
GL_ARB_vertex_array_bgra, GL_EXT_separate_shader_objects,
GL_EXT_texture_swizzle, GL_EXT_vertex_array_bgra,
GL_NV_conditional_render, GL_ARB_ES2_compatibility,
GL_ARB_draw_elements_base_vertex, GL_ARB_explicit_attrib_location,
GL_ARB_fragment_coord_conventions, GL_ARB_provoking_vertex,
GL_ARB_sampler_objects, GL_ARB_seamless_cube_map,
GL_ARB_shader_texture_lod, GL_EXT_provoking_vertex, GL_EXT_texture_snorm,
GL_MESA_texture_signed_rgba, GL_ARB_robustness, GL_EXT_transform_feedback
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 540M] (rev a1)
The same with optirun:
$ optirun glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 525M/PCIe/SSE2
OpenGL version string: 4.2.0 NVIDIA 295.20
OpenGL shading language version string: 4.20 NVIDIA via Cg compiler
OpenGL extensions:
The extensions are there also, even more lines, so there is no need to show them, I think.
pacman -Q wine
wine 1.4-1