OpenGL not working

Questions about Wine on Linux
Post Reply
flavius
Level 2
Level 2
Posts: 10
Joined: Sun Sep 30, 2018 7:36 am

OpenGL not working

Post by flavius » Sun Sep 30, 2018 7:50 am

Hi, 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).

Code: Select all

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:

Code: Select all

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:

Code: Select all

OpenGL renderer string: Quadro K1100M/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 390.77
glxgears also works fine.

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

Code: Select all

> 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
(btw. I've tried to update (?) dxdiag through winetricks dxdiag, it seemed to install newer version as I can get some window-gui first but it breaks as soon as I start running the test).
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.

Code: Select all

> 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

> rpm -q mesa-libGL
mesa-libGL-17.3.9-1.fc27.x86_64
mesa-libGL-17.3.9-1.fc27.i686
Could you give me more hints what I should try?

User avatar
Bob Wya
Level 12
Level 12
Posts: 2764
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: OpenGL not working

Post by Bob Wya » Sun Sep 30, 2018 10:39 am

flavius wrote: ...
Could you give me more hints what I should try?
@flavius

If you run:

Code: Select all

export WINEDEBUG=+timestamp,+tid,+wgl,+loaddll
wine dxdiag
The terminal output will show which native Linux graphics driver Wine is leveraging (or not!)

Bob

flavius
Level 2
Level 2
Posts: 10
Joined: Sun Sep 30, 2018 7:36 am

Re: OpenGL not working

Post by flavius » Sun Sep 30, 2018 11:00 am

Thanks Bob, here is the output:

Code: Select all

432966.439:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\wow64cpu.dll" at 0x7eff0000: builtin
432966.439:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\KERNEL32.dll" at 0x7b420000: builtin
432966.443:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\wow64cpu.dll" at 0x7f5a24c80000: builtin
432966.443:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\KERNEL32.dll" at 0x7b420000: builtin
432966.444:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\wineboot.exe" at 0x7f5a1cd70000: builtin
432966.445:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\advapi32.dll" at 0x7f5a1cad0000: builtin
432966.447:000b:fixme:winediag:start_process Wine Staging 3.16 is a testing version containing experimental patches.
432966.447:000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
432966.448:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\gdi32.dll" at 0x7f5a1c660000: builtin
432966.448:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\version.dll" at 0x7f5a24c60000: builtin
432966.448:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\user32.dll" at 0x7f5a1c7f0000: builtin
432966.448:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\shlwapi.dll" at 0x7f5a1ca40000: builtin
432966.449:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\imm32.dll" at 0x7f5a1c630000: builtin
432966.552:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\wow64cpu.dll" at 0x7f168e470000: builtin
432966.552:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\KERNEL32.dll" at 0x7b420000: builtin
432966.553:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\winemenubuilder.exe" at 0x7f1686560000: builtin
432966.556:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\advapi32.dll" at 0x7f1686020000: builtin
432966.556:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\gdi32.dll" at 0x7f1685c40000: builtin
432966.557:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\version.dll" at 0x7f168e450000: builtin
432966.557:000f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\wow64cpu.dll" at 0x7f8a04880000: builtin
432966.557:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\user32.dll" at 0x7f1685dc0000: builtin
432966.557:000f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\KERNEL32.dll" at 0x7b420000: builtin
432966.557:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0x7f1685ba0000: builtin
432966.557:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\ole32.dll" at 0x7f16860c0000: builtin
432966.558:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\oleaut32.dll" at 0x7f1685a30000: builtin
432966.558:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\propsys.dll" at 0x7f16859f0000: builtin
432966.558:000f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\services.exe" at 0x7f89fc720000: builtin
432966.559:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\shlwapi.dll" at 0x7f1685960000: builtin
432966.559:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\windowscodecs.dll" at 0x7f1686260000: builtin
432966.560:000f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\advapi32.dll" at 0x7f89fc500000: builtin
432966.560:000f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0x7f89fc590000: builtin
432966.560:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\usp10.dll" at 0x7f1684d80000: builtin
432966.560:000f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\userenv.dll" at 0x7f8a04870000: builtin
432966.560:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\imm32.dll" at 0x7f1684d50000: builtin
432966.560:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\comctl32.dll" at 0x7f1684dd0000: builtin
432966.561:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\aclui.dll" at 0x7f1684f20000: builtin
432966.561:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\shell32.dll" at 0x7f1684f50000: builtin
432966.565:0011:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\wow64cpu.dll" at 0x7fb208770000: builtin
432966.565:0011:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\KERNEL32.dll" at 0x7b420000: builtin
432966.566:0011:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\explorer.exe" at 0x7fb200610000: builtin
432966.567:0011:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\advapi32.dll" at 0x7fb2004f0000: builtin
432966.567:0011:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0x7fb200580000: builtin
432966.567:0011:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\gdi32.dll" at 0x7fb200110000: builtin
432966.568:0011:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\version.dll" at 0x7fb208750000: builtin
432966.568:0011:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\user32.dll" at 0x7fb200290000: builtin
432966.569:0014:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\wow64cpu.dll" at 0x7ff6934c0000: builtin
432966.569:0014:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\KERNEL32.dll" at 0x7b420000: builtin
432966.569:0014:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\winedevice.exe" at 0x7ff6934b0000: builtin
432966.570:0011:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\imm32.dll" at 0x7fb200860000: builtin
432966.570:0014:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\advapi32.dll" at 0x7ff68b310000: builtin
432966.570:0014:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\ntoskrnl.exe" at 0x7ff68b2b0000: builtin
432966.570:0011:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\winex11.drv" at 0x7fb200060000: builtin
432966.572:0014:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0x7ff68b220000: builtin
432966.574:0019:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\win32k.sys" at 0x7ff68b5c0000: builtin
432966.576:0019:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\dxgkrnl.sys" at 0x7ff68b5b0000: builtin
432966.577:0019:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\dxgmms1.sys" at 0x7ff68b200000: builtin
432966.579:0018:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\mountmgr.sys" at 0x7ff68b1e0000: builtin
432966.584:001c:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\wow64cpu.dll" at 0x7f8a12440000: builtin
432966.584:001c:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\KERNEL32.dll" at 0x7b420000: builtin
432966.584:001c:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\plugplay.exe" at 0x7f8a12420000: builtin
432966.584:001a:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\gdi32.dll" at 0x7ff6898d0000: builtin
432966.585:001a:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\version.dll" at 0x7ff68b1c0000: builtin
432966.585:001a:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\user32.dll" at 0x7ff689a60000: builtin
432966.585:001c:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\advapi32.dll" at 0x7f8a0a290000: builtin
432966.585:001a:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\imm32.dll" at 0x7ff6898a0000: builtin
432966.587:001c:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0x7f8a0a1f0000: builtin
432966.590:0021:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\wow64cpu.dll" at 0x7f7b4b4c0000: builtin
432966.590:0021:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\KERNEL32.dll" at 0x7b420000: builtin
432966.591:0021:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\winedevice.exe" at 0x7f7b4b4b0000: builtin
432966.592:0021:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\advapi32.dll" at 0x7f7b43310000: builtin
432966.592:0021:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\ntoskrnl.exe" at 0x7f7b432b0000: builtin
432966.594:0021:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0x7f7b43210000: builtin
432966.596:0024:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\win32k.sys" at 0x7f7b435c0000: builtin
432966.597:0024:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\dxgkrnl.sys" at 0x7f7b435b0000: builtin
432966.599:0024:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\dxgmms1.sys" at 0x7f7b43200000: builtin
432966.601:0023:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\gdi32.dll" at 0x7f7b42b30000: builtin
432966.602:0023:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\version.dll" at 0x7f7b431c0000: builtin
432966.602:0023:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\user32.dll" at 0x7f7b42cc0000: builtin
432966.602:0023:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\setupapi.dll" at 0x7f7b42f10000: builtin
432966.602:0023:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\winebus.sys" at 0x7f7b431e0000: builtin
432966.602:0023:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\imm32.dll" at 0x7f7b42b00000: builtin
432966.632:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\usp10.dll" at 0x7f5a1ba50000: builtin
432966.633:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\comctl32.dll" at 0x7f5a1baa0000: builtin
432966.633:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\aclui.dll" at 0x7f5a1bbf0000: builtin
432966.633:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\shell32.dll" at 0x7f5a1bc20000: builtin
432966.633:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\winex11.drv" at 0x7f5a1b9b0000: builtin
432966.709:0011:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\shlwapi.dll" at 0x7fb1fcc50000: builtin
432966.710:0011:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\usp10.dll" at 0x7fb1fca90000: builtin
432966.710:0011:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\comctl32.dll" at 0x7fb1fcae0000: builtin
432966.710:0011:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\aclui.dll" at 0x7fb1fcc30000: builtin
432966.710:0011:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\shell32.dll" at 0x7fb1fcdf0000: builtin
432966.711:0011:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\uxtheme.dll" at 0x7fb1fca50000: builtin
432966.713:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\winex11.drv" at 0x7f1684cb0000: builtin
432966.713:0011:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\ole32.dll" at 0x7fb1fc8d0000: builtin
432966.714:0011:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\oleaut32.dll" at 0x7fb1fc5c0000: builtin
432966.714:0011:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\actxprxy.dll" at 0x7fb1fc750000: builtin
432966.751:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\uxtheme.dll" at 0x7f5a19130000: builtin
432966.752:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0x7f5a18f00000: builtin
432966.752:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\ole32.dll" at 0x7f5a18fa0000: builtin
432966.753:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\mpr.dll" at 0x7f5a19580000: builtin
432966.753:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\ws2_32.dll" at 0x7f5a18e20000: builtin
432966.753:000b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\wininet.dll" at 0x7f5a18e70000: builtin
432966.755:0009:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\dxdiag.exe" at 0x1000000: native
432966.756:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\advapi32.dll" at 0x7ec50000: builtin
432966.757:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\gdi32.dll" at 0x7eb20000: builtin
432966.758:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\version.dll" at 0x7efe0000: builtin
432966.759:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\user32.dll" at 0x7e920000: builtin
432966.759:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\usp10.dll" at 0x7e790000: builtin
432966.759:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\imm32.dll" at 0x7e770000: builtin
432966.759:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\comctl32.dll" at 0x7e7e0000: builtin
432966.760:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\shlwapi.dll" at 0x7dc30000: builtin
432966.760:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\aclui.dll" at 0x7dc10000: builtin
432966.760:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\shell32.dll" at 0x7dcb0000: builtin
432966.760:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\winspool.drv" at 0x7dbd0000: builtin
432966.760:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\comdlg32.dll" at 0x7e680000: builtin
432966.761:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0x7da00000: builtin
432966.761:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\ole32.dll" at 0x7da80000: builtin
432966.762:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\oleaut32.dll" at 0x7d8d0000: builtin
432966.765:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\winex11.drv" at 0x7d830000: builtin
432966.793:000d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\uxtheme.dll" at 0x7f1682430000: builtin
432966.838:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\uxtheme.dll" at 0x7d3c0000: builtin
432967.852:0009:fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),1,3,(nil),0,(nil)) - stub!
432967.855:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\winmm.dll" at 0x7c350000: builtin
432967.855:0009:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\dxdiagn.dll" at 0x460000: native
432967.856:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\iphlpapi.dll" at 0x7c460000: builtin
432967.857:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\opengl32.dll" at 0x7a820000: builtin
432967.857:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\wined3d.dll" at 0x7c200000: builtin
432967.857:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\dxgi.dll" at 0x7c420000: builtin
432967.858:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\ws2_32.dll" at 0x7c1c0000: builtin
432967.858:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\setupapi.dll" at 0x7c150000: builtin
432967.858:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\wbemprox.dll" at 0x7c480000: builtin
432967.859:0009:fixme:wbemprox:client_security_SetBlanket 0x7c4b8918, 0x1496f8, 10, 0, (null), 3, 3, (nil), 0x00000000
432967.859:0009:fixme:wbemprox:client_security_Release 0x7c4b8918
432967.863:0009:fixme:wbemprox:enum_class_object_Next timeout not supported
432967.863:0009:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
432967.970:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\dsound.dll" at 0x7c100000: builtin
432967.970:0009:fixme:dsound:IKsPrivatePropertySetImpl_Get unsupported property: {f2957840-260c-11d1-a4d8-00c04fc28aca}
432967.970:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\psapi.dll" at 0x7c410000: builtin
432967.973:0009:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\psapi.dll" : builtin
432967.973:0009:fixme:setupapi:CM_Get_Child 0x32e908 0x00000000 0x00000000: stub
432967.973:0009:fixme:setupapi:CM_Open_DevNode_Key 0x00000000 0x00020019 0x00000000 0x00000001 0x32e8fc 0x00000001 : stub
432967.974:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\mmdevapi.dll" at 0x7c0e0000: builtin
432967.976:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\winepulse.drv" at 0x7c0b0000: builtin
432967.979:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\winealsa.drv" at 0x7bd70000: builtin
432967.979:0009:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\winealsa.drv" : builtin
432967.990:0009:fixme:dsound:IKsPrivatePropertySetImpl_Get unsupported property: {1aeaa606-35f0-11d1-b161-00c04fc28aca}
432967.992:0009:fixme:dsound:IKsPrivatePropertySetImpl_Get unsupported property: {1aeaa606-35f0-11d1-b161-00c04fc28aca}
432967.994:002b:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\riched20.dll" at 0x7ac10000: builtin
432968.044:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\dbghelp.dll" at 0x7bba0000: builtin
432968.044:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\mscoree.dll" at 0x7bd60000: builtin
432968.044:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\fusion.dll" at 0x7c090000: builtin
432968.044:0009:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\mscoree.dll" : builtin
432968.143:0009:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\fusion.dll" : builtin
432968.143:0009:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\dbghelp.dll" : builtin
432969.393:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\d3d9.dll" at 0x7bd60000: builtin
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:  1115
  Current serial number in output stream:  1116
