I am running Fedora 27 and I have installed wine from repos: wine-3.16 (Staging). My laptop is a dual-graphics one, I have bumblebee running fine (works in native linux programs).

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107GLM [Quadro K1100M] (rev a1)

glxinfo works on both integrated:

OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.3.9

and dedicated GPU:

OpenGL renderer string: Quadro K1100M/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 390.77

glxgears is also fine.

Now, I am trying to run program using OpenGL in wine and I fail miserably:

> wine dxdiag
000b:fixme:winediag:start_process Wine Staging 3.16 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
0009:fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),1,3,(nil),0,(nil)) - stub!
0009:fixme:wbemprox:client_security_SetBlanket 0x7c3ff918, 0x14af00, 10, 0, (null), 3, 3, (nil), 0x00000000
0009:fixme:wbemprox:client_security_Release 0x7c3ff918
0009:fixme:wbemprox:enum_class_object_Next timeout not supported
0009:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
0009:fixme:dsound:IKsPrivatePropertySetImpl_Get unsupported property: {f2957840-260c-11d1-a4d8-00c04fc28aca}
0009:fixme:setupapi:CM_Get_Child 0x33e908 0x00000000 0x00000000: stub
0009:fixme:setupapi:CM_Open_DevNode_Key 0x00000000 0x00020019 0x00000000 0x00000001 0x33e8fc 0x00000001 : stub
0009:fixme:dsound:IKsPrivatePropertySetImpl_Get unsupported property: {1aeaa606-35f0-11d1-b161-00c04fc28aca}
0009:fixme:dsound:IKsPrivatePropertySetImpl_Get unsupported property: {1aeaa606-35f0-11d1-b161-00c04fc28aca}
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  1154
  Current serial number in output stream:  1155

Googling around told me that I don't have 32bit OpenGL libs around, but that does not seem to be the case: I've installed mesa-libGL.i686 and couple of others that seemed to be relevant and the problem persists.

Thanks for suggestions.

EDIT: Just to show that libGL should be detected:

> wine --check-libs
libcairo.so.2: /lib/libcairo.so.2
libcapi20.so.3: /lib/libcapi20.so.3
libcups.so.2: /lib/libcups.so.2
libdbus-1.so.3: /lib/libdbus-1.so.3
libfontconfig.so.1: /lib/libfontconfig.so.1
libfreetype.so.6: /lib/libfreetype.so.6
libGL.so.1: /lib/libGL.so.1
libgnutls.so.30: /lib/libgnutls.so.30
libgobject-2.0.so.0: /lib/libgobject-2.0.so.0
libgsm.so.1: /lib/libgsm.so.1
libgtk-3.so.0: /lib/libgtk-3.so.0
libjpeg.so.62: /lib/libjpeg.so.62
libncurses.so.6: /lib/libncurses.so.6
libnetapi.so: missing
libodbc.so.2: /lib/libodbc.so.2
libOSMesa.so.8: /lib/libOSMesa.so.8
libpcap.so.1: /lib/libpcap.so.1
libpng16.so.16: /lib/libpng16.so.16
libsane.so.1: /lib/libsane.so.1
libtiff.so.5: /lib/libtiff.so.5
libv4l1.so.0: /lib/libv4l1.so.0
libva.so.1: /lib/libva.so.1
libva-drm.so.1: /lib/libva-drm.so.1
libva-x11.so.1: /lib/libva-x11.so.1
libX11.so.6: /lib/libX11.so.6
libXcomposite.so.1: /lib/libXcomposite.so.1
libXcursor.so.1: /lib/libXcursor.so.1
libXext.so.6: /lib/libXext.so.6
libXi.so.6: /lib/libXi.so.6
libXinerama.so.1: /lib/libXinerama.so.1
libXrandr.so.2: /lib/libXrandr.so.2
libXrender.so.1: /lib/libXrender.so.1
libxslt.so.1: missing
libXxf86vm.so.1: /lib/libXxf86vm.so.1

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.