https://bugs.winehq.org/show_bug.cgi?id=53538
Bug ID: 53538 Summary: Contraption Maker fails to start - regression in 7.10+ - err:d3d:wined3d_caps_gl_ctx_create Failed to create a window Product: Wine-staging Version: 7.10 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mszpak@wp.pl CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Created attachment 72897 --> https://bugs.winehq.org/attachment.cgi?id=72897 7.10 - fails to start
Contraption Maker (a spiritual successor of The incredible machine) had been working nice with Wine since I added it to the database (at least since 4.10) [1]. Unfortunately, with wine(-staging) 7.10 it fails to start.
A log snipped from 7.10:
00d4:fixme:d3d9:D3DPERF_GetStatus (void) : stub 00d4:trace:d3d:wined3d_init Initialising adapters. 00d4:trace:d3d:wined3d_adapter_gl_init adapter_gl 00E676D8, ordinal 0, wined3d_creation_flags 0x7ed8. 00d4:warn:d3d:wined3d_adapter_init Allocating a random LUID. 00d4:trace:d3d:wined3d_adapter_init adapter 00E676D8 LUID 00000000:000003f6. 00d4:trace:d3d:wined3d_adapter_init Initialised 0 outputs for adapter 00E676D8. 00d4:trace:d3d:wined3d_caps_gl_ctx_create getting context... 00d4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 00d4:err:winediag:nodrv_CreateWindow L"The explorer process failed to start." 00d4:err:d3d:wined3d_caps_gl_ctx_create Failed to create a window. 00d4:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 00E676D8. 00d4:warn:d3d:wined3d_init Failed to create adapter. ...
In 7.9 initialization works fine:
011c:fixme:d3d9:D3DPERF_GetStatus (void) : stub 011c:trace:d3d:wined3d_init Initialising adapters. 011c:trace:d3d:wined3d_adapter_gl_init adapter_gl 00E66E40, ordinal 0, wined3d_creation_flags 0x7ed8. 011c:trace:d3d:wined3d_adapter_init adapter 00E66E40 LUID 00000000:000003f5. 011c:trace:d3d:wined3d_output_init output 00E66AF0, device_name L"\\.\DISPLAY1". 011c:trace:d3d:wined3d_adapter_create_output Initialised output L"\\.\DISPLAY1". 011c:trace:d3d:wined3d_adapter_init Initialised 1 outputs for adapter 00E66E40. 011c:trace:d3d:wined3d_caps_gl_ctx_create getting context... ...
I attached the longer debug logs for d3d with 7.9 and 7.10. It's the same with 7.12 (the newest currently available in Fedora).
Tested with Fedora 35 and the Intel graphic card reported by GL_RENDERER as:
Mesa Intel(R) UHD Graphics 630 (CFL GT2)
Please let me know you need any other logs or information.
[1] - https://appdb.winehq.org/objectManager.php?sClass=version&iId=35993
https://bugs.winehq.org/show_bug.cgi?id=53538
--- Comment #1 from Marcin Zajaczkowski mszpak@wp.pl --- Created attachment 72898 --> https://bugs.winehq.org/attachment.cgi?id=72898 7.9 - works fine
https://bugs.winehq.org/show_bug.cgi?id=53538
--- Comment #2 from Marcin Zajaczkowski mszpak@wp.pl --- The logs in wine-staging 7.12 are a little bit more verbose, but leads to the same effect:
002c:fixme:winediag:LdrInitializeThunk wine-staging 7.12 is a testing version containing experimental patches. 002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org. 002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 002c:err:winediag:nodrv_CreateWindow L"The explorer process failed to start." 00c4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 00c4:err:winediag:nodrv_CreateWindow L"The explorer process failed to start." 00e4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 00e4:err:winediag:nodrv_CreateWindow L"The explorer process failed to start." 00e4:fixme:file:NtLockFile I/O completion on lock not implemented yet 00e4:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 00e4:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 00e4:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 00f8:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 00f8:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
wine: configuration in L"/home/szpak/.wine-contraption" has been updated.
0110:trace:d3d:wined3d_dll_init Application name ContraptionMakerLauncher.exe\Direct3D. 0110:fixme:ver:GetCurrentPackageId (00CFFD18 00000000): stub 0110:fixme:file:NtLockFile I/O completion on lock not implemented yet 0110:fixme:d3d9:D3DPERF_GetStatus (void) : stub 0110:trace:d3d:wined3d_init Initialising adapters. 0110:trace:d3d:wined3d_adapter_gl_init adapter_gl 00E73190, ordinal 0, wined3d_creation_flags 0x7ed8. 0110:warn:d3d:wined3d_adapter_init Allocating a random LUID. 0110:trace:d3d:wined3d_adapter_init adapter 00E73190 LUID 00000000:000003fd. 0110:trace:d3d:wined3d_adapter_init Initialised 0 outputs for adapter 00E73190. 0110:trace:d3d:wined3d_caps_gl_ctx_create getting context... 0110:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0110:err:winediag:nodrv_CreateWindow L"The explorer process failed to start." 0110:err:d3d:wined3d_caps_gl_ctx_create Failed to create a window. 0110:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 00E73190. 0110:warn:d3d:wined3d_init Failed to create adapter. ...
https://bugs.winehq.org/show_bug.cgi?id=53538
--- Comment #3 from Marcin Zajaczkowski mszpak@wp.pl --- Created attachment 72899 --> https://bugs.winehq.org/attachment.cgi?id=72899 7.12 - fails as well
https://bugs.winehq.org/show_bug.cgi?id=53538
Marcin Zajaczkowski mszpak@wp.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|7.10 |7.12
https://bugs.winehq.org/show_bug.cgi?id=53538
--- Comment #4 from Rafał Mużyło galtgendo@o2.pl --- Given that range, my first Wild Ass Guess would go towards a seemingly harmless commit.
Mind checking WINEDEBUG=xrandr ?
https://bugs.winehq.org/show_bug.cgi?id=53538
--- Comment #5 from Marcin Zajaczkowski mszpak@wp.pl --- Created attachment 72905 --> https://bugs.winehq.org/attachment.cgi?id=72905 7.12 - fails to start with xrandr debug
https://bugs.winehq.org/show_bug.cgi?id=53538
--- Comment #6 from Marcin Zajaczkowski mszpak@wp.pl --- Thanks for your response Rafał. I attached the requested log.
Would you like to have debug for xrandr also for working wine 7.9?
https://bugs.winehq.org/show_bug.cgi?id=53538
--- Comment #7 from Rafał Mużyło galtgendo@o2.pl --- Well, 7.9 could be interesting, though that particular debug trace has been added in the commit my Wild Ass Guess suspects (namely 0d5c6d55bf36cbc712cc3585c6b2e13fbf49996d), so it may show even less.
Of course, as with any other guess, I could simply be wrong.
https://bugs.winehq.org/show_bug.cgi?id=53538
--- Comment #8 from Marcin Zajaczkowski mszpak@wp.pl --- Created attachment 72907 --> https://bugs.winehq.org/attachment.cgi?id=72907 7.9 - works fine with xrandr debug
I attached the log from wine 7.9 with xrandr debug messages.
https://bugs.winehq.org/show_bug.cgi?id=53538
Marcin Zajaczkowski mszpak@wp.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #72907|0 |1 is obsolete| |
--- Comment #9 from Marcin Zajaczkowski mszpak@wp.pl --- Created attachment 72908 --> https://bugs.winehq.org/attachment.cgi?id=72908 7.9 - works fine with xrandr debug (subsequent run)
I re-uploaded the log for the subsequent run (when the configuration is not being updated).
https://bugs.winehq.org/show_bug.cgi?id=53538
--- Comment #10 from Marcin Zajaczkowski mszpak@wp.pl --- Today, accidentally, I've got some new input to the problem.
I tried to execute some (very) old Delphi application which I use occasionally and it also failed with the same:
00f0:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
However, when I re-run it quickly it opened normally. It turned out the same works with Contraption Maker. I just need to be fast enough to have "/usr/bin/wineserver" still running. The situation is reproducible with different apps.
It might be Fedora specific, however, with <7.10 it seemed to work fine (at least, I didn't encounter that problem). Maybe you have some idea what could be wrong? Any change in the Wine itself? Or rather on the Fedora packaging part?
Btw, when I start Wine server for the first time I observe ~10 second system freeze (Gnome Shell). The mouse cursor it moving and the system is no responding. In the system logs, I similar output to the one when I call xrandr (which also cause a system freeze, but for just 1-2 seconds).
https://bugs.winehq.org/show_bug.cgi?id=53538
--- Comment #11 from Zeb Figura z.figura12@gmail.com --- Does running `wine winecfg` work?
Is this bug present with upstream (non-staging) wine?
https://bugs.winehq.org/show_bug.cgi?id=53538
Marcin Zajaczkowski mszpak@wp.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #12 from Marcin Zajaczkowski mszpak@wp.pl --- Thanks for your ping.
After my insights from https://bugs.winehq.org/show_bug.cgi?id=53538#c10 (when the wineserver is starting the aforementioned errors occurred, but not when it is still running on the subsequent execution - also with other applications, including winecfg), I suspected, it could be caused by something in my system (Fedora) or its interaction with my hardware.
As a result I will close this bug (originally related to contraption-maker) and I will try to check it on the other system, possibly also with an upstream version of Wine.
https://bugs.winehq.org/show_bug.cgi?id=53538
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Austin English austinenglish@gmail.com --- Closing.