432969.424:0009:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\uxtheme.dll" : builtin

User avatar
Bob Wya
Level 12
Level 12
Posts: 2764
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: OpenGL not working

Post by Bob Wya » Sun Sep 30, 2018 2:11 pm

flavius wrote:Thanks Bob, here is the output:

Code: Select all

...
432969.393:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\d3d9.dll" at 0x7bd60000: builtin
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:  1115
  Current serial number in output stream:  1116
432969.424:0009:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\uxtheme.dll" : builtin
A quick test here on my system, with an Nvidia GPU (only).
The Linux GLX driver is loaded directly after the Wine builtin d3d9.dll is loaded.
Hence your problems!
But sadly we don't have any visibility into what Wine is attempting to load, on your system. :cry:

Could you do a Wine terminal dump with:

Code: Select all

export WINEDEBUG=+timestamp,+tid,+wgl,+loaddll
wine dxdiag &>~/wine-staging-3.16_strace_dxdiag_log.txt
This log will be big... :shock:
But you can prune this from the point d3d9.dll is loaded. :D

Code: Select all

grep 'd3d9.dll' -A 500 ~/wine-staging-3.16_strace_dxdiag_log.txt > ~/wine-staging-3.16_strace_dxdiag_trunc_log.txt
Please post the truncated log.

Ta
Bob

flavius
Level 2
Level 2
Posts: 10
Joined: Sun Sep 30, 2018 7:36 am

Re: OpenGL not working

Post by flavius » Sun Sep 30, 2018 3:42 pm

Hi, I am not sure what you were suggesting - I did use the same debug flags before, and the log was not *that* long - did you miss a flag?

So I ran with +all and got quite verbose log ofc :) There's a difference in dxdiag's behaviour (besides being a bit sluggish), though: I get 'Program Error' popup where I can see details or cancel (and then it terminates). I don't get the error as stated above in the log. And also there are more dll loaded afterwards: grep -e ':loaddll' /tmp/debug.txt gives me

Code: Select all

... (truncated)
449230.446:0008:0009:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\d3d9.dll" at 0x7bd90000: builtin
449230.505:002c:002d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\wow64cpu.dll" at 0x7eff0000: builtin
449230.507:002c:002d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\KERNEL32.dll" at 0x7b420000: builtin
449230.514:002c:002d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\winedbg.exe" at 0x7ec70000: builtin
449230.517:002c:002d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\dbghelp.dll" at 0x7ec00000: builtin
449230.519:002c:002d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\advapi32.dll" at 0x7eb40000: builtin
449230.528:002c:002d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\gdi32.dll" at 0x7e810000: builtin
449230.529:002c:002d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\version.dll" at 0x7ebf0000: builtin
449230.530:002c:002d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\user32.dll" at 0x7e940000: builtin
449230.533:002c:002d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\imm32.dll" at 0x7e7e0000: builtin
449230.536:002c:002d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\usp10.dll" at 0x7e660000: builtin
449230.536:002c:002d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\comctl32.dll" at 0x7e6b0000: builtin
449230.542:002e:002f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\wow64cpu.dll" at 0x7f58b2dd0000: builtin
449230.544:002e:002f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\KERNEL32.dll" at 0x7b420000: builtin
449230.550:002e:002f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\explorer.exe" at 0x7f58aac60000: builtin
449230.554:002e:002f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\advapi32.dll" at 0x7f58aab40000: builtin
449230.554:002e:002f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0x7f58aabe0000: builtin
449230.557:002e:002f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\gdi32.dll" at 0x7f58aa760000: builtin
449230.558:002e:002f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\version.dll" at 0x7f58b2db0000: builtin
449230.559:002e:002f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\user32.dll" at 0x7f58aa8f0000: builtin
449230.567:002e:002f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\imm32.dll" at 0x7f58aaec0000: builtin
449230.569:002e:002f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\winex11.drv" at 0x7f58aa6c0000: builtin
449230.907:002e:002f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\shlwapi.dll" at 0x7f58a73b0000: builtin
449230.916:002e:002f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\usp10.dll" at 0x7f58a71f0000: builtin
449230.916:002e:002f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\comctl32.dll" at 0x7f58a7240000: builtin
449230.917:002e:002f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\aclui.dll" at 0x7f58a7380000: builtin
449230.917:002e:002f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\shell32.dll" at 0x7f58a7450000: builtin
449230.934:002e:002f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\uxtheme.dll" at 0x7f58a71b0000: builtin
449230.965:002e:002f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\ole32.dll" at 0x7f58a7020000: builtin
449230.996:002e:002f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\oleaut32.dll" at 0x7f58a6d20000: builtin
449230.997:002e:002f:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\actxprxy.dll" at 0x7f58a6eb0000: builtin
449231.003:002c:002d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\winex11.drv" at 0x7e5d0000: builtin
449231.260:002c:002d:trace:loaddll:load_builtin_dll Loaded L"C:\\windows\\system32\\uxtheme.dll" at 0x7e1c0000: builtin
Also, there are no 'trace:loaddll:free_modref Unloaded module ... ' messages.

flavius
Level 2
Level 2
Posts: 10
Joined: Sun Sep 30, 2018 7:36 am

Re: OpenGL not working

Post by flavius » Sun Sep 30, 2018 3:48 pm

To amend the error log: the error I get when running with full tracing is:

Code: Select all

0x7bca809c DbgBreakPoint in ntdll: int	$3
Modules:
Module	Address			Debug info	Name (145 modules)
PE	  470000-  625000	Export          dxdiagn
PE	 1000000- 10f0000	Export          dxdiag
ELF	788e8000-7a800000	Deferred        libnvidia-glcore.so.390.77
ELF	7a800000-7a93c000	Deferred        opengl32<elf>
  \-PE	7a820000-7a93c000	\               opengl32
ELF	7ac00000-7ac85000	Deferred        riched20<elf>
  \-PE	7ac10000-7ac85000	\               riched20
ELF	7b2e7000-7b400000	Dwarf           libgl.so.1
ELF	7b400000-7b7ed000	Dwarf           kernel32<elf>
  \-PE	7b420000-7b7ed000	\               kernel32
ELF	7bc00000-7bd2d000	Dwarf           ntdll<elf>
  \-PE	7bc40000-7bd2d000	\               ntdll
ELF	7bd65000-7bda6000	Dwarf           d3d9<elf>
  \-PE	7bd70000-7bda6000	\               d3d9
ELF	7bda6000-7be32000	Deferred        libvorbisenc.so.2
ELF	7be32000-7be5f000	Deferred        libvorbis.so.0
ELF	7be5f000-7be67000	Deferred        libogg.so.0
ELF	7be67000-7bec7000	Deferred        libflac.so.8
ELF	7bec7000-7bed4000	Deferred        libgsm.so.1
ELF	7bed4000-7beef000	Deferred        libnsl.so.1
ELF	7beef000-7bf70000	Deferred        libsndfile.so.1
ELF	7bf70000-7c000000	Deferred        libpulsecommon-12.2.so
ELF	7c000000-7c004000	Deferred        <wine-loader>
ELF	7c006000-7c00c000	Deferred        libuuid.so.1
ELF	7c00c000-7c013000	Deferred        libasyncns.so.0
ELF	7c013000-7c01d000	Deferred        libwrap.so.0
ELF	7c01d000-7c038000	Deferred        libice.so.6
ELF	7c038000-7c093000	Deferred        libpulse.so.0
ELF	7c0ba000-7c0bf000	Deferred        libnvidia-tls.so.390.77
ELF	7c0c6000-7c0f1000	Deferred        winepulse<elf>
  \-PE	7c0d0000-7c0f1000	\               winepulse
ELF	7c0f1000-7c114000	Deferred        mmdevapi<elf>
  \-PE	7c100000-7c114000	\               mmdevapi
ELF	7c114000-7c163000	Deferred        dsound<elf>
  \-PE	7c120000-7c163000	\               dsound
ELF	7c163000-7c1d2000	Deferred        setupapi<elf>
  \-PE	7c170000-7c1d2000	\               setupapi
ELF	7c1d2000-7c20d000	Deferred        ws2_32<elf>
  \-PE	7c1e0000-7c20d000	\               ws2_32
ELF	7c20d000-7c362000	Dwarf           wined3d<elf>
  \-PE	7c220000-7c362000	\               wined3d
ELF	7c362000-7c399000	Deferred        dxgi<elf>
  \-PE	7c370000-7c399000	\               dxgi
ELF	7c399000-7c3c5000	Deferred        iphlpapi<elf>
  \-PE	7c3a0000-7c3c5000	\               iphlpapi
ELF	7c3c5000-7c400000	Deferred        wbemprox<elf>
  \-PE	7c3d0000-7c400000	\               wbemprox
ELF	7c408000-7c4c2000	Deferred        winmm<elf>
  \-PE	7c410000-7c4c2000	\               winmm
ELF	7c5e4000-7c607000	Deferred        libgpg-error.so.0
ELF	7c607000-7c624000	Deferred        libgcc_s.so.1
ELF	7c6a0000-7c6a6000	Deferred        libcap.so.2
ELF	7c6a6000-7c6ad000	Deferred        libxtst.so.6
ELF	7c6ad000-7c6c4000	Deferred        liblz4.so.1
ELF	7c6c4000-7c6ef000	Deferred        liblzma.so.5
ELF	7c6ef000-7c6f9000	Deferred        librt.so.1
ELF	7c6f9000-7c7da000	Deferred        libgcrypt.so.20
ELF	7c7da000-7c861000	Deferred        libpcre2-8.so.0
ELF	7c861000-7c8f4000	Deferred        libsystemd.so.0
ELF	7c8f4000-7c8fd000	Deferred        libffi.so.6
ELF	7c8fd000-7c927000	Deferred        libselinux.so.1
ELF	7c927000-7c92b000	Deferred        libfreebl3.so
ELF	7c92b000-7c989000	Deferred        libdbus-1.so.3
ELF	7c989000-7c9fd000	Deferred        libgmp.so.10
ELF	7c9fd000-7ca2b000	Deferred        libhogweed.so.4
ELF	7ca2b000-7ca6b000	Deferred        libnettle.so.6
ELF	7ca6b000-7ca7f000	Deferred        libtasn1.so.6
ELF	7ca7f000-7cc03000	Deferred        libunistring.so.2
ELF	7cc03000-7cc21000	Deferred        libidn2.so.0
ELF	7cc21000-7cd6f000	Deferred        libp11-kit.so.0
ELF	7cd6f000-7cd87000	Deferred        libresolv.so.2
ELF	7cd87000-7cd8c000	Deferred        libkeyutils.so.1
ELF	7cd8c000-7cff9000	Deferred        libcrypto.so.1.1
ELF	7cff9000-7d009000	Deferred        libkrb5support.so.0
ELF	7d009000-7d038000	Deferred        libcrypt.so.1
ELF	7d038000-7d04c000	Deferred        libavahi-client.so.3
ELF	7d04c000-7d1c9000	Deferred        libgnutls.so.30
ELF	7d1c9000-7d2b0000	Deferred        libkrb5.so.3
ELF	7d2b0000-7d306000	Deferred        libgssapi_krb5.so.2
ELF	7d306000-7d39d000	Deferred        libcups.so.2
ELF	7d39f000-7d3a9000	Deferred        libsm.so.6
ELF	7d3a9000-7d3ac000	Deferred        libx11-xcb.so.1
ELF	7d3d0000-7d408000	Deferred        uxtheme<elf>
  \-PE	7d3e0000-7d408000	\               uxtheme
ELF	7d408000-7d40f000	Deferred        libxfixes.so.3
ELF	7d40f000-7d41b000	Deferred        libxcursor.so.1
ELF	7d41b000-7d42a000	Deferred        libavahi-common.so.3
ELF	7d42a000-7d42f000	Deferred        libcom_err.so.2
ELF	7d42f000-7d44c000	Deferred        libk5crypto.so.3
ELF	7d4b6000-7d4e7000	Deferred        libexpat.so.1
ELF	7d4e7000-7d52d000	Deferred        libfontconfig.so.1
ELF	7d52d000-7d546000	Deferred        libz.so.1
ELF	7d546000-7d57e000	Deferred        libpng16.so.16
ELF	7d57e000-7d58f000	Deferred        libbz2.so.1
ELF	7d58f000-7d643000	Deferred        libfreetype.so.6
ELF	7d643000-7d655000	Deferred        libxi.so.6
ELF	7d655000-7d661000	Deferred        libxrandr.so.2
ELF	7d661000-7d66d000	Deferred        libxrender.so.1
ELF	7d66d000-7d699000	Deferred        libxcb.so.1
ELF	7d699000-7d7de000	Dwarf           libx11.so.6
ELF	7d7de000-7d7f2000	Deferred        libxext.so.6
ELF	7d825000-7d8b7000	Dwarf           winex11<elf>
  \-PE	7d830000-7d8b7000	\               winex11
ELF	7d8b7000-7d9ea000	Deferred        oleaut32<elf>
  \-PE	7d8d0000-7d9ea000	\               oleaut32
ELF	7d9ea000-7da6b000	Deferred        rpcrt4<elf>
  \-PE	7da00000-7da6b000	\               rpcrt4
ELF	7da6b000-7dbc5000	Deferred        ole32<elf>
  \-PE	7da80000-7dbc5000	\               ole32
ELF	7dbc5000-7dc05000	Deferred        winspool<elf>
  \-PE	7dbd0000-7dc05000	\               winspool
ELF	7dc05000-7dc20000	Deferred        aclui<elf>
  \-PE	7dc10000-7dc20000	\               aclui
ELF	7dc20000-7dc97000	Deferred        shlwapi<elf>
  \-PE	7dc30000-7dc97000	\               shlwapi
ELF	7dc97000-7e678000	Deferred        shell32<elf>
  \-PE	7dcb0000-7e678000	\               shell32
ELF	7e678000-7e76a000	Deferred        comdlg32<elf>
  \-PE	7e680000-7e76a000	\               comdlg32
ELF	7e76a000-7e78e000	Deferred        imm32<elf>
  \-PE	7e770000-7e78e000	\               imm32
ELF	7e78e000-7e7d4000	Deferred        usp10<elf>
  \-PE	7e790000-7e7d4000	\               usp10
ELF	7e7d4000-7e90e000	Deferred        comctl32<elf>
  \-PE	7e7e0000-7e90e000	\               comctl32
ELF	7e90e000-7eb17000	Deferred        user32<elf>
  \-PE	7e920000-7eb17000	\               user32
ELF	7eb17000-7ec45000	Dwarf           gdi32<elf>
  \-PE	7eb20000-7ec45000	\               gdi32
ELF	7ec45000-7ecbf000	Deferred        advapi32<elf>
  \-PE	7ec50000-7ecbf000	\               advapi32
ELF	7eebf000-7eed3000	Deferred        libnss_files.so.2
ELF	7eed3000-7efcd000	Deferred        libm.so.6
ELF	7efd2000-7efec000	Deferred        version<elf>
  \-PE	7efe0000-7efec000	\               version
ELF	7efec000-7f000000	Deferred        wow64cpu<elf>
  \-PE	7eff0000-7f000000	\               wow64cpu
ELF	f7bd3000-f7bd7000	Deferred        libxcomposite.so.1
ELF	f7bd9000-f7bde000	Deferred        libdl.so.2
ELF	f7bde000-f7d77000	Deferred        libc.so.6
ELF	f7d77000-f7d96000	Deferred        libpthread.so.0
ELF	f7f65000-f7f6c000	Deferred        libxxf86vm.so.1
ELF	f7f6c000-f7f70000	Deferred        libxinerama.so.1
ELF	f7f92000-f7f96000	Deferred        libxau.so.6
ELF	f7f96000-f7fbe000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\windows\system32\dxdiag.exe
	[C:\windows\system32\dxdiag.exe]
	0000002b    0
	0000002a    0
	00000029    0
	00000009    0 <==
0000000c winemenubuilder.exe
	0000000d    0
0000000e services.exe
	00000022    0
	0000001d    0
	00000015    0
	00000012    0
	0000000f    0
00000010 explorer.exe
	00000028    0
	00000027    0
	00000026    0
	00000011    0
00000013 winedevice.exe
	0000001a    0
	00000019    0
	00000018    0
	00000014    0
0000001b plugplay.exe
	0000001f    0
	0000001e    0
	0000001c    0
00000020 winedevice.exe
	00000025    0
	00000024    0
	00000023    0
	00000021    0
0000002e explorer.exe
	00000032    0
	00000031    0
	00000030    0
	0000002f    0
System information:
    Wine build: wine-3.16 (Staging)
    Platform: i386 (WOW64)
    Version: Windows XP
    Host system: Linux
    Host version: 4.18.7-100.fc27.x86_64

User avatar
Bob Wya
Level 12
Level 12
Posts: 2764
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: OpenGL not working

Post by Bob Wya » Sun Sep 30, 2018 3:57 pm

@flavius

Duh... Sorry, that should obviously have been:

Code: Select all

export WINEDEBUG=+timestamp,+tid,+wgl,+loaddll
strace wine dxdiag &>~/wine-staging-3.16_strace_dxdiag_log.txt
Failure between screen and keyboard... :shock: :oops:

Ta
Bob

flavius
Level 2
Level 2
Posts: 10
Joined: Sun Sep 30, 2018 7:36 am

Re: OpenGL not working

Post by flavius » Sun Sep 30, 2018 4:18 pm

Code: Select all

openat(AT_FDCWD, "/usr/lib/wine/d3d9.dll.so", O_RDONLY) = 27
fstat64(27, {st_mode=S_IFREG|0755, st_size=267624, ...}) = 0
read(27, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@#\1\0004\0\0\0"..., 52) = 52
_llseek(27, 0, [267624], SEEK_END)      = 0
_llseek(27, 52, [52], SEEK_SET)         = 0
read(27, "\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0h\302\3\0h\302\3\0\5\0\0\0\0\20\0\0"..., 224) = 224
_llseek(27, 266504, [266504], SEEK_SET) = 0
read(27, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1120) = 1120
_llseek(27, 266244, [266244], SEEK_SET) = 0
read(27, "\0.shstrtab\0.note.gnu.build-id\0.g"..., 257) = 257
close(27)                               = 0
openat(AT_FDCWD, "/usr/lib/libGL.so.390.77", O_RDONLY) = 27
fstat64(27, {st_mode=S_IFREG|0755, st_size=1129756, ...}) = 0
read(27, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\330\4\0004\0\0\0"..., 52) = 52
_llseek(27, 0, [1129756], SEEK_END)     = 0
_llseek(27, 52, [52], SEEK_SET)         = 0
read(27, "\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0X\26\21\0X\26\21\0\5\0\0\0\0\20\0\0"..., 128) = 128
_llseek(27, 1129036, [1129036], SEEK_SET) = 0
read(27, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 720) = 720
_llseek(27, 1128892, [1128892], SEEK_SET) = 0
read(27, "\0.shstrtab\0.hash\0.dynsym\0.dynstr"..., 143) = 143
close(27)                               = 0
openat(AT_FDCWD, "/usr/lib/tls/libnvidia-tls.so.390.77", O_RDONLY) = 27
fstat64(27, {st_mode=S_IFREG|0755, st_size=13752, ...}) = 0
read(27, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\16\0\0004\0\0\0"..., 52) = 52
_llseek(27, 0, [13752], SEEK_END)       = 0
_llseek(27, 52, [52], SEEK_SET)         = 0
read(27, "\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3001\0\0\3001\0\0\5\0\0\0\0\20\0\0"..., 192) = 192
_llseek(27, 13072, [13072], SEEK_SET)   = 0
read(27, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 680) = 680
_llseek(27, 12928, [12928], SEEK_SET)   = 0
read(27, "\0.shstrtab\0.hash\0.dynsym\0.dynstr"..., 143) = 143
close(27)                               = 0
openat(AT_FDCWD, "/usr/lib/libnvidia-glcore.so.390.77", O_RDONLY) = 27
fstat64(27, {st_mode=S_IFREG|0755, st_size=32518504, ...}) = 0
read(27, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@A2\0004\0\0\0"..., 52) = 52
_llseek(27, 0, [32518504], SEEK_END)    = 0
_llseek(27, 52, [52], SEEK_SET)         = 0
read(27, "\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\244\r\355\1\244\r\355\1\5\0\0\0\0\20\0\0"..., 128) = 128
_llseek(27, 32517544, [32517544], SEEK_SET) = 0
read(27, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 960) = 960
_llseek(27, 32517368, [32517368], SEEK_SET) = 0
read(27, "\0.shstrtab\0.hash\0.dynsym\0.dynstr"..., 176) = 176
close(27)                               = 0
munmap(0x7aee4000, 2600960)             = 0
brk(NULL)                               = 0x7d7b3000
poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, revents=POLLOUT}])
writev(10, [{iov_base="b\7\3\0\3\0\0\0", iov_len=8}, {iov_base="GLX", iov_len=3}, {iov_base="\0", iov_len=1}], 3) = 12
poll([{fd=10, events=POLLIN}], 1, -1)   = 1 ([{fd=10, revents=POLLIN}])
recvmsg(10, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0X\4\0\0\0\0\1\232g\247\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(10, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(10, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, revents=POLLOUT}])
writev(10, [{iov_base="\232\16\2\0\0\0\0\0", iov_len=8}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 8
poll([{fd=10, events=POLLIN}], 1, -1)   = 1 ([{fd=10, revents=POLLIN}])
recvmsg(10, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0Y\4\10\7\0\0-\0\0\0(\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 4096
recv(10, "\0\0\0\0\0\0\0\0 \0\0\0\0\200\0\0#\0\0\0\0\200\0\0%\0\0\0\377\377\377\377"..., 3136, 0) = 3136
recvmsg(10, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(10, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, revents=POLLOUT}])
writev(10, [{iov_base="\232\25\2\0\0\0\0\0", iov_len=8}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 8
poll([{fd=10, events=POLLIN}], 1, -1)   = 1 ([{fd=10, revents=POLLIN}])
recvmsg(10, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0Z\4\270\27\0\0E\0\0\0,\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 4096
recv(10, "&\0\0\0\377\377\377\377'\0\0\0\377\377\377\377(\0\0\0\377\377\377\377$\0\0\0\0\0\0\0"..., 20224, 0) = 18464
recv(10, "\v\200\0\0!\1\0\0\23\200\0\0\366\0\0\0\22\200\0\0\1\0\0\0\4\0\0\0\1\0\0\0"..., 1760, 0) = 1760
recvmsg(10, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(10, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, revents=POLLOUT}])
writev(10, [{iov_base="\232\23\3\0\0\0\0\0\3\0\0\0", iov_len=12}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 12
poll([{fd=10, events=POLLIN}], 1, -1)   = 1 ([{fd=10, revents=POLLIN}])
recvmsg(10, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0[\4\224\0\0\0\0\0\0\0M\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 624
recvmsg(10, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(10, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
brk(NULL)                               = 0x7d7b3000
brk(NULL)                               = 0x7d7b3000
poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, revents=POLLOUT}])
writev(10, [{iov_base="\232#\314\t\1\0\0\0\4\0\0\0\21\0\0\0\373\"\0\0N\3\0\0\1\0\0\0\0\0\0\0"..., iov_len=10040}, {iov_base="NV-GLX", iov_len=6}, {iov_base="\0\0", iov_len=2}], 3) = 10048
poll([{fd=10, events=POLLIN}], 1, -1)   = 1 ([{fd=10, revents=POLLIN}])
recvmsg(10, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0]\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(10, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(10, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
getpid()                                = 23149
... (getpid() repeats many many times)
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7bd7b000
poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, revents=POLLOUT}])
writev(10, [{iov_base="\232\3\6\0\372\0`\3\376\0\0\0\0\0\0\0\0\0\0\0\0\3\0\0+\0\1\0", iov_len=28}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 28
poll([{fd=10, events=POLLIN}], 1, -1)   = 1 ([{fd=10, revents=POLLIN}])
recvmsg(10, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0\2^\4\0\0\0\0\3\0\232\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 64
openat(AT_FDCWD, "/usr/share/X11/XErrorDB", O_RDONLY) = 27
fstat64(27, {st_mode=S_IFREG|0644, st_size=42077, ...}) = 0
read(27, "!\n! Copyright 1993, 1995, 1998  "..., 42077) = 42077
close(27)                               = 0
brk(NULL)                               = 0x7d7b3000
brk(0x7d7de000)                         = 0x7d7b3000
mmap2(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7bb00000
brk(NULL)                               = 0x7d7b3000
brk(NULL)                               = 0x7d7b3000
write(2, "X Error of failed request:  BadV"..., 86X Error of failed request:  BadValue (integer parameter out of range for operation)
  ) = 86
write(2, "Major opcode of failed request: "..., 36Major opcode of failed request:  154) = 36
write(2, " (GLX)\n", 7 (GLX)
)                 = 7
write(2, "  ", 2  )                       = 2
write(2, "Minor opcode of failed request: "..., 34Minor opcode of failed request:  3) = 34
write(2, " (X_GLXCreateContext)", 21 (X_GLXCreateContext))   = 21
write(2, "\n", 1
)                       = 1
write(2, "  ", 2  )                       = 2
write(2, "Value in failed request:  0x0", 29Value in failed request:  0x0) = 29
write(2, "\n", 1
)                       = 1
write(2, "  ", 2  )                       = 2
write(2, "Serial number of failed request:"..., 38Serial number of failed request:  1118) = 38
write(2, "\n  ", 3
  )                     = 3
write(2, "Current serial number in output "..., 45Current serial number in output stream:  1119) = 45
write(2, "\n", 1
)                       = 1
clock_gettime(CLOCK_MONOTONIC_RAW, {tv_sec=451666, tv_nsec=48360468}) = 0
write(2, "451666.048:0009:trace:loaddll:fr"..., 106451666.048:0009:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\uxtheme.dll" : builtin
) = 106
rt_sigprocmask(SIG_BLOCK, [HUP INT USR1 USR2 ALRM CHLD IO], [], 8) = 0
write(3, "\22\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0+}\0\0\0\0\0\0\0\0\0\0\0\0"..., 64) = 64
read(5, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT USR1 USR2 ALRM CHLD IO], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
getpid()                                = 23149
brk(NULL)                               = 0x7d7b3000
brk(NULL)                               = 0x7d7b3000
getpid()                                = 23149
exit_group(1)                           = ?
+++ exited with 1 +++
The previous use of file descriptor 10 seems to be

Code: Select all

socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 10
connect(10, {sa_family=AF_UNIX, sun_path=@"/tmp/.X11-unix/X1"}, 20) = 0
getpeername(10, {sa_family=AF_UNIX, sun_path=@"/tmp/.X11-unix/X1"}, [124->20]) = 0
uname({sysname="Linux", nodename="rvansa", ...}) = 0
access("/run/user/1000/gdm/Xauthority", R_OK) = 0

flavius
Level 2
Level 2
Posts: 10
Joined: Sun Sep 30, 2018 7:36 am

Re: OpenGL not working

Post by flavius » Mon Oct 01, 2018 9:07 am

@Bob Wya: so am I without hope? Thanks for your guidance so far...

Btw, I've added few debug channels that might be related and after the d3d9.dll load it spits

Code: Select all

458804.085:0009:trace:d3d9:Direct3DCreate9 sdk_version 0x20.
458804.085:0009:trace:d3d:wined3d_init Initialising adapters.
458804.085:0009:trace:d3d:wined3d_adapter_init Display device: L"\\\\.\\DISPLAY1"
458804.085:0009:trace:d3d:wined3d_adapter_init Allocated LUID 00000000:000003f4 for adapter 0x17e1c8.
458804.085:0009:trace:d3d:wined3d_adapter_opengl_init adapter 0x17e1c8, wined3d_creation_flags 0x3ecc.
458804.085:0009:trace:x11drv:X11DRV_ExtEscape SET_DRAWABLE hdc 0x2005a drawable 126 dc_rect (0,0)-(1920,1200)
There are earlier x11drv messages but the last one looks like setting up full screen...

User avatar
Bob Wya
Level 12
Level 12
Posts: 2764
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: OpenGL not working

Post by Bob Wya » Mon Oct 01, 2018 9:30 am

flavius wrote:@Bob Wya: so am I without hope? Thanks for your guidance so far...
I'm AFK, but it appears Wine is loading the correct Nvidia GL libraries. So I would guess that your X server, for which Nvidia provides a separate driver module, is loading the Mesa / Intel driver. Hence the conflict. All very complicated! :?

I tend to avoid hybrid-graphics setups... Because of these very issues! 8)


Bob

flavius
Level 2
Level 2
Posts: 10
Joined: Sun Sep 30, 2018 7:36 am

Re: OpenGL not working

Post by flavius » Mon Oct 01, 2018 11:35 am

Well I can't do much about the HW :-/ But I understand that this can give headaches.

I am not sure that loading Nvidia GL libraries is the *correct* thing. Since the X server runs on my integrated GPU (Gnome/About tells me that), I don't see why should wine load NVidia stuff when I don't use optirun (not that I would have any idea what that really does). It seems that wine picks the 32-bit version of libs, this is my /usr/lib/libGL*

Code: Select all

ls -l /usr/lib/libGL*
lrwxrwxrwx. 1 root root      22 Nov 11  2017 /usr/lib/libGLdispatch.so.0 -> libGLdispatch.so.0.0.0
-rwxr-xr-x. 1 root root  341108 Nov 11  2017 /usr/lib/libGLdispatch.so.0.0.0
lrwxrwxrwx. 1 root root      29 Sep 22 15:46 /usr/lib/libGLESv1_CM_nvidia.so.1 -> libGLESv1_CM_nvidia.so.390.77
-rwxr-xr-x. 1 root root   47316 Sep 22 15:46 /usr/lib/libGLESv1_CM_nvidia.so.390.77
lrwxrwxrwx. 1 root root      26 Sep 22 15:46 /usr/lib/libGLESv2_nvidia.so.2 -> libGLESv2_nvidia.so.390.77
-rwxr-xr-x. 1 root root   84180 Sep 22 15:46 /usr/lib/libGLESv2_nvidia.so.390.77
-rwxr-xr-x. 1 root root   46540 Aug  2  2017 /usr/lib/libGLESv2.so.2
-rw-r--r--. 1 root root     651 Sep 22 15:46 /usr/lib/libGL.la
lrwxrwxrwx. 1 root root      10 Aug  2  2017 /usr/lib/libGL.so -> libGL.so.1
lrwxrwxrwx. 1 root root      15 Sep 22 15:47 /usr/lib/libGL.so.1 -> libGL.so.390.77
-rwxr-xr-x. 1 root root  404616 Nov 11  2017 /usr/lib/libGL.so.1.0.0
-rwxr-xr-x. 1 root root 1129756 Sep 22 15:46 /usr/lib/libGL.so.390.77
lrwxrwxrwx. 1 root root      15 Aug  4  2017 /usr/lib/libGLU.so -> libGLU.so.1.3.1
lrwxrwxrwx. 1 root root      15 Aug  4  2017 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.1
-rwxr-xr-x. 1 root root  473892 Aug  4  2017 /usr/lib/libGLU.so.1.3.1
lrwxrwxrwx. 1 root root      25 Jul  6 20:43 /usr/lib/libGLX_indirect.so.0 -> /usr/lib/libGLX_mesa.so.0
lrwxrwxrwx. 1 root root      20 Jul  6 20:43 /usr/lib/libGLX_mesa.so.0 -> libGLX_mesa.so.0.0.0
-rwxr-xr-x. 1 root root  551136 Jul  6 20:44 /usr/lib/libGLX_mesa.so.0.0.0
lrwxrwxrwx. 1 root root      23 Sep 22 15:46 /usr/lib/libGLX_nvidia.so.0 -> libGLX_nvidia.so.390.77
-rwxr-xr-x. 1 root root 1129756 Sep 22 15:46 /usr/lib/libGLX_nvidia.so.390.77
lrwxrwxrwx. 1 root root      15 Nov 11  2017 /usr/lib/libGLX.so.0 -> libGLX.so.0.0.0
-rwxr-xr-x. 1 root root   69656 Nov 11  2017 /usr/lib/libGLX.so.0.0.0
while X server probably runs the 64bit version - and there's no trace of nvidia stuff int /usr/lib64/libGL*:

Code: Select all

ll /usr/lib64/libGL*
lrwxrwxrwx. 1 root root     22 Nov 11  2017 /usr/lib64/libGLdispatch.so -> libGLdispatch.so.0.0.0
lrwxrwxrwx. 1 root root     22 Nov 11  2017 /usr/lib64/libGLdispatch.so.0 -> libGLdispatch.so.0.0.0
-rwxr-xr-x. 1 root root 640584 Nov 11  2017 /usr/lib64/libGLdispatch.so.0.0.0
lrwxrwxrwx. 1 root root     21 Nov 11  2017 /usr/lib64/libGLESv1_CM.so -> libGLESv1_CM.so.1.0.0
lrwxrwxrwx. 1 root root     21 Nov 11  2017 /usr/lib64/libGLESv1_CM.so.1 -> libGLESv1_CM.so.1.0.0
-rwxr-xr-x. 1 root root  45424 Nov 11  2017 /usr/lib64/libGLESv1_CM.so.1.0.0
lrwxrwxrwx. 1 root root     18 Nov 11  2017 /usr/lib64/libGLESv2.so -> libGLESv2.so.2.0.0
lrwxrwxrwx. 1 root root     18 Nov 11  2017 /usr/lib64/libGLESv2.so.2 -> libGLESv2.so.2.0.0
-rwxr-xr-x. 1 root root  78984 Nov 11  2017 /usr/lib64/libGLESv2.so.2.0.0
lrwxrwxrwx. 1 root root     19 Feb  4  2016 /usr/lib64/libGLEWmx.so.1.13 -> libGLEWmx.so.1.13.0
-rwxr-xr-x. 1 root root 478688 Feb  4  2016 /usr/lib64/libGLEWmx.so.1.13.0
lrwxrwxrwx. 1 root root     16 Aug  3  2017 /usr/lib64/libGLEW.so -> libGLEW.so.2.0.0
lrwxrwxrwx. 1 root root     16 Aug  3  2017 /usr/lib64/libGLEW.so.2.0 -> libGLEW.so.2.0.0
-rwxr-xr-x. 1 root root 589840 Aug  3  2017 /usr/lib64/libGLEW.so.2.0.0
lrwxrwxrwx. 1 root root     14 Nov 11  2017 /usr/lib64/libGL.so -> libGL.so.1.0.0
lrwxrwxrwx. 1 root root     14 Nov 11  2017 /usr/lib64/libGL.so.1 -> libGL.so.1.0.0
-rwxr-xr-x. 1 root root 581920 Nov 11  2017 /usr/lib64/libGL.so.1.0.0
lrwxrwxrwx. 1 root root     15 Aug  4  2017 /usr/lib64/libGLU.so -> libGLU.so.1.3.1
lrwxrwxrwx. 1 root root     15 Aug  4  2017 /usr/lib64/libGLU.so.1 -> libGLU.so.1.3.1
-rwxr-xr-x. 1 root root 445920 Aug  4  2017 /usr/lib64/libGLU.so.1.3.1
lrwxrwxrwx. 1 root root     27 Jul  6 20:42 /usr/lib64/libGLX_indirect.so.0 -> /usr/lib64/libGLX_mesa.so.0
lrwxrwxrwx. 1 root root     20 Jul  6 20:42 /usr/lib64/libGLX_mesa.so.0 -> libGLX_mesa.so.0.0.0
-rwxr-xr-x. 1 root root 491904 Jul  6 20:43 /usr/lib64/libGLX_mesa.so.0.0.0
lrwxrwxrwx. 1 root root     15 Nov 11  2017 /usr/lib64/libGLX.so -> libGLX.so.0.0.0
lrwxrwxrwx. 1 root root     15 Nov 11  2017 /usr/lib64/libGLX.so.0 -> libGLX.so.0.0.0
-rwxr-xr-x. 1 root root  74328 Nov 11  2017 /usr/lib64/libGLX.so.0.0.0

flavius
Level 2
Level 2
Posts: 10
Joined: Sun Sep 30, 2018 7:36 am

Re: OpenGL not working

Post by flavius » Mon Oct 01, 2018 1:39 pm

So it seems that these libs were some relict... I've installed official drivers, removing old ones (system could not boot then), removed official ones and checked that dxdiag works with Noveau drivers, and then installed back bumblebee-nvidia drivers. Now it seems to work, I just have Gnome's top bar even in full-screen mode... Thanks for the help, I'll see if I run into more trouble with the app I am trying to run.

flavius
Level 2
Level 2
Posts: 10
Joined: Sun Sep 30, 2018 7:36 am

Re: OpenGL not working

Post by flavius » Mon Oct 01, 2018 3:54 pm

I am going to mark this as resolved. Last note, though: I've installed playonlinux to overcome other problems and that gave me the libs back; removing playonlinux did not help, I had to remove bumblebee-nvidia and install it back.

Post Reply